7-23
7 Tag Data Link Functions
CJ-series EtherNet/IP Units Operation Manual for NJ-series CPU Unit (W495)
7
-2
Se
tti
n
g T
a
g D
a
ta
Li
n
k
s
7
7-2
-4 Creating T
ags and T
ag Sets
6
Input the size of the tag in bytes in the Size Field. Input the tag size so that it is the same as the
data type size of the variable. Select the Use Bit Data Check Box and change the bit size to 1 to
use BOOL variables.
Precautions for Correct Use
Precautions for Correct Use
Tag sizes can be set to odd numbers of bytes for any EtherNet/IP Unit that was manufactured in
October 2012 or later. However, the following precaution must be observed.
•
Memory in the CPU Unit is used in 2-byte increments. Therefore, specify a tag with the desired
odd number of bytes on the Network Configurator and then define a variable with a data size
that is one byte larger on the Sysmac Studio and specify it for the tag.
7
Click the
Regist
Button to register the tag. If an I/O memory address is specified for a tag name,
the Edit Tag Dialog Box is displayed with the next consecutive address as the tag name for the
next tag. After you have registered all of the tags, click the
Close
Button.
8
Click the
Out - Produce
Tab, and then click the
New
Button. The Edit Tag Dialog Box is dis-
played. Input the output tag in the same way. Use the Fault Action setting of the output (produce)
tag to specify whether to clear the output data or continue to send it when a major fault occurs in
the CPU Unit.
The Fault Action setting is not required for input (consume) tag sets.
•
Retain output for major fault: Hold (default)
Output data maintains its previous status even after a major fault occurs.
•
Clear output at major fault: Clear
Output data is cleared to 0 when a major fault occurs.
Precautions for Correct Use
Precautions for Correct Use
Connections are cut off if any of the following errors occurs in the CPU Unit that is the originator
while tag data links are active.
•
Major fault level Controller error
•
Partial fault level Controller error
Tag that is directly assigned to an I/O memory address
Tag that is assigned to a variable with a Network Publish attribute
Select the Hold or Clear Option.
Summary of Contents for SYSMAC CJ1W-EIP21
Page 8: ...Manual Structure 6 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Page 42: ...Revision History 40 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Page 68: ...1 Introduction 1 26 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Page 266: ...9 FTP Server 9 20 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495...
Page 431: ...Index 1 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495 I Index...
Page 436: ...Index 6 CJ series EtherNet IP Units Operation Manual for NJ series CPU Unit W495 Index...
Page 437: ......