Omron CJ2 CPU UNIT SOFTWARE User Manual page 126

Cj2 cpu unit software
Hide thumbs Also See for CJ2 CPU UNIT SOFTWARE:
Table of Contents

Advertisement

5 Understanding Programming
Task Start Flag (A200.14)
The Task Start Flag turns ON whenever cyclic task status changes from STANDBY status to READY
status (whereas the Initial Task Execution Flag (A200.15) turns ON only once, the Task Start Flag
will turn ON every time the status changes from STANDBY status to READY status).
Task n
Task Start Flag
The Task Start Flag can be used to perform initialization processing whenever a task goes from
STANDBY to READY status, i.e., when a task on STANDBY is enabled using the TKON(820)
instruction.
Interrupt Task Flags and Words
Maximum Interrupt Task Processing Time (A440)
The maximum processing time for an interrupt task is stored in binary data in 0.1-ms units and is
cleared at the start of operation.
Interrupt Task with Maximum Processing Time (A441)
The interrupt task number with maximum processing time is stored in binary data. Here, 8000 to
80FF hex correspond to task numbers 00 to FF Hex.
This data is cleared at the start of operation.
Duplicate Refresh Error Flag (Nonfatal Error) (A402.13)
If Duplicate Refresh Error Detection is enabled in the PLC Setup, the Duplicate Refresh Error Flag
will turn ON if a duplicate refresh error occurs.
* The values in words A440 and A441 will not be valid if High-speed interrupt function is enabled in the PLC Setup.
5-34
Ready
Disabled
Disabled
Task Start Flag
A200.14
Initialization
processing
Ready
Task Start Flag
A200.14
Initialization
processing
*
*
CJ2 CPU Unit Software User's Manual

Advertisement

Table of Contents
loading

Table of Contents