![Sony MG40 Series Command Reference Manual Download Page 87](http://html.mh-extra.com/html/sony/mg40-series/mg40-series_command-reference-manual_411003087.webp)
(E)
3-3
MG40 Series
3-3. CC-Link Command Transmission Sequences
Th
ese steps are taken to transmit the commands using the CC-Link interface and acquire the response speed.
0
0
0
1
1
0
0
0
1
1
Command setting
completed
Response
received
Command execution
completed
Command
Next command
Next command response
Command response
Command execution
completed
Response
reception check
Response
reception check
Command setting
completed
Response
received
IRY
(PLC
MG41-NC)
IRX
(MG41-NC
PLC)
MG41-NC receive buffer
(PLC
MG41-NC)
PLC receive buffer
(MG41-NC
PLC)
Th
e sequence is as follows when viewed from the PLC side.
1
Th
e command is written into the transmit buff er.
2
“1” is set for IRY. (Th
e execution of the command is instructed.)
3
Th
e PLC waits for IRX to be set to “1.” (Th
e PLC waits for the command execution to be completed.)
4
When IRX is set to “1,” the command response is acquired.
5
When the response is acquired, IRY is set to “0.” (Th
e response is received.)
6
Th
e PLC waits for IRX to be set to “0.” (Th
e PLC waits for the response reception to be checked.)
Th
e sequence is as follows when viewed from the MG41-NC main unit side.
1
“1” is set for IRY, and command execution is instructed. (Th
e command request is received.)
2
Th
e command is read from the buff er, and it is executed.
3
Th
e response is written in the buff er, and “1” is set for IRX. (Th
e command execution is completed.)
4
Th
e MG41 waits for IRY to be set to “0.” (Th
e MG41 waits for the response to be received.)
5
“0” is set for IRX. (Th
e MG41 checks that the response has been received.)
Summary of Contents for MG40 Series
Page 2: ...MG40 Series ...
Page 4: ...ii J MG40 Series ...
Page 8: ...1 4 J MG40 Series ...
Page 20: ...3 4 J MG40 Series ...
Page 68: ...5 6 J MG40 Series ...
Page 72: ...ii E MG40 Series ...
Page 76: ...1 4 E MG40 Series ...
Page 88: ...3 4 E MG40 Series ...
Page 136: ...5 6 E MG40 Series ...