
Appendix
Ⅱ
1 Digital I/Os
The board is equipped with a 8-channel digital I/O connector
CN1
that meets a
system’s customary automation control needs. The digital I/O can be
configured to control the cash drawer, or to sense the warning signal of an
Uninterrupted Power System (UPS), or to perform the store security control.
The digital I/O is controlled via software
I/O Software Programming
The Digital I/O on the the board is not an isolated type.
Output Address Bit Output Address Bit
Out-0 123h 0 In-0 123h 0
Out-1 123h 1 In-1 123h 1
Out-2 123h 2 In-2 123h 2
Out-3 123h 3 In-3 123h 3
Out-4 123h 4 In-4 123h 4
Out-5 123h 5 In-5 123h 5
Out-6 123h 6 In-6 123h 6
Out-7 123h 7 In-7 123h 7
Example program;
Out 123h, 03h Out-0, Out-1 Turn On Out-2, Out-3 Turn Off
Out 123h, 0Ah Out-0, Out-2 Turn Off Out-1, Out-3 Turn On
Example program;
If INPUT 123 is (1011), then INPUT-2 is “0”
If INPUT 123 is (1100), then INPUT-0 & 1 are “0”
** The INPUT signal has to be TTL signal