Double Bcd Multiply - Mull(56) - Omron CQM1H - PROGRAM Programming Manual

Programmable controllers; inner boards
Table of Contents

Advertisement

BCD Calculation Instructions
TR 0
00003
Address
00000
00001
00002
00003
00004
00005
5-21-9 DOUBLE BCD MULTIPLY – MULL(56)
Limitations
25504
25504
HR 0100
Instruction
Operands
LD
00003
OUT
TR
CLC(41)
@SUBL(55)
HR
120
DM
0100
AND
25504
@BSET(71)
#
0000
DM
0000
DM
0001
Ladder Symbols
MULL(56)
Md
Mr
R
DM 6141 to DM 6655 cannot be used for R.
CLC(41)
@SUBL(55)
DM 0100
@BSET(71)
DM 0000
DM 0001
CLC(41)
@SUBL(55)
DM 0000
DM 0100
DM 0100
Turned ON to indicate
negative result.
Address Instruction
00006
CLC(41)
0
00007
@SUBL(55)
00
00008
LD
00009
LD
00010
OR
00011
AND LD
00012
OUT
@MULL(56)
Md
Mr
R
Section 5-21
First
subtraction
HR 00
120
#0000
Second
subtraction
HR 0100
Operands
DM
0000
DM
0100
DM
0100
TR
0
25504
HR
0100
HR
0100
Operand Data Areas
Md: First multiplicand word (BCD)
IR, SR, AR, DM, EM, HR, TIM/CNT, LR
Mr: First multiplier word (BCD)
IR, SR, AR, DM, EM, HR, TIM/CNT, LR
R: First result word
IR, SR, AR, DM, EM, HR, LR
325

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CQM1H - PROGRAM and is the answer not in the manual?

This manual is also suitable for:

Sysmac cqm1h seriesSysmac cqm1h-cpu series

Table of Contents

Save PDF