Page 50
724-746-5500 | blackbox.com
ACX048 API manual
Chapter 7: Specifications
7.2.2 Get CPU Device Connected to CON Device
Request:
Telegram
ESC [ H Size ConId
General description: Get CPU device (input) connected to CON device (output).
Table 7-6. Get system time.
Type
Bytes
Description
Hex Coding
ESC
1
Control character
0x1B
(
1
Server identification
0x28
S
1
Command
0x53
Size
2
Total length of telegram (7 bytes)
0x07 0x00
ConID
2
ID of Con Device
e.g. 3017 = 0xC9 0x08
Example:
Get CPU device connected to CON device (
ConId
= 3017).
0x1B 0x5B 0x48 0x07 0x00 0xC9 0x0B
Response:
Telegram
ESC ] H Size ConId CpuId
General description: Return CPU device (input) connected to CON device (output).
Table 7-7. Return CPU device.
Type
Bytes
Description
Hex Coding
ESC
1
Control character
0x1B
(
1
Server identification
0x5D
H
1
Command
0x48
Size
2
Total length of telegram (9 bytes)
0x09 0x00
ConID
2
ID of Con device
e.g. 3017 = 0xC9 0x0B
CpuID
2
ID of CPU device
e.g. 1025 = 0x16 0x04
Example:
Return CPU device (CpuId = 1012) connected to CON device (ConId = 3017).
0x1B 0x5D 0x48 0x09 0x00 0xC9 0x0B 0xF3 0x03