![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030394.webp)
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
Содержание SYSMAC CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...