EasyManua.ls Logo

GE VersaMax PLC

GE VersaMax PLC
318 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
10.3.1.2 Example 1
When enabling input %Q0014 is ON, 48 bits are moved from memory location %M0001
to memory location %M0033. (%M0001 and %M0003 are defined as WORD types if
length 3.)
%M0001
%Q0014
| |
MOVE
WORD
IN
%M0033
Q
Even though the destination overlaps the source for 16 bits, the move is done correctly.
Before using the Move function:
INPUT (%M0001 through %M0048)
%M0016 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0
%M0032 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1
%M0048 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
After using the Move function:
INPUT (%M0033 through %M0080)
1
%M0048 1 1 1 1 0 0 0 0 1 1 1 1 0 0 0 0
%M0064 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1
%M0080 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
33
10.3.2 Data Move Functions Block Move
The Block Move function copies a block of seven constants to a specified location. When
the Block Move function receives power flow, it copies the constant values into
consecutive locations beginning at the destination specified in output Q. The function
passes power to the right whenever power is received.
Constant value
Constant value
Constant value
Constant value
Constant value
Constant value
OK Enable
BLKMV
INT
I1
Output
Q
I2
I3
I4
I5
I6
Constant value
I7
Instruction Set Reference GFK-1503E User Manual 149
For public disclosure

Table of Contents

Related product manuals