Omron NJ-series User Manual page 498

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

Advertisement

Event name
Task Period Exceeded
Meaning
Task execution was not completed during the set task period for the primary periodic task or fixed periodic task.
Source
PLC Function Module
Error attributes
Level
Effects
User program
System-defined
Variable
variables
_<Task_name>_Exceeded
_<Task_name>_ExceedCount
_<Task_name>_LastExecTime
_<Task_name>_MaxExecTime
Cause and
Assumed cause
correction
The task period setting is too short.
A user program is too large.
The number of times that processing
is repeated is larger than expected.
Task Priority Error for Periodic Tasks
and Event Tasks
Frequent Event Task Execution
Attached
Attached Information 1: Name of task where error occurred
information
Precautions/
This error can occur if you change the level of the error to an observation in the task settings.
Remarks
NJ-series CPU Unit Software User's Manual (W501)
Source details
Observation
Recovery
Continues.
Operation
Data type
BOOL
UDINT
TIME
TIME
Correction
Check the task execution time and
change the task period to an appro-
priate value.
Separate the processes into different
tasks, for example move processes
that does not need a short execution
period to a periodic task with a lower
priority.
If there is a program with an
extremely high number of repetitions,
correct the program to achieve the
correct number of repetitions. Set a
trap in the user program that monitors
the number of times a process is exe-
cuted to check the number of repeti-
tions.
Increase the priorities of the periodic
tasks. Or, decrease the priorities of
the event tasks so that they are lower
than the priorities of the periodic
tasks.
Lower the frequency of event task
execution. Or, decrease the priorities
of the event tasks.
12 Troubleshooting
Event code
60050000 hex
None
Detection
timing
---
Log category
If the task execution does not finish within the set task
period, the I/O refresh operation will be as follows:
• CJ-series Units: No I/O refresh is executed.
When task execution is completed, I/O refreshing for the
next period is executed.
• EtherCAT slaves: The same values are output as for the
previous output refresh.
If the task execution does not finish within the set task
period, overall control of the equipment may become
impossible.
Name
Task Period Exceeded Flag
Task Period Exceeded Count
Last Task Execution Time
Maximum Task Execution Time
Prevention
Design the tasks considering the cor-
rections that are given on the left.
Continuously
System
12
12-27

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents