EasyManuals Logo
Home>Omron>Network Hardware>CS Series

Omron CS Series Operator's Manual

Omron CS Series
274 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 #126 background imageLoading...
Page #126 background image
Task Debugging Section 4-4
111
4-4 Task Debugging
One of the functions added in CS/CJ-series PLCs is a concept of "task." This
section explains debugging a task using the CX-Simulator.
4-4-1 Execution Time and Count of Task
Execution Time and Count of Task
The [Task Control] window monitors execution time and count of each task.
The time and count are cleared in the Stop/Program mode.
This function is effective when redesigning so as to reduce the overall cycle
time by dividing a time-consuming task by the execute/non-execute condition
and controlling execute/wait of the task.
Confirming Upper Limit of Execution Time of Interrupt Task
When using the C200H Special I/O Unit or the SYSMAC BUS Remote I/O
Unit, the execution time of the interrupt task must not exceed 10 ms. If an in-
terrupt task is executed for more than 10 ms during refreshing, an interrupt
task error will occur ("Executed for more than 10 ms" error). Also, the execu-
tion time of the power interruption task must be less than 10 ms (Power OFF
Detection Delay Time) regardless of units mounted.
Execution time of an interrupt task can be monitored with the task execution
time in the [Task Control].
Starting interrupt tasks successively during the program execution in [Task
Control] enables to monitor the execution time of interrupt tasks individually.
4-4-2 Task Execution Status
[Task Control] displays the execution status of each task (cyclic tasks and
interrupt tasks).
For a cyclic task, show four statuses of a cyclic task: Initial status, READY
status, RUN status, and WAIT status.
For an interrupt task, displayeach interrupt task is enabled or disabled.” The
status of interrupt tasks are changed by the following instructions.
Name Instruction
word
Target Function
Interrupt task
Execution prohibit
DI
(693)
All interrupt tasks other than
Power OFF interrupt task
Used within a cyclic task and
prohibit all interrupt tasks
other than Power OFF inter-
rupt task.
Interrupt task
Clear interrupt
mask
EI
(694)
All interrupt tasks other than
Power OFF interrupt task
Clear the interrupt mask for an
interrupt task masked by DI
instruction.
Masking set MSKS
(690)
I/O interrupt task and sched-
uled interrupt task
Apply masking of initial setting
to an I/O interrupt task and a
scheduled interrupt task.
Note Trying to start a masked interrupt task in the [Task Control] will not execute
the task.
AUDIN - 8, avenue de la malle - 51370 Saint Brice Courcelles - Tel : 03.26.04.20.21 - Fax : 03.26.04.28.20 - Web : http: www.audin.fr - Email : info@audin.fr

Table of Contents

Other manuals for Omron CS Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CS Series and is the answer not in the manual?

Omron CS Series Specifications

General IconGeneral
BrandOmron
ModelCS Series
CategoryNetwork Hardware
LanguageEnglish

Related product manuals