Page 75
724-746-5500 | blackbox.com
ACX048 API manual
Chapter 7: Specifications
7.3.8 Set Real CPU Devices
Request:
Telegram
ESC [ a Size CpuCnt <VCpuId, RCpuId>[1] …
<VCpuId, RCpuId>[CpuCnt]
General description:
Set real CPU devices to virtual CPU devices.
Table 7-35. Set real CPU devices to virtual CPU devices.
Type
Bytes
Description
Hex Coding
ESC
1
Control character
0x1B
[
1
Server identification
0X5B
a
1
Command
0x61
Size
2
Total length of telegram (7 bytes + data)
e.g. for
CpuCnt
= 3
0x13 0x00
CpuCnt
2
Number of CPU device
e.g. 3 = 0x03 0x00
VCpuId
2
ID of virtual CPU device
e.g. 2018 = 0xE2 0x07
RCpuId
2
ID of real CPU device
e.g. 1025 = 0x16 0x04
Example:
Set real CPU devices to virtual CPU devices.
VCpuId[1] = 2018, RCpuId[1] = 1012;
VCpuId[2] = 2030, RCpuId[2] = 1013;
VCpuId[3] = 2035, RCpuId[3] = 1020;
0x1B 0x5B 0x61 0x13 0x00 0x03 0x00 0xE2 0x07 0xF4 0x03
0xEE 0x07 0xF5 0x03 0xF3 0x07 0xFC 0x03
Response:
<ACK>[<ECHO>] or <NAK>
[ ] = Optional elements