EasyManua.ls Logo

Panasonic FP Series

Panasonic FP Series
1345 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Arithmetic instructions
356
Part III FP Instructions
F43_DBADD2
8-digit BCD addition, destination can be specified
31 . . 28 27 . . 24 23 . . 20 19 . . 16 15 . . 12 10 . . 8 7 . . 4 3 . . 0
s1
0 0 0 1 0 0 1 0 0 0 1 1 0 1 0 0 0 1 0 1 0 1 1 0 0 1 1 1 1 0 0 0
16# BCD
31 . . 28 27 . . 24 23 . . 20 19 . . 16 15 . . 12 10 . . 8 7 . . 4 3 . . 0
s2
1 0 0 0 0 1 1 1 0 1 1 0 0 1 0 1 0 1 0 0 0 0 1 1 0 0 1 0 0 0 0 1
16# BCD
31 . . 28 27 . . 24 23 . . 20 19 . . 16 15 . . 12 10 . . 8 7 . . 4 3 . . 0
d
1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1
16# BCD
1 2 3 4 5 6 7 8
8 7 6 5 4 3 2 1
9 9 9 9 9 9 9 9
Bit
Result value 16#99999999 (BCD) if trigger is ON
Bit
Example value 16#87654321 (BCD)
Bit
32-bit area
Example value 16#12345678 (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.
PLC types
Availability of F43_DBADD2 (see page 1325)
Variable Data type Function
s1 DWORD augend, 32-bit area for 8-digit BCD data or equivalent
constant
s2 DWORD addend, 32-bit area for 8-digit BCD data or equivalent
constant
d DWORD sum, 32-bit area for 8-digit BCD data
Description
The 8-digit BCD equivalent constant or 32-bit area for 8-digit BCD data specified by s1 and s2 are
added together if the trigger EN is in the ON-state. The result is stored in d.
Data types

Table of Contents

Other manuals for Panasonic FP Series

Related product manuals