11
PROGRAMMING
This chapter describes programming and startup examples of CC-Link IE TSN.
11.1
Precautions for Programming
This section describes precautions to create CC-Link IE TSN programs.
Cyclic transmission program
For a cyclic transmission program, configure an interlock with the following module labels (link special relay (SB), link special
register (SW)).
• 'Data link error status of own station' (SB0049)
• 'Data link status of each station' (SW00B0 to SW00B7)
11.2
Communication Example of the Master Station
and Local Stations
The following system configuration is used to explain communication between the master station and local station.
System configuration
• Power supply module: R61P
• CPU module: R04CPU
• Master station (No.0): RJ71GN11-EIP (start I/O number: 0000H to 001FH)
• Local station (No.1): RJ71GN11-T2 (start I/O number: 0000H to 001FH)
• Local station (No.2): RJ71GN11-EIP (start I/O number: 0000H to 001FH)
No.0
No.0: Master station (station No.0)
No.1: Local station (station No.1)
No.2: Local station (station No.2)
No.1
No.2
11 PROGRAMMING
11.1 Precautions for Programming
11
215