SCALER (scale)

Languages supported: Function block diagram, ladder diagram, structured text.
This instruction applies to the Micro810, L20E, L50E, and L70E controllers.
SCALER
SCALER
SCALER parameters
Parameter
Parameter Type
Data Type
Description
EN
Input
BOOL
Instruction block enable.
  • TRUE: Execute the scaling equation
  • FALSE: There is no scaling equation
Applies only to ladder diagram programs.
Input
Input
REAL
Input signal. Input is not limited by InputMin and InputMax. To limit Input, a LIM instruction is needed to condition Input before it's entered to the SCALER instruction.
InputMin
Input
REAL
Determine the slope and offset value.
InputMax
Input
REAL
Determine the slope and offset value.
OutputMin
Input
REAL
Determine the slope and offset value.
OutputMax
Input
REAL
Determine the slope and offset value.
Output
Output
REAL
Scaled Output. Output is not clamped between OutputMin and OutputMax.
ENO
Output
BOOL
Enable output.
Applies only to ladder diagram programs.

SCALER examples

SCALER function block diagram example
SCALER ladder diagram example
SCALER ladder diagram example
SCALER structured text example
SCALER structured text example
(* ST equivalence: SCALER1 is an instance of SCALER block *) SCALER1(Signal_In, 4.0, 20.0 , 0.0 , 150.0 ) ; Out_Temp := SCALER1.Output ;
Results
Results
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal