6.11 DI Interface Card
6-223
Chap. 6
CONTROL OPTIONS
6.11.5.2 Selecting binary or BCD input
(1) Example input when o01 and o02 are set to binary input
Values from -32,768 to 32,767 are valid.
Table 6.11.6
(MSB) (LSB)
20 19 18 17 15 14 13 12 10 9 8 7 5 4 3 2
Converted data
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 2
0 1 0 0 1 1 1 0 0 0 1 0 0 0 0 0 20000
0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 32767
1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -32768
1 0 1 1 0 0 0 1 1 1 1 0 0 0 0 0 -20000
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 -2
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 -1
(2) Example input when o01 and o02 are set to BCD input
Values from -7,999 to 7,999 are valid.
Table 6.11.7
(MSB) (LSB) Converted data
20 19 18 17 15 14 13 12 10 9 8 7 5 4 3 2
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1
0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 2
0 1 0 0 0 1 1 0 0 0 1 0 0 0 0 0 4620
0 1 1 1 1 0 0 1 1 0 0 1 1 0 0 1 7999
1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 -1
1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 -2
1 1 0 0 0 1 1 0 0 0 1 0 0 0 0 0 -4620
1 1 1 1 1 0 0 1 1 0 0 1 1 0 0 1 -7999
Thousands
place
Hundreds place Tens place Ones place Sign