
Chapter 7 XGT Dedicated Communication
7-15
7.2.7 Registration and execution of monitor variable
(1) Registration of monitor variable (X##)
Monitor variables can be registered separately up to 32 (0 to 31) with Read instruction of actual variables through this
function, which executes the registered details by monitor instruction after the registration.
(a) XGT client: frame to register monitor variable
Structure
Head
Station
no.
Instruction
Registration
no.
Registration
format
Tail
Frame check
Frame
ENQ
01
X(x)
09
Refer to
registration
format
EOT
BCC
Hex
h05
h3031
h58(78)
h3039
Note 1)
h04
(b) XGT server: response frame of monitor variable
▶
In case of ACK response
Structure
Head
Station no.
Instruction
Registration
no.
Tail
Frame check
Frame
ACK
01
X(x)
09
ETX
BCC
Hex
h06
h3031
h58(78)
h3039
h03
▶
In case of NAK response
Structure
Head
Station
no.
Instruction
Registrati
on no.
Error code
(Hex 2 byte)
Tail
Frame check
Frame
NAK
01
X(x)
09
h1132
ETX
BCC
Hex
h15
h3031
h58(78)
h3039
h31313332
h03
(c) Meaning of each item
Classification
Description
Registration
no.
Up to 32 (0~31, H00~H1F) can be registered. If registered again with the already registered
number, the presently executed one will be registered
Registration
format
Available until EOT of instructions during format of reading single/continuous device
Note
Note 1) For registration format, select one between the following two formats.
▶
Reading single device
RSS
No. of block
(2 byte)
Variable length
(2 byte)
Variable name
(16 byte)
...
1 block (max. 16 block)
▶
Reading continuous device
RSB
Variable length
(2 byte)
Variable name
(16 byte)
No. of data
Содержание XGL-C22A
Страница 74: ...Chapter 6 Communication Parameter 6 22 4 Click I O Sync 6 Read the message If there is no problem click OK ...
Страница 172: ...Chapter 8 Modbus Communication 8 23 ...
Страница 246: ...Chapter 10 Program Examples 10 40 XG 5000 program Sequence Program 1 2 3 4 ...
Страница 247: ...Chapter 10 Program Examples 10 41 Sequence Program 5 6 ...
Страница 289: ...Appendix A 23 Sub procedure module When port open event occurs perform the next module ...
Страница 291: ...Appendix A 25 The lower code shows BCC check setting ...
Страница 296: ...Appendix A 30 4 Example Register monitor X 5 Example execution monitor Y Address of server Monitor result ...
Страница 297: ...Appendix A 31 A 4 Dimension Unit mm XGL C22A CH2A C42A H W version Less than V2 0 H W version V2 0 or Later ...