EasyManuals Logo

Omron WS02-SIMC1-E - V1.9 REV 02-2009 User Manual

Omron WS02-SIMC1-E - V1.9 REV 02-2009
302 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 #151 background imageLoading...
Page #151 background image
Task Debugging Section 4-4
115
4-4 Task Debugging
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.
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 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.
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, display “each 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 interrupt 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.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron WS02-SIMC1-E - V1.9 REV 02-2009 and is the answer not in the manual?

Omron WS02-SIMC1-E - V1.9 REV 02-2009 Specifications

General IconGeneral
BrandOmron
ModelWS02-SIMC1-E - V1.9 REV 02-2009
CategorySoftware
LanguageEnglish

Related product manuals