1054
Model Conversion Instructions Section 3-33
Examples Data Distribution Operation
The leftmost byte of D300 is 0, so DISTC(566) performs the Data Distribution
Operation.
When CIO 0.00 is ON in the following example, the contents of D100 will be
copied to D210 (D200 + 10) if the content of D300 is 0010 BCD. The content
of D100 can be copied to other words by changing the offset in D300.
Stack Push Operation
The leftmost byte of Of is 9, so DISTC(566) performs the Stack Push Opera-
tion.
When CIO 0.00 is ON in the following example, DISTC(566) allocates a 10
word stack area (since the rightmost 3 digits of Of are #010) between D200
and D209. At the same time, the contents of D100 will be copied to the word
calculated by adding D200 + stack pointer +1. Finally, the stack pointer is
incremented by +1.
3-33-3 DATA COLLECT: COLLC(567)
Purpose Transfers the source word (calculated by adding an offset value to the base
address) to the destination word.
Ladder Symbol
Variations
S: D100
D210
S
0 0 1 0
DISTC
D300
D100
0.00
D200
D300
Copied by DISTC(566).
Offset +10 words
4-digit BCD
Of:
Bs: D200
D201
Bs
Of
S: D100
Bs: D200
D201
D209
Stack area
Stack
pointer
Stack
data area
S
DISTC
Bs
Of
D100
D200
#9010
0 0 0 F
Stack area
Stack area
Allocated stack
Stack
Push
After 1
st
execution
After 2
nd
execution
Of
9
010
# 0 0 0 1
0 0 0 F
0 0 0 F
0 0 0 F
# 0 0 0 2
0.00
COLLC(567)
D
Bs: Source base address
Of: Offset
D: Destination word
Bs
Of
Variations Executed Each Cycle for ON Condition COLLC(567)
Executed Once for Upward Differentiation @COLLC(567)
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification Not supported