7-59
7 Tag Data Link Functions
CJ-series EtherNet/IP Units Operation Manual for NJ-series CPU Unit (W495)
7-2 Setting Tag Data Links
7
7-2-12 Starting and Stopping Tag Data Links
Tag data links are automatically started immediately after the data link parameters are downloaded
from the Network Configurator. (They are automatically started after the CPU Unit’s power is turned ON
or the Unit is restarted.)
You can start and stop tag data links for the entire network from the user program or from the Network
Configurator.
Precautions for Correct UsePrecautions for Correct Use
Use the same method (i.e., either the user program or the Network Configurator) to both start
and stop tag data links. For example, if you use the *_TDLStopCmd (Tag Data Link Stop Bit)
device variable for the CJ-series Unit to stop tag data links, you cannot start them from the Net-
work Configurator.
Using Commands in the User Program
You can change the corresponding elements in the following the device variables for the CJ-series
Unit to TRUE in the user program to start and stop tag data links for individual devices. (Refer to
Section 3 Assigning Device Variables for CJ-series Units.)
• *_TDLStartCmd (Tag Data Link Start Bit)
• *_TDLStopCm (Tag Data Link Stop Bit)
• Change the Tag Data Link Start Bit to TRUE, while the Tag Data Link Communications Stop
Bit is FALSE. If the Tag Data Link Stop Bit is TRUE, the tag data links do not start even if the
Tag Data Link Start Bit is changed to TRUE. Furthermore, if the Tag Data Link Start Bit and the
Tag Data Link Stop Bit are both TRUE, then an error occurs, the Multiple Switches ON Error
device variable for the CJ-series Unit changes to TRUE, and the event is recorded in the event
log.
• After you start the tag data links, do not force the Tag Data Link Start Bit to change to FALSE
from the user program or from the Sysmac Studio. It will change to FALSE automatically.
Using the Network Configurator
You can select I/O Connection
−
Start or I/O Connection
−
Stop from the Network Menu to start
and stop tag data links for individual devices.
7-2-12 Starting and Stopping Tag Data Links
Automatically Starting Tag Data Links
Starting and Stopping Tag Data Links for the Entire Network