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

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

Advertisement

Instruction Functions
Instruction
Symbol/Operand
Mnemonic
Code
BCD MULTIPLY
*B(424)
*B
@*B
424
Md: Multiplicand
word
Mr: Multiplier
word
R: Result word
DOUBLE BCD
*BL(425)
MULTIPLY
*BL
@*BL
425
Md: 1st
multiplicand word
Mr: 1st multiplier
word
R: 1st result word
SIGNED BINARY
/(430)
DIVIDE
/
@/
430
Dd: Dividend word
Dr: Divisor word
R: Result word
DOUBLE
/L(431)
SIGNED BINARY
DIVIDE
/L
@/L
431
Dd: 1st dividend
word
Dr: 1st divisor
word
R: 1st result word
UNSIGNED
/U(432)
BINARY DIVIDE
/U
@/U
432
Dd: Dividend
word
Dr: Divisor word
R: Result word
Multiplies 4-digit (single-word) BCD data and/or constants.
Md
Mr
×
R
R +1
Multiplies 8-digit (double-word) BCD data and/or constants.
Md
Mr
×
R
R + 3
R + 2
Divides 4-digit (single-word) signed hexadecimal data and/or
constants.
Dd
Dr
÷
R
R +1
Remainder
Divides 8-digit (double-word) signed hexadecimal data and/or
constants.
Dd
Dr
÷
R
R + 3
R + 2
Remainder
Divides 4-digit (single-word) unsigned hexadecimal data and/or
constants.
Dd
Dr
R
R +1
Remainder
Function
(BCD)
Md
(BCD)
Mr
(BCD)
R
(BCD)
Md + 1
Md
(BCD)
Mr + 1
Mr
R + 1
R
(BCD)
(Signed binary)
Dd
(Signed binary)
Dr
(Signed binary)
R
Quotient
(Signed binary)
Dd + 1
Dd
(Signed binary)
Dr + 1
Dr
(Signed binary)
R + 1
R
Quotient
(Unsigned binary)
Dd
(Unsigned binary)
Dr
(Unsigned binary)
R
Quotient
Section 2-2
Location
Page
Execution
condition
Output
468
Required
Output
470
Required
Output
472
Required
Output
474
Required
Output
476
Required
55

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents