
354
Data Movement Instructions
Section 3-8
Description
DIST(080) copies S to the destination word calculated by adding Of to Bs.
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.
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 D00100 will
be copied to D00210 ( 10) if the contents of D00300 is 10 (0A hexa-
decimal). The contents of D00100 can be copied to other words by changing
the offset in D00300.
3-8-13 DATA COLLECT: COLL(081)
Purpose
Transfers the source word (calculated by adding an offset value to the base
address) to the destination word.
Ladder Symbol
Variations
S
Bs+n
Of
Bs
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.
S: D00100
D00210
S
0 0 0 A
Copied by DIST(080).
10 words
4-digit hexadecimal
Of:
Bs:
Bs
Of
COLL(081)
D
Bs: Source base address
Of: Offset
D: Destination word
Bs
Of
Variations
Executed Each Cycle for ON Condition
COLL(081)
Executed Once for Upward Differentiation
@COLL(081)
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification
Not supported
Summary of Contents for SYSMAC CS Series
Page 2: ......
Page 4: ...iv ...
Page 30: ...xxx ...
Page 186: ...146 List of Instructions by Function Code Section 2 4 ...
Page 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Page 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Page 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Page 1392: ...1352 ASCII Code Table Appendix A ...
Page 1404: ...1364 Revision History ...