EasyManuals Logo
Home>Omron>Computer Hardware>Sysmac NJ-series

Omron Sysmac NJ-series User Manual

Omron Sysmac NJ-series
578 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #173 background imageLoading...
Page #173 background image
7-13
7 Tag Data Link Functions
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
7-1 Introduction to Tag Data Links
7
7-1-7 Concurrency of Tag Data Link Data
To maintain the concurrency of data in a tag data link, you must set a refreshing task for each network
variable that is assigned to a tag.
Maintain concurrency in the tag data in a tag set.
The timing of updating network variables that are assigned to tags is synchronized with the execution
period of the program that accesses the network variables.
Additional Information
A refreshing task maintains concurrency of the value of a global variable from all tasks that
access that global variable. This is achieved by specifying a single task that can write to that
global variable and not allowing any other task to write to that global variable. For details on
refreshing tasks, refer to the NJ/NX-series CPU Unit Software User’s Manual (Cat. No. W501).
Maintaining Concurrency in the Tag Data in a Tag Set
To maintain concurrency in the values of multiple tags in a tag set, the tags (variables with a Network
Publish attribute) must satisfy the following four conditions.
(1) The tags must be assigned to the same tag set (connection).
(2) A refreshing task must be set for the network variables assigned to the tags, and the
refreshing task must be the same for all tags in the tag set.*
(3) In the case of an NX1P2 CPU Unit and an NJ-series CPU Unit, a tag that uses AT
specification must not be included in the same tag set.
(4) The variable access time set for each task must be set to a higher value than is
required to transfer the tag data. Refer to 14-3-3 Relationship between Task Periods
and Packet Intervals (RPIs) for details on the variable access time and data transfer.
* If you set a refreshing task for a network variable, you must set a variable access time to allocate
enough time to access the network variable from outside of the Controller.
Setting Refreshing Tasks for Tags (Network Variables)
Concurrency of the tags in the tag set is maintained.
Additional Information
When using an NX1P2 CPU Unit and an NJ-series CPU Unit, you do not need to set a refreshing
task for variables (tags) that use an AT specification because they are updated in the primary
periodic task.
7-1-7 Concurrency of Tag Data Link Data
NJ/NX-series ControllerNJ/NX-series Controller
Connection
Tag data links updated.
Refreshing task Refreshing task
EtherNet/IP
10
10
10
Value of variable
10010
10010
10010
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
The values of the
tags in the tag set
are refreshed at
the same time.

Table of Contents

Other manuals for Omron Sysmac NJ-series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron Sysmac NJ-series and is the answer not in the manual?

Omron Sysmac NJ-series Specifications

General IconGeneral
BrandOmron
ModelSysmac NJ-series
CategoryComputer Hardware
LanguageEnglish

Related product manuals