Panasonic FP Series Programming Manual page 654

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

F83_DBIN
Converts the BCD code that expresses 8-digit decimals specified by s to 32-bit binary data if the
Description
trigger EN is in the ON-state. The converted result is stored in the area specified by d.
Source [s]: 16#72811730 (BCD)
Bit position
BCD code
BCD Hex code
Destination [d]: 72811730
Bit position
Binary data
Decimal
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.
See also: BCD data
Availability of F83_DBIN (see page 1326)
PLC types
Data types
Variable
Data type
DWORD
s
ANY32
d
Operands
For
DWX DWY
s
d
Error flags
No.
IEC address
%MX0.900.7
R9007
%MX0.900.8
R9008
8-digit BCD -> 32-bit BIN conversion
· · ·
· ·
· ·
15
12
11
8
7
4
0 1 1
1
0 0 1
0
1 0 0
0
7
2
8
· · ·
· ·
· ·
15
12
11
8
7
4
0 0 0
0
0 1 0
0
0 1 0
1
Function
area for 8-digit BCD data (source)
32-bit area for storing 32-bit data (destination)
Relay
DWR
DWL
DSV
-
DWY
DWR
DWL
DSV
Set
permanently
for an instant
· ·
· · ·
· ·
3
0
15
12
11
8
0 0 0
1
0 0 0
1
0 1 1
1
1
1
7
32-bit area
· ·
· · ·
· ·
3
0
15
12
11
8
0 1 1
1
0 0 0
0
0 1 0
0
72811730
T/C
Register
DEV
DDT
DLD
DFL
DEV
DDT
DLD
DFL
If
 the data specified by s is not BCD data.
Conversion instructions
· ·
· ·
7
4
3
0
0 0 1
1
0 0 0
0
3
0
· ·
· ·
7
4
3
0
1 1 0
1
0 0 1
0
Constant
dec. or hex.
-
653

Advertisement

Table of Contents
loading

Table of Contents