LIM
LIM is an alarm with hysteresis on a REAL value for high and low limits. A hysteresis is applied on high and low limits. The hysteresis delta used for either high or low limit is one half of the EPS parameter.
A Process alarm is an alarm that occurs when a fault is received and processed by the controller. Process-level alarms provide an alert when the module has exceeded the configured high or low limits for each channel.
Languages supported: Function block diagram, ladder diagram, and structured text.
This instruction applies to the L20E, L50E, and L70E controllers.
LIM

Parameter | Parameter Type | Data Type | Description |
---|---|---|---|
EN | Input | BOOL | When set to true, the instruction is enabled.
|
H | Input | REAL | High limit value. |
X | Input | REAL | Input is any real value. |
L | Input | REAL | Low limit value. |
EPS | Input | REAL | Hysteresis value (must be greater than zero). |
QH | Output | BOOL | High alarm: TRUE if X exceeds the high limit H. |
Q | Output | BOOL | Alarm output: TRUE if X is outside of limits. |
QL | Output | BOOL | Low alarm: TRUE if X is below the low limit L. |
ENO | Output | BOOL | Enables output. Applies to ladder diagram programs. |
LIM examples
LIM timing diagram example

LIM function block diagram example

LIM ladder diagram example

LIM structured text example

Results

Provide Feedback