Omron SYSMAC C200HS Operation Manual page 454

Programmable controllers
Hide thumbs Also See for SYSMAC C200HS:
Table of Contents

Advertisement

Error and Arithmetic Flag Operation
Instructions
25503 (ER)
FPD(––)
HEX(––)
HMS(66)
INT(89)
LINE(63)
LMSG(47)
MAX(––)
MBS(––)
MBSL(––)
MCMP(19)
MIN(––)
4
MTR(––)
2
NEG(––)
2
NEGL(––)
PID(––)
RXD(––)
2
SBBL(––)
SCAN(18)
SCL(––)
SEC(65)
SRCH(––)
SUM(––)
TKY(––)
TTIM(87)
TXD(––)
XFRB(62)
XDMR(––)
ZCP(88)
ZCPL(––)
Note 1. SR 25409 will be ON when 7SEG(––) is being executed.
2. ADBL(––), NEG(––), NEGL(––), and SBBL(––) also affect the signed binary arithmetic flags. Refer to
page 451 for details.
3. SR 25410 will be ON when DSW(––) is being executed.
4. SR 25408 will be ON when MTR(––) is being executed.
Signed Binary Arithmetic Flags
The following table shows the instructions that affect the OF and UF flags. In general, OF indicates that the result of
a 16-bit calculation is greater than 32,767 (7FFF) or the result of a 32-bit calculation is greater than 2,147,483,647
(7FFF FFFF). UF indicates that the result of a 16-bit calculation is less than –32,768 (8000) or the result of a 32-bit
calculation is less than –2,147,483,648 (8000 0000). 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.
Instructions not shown do not affect any of the flags in the table.
The OF and UF Flags are turned OFF when END(01) is executed, so their status cannot be monitored with a Pro-
gramming Console.
25504 (CY)
25505 (GR)
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
25506 (EQ)
25507 (LE)
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Unaffected
Appendix C
Page
285
195
184
262
200
279
233
229
230
169
234
313
202
203
242
297
227
276
198
183
289
237
311
144
299
168
290
176
177
451

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents