Panasonic FP Series Programming Manual page 963

Hide thumbs Also See for FP Series:
Table of Contents

Advertisement

Process control instructions
SCALE_UINT
This instruction scales an unsigned INTEGER value between a lower and an upper limit to an
Description
unsigned INTEGER 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
uiInput
uiInputLowerLimit
uiInputUpperLimit
uiOutputLowerLimit
uiOutputUpperLimit
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
962
Scale UINT 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
UINT
be higher than uiOutputUpperLimit)
Output value assigned to the upper limit of the input range (can
be lower than uiOutputLowerLimit)
Scaled output signal

Advertisement

Table of Contents
loading

Table of Contents