Cc-Link Command Transmission Sequences - Sony MG40 Series Command Reference Manual

Table of Contents

Advertisement

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
IRY
(PLCMG41-NC)
Command setting
completed
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.)
MG40 Series
1
Response
received
0
1
Command execution
completed
Command
Command response
0
Command setting
completed
0
Response
Command execution
reception check
completed
1
0
Response
received
1
0
Response
reception check
Next command
Next command response
3-3
(E)

Advertisement

Table of Contents
loading

Table of Contents