Chapter 6: Serial Control
Table 6-16. Request of CON (input) for CPU (output).
Bytes | Description | Coding | |
|
|
| |
1 | Control character | 0x1B | |
|
|
| |
1 | Server identification | 0x5B | |
|
|
| |
1 | Command | 0x51 | |
|
|
| |
2 | Total length of telegram (7 bytes, binary) | 0x07 0x00 | |
|
|
| |
2 | Total number of consoles (binary, 1…max. | 0x01 0x00 (for CPU 1) to 0x11F 0x00 (for CPU | |
CONs) | 287) | ||
| |||
|
|
|
Example:
Request of CON (input) for CPU 23 0x1B 0x5B 0x51 0x07 0x00 0x17 0x00
Table 6-17. Return of CON (input) for CPU (output).
Bytes | Description | Coding |
| ||
|
|
|
|
| |
1 | Control character | 0x1B |
|
| |
|
|
|
| ||
1 | Server identification | 0x5D |
| ||
|
|
|
|
| |
1 | Command | 0x51 |
|
| |
|
|
| |||
2 | Total length of telegram (9 bytes, binary) | 0x09 0x00 | |||
|
|
|
|
| |
2 | Requested output CPU | 0x01 | 0x00 | (for CPU 1) to 0x11F 0x00 (for CPU 287) | |
|
|
|
|
| |
2 | Requested input console | 0x01 | 0x00 | (for Console 1) to 0x11F 0x00 (for | |
console 287) | |||||
|
| ||||
|
|
|
|
|
Example:
Request of Console 23 for CPU 23
0x1B 0x5D 0x09 0x00 0x2B 0x00 0x17 0x00
Page 116 |