Omron CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 Reference Manual page 332

Programmable controllers
Hide thumbs Also See for CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

Function
COLL(081) copies the source word (calculated
by adding Of to Bs) to the destination word.
Hint
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.
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.
Sample program
When CIO 0.00 is ON in the following example, the contents of D110 (D100 + 10) will be copied to
D300 if the content of D200 is 10 (0A hexadecimal). The contents of other words can be copied to D300
by changing the offset in D200.
0.00
D100
Bs
D200
Of
D300
D
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Bs:
D100
D101
Offset +10 words
D110
Bs
Of
Bs+n
D200
0
0
0
4-digit hexadecimal
Copied by COLL(081).
D300
3. Instructions
3
A
295

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 and is the answer not in the manual?

Questions and answers

Table of Contents