Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 504

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Symbol Math Instructions
Description
Flags
Precautions
Examples
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
*U(420) multiplies the binary values in Md and Mr and outputs the result to R,
R+1.
Md
×
Mr
R +1
R
Name
Label
Error Flag
ER
Equals Flag
=
Negative Flag
N
When *U(422) is executed, the Error Flag will turn OFF.
If as a result of the multiplication, the content of R, R+1 is 0000 hex, the
Equals Flag will turn ON.
If as a result of the multiplication, the content of the leftmost bit of R+1 is 1,
the Negative Flag will turn ON.
When CIO 000000 is ON in the following example, D00100 and D00110 will
be multiplied as 4-digit unsigned binary values and the result will be output to
D00121 and D00120.
Md
C0000 to C4095
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)
*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
(Unsigned binary)
(Unsigned binary)
(Unsigned binary)
Operation
OFF
ON when the result is 0.
OFF in all other cases.
ON when the leftmost bit of the result is 1.
OFF in all other cases.
Section 3-11
Mr
R
C0000 to C4094
D00000 to
D32766
E00000 to
E32766
En_00000 to
En_32766
(n = 0 to C)
---
---
465

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents