Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 1212

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Other Instructions
Note
a separate area in the CPU Unit. The Status of the following Condition Flags
will be preserved: ER, CY, >, =, <, N, OF, UF, >=, <>, and <=.
The preserved status of the Condition Flags can be read (restored) later only
with CCL(283), the LOAD CONDITION FLAGS instruction. The status can be
read in any of the following cases:
• Within a task
• Between different cyclic tasks
• Between cycles
Within a task
Between cycles
A
A
B
1. The status of the Condition Flags cannot be saved/loaded between a cyclic
task and interrupt task.
2. When CCS(282) is executed, it overwrites the previous Condition Flag in-
formation that was saved.
All of the Condition Flags are cleared when operation switches from one task
to another. Use the CCS(282) and CCL(283) instructions to save and load the
Condition Flag status between tasks or cycles.
For example, the CCS(282) and CCL(283) instructions make it possible to use
the CY Flag status (time monitoring diagnosis error) from the execution of
Between cyclic tasks
CCS
CCL
CCL(283) is executed to read the status
CCS
in the next cycle after CCS(282) was
executed to save the status.
CCL
Section 3-31
CCS
CCL
1173

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents