The result of the Move depends on the data type selected for the function, as shown
below. For example, if the constant value 9 is specified for IN and the length is 4, then 9
is placed in the bit memory location specified by Q and the three locations following:
9
OK
Enable
MOVE
INT
IN
Output
9
9
9
9
Q
(Length = 4 words)
MOVE_INT
9
OK
Enable
MOVE
BOOL
IN
Output
msb lsb
1 0 0 1
Q
(Length = 4 bits)
MOVE_BOOL
The function passes power to the right whenever power is received.
10.3.1.1
Parameters for the Move Data Function
Input/
Output
Choices
Description
enable
flow
When the function is enabled, the move is performed.
Length
The number of bits, words, or double words of data to be
copied. This is the length of IN. Length must be from 1 to 256
for all types except BIT. If IN is a constant and Q is type BIT,
the length must be between 1 and 16. If IN is type Bit, the
length must be between 1 and 256 bits.
IN
I, Q, M, T, G,
R, AI, AQ,
constant
For bit or word
data only: S
For real data:
R, AI, AQ
IN contains the value to be moved. 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.
ok
flow, none
The OK output is energized whenever the function is
enabled.
Q
I, Q, M, T, G,
R, AI, AQ,
For bit/ word
data: SA, SB,
SC
For real data:
R, AI, AQ
When the move is performed, the value at IN is written to Q.
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.
148
GFK-1503E
VersaMax PLC User Manual
For public disclosure
Summary of Contents for VersaMax PLC
Page 16: ...Notes 16 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 38: ...Notes 38 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 50: ...Notes 50 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 92: ...Notes 92 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 112: ...Notes 112 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 224: ...Notes 224 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 292: ...Notes 292 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 316: ...Notes 316 GFK 1503E VersaMax PLC User Manual For public disclosure ...
Page 317: ......