Panasonic FP Series Programming Manual page 409

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Arithmetic instructions
F53_DBDIV
The result is stored in the area specified by d, and the remainder is stored in the special data
Description
registers DT9016 and DT9015 (DT90016 and DT90015 for FP2/2SH and FP10/10S/10SH).
Example value 16#00001110 (BCD)
Bit
31 . . 28 27 . . 24 23 . . 20 19 . . 16
s1
16# BCD
Example value 16#0000011 (BCD)
Bit
31 . . 28 27 . . 24 23 . . 20 19 . . 16
s2
16# BCD
Result value 16#00000100 (BCD) if trigger is ON
Bit
31 . . 28 27 . . 24 23 . . 20 19 . . 16
d
16# BCD
Remainder 16#00000010 (BCD) if trigger is ON stored in DT9015 to DT9016
(DDT90015 to DDT90016)
Bit
31 . . 28 27 . . 24 23 . . 20 19 . . 16
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 F53_DBDIV (see page 1325)
PLC types
408
8-digit BCD division, destination can be specified
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0
0
0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0
0
0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0
0
0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0
0
0
DT9016/DDT90016
15 . . 12 10 . . 8 7 . . 4 3 . . 0
0 0 0 0
0 0 0 1
0 0 0 1
0
0
1
32-bit area
15 . . 12 10 . . 8 7 . . 4 3 . . 0
0 0 0 0
0 0 0 0
0 0 0 1
0
0
0
15 . . 12 10 . . 8 7 . . 4 3 . . 0
0 0 0 0
0 0 0 1
0 0 0 0
0
0
1
15 . . 12 10 . . 8 7 . . 4 3 . . 0
0 0 0 0
0 0 0 0
0 0 0 1
0
0
0
DT9015/DDT90015
0 0 0 0
1
0
0 0 0 1
1
1
0 0 0 0
0
0
0 0 0 0
1
0

Advertisement

Table of Contents
loading

Table of Contents