beautypg.com

Geq (greater than or equal), Math instructions, Add (addition) – Sensaphone SCADA 3000 Users manual User Manual

Page 170: Geq (greater than or equal) -14, Math instructions -14, Add (addition) -14

background image

15-14

SCADA 3000 User’s Manual

Geq (GReATeR THAN OR eqUAL)

This instruction will test to see if Source A is greater than or equal to Source B. If Source A is

greater 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 GEQ instruction executes in 15µs and requires 44 bytes.
Following is a list of the data points that may be used with GEQ instructions:

Inputs

Outputs

Timers (preset & value)

Counters (preset & value)

Ladder variables

C variables

Diagnostics

Alarms

math Instructions

The SCADA 3000 incorporates basic math instructions including: add, subtract, multiply,

divide and power. These instructions will take two input values, perform the specified arithme-

tic function, and output the result to the specified address location.

ADD (Addition)

The ADD instruction adds the values stored in the two referenced memory locations, labeled

as Source A and Source B when rung conditions are true. The result is stored in the destina-

tion memory location. The operand values can be fixed constants, values contained in I/O, or

variables stored in any memory location. Only one constant can be used—in Source A or B.
The ADD instruction executes in 15µs and requires 68 bytes.
Following is a list of the data points that may be used with ADD instructions:

Valid Sources

Valid Destinations

Inputs Outputs
Outputs

Ladder variables

Timers (preset & value)

C Variables

Counters (preset & value)
Ladder variables

15-14