beautypg.com

Div (division), Pow (a to the power of b), Div (division) -16 pow (a to the power of b) -16 – Sensaphone SCADA 3000 Users manual User Manual

Page 172

background image

15-16

SCADA 3000 User’s Manual

Timers (preset & value)

C Variables

Counters (preset & value)
Ladder variables
C variables
Diagnostics
Alarms

DIV (Division)

The DIV instruction divides the value stored in the memory location referenced by Source A

by the value stored in the memory location referenced by Source B when rung conditions are

true. The result is stored in the destination memory location. The operand values can be fixed

constants, values contained in I/O, or variables stored in any memory location. Only one con-

stant can be used in Source A or B.
The DIV instruction executes in 15µs and requires 80 bytes.
Following is a list of the data points that may be used with DIV instructions:

Valid Sources

Valid Destinations

Inputs Outputs
Outputs

Ladder variables

Timers (preset & value)

C Variables

Counters (preset & value)
Ladder variables
C variables
Diagnostics
Alarms

POW (A to the Power of B)

The Power instruction raises the value stored in the memory location referenced by Source A

by the value stored in the memory location referenced by Source B when rung conditions are

true. The result is stored in the destination memory location D. 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 POW instruction executes in 45µs and requires 114 bytes.