7-3
7 Tag Data Link Functions
NJ-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
7-1 Introduction to Tag Data Links
7
7-1-2 Data Link Data Areas
A tag is a unit that is used to exchange data with tag data links. Data is exchanged between the local
network variables and remote network variables specified in the tags or between specified I/O memory
areas.
Precautions for Correct UsePrecautions for Correct Use
To maintain concurrency in the values of network variables that are assigned to tags, you must
set refreshing tasks. Refer to 7-1-7 Concurrency of Tag Data Link Data for details.
When a connection is established, from 1 to 8 tags (including Controller status) is configured as a tag
set. Each tag set represents the data that is linked for a tag data link connection. Tag data links are
therefore created through a connection between one tag set and another tag set. A tag set name must
be set for each tag set.
Note A connection is used to exchange data as a unit within which data concurrency is maintained. Thus, data
concurrency is maintained for all the data exchanged for the tags in one data set.
z Example
In the following example, input tags
a to g at the originator are a tag set named SP1_IN and output
tags i and ii are a tag set named SP1_OUT. A connection is set between these two tag sets.
There are both input (consume) and output (produce) tag sets. Each tag set can contain only input
tags or only output tags. The same input tag cannot be included in more than one input tag set.
7-1-2 Data Link Data Areas
Tags
Tag Sets
EtherNet/IP
IP address: N
Tag Set (Outputs)
Tag set name: SP1_OUT
Connection
Controller status
Controller status
Tag
i
Tag ii
Tag g
Tag c
Tag b
Tag a
Tag set name: SP1_IN
Tag Set (Inputs)
· Packet interval (RPI)
· Target tag set: SP1_OUT
· Originator tag set: SP1_IN
· Target IP address: N
Connection information
Target DeviceOriginator device