304
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
( 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
Bs: D00100
Copied by COLL(081).
10 words
4-digit hexadecimal
0
Bs
Of
D
0
0
A
D00200
D00101
S: Source (desired word or bit)
D: Destination (Index Register)
MOVR(560)
S
D
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
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...