
Chapter 7 XGT Dedicated Communication
7-16
(d) Example
Registers device M000 of station no. 1 as registration no. 01
1) XGT client: frame to register monitor variable
Classification Head
Station
no.
Instruction
Registrat
ion no.
Registration format
Tail
Frame
check
R##
No. of
block
Variable
length
Variable
name
Frame
ENQ
01
X(x)
01
RSS
01
06
%MW000 EOT
BCC
Hex
h05
h3031
h58(78)
h3031
h52535
3
h30
31
h3036
h25545730
3030
h04
2) XGT server: monitor variable response frame
▷
In case of ACK response
Classification
Head
Station no.
Instruction
Registration no.
Tail
Frame check
Frame
ACK
01
X(x)
01
ETX
BCC
Hex
h06
h3031
h58(78)
h3031
h03
▷
In case of NAK response
Classification
Head
Station no. Instruction
Registration
no.
Error code
Tail
Frame check
Frame
NAK
01
X(x)
01
Error code (2)
ETX
BCC
Hex
h15
h3031
h58(78)
h3031
Error code (4)
h03
(2) Execution of monitor (Y##)
This function is used to read the device registered by monitor registration. It specifies the registration number to read the
device registered in that number.
(a) XGT client: frame to execute monitor
Classification
Head
Station no.
Instruction
Registration no.
Tail
Frame
check
Frame
ENQ
10
Y(y)
09
EOT
BCC
Hex
h05
h3130
h59(79)
h3039
h03
(b) XGT server: example of response frame about execution of monitor
1) In case of ACK response
▷
In case that registration format of registration number is reading single device
Classific
ation
Head
Station
no.
Instruction
Registratio
n no.
No. of
block
No. of
data
Data
Tail
Frame
check
Frame
ACK
10
Y(y)
09
01
02
9183
ETX
BCC
Hex
h06
h3130
h59(79)
h3039
h3031
h3032
h3931383
3
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 ...