
Chapter 7 XGT Dedicated Communication
7-14
(4)
Example
Example that reads two words from M000 of station no. 10(h0A)
(We assume that the following data is included.)
M000 = h1234
M001 = h5678
(a) XGT client: Request frame to read continuously
Classification Head Station
no.
Instruction Instruction type Variable Length
Variable
Name
No. of data
Tail
Frame
Check
Frame
ENQ
0A
R(r)
SB
06
%MW000
02
EOT
BCC
Hex
h05 h3041
h52(72)
h5342
h3036
h254D30
3030
h3032
h04
(b) XGT server: response frame
▷
In case of ACK response
Classification Head Station
no.
Instruction Instruction type
No. of data
Data
Tail
Frame
Check
Frame
ACK
0A
R(r)
SB
04
12345678
ETX
BCC
Hex
h06 h3041
h52(72)
h5342
h3034
h3132333435363738
03
▷
In case of NAK response
Classification Head Station
no.
Instruction
Instruction type
Error code
Tail
Frame
Check
Frame
NAK
0A
R(r)
SB
Error code (2 byte)
ETX
BCC
Hex
h15 h3041
h52(72)
h5342
Error code (4 byte)
h03
Содержание 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 ...