Galil DMC-2X00 用户手册

下载
页码 267
182  
  Appendices 
DMC-2X00  
High Power Digital Outputs 
•  Maximum external power supply voltage: 28 VDC 
•  Minimum external power supply voltage: 4 VDC 
•  Maximum source current, per output: 500mA 
•  Maximum sink current: sinking circuit inoperative 
Standard Digital Outputs 
•  Maximum external power supply voltage: 28 VDC 
•  Minimum external power supply voltage: 4 VDC 
•  Maximum source current: limited by pull up resistor value 
•  Maximum sink current: 2mA 
Relevant DMC Commands 
CO n 
  
Configures the 64 bits of extended I/O in 8 banks of 8 bits each.   
N = n
2
 + 2*n
3
 + 4*n
4
 + 8*n
5
 + 16*n
6
 + 32*n
7
 + 64*n
8
 + 128*n
9  
where n
x
 is a 1 or 0, 1 for outputs and 0 for inputs.  The x is the bank number 
OP 
m,n,o,p,q 
m = 8 standard digital outputs 
n = extended I/O banks 0 & 1, outputs 17-32 
o = extended I/O banks 2 & 3, outputs 33-48 
p =  extended I/O banks 4 & 5, outputs 49-64 
q = extended I/O banks 6 & 7, outputs 65-80 
SB n 
 
Sets the output bit to a logic 1, n is the number of the output from 1 to 80. 
CB n 
Clears the output bit to a logic 0, n is the number of the output from 1 to 80. 
OB n,m   
Sets the state of an output as 0 or 1, also able to use logical conditions. 
TI n 
Returns the state of 8 digital inputs as binary converted to decimal, n is the bank number +2. 
_TI n 
Operand (internal variable) that holds the same value as that returned by TI n. 
@IN[n]   
Function that returns state of individual input bit, n is number of the input from 1 to 80. 
Screw Terminal Listing 
 
Rev A+B boards (orange) and Rev C boards (black) have the pinouts listed below 
REV A+B 
TERMINAL # 
REV C 
TERMINAL # 
LABEL DESCRIPTION 
BANK 
  
GND  
Ground 
N/A 
5V  
5V DC out 
N/A 
3 1  GND 
 
Ground 
N/A 
5V 
5V DC out 
N/A 
I/O80 
I/O bit 80 
I/O79 
I/O bit 79 
I/O78 
I/O bit 78 
I/O77 
I/O bit 77 
I/O76 
I/O bit 76