Allen-Bradley LOGIX 5000 Reference Manual page 390

Controllers advanced process control and drives and equipment phase and sequence instructions
Hide thumbs Also See for LOGIX 5000:
Table of Contents

Advertisement

Chapter 5
Statistical Instructions
390
See Structured Text Syntax for more information on the syntax of expressions
within structured text.
Description
The MAXC instruction executes this algorithm:
Condition
Action
Reset is set
LastMaximum = Reset value
Out = LastMaximum
Reset is cleared
If In > LastMaximum then update LastMaximum.
Out = LastMaximum.
Affects Math Status Flags
No
Major/Minor Faults
None specific to this instruction. See Common Attributes for operand-related
faults.
Execution
Function Block
Condition/State
Prescan
Tag.EnableIn is false
Tag.EnableIn is true
Instruction first run
Instruction first scan
Postscan
Structured Text
Condition/State
Prescan
Normal Execution
Postscan
Rockwell Automation Publication 1756-RM006K-EN-P - November 2018
Action Taken
EnableIn and EnableOut bits are cleared to false.
EnableIn and EnableOut bits are cleared to false.
EnableIn and EnableOut bits are set to true.
The instruction executes.
N/A
Set request to initialize the Maximum value with the current input.
EnableIn and EnableOut bits are cleared to false.
Action Taken
See Prescan in the Function Block table.
See Tag.EnableIn is true in the Function Block table.
See Postscan in the Function Block table.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents