EasyManua.ls Logo

Panasonic FP-E - Page 454

Panasonic FP-E
1334 pages
Print Icon
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...
High−level Instructions
3 − 190
Outline Converts 32-bit binary data to BCD code that expresses an 8-digit
decimal.
For the FP0R/FPΣ/FP−X/FP0/FP−e, the P type high−level instruction
“P82 (PDBCD)” is not available.
Program example
Ladder
Diagram
Boolean
Ladder Diagram
Address Instruction
10 F82 DBCD, DT10 , DT20
S
D
Trigger
R20
10
11
ST R 20
F 82 (DBCD)
DT 10
DT 20
S 32-bit equivalent constant or lower 16-bit area of 32-bit data (source)
D Lower 16-bit area for 8-digit BCD code (destination)
Operands
Operand
Relay Timer/Counter Register
Index
register
Constant
Inde
x
Operand
WX WY WR
WL
(*1)
SV EV DT
LD
(*1)
FL
(*2)
IX
(*3)
IY K H
Index
modifier
S A A A A A A A A A A N/A A A A
D N/A A A A A A A A A A N/A N/A 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 the contents of data registers DT11 and DT10 to BCD code that expresses an 8-digit decimal when
trigger R20 turns on. The converted data is stored in data registers DT21 and DT20.
Description
Converts the 32-bit data specified by S to BCD code that expresses an 8-digit decimal. The converted data is
stored in D+1 and D.
Precaution during programming
The maximum value of binary data that can be converted to BCD code is K99999999 (H5F5E0FF).
F82
P82
(PDBCD)
(DBCD)
32-bit binary data → 8-digit BCD data
A: Available
N/A: Not Available
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com