338 Rockwell Automation Publication 1756-RM006K-EN-P - November 2018
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.
DeltaT REAL Elapsed time between updates. This is the elapsed time in
seconds used by the control algorithm to calculate the process
output.
Status DINT Status of the function block.
InstructFault (Status.0) BOOL The instruction detected one of the following execution errors.
This is not a minor or major controller error. Check the
remaining status bits to determine what occurred.
WNotchInv (Status.1) BOOL WNotch < minimum or WNotch > maximum
QFactorInv (Status.2) BOOL QFactor < minimum or QFactor > maximum
OrderInv (Status.3) BOOL Invalid Order value.
TimingModeInv (Status.27) BOOL Invalid TimingMode value.
For more information about timing modes, see Function Block
Attributes.
RTSMissed (Status.28) BOOL Only used in real time sampling mode. Set to true when
ABS (DeltaT - RTSTime) > 1 millisecond.
RTSTimeInv (Status.29) BOOL Invalid RTSTime value.
RTSTimeStampInv (Status.30) BOOL Invalid RTSTimeStamp value.
DeltaTInv (Status.31) BOOL Invalid DeltaT value.
Structured Text
Operand Type Format Description
NTCH tag FILTER_NOTCH structure NTCH structure
See Structured Text Syntax for more information on the syntax of expressions
within structured text.
Description
The NTCH instruction uses the Order parameter to control the sharpness of the
cutoff. The QFactor parameter controls the width and the depth ratio of the
notch. The NTCH instruction is designed to execute in a task where the scan rate
remains constant.
The NTCH instruction uses this equation:
where i is the Order operator with these parameters limits (where DeltaT is in
seconds):