Page 72
724-746-5500 | blackbox.com
ACX048 API manual
Chapter 7: Specifications
7.3.6 Set Virtual CON Devices to Real CON Devices
Request:
Telegram
ESC [ Y Size ConCnt <RConId, VConId>[1] …
<RConId, VConId>[ConCnt]
General description:
Set virtual CON devices to real CON devices.
Table 7-32. Set virtual CON devices to real CON devices.
Type
Bytes
Description
Hex Coding
ESC
1
Control character
0x1B
[
1
Server identification
0X5B
Y
1
Command
0x59
Size
2
Total length of telegram (7 bytes + data)
e.g. for
ConCnt = 3
0x13 0x00
ConCnt
2
Number of CON device
e.g. 3 = 0x03 0x00
RConId
2
ID of real CON device
e.g. 3017 = 0xC9 0x0B
VConId
2
ID of virtual CON device
e.g. 4034 = 0xC2 0x0F
Example:
Set virtual CON devices to real CON devices.
RConId[1] = 3017, VConId[1] = 4034;
RConId[2] = 3028, VConId[2] = 4042;
RConId[3] = 3040, VConId[3] = 4045;
0x1B 0x5B 0x59 0x13 0x00 0xC9 0x0B 0xC2 0x0F 0xD4 0x0B
0xCA 0x0F 0xE0 0x0B 0xCD 0x0F
Response:
<ACK> [<ECHO>] or <NAK>.
[ ] = Optional elements