Andw - Omron C500-LDP01-V1 Operation Manual

Ladder program i/o unit
Table of Contents

Advertisement

The following table shows the instructions that affect the Error (ER), Carry (CY), Greater Than (GT), Equals
(EQ), and Less Than (LT) Flags. Vertical arrows in the table indicate the flags that are turned ON and OFF
according to the result of the instruction. Instructions not shown do not affect any of the flags in the table.
In general, ER indicates that operand data is not within requirements. CY indicates arithmetic or data shift re-
sults. GT indicates that a compared value is larger than some standard, LT that it is smaller, and EQ, that it is
the same. The status of these flags is maintained until another instruction that affects the flag is executed.
Although ladder diagram instructions, TIM, TIMH(15), CNT, and CNTR(12) are executed when ER is ON, oth-
er instructions with a vertical arrow under the ER column are not executed if ER is ON. All of the other flags in
the following table will also not operate when ER is ON.
The status of these flags cannot be monitored from the Programming Device, because the flags are turned
OFF when the END(01) instruction is executed.
Instructions
1303 (ER)
TIM
CNT
END(01)
OFF
CNTR(12)
TIMH(15)
CMP(20)
Unaffected
MOV(21)
Unaffected
MVN(22)
BIN(23)
BCD(24)
ASL(25)
Unaffected
ASR(26)
ROL(27)
ROR(28)
COM(29)
Unaffected
ADD(30)
SUB(31)

ANDW(34)

Unaffected
ORW(35)
XORW(36)
XNRW(37)
INC(38)
DEC(39)
STC(40)
Unaffected
CLC(41)
Unaffected
SLD(74)
SRD(75)
MLPX(76)
DMPX(77)
Appendix D
Error and Arithmetic Flag Operation
1304 (CY)
Unaffected
OFF
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
ON
OFF
Unaffected
1305 (GR)
1306 (EQ)
Unaffected
Unaffected
OFF
OFF
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
1307 (LE)
Unaffected
OFF
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected

Advertisement

Table of Contents
loading

Table of Contents