beautypg.com

Mov (move), Comparison instructions, Mov (move) -11 – Sensaphone SCADA 3000 Users manual User Manual

Page 167: Comparison instructions -11

background image

15-11

Chapter 15: Ladder Logic Programming

mOV (move)

The MOV instruction moves the value in the memory location referenced by the Source to the

destination memory location when rung conditions are true. The source value can be a fixed

constant, a value contained in I/O, or a variable stored in any memory location.
The MOV instruction executes in 2.9µs and requires 44 bytes.

Valid Sources

Valid Destinations

Inputs Outputs
Outputs

Ladder Variables

Timers (preset & value)

C Variables

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

COmPARISON INSTRUCTIONS

Comparison instructions are used to test two values to condition the logical continuity of a

rung. Note that all values used in comparison instructions will be floating point numbers.

There is no output destination, if the statement is true then rung status is continued.

eqU (eqUAL)

This instruction will compare the value of Source A to Source B, to see if they are equal. If

they are equal 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 EQU instruction executes in 15µs and requires 44 bytes.
Following is a list of the data points that may be used with EQU instructions:
Inputs
Outputs
Timers (preset & value)
Counters (preset & value)
Ladder variables
C variables
Diagnostics
Alarms