EasyManuals Logo

Panasonic FP Series User Manual

Panasonic FP Series
1345 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #470 background imageLoading...
Page #470 background image
Arithmetic instructions
469
Part III FP Instructions
F282_SCAL
Linearization of 16-bit data
The function can be used for:
linearizing measured values, e.g. with non-linear sensors
rendering a heater’s flow temperature y in relation to the outside temperature x
etc.
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.
PLC types
Availability of F282_SCAL (see page 1323)
Variable Data type Function
x INT Input value x
xy_data DUT The first element of an DUT-type variable that contains the
xy value pairs.
y INT Output value y
EN BOOL Activation of the function (when EN = TRUE, the function is
executed during each PLC cycle)
ENO BOOL ENO is set to TRUE as soon the function is executed.
Helpful when cascading function blocks with EN functions.
For Relay T/C Register Constant
x WX WY WR WL SV EV DT LD FL dec. or hex.
y - WY WR WL SV EV DT LD FL -
No. IEC address Set If
R9007 %MX0.900.7 permanently
R9008 %MX0.900.8 for an instant
the number of reference points is not
between 2 ... 100, or the x values are not
in ascending order (x1 < x2 < x3 < ...).
Description
The function renders the value y at position x by performing a linear interpolation based on the
neighboring reference points Pw
(xw, yw)
and Pw+1
(xw+1, yw+1)
. In this example, w is the nearest
reference point whose x value is smaller than the input value x, i.e. the function connects the
individual reference points in series and renders the output value y based on the input value x.
Data types
Operands
Error flags

Table of Contents

Other manuals for Panasonic FP Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Panasonic FP Series and is the answer not in the manual?

Panasonic FP Series Specifications

General IconGeneral
MountingDIN rail
TypePLC
Communication InterfaceRS-232, RS-485, Ethernet (depending on model)
Input Voltage100-240V AC or 24V DC (depending on model)
Output TypeRelay, Transistor
I/O PointsVaries by model
Operating Temperature0°C to 55°C
DimensionsVaries by model
WeightVaries by model

Related product manuals