![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_7422681214.webp)
1175
Other Instructions
Section 3-31
Variations
Applicable Program Areas
Description
When the execution condition is ON, CCL(283) restores (reads) the status of
the Condition Flags (except for the ALWAYS ON and ALWAYS OFF Flags).
The Status of the following Condition Flags will be restored (read): ER, CY, >,
=, <, N, OF, UF, >=, <>, and <=.
Condition Flags are shared by all instructions, so the status of these Flags
may change many times during the PLC cycle as each instruction is executed.
Previously, it was necessary to place conditions using the Condition Flags
immediately after the controlling instruction so that the status of the Condition
Flags would not be affected by intervening instructions. The CCS(282) and
CCL(283) instructions allow the controlling instruction to be separated from
the execution conditions that rely on the result.
For example, CCS(282) can store the status of the Equals Flag after execu-
tion of a Comparison Instruction and the result can be restored later. The
result does not have to be used immediately after execution of the instruction.
Refer to
3-31-5 SAVE CONDITION FLAGS: CCS(282)
for more examples
showing how to use CCS(282) and CCL(283).
Flags
There are no flags affected by these instructions.
3-31-7 CONVERT ADDRESS FROM CV: FRMCV(284)
Purpose
Converts a CV-series PLC memory address to its corresponding CS/CJ-
series PLC memory address. FRMCV(284) can be useful when converting
CV-series programs that use PLC memory addresses so that they are com-
patible with CS/CJ-series PLCs.
This instruction is supported by CS1-H, CJ1-H, CJ1M, and CS1D CPU Units
only.
Variations
Executed Each Cycle for ON Condition
CCL(283)
Executed Once for Upward Differentiation
@CCL(283)
Executed Once for Downward Differentiation
Not supported.
Immediate Refreshing Specification
Not supported.
Block program areas
Step program areas
Subroutines
Interrupt tasks
OK
OK
OK
OK
CCL
CCL(283) is used alone to clear the
Condition Flags after execution of
instruction A so that those results do not
affect instruction B and later instructions.
Task
Instruction A
Instruction B
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...