Leq (less than or equal), Grt (greater than) – Sensaphone SCADA 3000 Users manual User Manual

Page 169

Advertising
background image

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

Advertising