EasyManua.ls Logo

Panasonic FP-E - Page 985

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 − 721
Outline Converts real number data to 16-bit integer data (rounding the first
decimal point down to integer).
For the FP0R/FPΣ/FP−X/FP0/FP−e, the P type high−level instruction
“P329 (PFIX)” is not available.
Program example
Ladder
Diagram
Boolean
Ladder Diagram
Address Instruction
S
Trigger
D
F329 FIX, DT10, DT2010
R0
10
11
ST R 0
F329 (FIX)
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 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
DT20:
DT10:
DT11:
(f1.234567)
When the real number data “1.234567” is in DT10 and DT11, as shown below.
When the real number data “−1.234567” is in DT10 and DT11, as shown below.
(K1)
DT20:
DT10:
DT11:
(f−1.234567)
(K−1)
F329
P329
(PFIX)
(FIX)
Floating point real number data → 16-bit integer data
(rounding the first decimal point down to integer)
A
:
A
vailable
N/A: Not Available
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com