5 Designing Tasks
5-44
NJ-series CPU Unit Software User’s Manual (W501)
Task Active Flag (_TaskName_Active)
Task Period Exceeded Flag (_TaskName_Exceeded)
Flag Operation
Task period
_TaskA_Active
IO UPG MC IO UPG MC IO UPG MC
Primary
periodic task:
Task A
UPG
UPG
Task period
IO
IO
_TaskC_Active
Priority-16
periodic task:
Task C
UPG
_TaskB_Active
Event task
(execution priority
of 8): Task B
Task execution
condition is met.*
* When the ActEventTask instruction is used
to execute an event task, the Task Active
Flag changes to TRUE.
IO
UPG
M
C
UPG IO IO
_TaskA Exceeded
M
C
UPG IO
M
C
Period exceeded.
Task period
Primary
periodic task:
Task A