Task Debugging; Execution Time And Count Of Task; Task Execution Status - Omron CS Series Operator's Manual

Cx-simulator
Hide thumbs Also See for CS Series:
Table of Contents

Advertisement

Task Debugging

4-4 Task Debugging

4-4-1 Execution Time and Count of Task

Execution Time and Count of Task
Confirming Upper Limit of Execution Time of Interrupt Task

4-4-2 Task Execution Status

Execution prohibit
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
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.
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.
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.
[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, display "each interrupt task is enabled or disabled." The
status of interrupt tasks are changed by the following instructions.
Name
Instruction
word
Interrupt task
DI
(693)
Interrupt task
EI
Clear interrupt
(694)
mask
Masking set
MSKS
(690)
Trying to start a masked interrupt task in the [Task Control] will not execute
Note
the task.
Target
All interrupt tasks other than
Power OFF interrupt task
All interrupt tasks other than
Power OFF interrupt task
I/O interrupt task and sched-
uled interrupt task
Section 4-4
Function
Used within a cyclic task and
prohibit all interrupt tasks
other than Power OFF inter-
rupt task.
Clear the interrupt mask for an
interrupt task masked by DI
instruction.
Apply masking of initial setting
to an I/O interrupt task and a
scheduled interrupt task.
111

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents