Omron CS1G/H-CPUxxH Instructions Manual page 280

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Comparison Instructions
Flags
gram. In this case, the Equals Flag and output A will be turned ON when S
S
.
2
Correct Use of CPS(114)
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).
Incorrect Use of CPS(114)
The immediate-refreshing variation (!CPS(114)) can be used with words allo-
cated to external inputs specified in S
cuted, input refreshing will be performed for the external input word specified
in S
and/or S
and that refreshed value will be compared. (Immediate
1
2
refreshing cannot be performed on inputs allocated to Group-2 High-density I/
O Units or Units mounted to Slave Racks.)
Name
Error Flag
Greater Than Flag
Greater Than or Equal Flag
Equal Flag
Not Equal Flag
Less Than Flag
Less Than or Equal Flag
Negative Flag
CPS
S1
S2
Arithmetic Flag
(Example: Equal Flag)
Instruction
B
Arithmetic Flag
(Example: Equal Flag)
and/or S
. When !CPS(114) is exe-
1
2
Label
Operation
ER
OFF or unchanged (See note.)
>
ON if S
> S
.
1
2
OFF in all other cases.
≥ S
> =
ON if S
.
1
2
OFF in all other cases.
=
ON if S
= S
.
1
2
OFF in all other cases.
≠ S
<>
ON if S
.
1
2
OFF in all other cases.
<
ON if S
< S
.
1
2
OFF in all other cases.
≤ S
< =
ON if S
.
1
2
OFF in all other cases.
N
OFF or unchanged (See note.)
Section 3-7
=
1
A
CPS
S1
S2
A
259

Advertisement

Table of Contents
loading

Table of Contents