User manual

Highlevel Instructions
3 723
Outline Converts real number data to 32-bit integer data (rounding the first
decimal point down to integer).
For the FP0R/FPΣ/FPX/FP0/FPe, the P type highlevel instruction
“P330 (PDFIX)” is not available.
Program example
Ladder
Diagram
Boolean
Ladder Diagram
Address Instruction
S
Trigger
D
F330 DFIX, DT10, DT2010
R0
10
11
ST R 0
F330 (DFIX)
DT 10
DT 20
S Real number data (2 words) or lower 16-bit area of 32-bit data (source)
D Lower 16-bit area of 32-bit data for storing converted data (destination)
Operands
O
p
erand
Relay Timer/Counter Register
Index
register
Constant
Index
modifier
Integer
device
Operand
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 N/A A A A* N/A
D N/A A A A A A A A A A N/A N/A N/A A N/A
* Index modification of a real number is not possible.
Explanation of example
DT10:
DT11:
(f123456.7)
When the real number data “123456.7” is in DT10 and DT11, as shown below.
When the real number data 123456.7” is in DT10 and DT11, as shown below.
DT10:
DT11:
(f123456.7)
DT20:
DT21:
(K123456)
DT20:
DT21:
(K123456)
F330
P330
(PDFIX)
(DFIX)
Floating point real number data 32-bit integer data
(rounding the first decimal point down to integer)
A
:
A
vailable
N/A: Not Available