EasyManuals Logo

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 #351 background imageLoading...
Page #351 background image
311
Comparison Instructions Section 3-7
Using CPS(114) Results in the Program
Do not program another instruction between CPS(114) and the instruction
controlled by the Arithmetic Flag because the other instruction might change
the status of the Arithmetic Flag. In this case, the results of instruction B might
change the results of CPS(114).
The immediate-refreshing variation (!CPS(114)) can be used with words allo-
cated to external inputs specified in S
1
and/or S
2
. When !CPS(114) is exe-
cuted, input refreshing will be performed for the external input word specified
in S
1
and/or S
2
and that refreshed value will be compared. (Immediate
refreshing cannot be performed on inputs allocated to Group-2 High-density
I/O Units or Units mounted to Slave Racks.)
Flags
Note In CS1-H, CJ1-H, CJ1M, and CS1D (for Single-CPU System) CPU Units,
these Flags are left unchanged.
In CS1 and CJ1 CPU Units, these Flags are turned OFF.
Precautions Do not program another instruction between CPS(114) and an input condition
that accesses the result of CPS(114) because the other instruction might
change the status of the Arithmetic Flags.
CPS
S1
S2
A
Incorrect Use of CPS(114)
Instruction
B
Arithmetic Flag
(Example: Equal Flag)
Name Label Operation
Error Flag ER Unchanged (See note.)
Greater Than Flag > ON if S
1
> S
2
.
OFF in all other cases.
Greater Than or Equal Flag > = ON if S
1
≥ S
2
.
OFF in all other cases.
Equal Flag = ON if S
1
= S
2
.
OFF in all other cases.
Not Equal Flag <> ON if S
1
≠ S
2
.
OFF in all other cases.
Less Than Flag < ON if S
1
< S
2
.
OFF in all other cases.
Less Than or Equal Flag < = ON if S
1
≤ S
2
.
OFF in all other cases.
Negative Flag N Unchanged (See note.)

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