EasyManuals Logo
Home>Omron>Controller>SYSMAC CJ - REFERENCE MANUAL 08-2008

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 User Manual

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008
1405 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1213 background imageLoading...
Page #1213 background image
1173
Other Instructions Section 3-31
FPD(269) at a later point in the program, not immediately after execution of
the instruction.
Flags There are no flags affected by these instructions.
Examples In the following example, CCS(282) preserves the results of a Comparison so
that this result can be used as an execution condition later in the program.
3-31-6 LOAD CONDITION FLAGS: CCL(283)
Restores the status of the Condition Flags that were saved in a separate area
within the CPU Unit by CCS(282). It is also possible to use CCL(283) inde-
pendently to clear the Condition Flags.
This instruction is supported by CS1-H, CJ1-H, CJ1M, and CS1D CPU Units
only.
Ladder Symbol
CCS
FPD
CCL
Ta sk
The results of the comparison are stored in the Condition Flags.
(In this case, the results of the COMPARE Instruction can be used
in instruction B even if those results are affected by execution of
instruction A.)
Preserves the status of the Condition Flags in a separate location
in the CPU Unit.
Restores the status of the Condition Flags.
The Equals Flag will reflect the result of the COMPARE instruction,
not the result of instruction A.
Instruction A
Instruction B
CMP
D00000
D00300
CCS
MOV
D00000
D00200
CCL
=
000000
When CIO 000000 is ON in the following
example, CMP(020) will compare the
contents of D00000 and D00300 and those
results will be preserved by CCS(282).
The preserved Condition Flags are restored
by CCL(283).
This MOV(021) instruction is executed if the
result of the CMP(020) instruction caused the
Equals flag to be turned ON.
CCL(283)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 and is the answer not in the manual?

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Specifications

General IconGeneral
BrandOmron
ModelSYSMAC CJ - REFERENCE MANUAL 08-2008
CategoryController
LanguageEnglish

Related product manuals