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

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

Advertisement

Instruction Functions
Instruction
Symbol/Operand
Mnemonic
Code
DOUBLE BCD
BCL(417)
SUBTRACT
WITH CARRY
–BCL
@–BCL
417
Mi: 1st minuend
word
Su: 1st
subtrahend word
R: 1st result word
SIGNED BINARY
*(420)
MULTIPLY
*
@*
420
Md: Multiplicand
word
Mr: Multiplier
word
R: Result word
DOUBLE
*L(421)
SIGNED BINARY
MULTIPLY
*L
@*L
421
Md: 1st
multiplicand word
Mr: 1st multiplier
word
R: 1st result word
UNSIGNED
*U(422)
BINARY
MULTIPLY
*U
@*U
422
Md: Multiplicand
word
Mr: Multiplier
word
R: Result word
DOUBLE
*UL(423)
UNSIGNED
BINARY
MULTIPLY
*UL
@*UL
423
Md: 1st
multiplicand word
Mr: 1st multiplier
word
R: 1st result word
54
Subtracts 8-digit (double-word) BCD data and/or constants with the
Carry Flag (CY).
Mi
Su
R
CY will turn ON
when there is a
borrow.
Multiplies 4-digit signed hexadecimal data and/or constants.
Md
Mr
×
R
R +1
Multiplies 8-digit signed hexadecimal data and/or constants.
Md
Mr
×
R
R + 3
R + 2
Multiplies 4-digit unsigned hexadecimal data and/or constants.
Md
Mr
×
R
R +1
Multiplies 8-digit unsigned hexadecimal data and/or constants.
Md
Mr
×
R
R + 3
R + 2
Function
Mi +1
Mi
Su+1
Su
CY
CY
R+1
R
(Signed binary)
Md
(Signed binary)
Mr
(Signed binary)
R
(Signed binary)
Md + 1
Md
Mr + 1
Mr
(Signed binary)
R + 1
R
(Signed binary)
(Unsigned binary)
Md
(Unsigned binary)
Mr
(Unsigned binary)
R
Md + 1
Md
(Unsigned binary)
(Unsigned binary)
Mr + 1
Mr
R + 1
R
(Unsigned binary)
Section 2-2
Location
Execution
condition
Output
458
Required
(BCD)
(BCD)
(BCD)
Output
460
Required
Output
462
Required
Output
464
Required
Output
466
Required
Page

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents