Process Control Instructions
Rockwell Automation Publication 1756-RM006K-EN-P - November 2018 129
Structured Text
Condition/State Action Taken
Prescan See Prescan in the Function Block table.
Normal Execution See Tag.EnableIn is true in the Function Block table.
Postscan See Postscan in the Function Block table.
Example
The SCL instruction is typically used with analog input modules that do not
support on-board scaling to floating point engineering units. In this example, the
SCL instruction scales an analog input from a 1771-IFE module. The instruction
places the result in Out, which is used by an ALM instruction.
Function Block
Structured
Text
SCL_01.In := Input0From1771IFE;
SCL(SCL_01);
ALM_01.In := SCL_01.Out;
ALM(ALM_01);
See also
Common Attributes on page 537
Structured Text Syntax on page 508