Chapter 7 XGT Dedicated Protocol
7-16
(5) Monitor variable register (X##)
(a) Purpose
Monitor register can separately register up to 16 (from 0 to 15) in combination with actual variable
reading command, and carries out the registered one through monitor command after registration.
(b) PC request format
Format name
Head
er
Station
No.
Comma
nd
Registratio
n No.
Registration
format
Tail Frame check
Frame
(Example)
ENQ H10 X(x) H09
Refer to
registration
format
EOT BCC
ASCII value H05 H3130 H58(78) H3039
Refer to *1
H04
Item Description
BCC
When command is lowercase(x), only one lower byte of the value resulted by
adding 1 byte each to ASCII values from ENQ to EOT is converted into ASCII,
added to BCC.
Register No.
This can be registered up to 16 (0 to 15, H00-H0F), and if an already registered
No. is registered again, the one currently being executed is registered.
Register
Format
This is used to before EOT in command of Formats of separate reading of
variable, continuous reading, and named variable reading.
*1 : Register Format of request Formats must select and use only one of the followings.
1) Individual reading of device
RSS
Number of blocks
(2
Byte)
Device length
(2 Byte)
Device name
(16 Byte) ...
1
block (max. 16 blocks)
2) Continuous reading of device
RSB Device length (2 Byte) Device name (16 Byte) Number of data
(c) XGB Response format (ACK response)
Format name
Header
Station No.
Command
Registration
no.
Tail Frame check
Frame (Example)
ACK H10 X(x) H09 ETX BCC
ASCII value
H06 H3130 H58(78) H3039 H03
Item Description
BCC
When command is lowercase(x), only one lower byte of the value resulted by
adding 1 Byte each to ASCII values from ACK to ETX is converted into ASCII and
added to BCC, and sent.