Panasonic FP Series Programming Manual page 957

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Process control instructions
SCALE_INT
This instruction scales an INTEGER value between a lower and an upper limit to an INTEGER
Description
output value. Use WITHIN_LIMITS (see page 111) to check if the input value is within the specified
limits.
See also:
F282_SCAL (see page 468)
F283_DSCAL (see page 471)
see page 1330
PLC types
Data types
Variable
iInput
iInputLowerLimit
iInputUpperLimit
iOutputLowerLimit
iOutputUpperLimit
Output variable
In this example the function has been programmed in ladder diagram (LD) and structured text (ST).
Example
The same POU header is used for all programming languages.
POU header
All input and output variables used for programming this function have been declared in the POU
header.
LD
956
Scales INTEGER data
Data type
Function
Input signal
Lower limit of the input range
Upper limit of the input range
Output value assigned to the lower limit of the input range (can
INT
be higher than iOutputUpperLimit)
Output value assigned to the upper limit of the input range (can
be lower than iOutputLowerLimit)
Scaled output signal

Advertisement

Table of Contents
loading

Table of Contents