Galil DMC-3425 Home Security System User Manual


 
190 • Appendices DMC-3425
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
1 GND Ground N/A
2 2 5V 5V DC out N/A
3 1 GND Ground N/A
4 4 5V 5V DC out N/A
5 3 I/O80 I/O bit 80 7
6 6 I/O79 I/O bit 79 7
7 5 I/O78 I/O bit 78 7
8 8 I/O77 I/O bit 77 7
9 7 I/O76 I/O bit 76 7
10 10 I/O75 I/O bit 75 7
11 9 I/O74 I/O bit 74 7
12 12 I/O73 I/O bit 73 7
13 11 OUTC73-80 Out common for I/O 73-80 7
14 14 I/OC73-80 I/O common for I/O 73-80 7
15 13 I/O72 I/O bit 72 6
16 16 I/O71 I/O bit 71 6
17 15 I/O70 I/O bit 70 6
18 18 I/O69 I/O bit 69 6
19 17 I/O68 I/O bit 68 6
20 20 I/O67 I/O bit 67 6
21 19 I/O66 I/O bit 66 6