LIM (Limit) Ladder Logic Instruction

Definition

The Limit instruction is a ladder logic rung input instruction that compares a test value against a high and low limit. If the test value is in range logic to the right of the instruction, or rung-condition-out, is enabled and disabled if the test value is out of range. The high limit, low limit and test value can be constants, tags or any combination.

List of possible arguments

The LOW LIMIT, HIGH LIMIT, and TEST VALUE can be any combination of the following data types.

  • CONSTANT
  • SINT              
  • INT
  • DINT
  • REAL

 

Note: Negative numbers are valid. Use other comparison instructions for comparing strings.