Panasonic FP-E Programming Manual page 985

Fp series
Table of Contents

Advertisement

F329
(FIX)
P329
(PFIX)
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
Trigger
R0
10
F329 FIX, DT10, DT20
S
D
Operands
Relay
Operand
Operand
WX WY WR WL
S
A
A
D
N/A
A
Explanation of example
When the real number data "1.234567" is in DT10 and DT11, as shown below.
DT10:
(f1.234567)
DT11:
DT20:
When the real number data "−1.234567" is in DT10 and DT11, as shown below.
DT10:
(f−1.234567)
DT11:
(K−1)
DT20:
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com
Floating point real number data → 16-bit integer data
(rounding the first decimal point down to integer)
Ladder Diagram
Ladder Diagram
S
Real number data (2 words) or lower 16-bit area of 32-bit data (source)
Lower 16-bit area for storing converted data (destination)
Timer/Counter
SV
EV
A
A
A
A
A
A
A
A
(K1)
D
Index
Register
register
DT
LD
FL
I
A
A
A
A
A
A
A
A
* Index modification of a real number is not possible.
High−level Instructions
Boolean
Address
Instruction
10
ST
R
11
F329
DT
DT
Constant
Index
modifier device
modifier
K
H
f
N/A
A
A
A*
N/A N/A N/A
A
A:
Available
N/A: Not Available
0
(FIX)
10
20
Integer
device
N/A
N/A
3 − 721

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fp0Fp2Fp2shFp0rFrsFp10sh ... Show all

Table of Contents