Program example
The following is a program example of communications between the CC-Link IE TSN Class B master station (station No.0),
CC-Link IE TSN Class A remote station (station No.1), and local station (station No.2).
Master station (station No.0)
Classification
Module label
Label to be defined
11 PROGRAMMING
242
11.3 Examples of Communication with CC-Link IE TSN Class A Remote Stations
Label name
RCPU.stSM.bAlways_ON
GN11_SE_1.bSts_DataLinkError
GN11_SE_1.bnSts_DataLinkError_Station[1]
GN11_SE_1.bnSts_DataLinkError_Station[2]
Define global labels as shown below:
Description
Always on
Data link error status of own station
Data link status of each station (station No.1)
Data link status of each station (station No.2)
Device
SM400
SB0049
SW00B0.0
SW00B0.1