![background image](http://html1.mh-extra.com/html/omron/sysmac-c200hs/sysmac-c200hs_operation-manual_742436452.webp)
449
Appendix C
Error and Arithmetic Flag Operation
The following table shows the instructions that affect the ER, CY, GR, LE and EQ flags. In general, ER indicates
that operand data is not within requirements. CY indicates arithmetic or data shift results. GT indicates that a com-
pared 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 instruction.
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.
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.
The ER, CY, GR, LE and EQ Flags are turned OFF when END(01) is executed, so their status cannot be monitored
with a Programming Console.
Instructions
25503 (ER)
25504 (CY)
25505 (GR)
25506 (EQ)
25507 (LE)
Page
TIM
Unaffected
Unaffected
Unaffected
Unaffected
139
CNT
145
END(01)
1
OFF
OFF
OFF
OFF
OFF
138
STEP(08)
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
266
SNXT(09)
266
CNTR(12)
Unaffected
Unaffected
Unaffected
Unaffected
148
TIMH(15)
143
WSFT(16)
157
CMP(20)
Unaffected
170
MOV(21)
Unaffected
Unaffected
Unaffected
159
MVN(22)
159
BIN(23)
180
BCD(24)
181
ASL(25)
Unaffected
Unaffected
154
ASR(26)
154
ROL(27)
155
ROR(28)
155
COM(29)
Unaffected
Unaffected
Unaffected
249
ADD(30)
Unaffected
Unaffected
205
SUB(31)
207
MUL(32)
Unaffected
Unaffected
Unaffected
211
DIV(33)
212
ANDW(34)
250
ORW(35)
251
XORW(36)
252
XNRW(37)
253
INC(38)
204
DEC(39)
204
STC(40)
Unaffected
ON
Unaffected
Unaffected
Unaffected
205
CLC(41)
Unaffected
OFF
Unaffected
Unaffected
Unaffected
205
MSG(46)
Unaffected
Unaffected
Unaffected
Unaffected
278
ADB(50)
1
Unaffected
Unaffected
219
SBB(51)
1
221
Содержание SYSMAC C200HS
Страница 1: ...Cat No W235 E1 05 C200HS SYSMAC Programmable Controllers...
Страница 2: ...C200HS Programmable Controllers Operation Manual Revised February 2002...
Страница 3: ...iv...
Страница 5: ...vi...
Страница 379: ...371 SR word Corresponding key s Bit 279 03 04 05 3 06 07 VER 08 09 Monitoring Operation and Modifying Data Section 7 1...
Страница 470: ...468 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage...
Страница 471: ...469 Programmer Program Date Page TC address T or C Set value Notes TC address T or C Set value Notes Timers and Counters...