Statistical Instructions
Examples
If Reset is set, the instruction sets Out=ResetValue. If Reset is cleared, the
instruction sets Out=In when In> LastMaximum. Otherwise, the instruction sets
Out= LastMaximum.
Function Block
Structured Text
MAXCTag.In := input_value;
MAXCTag.Reset := reset_input;
MAXCTag.ResetValue := reset_value;
MAXC(MAXCTag);
result := MAXCTag.Out;
See also
Common Attributes
Structured Text Syntax
Rockwell Automation Publication 1756-RM006K-EN-P - November 2018
on
page 537
on
page 508
Chapter 5
391