Chapter 10: Bit-programmable digital I/O
Description
The bit-programmable digital I/O lines can be used to sense switch closures, turn
on lamps and LEDs, and interface with other devices that have TTL input or
output such as printers and scales. The digital I/O drives the Octagon MPB series
opto-isolation module racks directly, controlling AC and DC loads to 240V at 3A.
Figure 10–1 shows typical I/O configurations. The digital I/O ports have the
following specifications:
The digital I/O chip has 24 I/O lines, grouped into 3 ports of 8 bits
Each bit is programmable as either 5V input or 5V output
Read back state of each pin
Easy-to-program
Each line can sink and source 15 mA
Note
Ports A and B are on the J2 connector, and accessed through the 2060 HDC-18-
Multiport cable. Port C is on connector J6, and accessed through the 2060 Digital
I/O cable, part #6394.
Table 10–1 J2 – Digital I/O connector
J2/20-pin Connector
J6 – Additional I/O
Pin #
Port A
Pin #
Port B
Pin #
Port C
B35/17*
Bit 0
B27/9
Bit 0
1
Bit 0
B34/16
Bit 1
B26/8
Bit 1
2
+5V
B33/15
Bit 2
B25/7
Bit 2
3
Bit 1
B32/14
Bit 3
B24/6
Bit 3
4
Bit 2
B31/13
Bit 4
B23/5
Bit 4
5
Bit 3
B30/12
Bit 5
B22/4
Bit 5
6
Bit 4
B29/11
Bit 6
B21/3
Bit 6
7
Bit 5
B28/10
Bit 7
B20/2
Bit 7
8
Gnd
B36/18 +5V
B19/1 Gnd
9
Bit
6
nc/19
nc/20
10 Bit
7
*These pin numbers refer to both the J2 connector on the 2060 board (B35
for this entry) and the 20-pin connector on the HDC-Multiport cable (pin
17).
Note
See the Accessories appendix for connector information for the digital I/O
connector.
69