Controller sta-
tus
Variable name Description of operation
Controller Oper-
ating Flag
• EIP_Comm1Status.TargetPLCMo
deSta[255]
(CIP Communica-
tions1 Target PLC Operating
Mode)
• EIP_Comm2Status.TargetPLCMo
deSta[255] (CIP Communica-
tions2 Target PLC Operating
Mode)
This flag shows the operation information of the
Controller at the target node.
(When the EtherNet/IP Port Is the Originator of the
Connection)
The array element that corresponds to the target
node ID at the target is set to TRUE when all infor-
mation for all the connections to the relevant target
node shows operating status.
You can change the target node ID for the IP ad-
dress from the Network Configurator
.
This status information is enabled when the Control-
ler status is included in the communications data for
both the originator and the target node.
This variable is updated when necessary.
Controller Error
Flag
• EIP_Comm1Status.TargetPLCErr[
255]
(CIP Communications1 Tar-
get PLC Error Information)
• EIP_Comm2Status.TargetPLCErr[
255] (CIP Communications2 Tar-
get PLC Error Information)
This variable shows the error status (logical OR of
fatal and non-fatal errors) of the target node Control-
lers.
(When the EtherNet/IP Port Is the Originator of the
Connection)
You can change the target node ID for the IP ad-
dress from the Network Configurator
.
The Controller Error Flags are enabled when the
Controller status is included in the communications
data for both the originator and target node.
This variable is updated when necessary.
Additional Information
Even if you specify including the Controller status in output (produce) tags, you do not necessa-
rily need to include the Controller status in input (consume) tags.
If you do not include the Controller status in an input (consume) tag, the contents of the Control-
ler status are not updated in the Target PLC Operating Mode and T
arget PLC Error Information
variables, but they are sent in the input (consume) tag.
Therefore, you can use the Controller status data that was received in the input (consume) tag
as receive data.
9-1-7
Concurrency of Tag Data Link Data
To maintain the concurrency of data in a tag data link, you must set a refreshing task for each network
variable that is assigned to a tag.
• Maintain concurrency in tag data in a tag set.
•
The timing of updating network variables that are assigned to tags is synchronized with the execu-
tion period of the program that accesses the network variables
Additional Information
A refreshing task maintains concurrency of the value of a global variable from all tasks that ac-
cess that global variable. This is achieved by specifying a single task that can write to that glob-
al variable and not allowing any other task to write to that global variable.
For details on refreshing tasks, refer to the NJ/NX-series CPU Unit Software User’
s Manual
(Cat. No. W501).
9 Tag Data Link Functions
9-12
NX-series EtherNet/IP Unit User's Manual (W627)