![Omron CVM1D Скачать руководство пользователя страница 278](http://html1.mh-extra.com/html/omron/cvm1d/cvm1d_operation-manual_742532278.webp)
273
DOUBLE SIGNED BINARY MULTIPLY
When the execution condition is OFF,
*
L(421) is not executed. When the execu-
tion condition is ON,
*
L(421) multiplies the signed 8-digit content of Md and
Md+1 by the signed content of Mr and Mr+1, and places the result in R to R+3.
Md + 1
Md
Mr + 1
Mr
R + 1
R
R + 3
R + 2
x
UNSIGNED BINARY MULTIPLY
When the execution condition is OFF,
*
U(422) is not executed. When the execu-
tion condition is ON,
*
U(422) multiplies the unsigned content of Md by the un-
signed content of Mr, places the rightmost four digits of the result in R, and
places the leftmost four digits in R+1.
Md
Mr
R +1
R
X
DOUBLE UNSIGNED BINARY MULTIPLY
When the execution condition is OFF,
*
UL(423) is not executed. When the
execution condition is ON,
*
UL(423) multiplies the unsigned 8-digit content of
Md and Md+1 by the unsigned content of Mr and Mr+1, and places the result in R
to R+3.
Md + 1
Md
Mr + 1
Mr
R + 1
R
R + 3
R + 2
x
Precautions
Refer to page 101 for general precautions on operand data areas.
Flags
ER (A50003):
The content of a
*
DM word is not BCD when set for BCD.
EQ(A50006)
The multiplication result is all zeroes.
N (A50008)
The leftmost bit (MSB) of word R+1 (or word R+3 for
“double” instructions) after the multiplication is “1.”
Example
*
L Operation
When CIO 000000 is ON in the following example, the content of D00101 and
D00100 are multiplied by the content of D00111 and D00110, in eight-digit binary
with sign, and the result is output to D00123 through D00120.
Symbol Math Instructions
Section 5-20
Содержание CVM1D
Страница 462: ...SYSMAC CVM1D Duplex System Programmable Controllers Operation Manual Revised August 2001...
Страница 463: ...iv...
Страница 465: ...vi...