Select_Limit Instructions
378 Rockwell Automation Publication 1756-RM006K-EN-P - November 2018
Gain6 REAL Gain for the sixth input.
Valid = any float
Default = 1.0
Select6 BOOL Selector signal for the sixth input.
Default is false.
In7 REAL The seventh input to be summed.
Valid = any float
Default = 0.0
Gain7 REAL Gain for the seventh input.
Valid = any float
Default = 1.0
Select7 BOOL Selector signal for the seventh input.
Default is false.
In8 REAL The eighth input to be summed.
Valid = any float
Default = 0.0
Gain8 REAL Gain for the eighth input.
Valid = any float
Default = 1.0
Select8 BOOL Selector signal for the eighth input.
Default is false.
Bias REAL Bias signal input. The instruction adds the
Bias to the sum of the inputs.
Valid = any float
Default = 0.0
Output
Parameter
Data Type Description
EnableOut BOOL Indicates if instruction is enabled. Cleared
to false if Out overflows.
Out REAL The calculated output of the algorithm.
Structured Text
Operand Type Format Description
SSUM tag SELECTED_SUMMER Structure SSUM structure
See Structured Text Syntax for more information on the syntax of expressions
within structured text.
Description
The SSUM instruction operates as follows:
Condition Action
No In is selected Out = Bias
One or more In are selected For all n where Selectn is true
Out = ∑ (In
n
x Gain
n
) + Bias