Users manual
15-13
Chapter 15: Ladder Logic Programming
LEQ (LESS THAN OR EQUAL)
This instruction will test to see if Source A is less than or equal to Source B. If Source A is less
than or equal to Source B then the rung is evaluated as true, otherwise the rung is false. Source
A must be an address. Source B can either be a program constant (integer only) or an address.
The LEQ instruction executes in 15µs and requires 44 bytes.
Following is a list of the data points that may be used with LEQ instructions:
Inputs
Outputs
Timers(preset&value)
Counters(preset&value)
Ladder variables
C variables
Diagnostics
Alarms
GRT (GREATER THAN)
This instruction will test to see if Source A is greater than Source B. If Source A is greater than
Source B then the rung is evaluated as true, otherwise the rung is false. Source A must be an
address. Source B can either be a program constant (integer only) or an address.
The GRT instruction executes in 15µs and requires 44 bytes.
Following is a list of the data points that may be used with GRT instructions:
Inputs
Outputs
Timers(preset&value)
Counters(preset&value)
Ladder variables
C variables
Diagnostics
Alarms