Chapter 4. Ladder Diagram (LD) Programming
GFK-2950C
February 2018
161
MOVE Operands
Parameter Description
Allowed Operands
Optional
Length (??) The length of IN; the number of bits, words, or double
words to copy.
If IN is a constant and Q is BOOL, then 1
Length
16;
otherwise, 1
Length
256.
1
Length
32,767
Constant
No
IN
The location of the first data item to copy.
For MOVE_BOOL, any discrete reference may be used.
It does not need to be byte-aligned. However, 16 bits
beginning with the reference address specified are
displayed online.
If IN is a constant, it is treated as an array of bits. The
value of the least significant bit is copied into the
memory location specified by Q. If Length is greater
than one, the bits are copied in order from the least
significant to the most significant into successive
memory locations, up to the length specified.
All. %S, %SA, %SB, %SC
allowed only for WORD,
DWORD, BOOL types.
No
Q
The location of the first destination data item.
For MOVE_BOOL, any discrete reference may be used.
It does not need to be byte-aligned. However, 16 bits
beginning with the reference address specified are
displayed online.
All except %S. Also no %SA, SB,
SC except for WORD, DWORD,
BOOL types.
No
MOVE_BOOL Example
When %I00003 is set, the three bits %M00001, %M00002, and
%M00003 are moved to %M00100, %M00101, and %M00102,
respectively. Coil %Q00001 is turned on.
MOVE_WORD Example
V_M00001 and V_M00033 are both WORD arrays of length 3,
for a total of 48 bits in each array. Since PLCs do not recognize
arrays, Length has to be set at 3, for the total number of
WORDs to be moved. When enabling input V_Q0014 is ON,
MOVE_WORD moves 48 bits from the memory location
%M00001 to memory location %M00033. Even though the
destination overlaps the source for 16 bits, the move is done
correctly.
Summary of Contents for PACSystems RSTi-EP
Page 357: ......
Page 466: ...Chapter 9 Diagnostics GFK 2950C February 2018 451 ...