Download SCADA 3000 - CAS Systems Limited

Transcript
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
Gas Flow values (enable and flow rate only)
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
15–11