Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual page 351

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Comparison Instructions
Flags
Precautions
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
cuted, input refreshing will be performed for the external input word specified
in S
and/or S
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
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.
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.
Incorrect Use of CPS(114)
Arithmetic Flag
(Example: Equal Flag)
and/or S
1
and that refreshed value will be compared. (Immediate
Label
ER
Unchanged (See note.)
>
ON if S
OFF in all other cases.
> =
ON if S
OFF in all other cases.
=
ON if S
OFF in all other cases.
<>
ON if S
OFF in all other cases.
<
ON if S
OFF in all other cases.
< =
ON if S
OFF in all other cases.
N
Unchanged (See note.)
Section 3-7
CPS
S1
S2
Instruction
B
A
. When !CPS(114) is exe-
2
Operation
> S
.
1
2
S
.
1
2
= S
.
1
2
S
.
1
2
< S
.
1
2
S
.
1
2
311

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents