Page 61
724-746-5500 | blackbox.com
ACX048 API manual
Chapter 7: Specifications
Table 7-19. Set connection of CON devices to CPU devices (bidirectional).
Type
Bytes
Description
Hex Coding
ESC
1
Control character
0x1B
[
1
Server identification
0X5B
Q
1
Command
0x51
Size
2
Total length of telegram (7 bytes + data)
0x09 0x00
Cnt
2
Size of list
e.g. for
Cnt
= 3
0x13 0x00
CpuId
2
ID of CPU device
e. g. 1012 = 0xF4 0x03
ConId
2
ID of CON device
e.g. 3017 = 0xC9 0x0B
Example:
Connect CONs with CPUs and CPUs with CONs.
CpuId[1]
= 1012,
ConId[1]
= 3017;
CpuId[2]
= 1013,
ConId[2]
= 3028;
CpuId[3]
= 1020,
ConId[3]
= 3040;
0x1B 0x5B 0x51 0x13 0x00 0x03 0x00 0xF4 0x03 0xC9 0x0B 0xF5
0x03 0xD4 0x0B 0xFC 0x03 0x0E 0x0B
Response:
<ACK> [<ECHO>] or <NAK>.
[ ] = Optional elements
7.2.12 Get All Connections
Request:
Telegram
ESC [ R
General description: Get all CPU device–CON device connections.
Table 7-20. Get all CPU device–CON device connections.
Type
Bytes
Description
Hex Coding
ESC
1
Control character
0x1B
[
1
Server identification
0X5B
R
1
Command
0x52