Scaler, Parameters – Yaskawa MotionWorks IEC Toolboxes User Manual
Page 571

Yaskawa Toolbox: Function Blocks
MotionWorks IEC61131-3 Toolboxes: 2013-09-13
558
Scaler
This function block performs the calculation y:= mx + b.
m is determined by the slope of a line specified by Cal_X1, Cal_Y1, Cal_X2, Cal_Y2.
x is the 'Input'
b is determined by calculating the Y intercept of the line.
This function can be used with temperature sensors or any analog value that must be adjusted before further
processing takes place.
Parameters
*
Parameter
Data
Type
Description
VAR_INPUT
Default
B
Enable
BOOL
The function will continue to execute while
enable is held high.
FALSE
V
Input
LREAL
The x variable of y:=mx + b.
LREAL#0.0
V
CalX1
LREAL
Datapoint specifying a line along which data is to
be scaled.
LREAL#0.0
V
CalY1
LREAL
Datapoint specifying a line along which data is to
be scaled.
LREAL#0.0
V
CalX2
LREAL
Datapoint specifying a line along which data is to
LREAL#0.0