![Omron Sysmac NY512-1300 User Manual Download Page 129](http://html.mh-extra.com/html/omron/sysmac-ny512-1300/sysmac-ny512-1300_user-manual_742451129.webp)
7-13
7 Tag Data Link Functions
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User’s Manual (W563)
7-
1 Int
rod
uctio
n
t
o
T
ag D
at
a L
inks
7
7-1
-7 Con
cur
rency of T
ag
Dat
a Link Dat
a
•
Not Setting Refreshing Tasks for Tags (Network Variables)
Concurrency of the tags in the tag set is not maintained.
Synchronizing the Update Timing of Network Variables (Tags) with the User
Program Execution Period
To have the values of network variables (tags) updated to the latest tag data values each time the
user program that accesses those network variables is executed, set the refreshing task for the net-
work variables (tags) to the same type of the task as for the user program that accesses the network
variables (tags).
The difference between the operation of tags with a refreshing task that is the same as the user pro-
gram and tags without a refreshing task is described below.
(1) Tag (network variable) with a refreshing task
In this example, the primary periodic task is set as the refreshing task. Values are written to
the network variables (tags) in the next primary periodic task after the tag data link service.
Connection
Tag data links updated.
NY-series Controller
NJ/NX-series Controller
Refreshing task
Refreshing task
EtherNet/IP
100
10
10
Value of variable
100
→
10
Value of variable
Variable
c
Variable
b
Variable
a
Variable
c
Variable
b
Variable
a
Tag set
Variable
f
Variable
e
Variable
d
Tag set
100
→
10
100
→
10
Not refreshed.
Refreshed.
Refreshed.
The
values of
tags in
the tag
set are
not
refreshed
at the
same
time.
Primary period
Task period
Tag data is read
from the tag set.
Values are written to the network variables (tags) in the next primary
periodic task after the tag data links service.
Task period
Interrupted.
High
Low
MC
IO UPG
MC
IO UPG
MC
IO UPG
MC
IO UPG
MC
IO UPG
UPG
UPG
UPG
Execution
priority
Priority-16
periodic task
Priority-17
periodic task
Primary
periodic task
System
service
Tag data link
service
Summary of Contents for Sysmac NY512-1300
Page 459: ......