User Manual version 2.1
OPEN (660) 120/140/150
6-74
6.2.2.5. CN7: Digital I/O Connector
The CN7 is a 10 pin digital I/O connector.
CN7: DIO Connector pin assignment
Pin # Signal Pin # Signal
1 OUT DATA0(SD4) 2 IN DATA0(SD0)
3 OUT DATA1(SD5) 4 IN DATA1(SD1)
5 OUT DATA2(SD6) 6 IN DATA2(SD2)
7 OUT DATA3(SD7) 8 IN DATA3(SD3)
9 GND 10 GND
The PC 660A3 DIO can be used for the system’s simple
automation control needs. The digital I/O can be
configured to control the opening of a cash drawer or to
sense the warning signal of an Uninterrupted Power
System (UPS) or to do the store security control.
The Digital I/O is of TTL interface. It is controlled via
software programming;
Digital I/O Programming
Input/output address: 206H
In_Data 0~3=SD0~SD3
Out_ Data 0~3=SD4~SD7
EXAMPLE:
10 REM Digital I/O example program
20 X = INP (&H206) REM INPUT Digital I/O port
for 4 bit
30 X = OUT (&H206) REM OUTPUT Digital I/O port
for 4 bit
60 END
100 Return
Port 206H Definition