Mitsubishi Electric MELSEC iQ-R Series User Manual page 89

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

■Program example
When creating a cyclic communication program, establish an interlock using 'Data link error status of own station' (SB0049)
and 'Data link status of each station' (SW00B0 to SW00B7).
• Control station (station No.1)
Classification
Label name
Module label
GP21_1.bDetect_DataLinkError
GP21_1.bnSts_CyclicTransmissionError_Station[2]
Label to be defined
Define global labels as shown below:
(6)
When 'bSendRequest' (M300) is turned on, the contents of 'uOutputData' (D0) is stored in 'uData' (W0).
When data storage is completed, 'bHandShake1' (B0) is turned on.
Link relay (LB) is sent through cyclic transmission after link register (LW).
(12)
When data are sent to the receiving station and 'bHandShake2' (B200) is turned on, 'bHandShake1' (B0) is turned off.
Description
Data link error status of own station
Data link status of each station (station
No.2)
7 COMMUNICATION EXAMPLES
7.2 Communication Examples of CC-Link IE Controller Network
Device
SB0049
SW00B0.1
7
87

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents