Chapter 9: 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 lines drive the Octagon MPB
series opto-isolation module racks directly, controlling AC and DC loads to 240V at
3A. Tables 9–1 and 9–2 show the pinouts for the digital I/O connectors, arranged
by function and by pin number. Figure 9–1 shows typical I/O configurations.
The I/O lines have the following specifications:
Each 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
Table 9–1
J6 and J14 arranged by function – digital I/O connectors
J14 (Digital I/O 1) and J6 (Digital I/O 2)
Pin #
Port A
Pin #
Port B
Pin #
Port C
19
Bit 0
10
Bit 0
13
Bit 0
21
Bit 1
8
Bit 1
16
Bit 1
23
Bit 2
4
Bit 2
15
Bit 2
25
Bit 3
6
Bit 3
17
Bit 3
24
Bit 4
1
Bit 4
14
Bit 4
22
Bit 5
3
Bit 5
11
Bit 5
20
Bit 6
5
Bit 6
12
Bit 6
18
Bit 7
7
Bit 7
9
Bit 7
2
+5V
safe*
26
Gnd
* +5V safe is fused through a 750 mA automatic, resetting fuse
Note
See the Accessories appendix for connector information for the digital I/O
connector.
58
Содержание XE-800
Страница 18: ...Figure 2 1 XE 800 SBC component diagram top 18 ...
Страница 19: ...Figure 2 2 XE 800 SBC component diagram bottom 19 ...
Страница 20: ...Figure 2 3 XE 800 SBC dimensions 20 ...
Страница 89: ...MOV AX 0fb0bh MOV DX 0ffffh INT 17h MOV aData AL if aData 1 printf U1 jumper is ON n 89 ...