![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_7422681212.webp)
1173
Other Instructions
Section 3-31
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
Note
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
A
CCS
CCL
CCS
CCL
A
B
CCS
CCL
Between cycles
Between cyclic tasks
Within a task
CCL(283) is executed to read the status
in the next cycle after CCS(282) was
executed to save the status.
Summary of Contents for SYSMAC CS1D-CPU**
Page 3: ...iv...
Page 29: ...xxx...
Page 185: ...146 List of Instructions by Function Code Section 2 4...
Page 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Page 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Page 1391: ...1352 ASCII Code Table Appendix A...