Task Debugging; Execution Time And Count Of Task; Task Execution Status - Omron WS02-SIMC1-E - V1.9 REV 02-2009 Operation Manual

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

Name
Interrupt task
Execution prohibit
Interrupt task
Clear interrupt
Masking set
One of the functions added in CS/CJ/CP-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 interrupt
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 execution 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.
Instruction
word
DI
(693)
EI
(694)
mask
MSKS
(690)
Note
Trying to start a masked interrupt task in the [Task Control] will not execute
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 interrupt 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.
115

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac ws02-simc1-eCx-simulator 1.9

Table of Contents