Panasonic FP-E Programming Manual page 456

Fp series
Table of Contents

Advertisement

High−level Instructions
F83
(DBIN)
P83
(PDBIN)
Outline
Converts BCD code that expresses an 8-digit decimal to 32-bit binary
data.
For the FP0R/FPΣ/FP−X/FP0/FP−e, the P type high−level instruction
"P83 (PDBIN)" is not available.
Program example
Trigger
R20
10
F83 DBIN, DT10 , DT20
S
D
Operands
Relay
Operand
Operand
WX WY WR
S
A
A
D
N/A
A
(*1) This cannot be used with the FP0 and FP−e.
(*2) This cannot be used with the FP0, FP−e, FP0R, FPΣ, FP−X.
(*3) With the FP0R, FPΣ, FP−X, FP2, FP2SH, and FP10SH, this is I0 to IC.
Explanation of example
Converts BCD code that expresses an 8−digit decimal of data registers DT11 and DT10 to 32-bit binary data
when trigger R20 turns on. The converted data is stored in data registers DT21 and DT20.
Description
Converts BCD code that expresses an 8-digit decimal specified by S to 32-bit binary data. The converted
data is stored in D+1 and D.
Flag conditions
・Error flag (R9007):
・Error flag (R9008):
3 − 192
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
8-digit BCD data → 32-bit binary data
Ladder Diagram
Ladder Diagram
S
D
8-digit BCD equivalent constant or lower 16-bit area for 8-digit BCD code
(source)
Lower 16-bit area for 32-bit data (destination)
Timer/Counter
WL
SV
EV
DT
(*1)
A
A
A
A
A
A
A
A
Turns on and stays on when:
Turns on for an instant when:
− The area specified using the index modifier exceeds the limit.
− The data specified by S is not BCD data.
Index
Register
register
LD
FL
IX
IY
(*1)
(*2)
(*3)
A
A
A
A
N/A
A
A
A
A
N/A
Boolean
Address
Instruction
10
ST
R
11
F 83
(DBIN)
DT
DT
Constant
Index
Index
modifier
K
H
K
A
A
N/A
N/A
A
A:
Available
N/A: Not Available
K:
K0 to K9
20
10
20

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents