Mitsubishi Electric MELSEC iQ-R Series User Manual page 91

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

Advertisement

Program example of error detection in other stations
■Data flow
In the program example, the baton pass status and cyclic transmission status of each station is monitored and some network
errors in other stations are detected in a system configured with three stations.
• When a disconnection or a reconnection of stations is detected, the CC-Link IE Controller Network executes
the line control in all stations to reconstruct the loop.
• During the line control processing, the 'Baton pass status of each station' (SW00A0 to SW00A7) and 'Data
link status of each station' (SW00B0 to SW00B7) are turned on for up to 100ms. (Normally for up to 50ms.)
Therefore, set a value of error monitoring timer to more than 100ms and within the allowable range of your
system.
■Program example
The setting value of error monitoring timer is 200ms.
Classification
Label name
Module label
GP21_1.bDetect_BatonPassError
GP21_1.bDetect_DataLinkError
GP21_1.bnSts_BatonPassError_Station[1]
GP21_1.bnSts_BatonPassError_Station[2]
GP21_1.bnSts_BatonPassError_Station[3]
GP21_1.bnSts_CyclicTransmissionError_Station[1]
GP21_1.bnSts_CyclicTransmissionError_Station[2]
GP21_1.bnSts_CyclicTransmissionError_Station[3]
Label to be defined
Define global labels as shown below:
(38) Processing program for error detection
Description
Baton pass error status of own station
Data link error status of own station
Baton pass status of each station (station
No.1)
Baton pass status of each station (station
No.2)
Baton pass status of each station (station
No.3
Data link status of each station (station
No.1)
Data link status of each station (station
No.2)
Data link status of each station (station
No.3)
7 COMMUNICATION EXAMPLES
7.2 Communication Examples of CC-Link IE Controller Network
Device
SB0047
SB0049
SW00A0.0
7
SW00A0.1
SW00A0.2
SW00B0.0
SW00B0.1
SW00B0.2
89

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents