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

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

Advertisement

Symbol Math Instructions
Applicable Program Areas
Operand Specifications
Description
Flags
Block program
Step program
areas
OK
OK
Area
CIO Area
Work Area
Holding Bit Area
Auxiliary Bit Area
Timer Area
Counter Area
DM Area
EM Area without bank
EM Area with bank
Indirect DM/EM
addresses in binary
Indirect DM/EM
addresses in BCD
Constants
Data Registers
Index Registers
Indirect addressing
using Index Registers
–(400) subtracts the binary values in Su from Mi and outputs the result to R.
When the result is negative, it is output to R as a 2's complement. (Refer to 3-
11-10 DOUBLE SIGNED BINARY SUBTRACT WITHOUT CARRY: –L(411)
for an example of handling 2's complements.)
CY will turn ON
CY
when there is a
borrow.
Name
Label
Error Flag
ER
Equals Flag
=
Subroutines
areas
OK
Mi
CIO 0000 to CIO 6143
W000 to W511
H000 to H511
A000 to A959
T0000 to T4095
C0000 to C4095
D0000 to D4095
E00000 to E32767
En_00000 to En_32767
(n = 0 to C)
@ D00000 to @ D32767
@ E00000 to @ E32767
@ En_00000 to @ En_32767
(n = 0 to C)
*D00000 to *D32767
*E00000 to *E32767
*En_00000 to *En_32767
(n = 0 to C)
#0000 to #FFFF
(binary)
DR0 to DR15
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
(Signed binary)
Mi
(Signed binary)
Su
(Signed binary)
R
Operation
OFF
ON when the result is 0.
OFF in all other cases.
Section 3-11
Interrupt tasks
OK
Su
R
A448 to A959
---
441

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents