356
Data Movement Instructions Section 3-8
Description COLL(081) copies the source word (calculated by adding Of to Bs) to the des-
tination word. The same COLL(081) instruction can be used to collect data
from various source words in the data area by changing the value of Of.
Flags
Precautions Be sure that the offset does not exceed the end of the data area, i.e., Bs and
Bs+Of are in the same data area.
Example When CIO 000000 is ON in the following example, the contents of D00110
(D00100 + 10) will be copied to D00300 if the content of D00200 is 10 (0A
hexadecimal). The contents of other words can be copied to D00300 by
changing the offset in D00200.
3-8-14 MOVE TO REGISTER: MOVR(560)
Purpose Sets the PLC memory address of the specified word, bit, or timer/counter
Completion Flag in the specified Index Register. (Use MOVRW(561) to set the
PLC memory address of a timer/counter PV in an Index Register.)
Ladder Symbol
Variations
Bs
Bs+n
Of
Name Label Operation
Error Flag ER OFF
Equals Flag = ON if the source data is 0000.
OFF in all other cases.
Negative Flag N ON if the leftmost bit of the source data is 1.
OFF in all other cases.
D00110
D00100
0
D
00
A
D00200
D00101
4-digit hexadecimal
Offset +10 words
Copied by COLL(081).
Bs:
Bs
Of
MOVR(560)
S
D
S: Source (desired word or bit)
D: Destination (Index Register)
Variations Executed Each Cycle for ON Condition MOVR(560)
Executed Once for Upward Differentiation @MOVR(560)
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification Not supported