EasyManua.ls Logo

Omron C200H - Page 332

Omron C200H
374 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
Loading...
325
Appendix D
Error and Arithmetic Flag Operation
The following table shows the instructions that affect the ER, CY, GT, LT and EQ flags. In general, ER indi-
cates that operand data is not within requirements. CY indicates arithmetic or data shift results. GT indicates
that a compared value is larger than some standard, LT that it is smaller, and EQ, that it is the same. EQ also
indicates a result of zero for arithmetic operations. Refer to Section 5 Instruction Set for details.
Vertical arrows in the table indicate the flags that are turned ON and OFF according to the result of the in-
struction.
Although ladder diagram instructions,TIM, and CNT are executed when ER is ON, other 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.
These flags are turned OFF with the END instruction and so cannot be monitored from the Programming
Device.
The statuses of the flags will show the results of the most recently executed instruction. With a differentiated
instruction, flag statuses will be changed only in the first scan when the execution condition of the instruction
is satisfied; during all other scans, the differentiated instruction will not affect the statuses of the flags deter-
mined by the previous instruction (i.e., until the execution condition is satisfied again.)
Instructions not shown do not affect any of the flags in the table. Although only the non-differentiated form of
each instruction is shown, differentiated instructions affect flags in exactly the same way.
Instructions 25503 (ER) 25504 (CY) 25505 (GR) 25506 (EQ) 25507 (LE)
TIM Unaffected Unaffected Unaffected Unaffected
CNT
END(01) OFF OFF OFF OFF OFF
STEP(08) Unaffected Unaffected Unaffected Unaffected Unaffected
SNXT(09)
CNTR(12) Unaffected Unaffected Unaffected Unaffected
TIMH(15)
WSFT(16)
RWS(17)
SCAN(18)
MCMP(19) Unaffected
CMP(20)
MOV(21) Unaffected Unaffected Unaffected
MVN(22)
BIN(23)
BCD(24)
ASL(25) Unaffected Unaffected
ASR(26)
ROL(27)
ROR(28)
COM(29) Unaffected Unaffected Unaffected
ADD(30) Unaffected Unaffected
SUB(31)

Table of Contents

Related product manuals