Page 209
724-746-5500 | blackbox.com
Chapter 6: Serial Control
Example:
Connection of input Port 17 with output Port 160
0x1B 0x5B 0x43 0x09 0x00 0xA0 0x00 0x11 0x00
Table 6-5. Request of input port for output port with a fixed total port number.
Bytes
Description
Coding
1
Control character
0x1B
1
Server identification
0x5B
1
Command
0x44
2
Total length of telegram (9 bytes, binary)
0x09 0x00
2
Number of output ports (binary, 1…max.
ports)
0x01 0x00 (for Port 1) to 0x120 0x00 (for Port 287)
2
Requested output port (binary, 1…max. ports)
0x01 0x00 (for Port 1) to 0x120 0x00 (for Port 288)
Example:
Request of input port for output Port 25 with a total port number of 160
0x1B 0x5B 0x44 0x09 0x00 0xA0 0x00 0x19 0x00
Table 6-6. Return of input port for output port with a fixed port number.
Bytes
Description
Coding
1
Control character
0x1B
1
Server identification
0x5B
1
Command
0x44
2
Total length of telegram (7 bytes, binary)
0x07 0x00
2
Number of output ports (binary, 1…max. 288
ports)
0x01 0x00 (for Port 1) to 0x120 0x00 (for 287
ports)
Example:
Return of input Port 17 for output Port 25 with a total port number of 160.
0x1B 0x5D 0x44 0x09 0x00 0xA0 0x00 0x19 0x00 0x11 0x00