Panasonic FP Series Programming Manual page 401

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Arithmetic instructions
F51_DBMUL
Multiplies the 32-bit BCD (8-digit) equivalent constant or 8-digit BCD data specified by s1 and the
Description
one specified by s2 if the trigger EN is in the ON-state. The result is stored in the ARRAY d[0], d[1]
(64-bit area).
Example value 16#60008 (BCD)
Bit
31 . . 28 27 . . 24 23 . . 20 19 . . 16
d
16# BCD
Example value 16#40002 (BCD)
Bit
31 . . 28 27 . . 24 23 . . 20 19 . . 16
s
16# BCD
Result value 16#2400440016 (BCD) if trigger is ON stored in the ARRAY [0..1] of DWORD
Bit
31 . . 28 27 . . 24 23 . . 20 19 . . 16
d array[0]
16# BCD
Bit
31 . . 28 27 . . 24 23 . . 20 19 . . 16
d array[1]
16# BCD
This instruction also exists as a P instruction (for FP2/2SH, FP3/5, FP10/10SH PLC types), which
is only executed at the rising edge of the EN trigger. Select [Insert P instruction] from the
"Instructions" pane if you require a P instruction. To facilitate reuse, the instruction then appears
under "Recently used" in the pop-up menu. Press <Ctrl>+<Shift>+<v> within the programming
area to open the list of recently used elements.
Availability of F51_DBMUL (see page 1325)
PLC types
400
8-digit BCD multiplication, destination can be 11 specified
0 0 0 0
0 0 0 0
0 0 0 0
0 1 1 0
0
0
0
0 0 0 0
0 0 0 0
0 0 0 0
0 1 0 0
0
0
0
0 0 0 0
0 0 0 0
0 1 0 0
0 1 0 0
0
0
4
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0
0
0
15 . . 12 10 . . 8 7 . . 4 3 . . 0
0 0 0 0
0 0 0 0
0 0 0 0
6
0
0
32-bit area
15 . . 12 10 . . 8 7 . . 4 3 . . 0
0 0 0 0
0 0 0 0
0 0 0 0
4
0
0
15 . . 12 10 . . 8 7 . . 4 3 . . 0
0 0 0 0
0 0 0 0
0 0 0 1
4
0
0
output_array[0]
15 . . 12 10 . . 8 7 . . 4 3 . . 0
0 0 0 0
0 0 0 0
0 0 1 0
0
0
0
output_array[1]
1 0 0 0
0
8
0 0 1 0
0
2
0 1 1 0
1
6
0 1 0 0
2
4

Advertisement

Table of Contents
loading

Table of Contents