Omron NJ-series User Manual page 139

Machine automation controller cpu unit software
Hide thumbs Also See for NJ-series:
Table of Contents

Advertisement

5 Designing Tasks
Processing
System common processing 1
User program execution
System common processing 2
Note The processes in each cell in the above table are executed in the order of description.
Periodic Tasks That Control I/O
*
Processing
I/O refreshing Output data
System common processing
1
User program execution
System common processing
2
Note The processes in each cell in the above table are executed in the order of description.
5-12
• Processing for exclusive control of variables in tasks (when accessing
tasks are set)
• Data trace processing (sampling and trigger checking) is performed.
• Programs assigned to tasks are executed in the order that they are
assigned.
• Processing for exclusive control of variables in tasks (when refreshing
tasks are set)
• Processing for variables accessed from outside of the Controller is per-
formed to maintain concurrency with task execution (executed for the
variable access time that is set in the Task Settings).
• If there is processing for EtherNet/IP tag data links and refreshing tasks
are set for the tags (i.e., variables with a Network Publish attribute), vari-
able access processing is performed.
Task period (fixed)
Task execution time (varies)
I/O refreshing
Refreshing
• Output refresh data is created for Output Units that refresh I/O.
processing
• If forced refreshing is set, the forced refreshing values are reflected in the
output refresh data.
Refreshing
• This process exchanges data with I/O.
Input data
• Input refresh data is loaded from Input Units that refresh I/O.
processing
• If forced refreshing is set, the forced refreshing values are reflected in the
input refresh data that was read.
• Processing for exclusive control of variables in tasks (when accessing
tasks are set)
• Data trace processing (sampling and trigger checking) is performed.
• Programs assigned to tasks are executed in the order that they are
assigned.
• Processing for exclusive control of variables in tasks (when refreshing
tasks are set)
• Processing for variables accessed from outside of the Controller is per-
formed to maintain concurrency with task execution (executed for the vari-
able access time that is set in the Task Settings).
• If there is processing for EtherNet/IP tag data links and refreshing tasks are
set for the tags (i.e., variables with a Network Publish attribute), variable
access processing is performed.
Processing contents
* The Controller will pause the
*
Control processing
User
program
execution
Processing contents
NJ-series CPU Unit Software User's Manual (W501)
execution of a periodic task in
order to execute a task with a
higher execution priority.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents