High−level Instructions
3 − 713
Outline Converts 16-bit integer data to floating point real number data.
For the FP0R/FPΣ/FP−X/FP0/FP−e, the P type high−level instruction
“P325 (PFLT)” is not available.
Program example
Boolean
Ladder Diagram
Address Instruction
S
Trigger
D
F325 FLT, DT10, DT2010
R0
10
11
ST R 0
F325 (FLT)
DT 10
DT 20
S 16-bit integer data or 16-bit area for storing integer data (source)
D Lower 16-bit area of floating point real number data (destination)
Operands
O
WX WY WR WL SV EV DT LD FL I K H f
modifier device
S A A A A A A A A A A A A N/A A A
D N/A A A A A A A A A A N/A N/A N/A A A
Description
Converts the 16-bit integer data with sign specified by S to real number data when the trigger turns on.
The converted data is stored in D.
15 0
S:
Signed 16-bit
integer data
15 0
D:
Floating point
real number data
Lower word
D+1:
Higher word
Precaution during programming
For FP0, this instruction F325 (FLT) cannot be programmed in the interrupt program.
F325
P325
(PFLT)
(FLT)
16-bit integer data → Floating point real number data