Translating ASCII Status Data
Use the table at right to evaluate the ASCII character
output for bytes 3 – 12 and determine which of the
low order bits are set on.
For example, if the Digital Output Status returned in
bytes 8 – 11 is AC@@, the table at right can be used
with the bit assignments described above to
determine that digital outputs 4, 7, and 8 are active:
• A (byte 8) indicates that DIGOUT 4 (bit 0) is on
• C (byte 9) indicates that DIGOUTs 7 and 8 (bits 1
and 0) are on
• @@ indicates that bytes 10 and 11 are not used
ASCII Value
Table 10-15. ASCII Translation Table for BATSTATUS Data
Bit 3
Bit 2
@
0
A
0
B
0
C
0
D
0
E
0
F
0
G
0
H
1
I
1
J
1
K
1
L
1
M
1
N
1
O
1
Bit 1
Bit 0
0
0
0
0
0
1
0
1
1
0
1
0
1
1
1
1
0
0
0
0
0
1
0
1
1
0
1
0
1
1
1
1
EDP Commands
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
55
Need help?
Do you have a question about the 520 and is the answer not in the manual?