
Chapter 7 XGT Dedicated Communication
7-10
(4) Example
Example that M020’s 1 word and P001’s 1 word of station No.1 are read.
(At this time, it is supposed that H1234 is in M020 and H5678 is in P001.)
(a) XGT client’s request frame that requests reading single variable
Classification Head Station
no. Instruction
Instruction
type
No. of
block
Variable
length
Variable
name
Variable
length
Variable
name
Tail
Frame
Check
Frame
ENQ 01
R(r)
SS
02
06
%MW02
0
06
%PW001
EOT
BCC
Hex
h05 h3031 h52(72) h5353 h3032
h3036
h254D57
303230
h3036
h2550573
0303031
h04
(b) Response frame of XGT server
▷
In case of ACK response
Classification Head Station
no. Instruction
Instruction
type
No. of
block No. of data
Data
No. of
data
Data
Tail Frame
Check
Frame
ACK
01
R(r)
SS
02
02
1234
02
5678
ETX
BCC
Hex
h06 h3031 h52(72) h5353 h3032
h3032
h3132333
4
h3032 h35363738 h03
▷
In case of NAK response
Classification Head Station
no.
Instruction Instruction type
Error code
Tail
Frame check
Frame
NAK
01
R(r)
SS
Error code (2 byte)
ETX
BCC
Hex
h15 h3031 h52(72)
h5353
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 ...