beautypg.com

Function, Sample program, 2 instructions – Omron SYSMAC CP CP1E-N@@D@-@ User Manual

Page 214

background image

2 Instructions

2-178

CP1E CPU Unit Instructions Reference Manual(W483)

Function

*

*(420) multiplies the signed binary values in Md and Mr and outputs the result to R, R+1.

*L

*L(421) multiplies the signed binary values in Md and Md+1 and Mr and Mr+1 and outputs the result to
R, R+1, R+2, and R+3.

Sample program

×

R + 1

Md

Mr

(Signed binary)

(Signed binary)

(Signed binary)

R

×

R + 1

R

R + 3

R + 2

Md + 1

Md

Mr + 1

Mr

(Signed binary)

(Signed binary)

(Signed binary)

0.00

When CIO 0.00 is ON in the following example, D100 and
D110 will be multiplied as 4-digit signed hexadecimal
values and the result will be output to D120 and D121.

*

D100

D110

D120

*L

D100

D110

D120

0.00

When CIO 0.00 is ON in the following example, D101,
D100, D111, and D110 will be multiplied as 8-digit signed
hexadecimal values and the result will be output to D123,
D122, D121 and D120.

This manual is related to the following products: