Panasonic FP Series Programming Manual page 479

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Arithmetic instructions
F354_FSCAL
This function performs scaling (linearization) of a real number data table and renders the output (Y)
Description
for an input value (X).
For a detailed description, refer to the instructions: F282_SCAL (see page 468) and F283_DSCAL
(see page 471).
This instruction also exists as a P instruction (for FP2/2SH, FP3/5, FP10/10SH PLC types), which
is only executed at the rising edge of the EN trigger. Select [Insert P instruction] from the
"Instructions" pane if you require a P instruction. To facilitate reuse, the instruction then appears
under "Recently used" in the pop-up menu. Press <Ctrl>+<Shift>+<v> within the programming
area to open the list of recently used elements.
Availability of F354_FSCAL (see page 1325)
PLC types
Data types
Variable
Data type
REAL
x
INT
xy_data
REAL
y
Operands
For
WX
x
WX
xy_data
-
y
Error flags
No.
IEC address
%MX0.900.7
R9007
%MX0.900.8
R9008
478
Scaling of Real Number Data
Function
Input value (X)
First element of the data unit type table used for scaling
Output value (Y)
Relay
T/C
WY
WR
WL
SV
WY
WR
WL
SV
WY
WR
WL
SV
Set
If
permanently
for an instant
Register
EV
DT
LD
FL
EV
DT
LD
FL
EV
DT
LD
FL
 the specified address using the index
modifier exceeds a limit.
 a non-real number value is input into 'x'.
 the number of values (first element of the
DUT) < 2 or > 99.
 a non- real number value is specified to be
the real numerical value (xt, yt) specified in
'xy_data'.
 the linear table of 'xy_data' is not registered
in ascending order of the x-sequence.
 the linear table of 'xy_data' exceeds the
area.
 an overflow (operation is unable) occurs
during the scaling operation.
Constant
real
-
-

Advertisement

Table of Contents
loading

Table of Contents