EasyManuals Logo

Omron CJ - INSTRUCTIONS User Manual

Omron CJ - INSTRUCTIONS
1308 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #339 background imageLoading...
Page #339 background image
301
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Data Movement Instructions
3
DIST
Function
Hint
The same DIST(080) instruction can be used to distribute the source word to various 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.
Example Programming
When CIO 0.00 is ON in this example, the contents of D100 will be copied to D210 (D200 + 10) if the
contents of D300 is 10 (0A hexadecimal). The contents of D100 can be copied to other words by
changing the offset in D300.
DIST(080) copies S to the destination word
calculated by adding Of to Bs.
S
Bs+n
OfBs
S: D100
D00210
S
0 0 0 A
Copied by DIST(080).
Offset +10 words
4-digit hexadecimal
Bs
Of
D100
D200
D300
Bs: D200
D201
D210
Of:
D300
0.00

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ - INSTRUCTIONS and is the answer not in the manual?

Omron CJ - INSTRUCTIONS Specifications

General IconGeneral
BrandOmron
ModelCJ - INSTRUCTIONS
CategoryController
LanguageEnglish

Related product manuals