Omron NY532-5400 User Manual page 129

Ny-series ipc machine controller industrial panel pc / industrial box pc
Hide thumbs Also See for NY532-5400:
Table of Contents

Advertisement

• Not Setting Refreshing Tasks for Tags (Network Variables)
Concurrency of the tags in the tag set is not maintained.
NY-series Controller
Refreshing task
Value of variable
100 → 10
Variable a
100 → 10
Variable b
100 → 10
Variable c
 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.
Execution
priority
High
Low
NY-series Industrial Panel PC / Industrial Box PC Built-in EtherNet/IP Port User's Manual (W563)
Tag set
Connection
Variable a
Variable b
Tag data links updated.
Variable c
EtherNet/IP
Values are written to the network variables (tags) in the next primary
periodic task after the tag data links service.
Primary period
Primary
IO UPG
MC
IO UPG
periodic task
Priority-16
UPG
periodic task
Tag data link
service
Priority-17
periodic task
Tag data is read
from the tag set.
System
service
7 Tag Data Link Functions
NJ/NX-series Controller
Refreshing task
Tag set
Variable d
Variable e
Variable f
MC
IO UPG
MC
IO UPG
Task period
Task period
UPG
Interrupted.
Value of variable
The
values of
Refreshed.
10
tags in
the tag
set are
Refreshed.
10
not
refreshed
Not refreshed.
100
at the
same
time.
MC
IO UPG
MC
UPG
7-13
7

Advertisement

Table of Contents
loading

Table of Contents