Omron Sysmac NJ-series User Manual page 177

Machine automation controller cpu unit built-in ethernet/iptm port
Hide thumbs Also See for Sysmac NJ-series:
Table of Contents

Advertisement

Additional Information
If a program needs to access a network variable with an AT specification, set the program in the
primary periodic task so that it matches the refresh timing of the network variable that uses an
AT specification.(This applies to the NJ-series CPU Unit and the NX1P2 CPU Unit.)
Additional Information
Relationship between Refreshing Tasks and Data Concurrency in Tag Data Links
If you do not specify a refreshing task for global variables in tag data links, the following may
occur.
1. When the data is sent for the output tag set, another task may have already written different
values before that data is sent, depending on the timing of the task.
2. When data is received by an input tag set, another task may write different values after that
data is received, depending on the timing of the task.
Therefore, to maintain the concurrency of data in tag data links, you must specify the same
refreshing task on both the output CPU Unit and the input CPU Unit.
NJ/NX-series CPU Unit
This variable may
already be written
by another task
before you send
the data.
 Required Processing Time to Maintain Concurrency
When you set a refreshing task for tags (network variables) to maintain the concurrency of data link
data, the processing time required for that specified task increases. Due to this increase in task pro-
cessing time, the refreshing of tag data link data may not occur during the packet interval (RPI)
period set for each connection. Therefore, you need to adjust the packet interval (RPI) settings to
match the period of the task specified as the refreshing task. Refer to 14-3-3 Relationship between
Task Periods and Packet Intervals (RPIs) for details.
 Task Setup Procedure
(1) Set the global variables for which to specify a refreshing task, and set the refreshing
tasks and accessing tasks in the Settings for Exclusive Control of Variables in Tasks
in the Task Setup on the Sysmac Studio.
(2) Set the variable access time for each refreshing task.
For details, refer to the NJ/NX-series CPU Unit Software User's Manual (Cat. No. W501).
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User's Manual (W506)
Refreshing
task
Tag set
Connection
Variable a
Variable b
Tag data links
updated.
Variable c
EtherNet/IP
7 Tag Data Link Functions
NJ/NX-series CPU Unit
Refreshing
task
Tag set
This variable
may be written
Variable d
by another task
after you receive
Variable e
the data.
Variable f
Data concurrency is not maintained
unless you assign the same
refreshing task for both the output
and the input tags.
7
7-17

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac nx-seriesSysmac nx1p2-10 seriesSysmac nx1p2-90 seriesSysmac nj501-5 seriesSysmac nj501-4 seriesSysmac nj501-3 series ... Show all

Table of Contents