14.1
Precautions for Programming
This section describes the precautions when creating programs for setting the CC-Link IE TSN communication mode.
Program for cyclic transmission
For a program for cyclic transmission, provide interlock between the following link special relay (SB) and the link special
register (SW).
• Own station data link error status (master station) (SB0049)
• Data link status (each station) (SW00B0 to SW00B7)
For details, refer to the following.
User's manual for the master station used
Ex.
Interlock example
(1)
(2)
(1) Program for communications with station number 1
(2) Program for communications with station number 2
CC-Link IE TSN Network synchronous communication program
To check the operating status of the FPGA module (synchronous or asynchronous), use the following link special register
(SW) on the master station.
• Synchronous/asynchronous operation status information (each station) (SW01C8 to SW01CF) of the master station
For details, refer to the following.
User's manual for the master station used
An example of a program that turns on and off External output signal Y0 (B0) and External output signal Y1 (B0) of the FPGA
module with station number 1 is shown below.
• X20: Output command
• X100B: Remote READY
• X1000: FPGA controlling flag
• SW1C8.0: Synchronous/asynchronous operation status information (each station) of the station No.1
• Y1010: External output signal Y0 (B0)
• Y1011: External output signal Y1 (B0)
14 SAMPLE CIRCUIT IN CC-LINK IE TSN COMMUNICATION MODE
14.1 Precautions for Programming
14
401