Black Box ACXIO8-SPF Computer Hardware User Manual


 
Page 166
724-746-5500 | blackbox.com
Chapter 6: Serial Control
Example:
Return input Port 17 for all output ports
0x1B 0x5D 0x46 0x07 0x00 0x11 0x00
Table 6-10. Request of CPU (input) for CON (output).
Bytes Description Coding
1 Control character 0x1B
1 Server identification 0x5B
1 Command 0x46
2 Total length of telegram (7 bytes, binary) 0x07 0x00
2 Requested output console
0x01 0x00 (for Console 1) to 0x11F 0x00
(for Console 287)
Example:
Request of CPU (input) for Console 23
0x1B 0x5B 0x47 0x07 0x00 0x17 0x00
Table 6-11. Return of CPU (input) for CON (output).
Bytes Description Coding
1 Control character 0x1B
1 Server identification 0x5B
1 Command 0x47
2 Total length of telegram (9 bytes, binary) 0x09 0x00
2 Requested output console
0x01 0x00 (for Console 1) to 0x11F 0x00 (Console
287)
2 Requested input CPU 0x01 0x00 (for CPU 1) to 0x11F 0x00 (for CPU 287)