1672 HEIDENHAIN Technical Manual MANUALplus 620
8.15.10 ASSIGN WORD (W=)
Syntax: W= (STORE WORD)
Operands: M, I, O, T, C
Action:
Assign 16 bits from the word accumulator to markers, inputs, outputs, timers
or counters with ascending numbering. Every bit occupies an operand. The
control assigns the LSB in the accumulator to the operand address specified
in the command, the LSB +1 to the specified address +1, etc. The MSB is
assigned to the last (16th) operand.
Example:
Transfer a certain bit pattern, located in word W8, to the output addresses O1
to O16.
Initial state:
Word W8 = 36FF (hex)
8.15.11 ASSIGN DOUBLE WORD (D=)
Syntax: D= (STORE DOUBLE WORD)
Operands: M, I, O, T, C
Action:
Assign 32 bits from the word accumulator to markers, inputs, outputs, timers
or counters with ascending numbering. Every bit occupies an operand. The
control assigns the LSB in the accumulator to the operand address specified
in the command, the specified address +1 as LSB +1 etc. The last (32nd)
operand is assigned the MSB.
Example:
See example command W=. Use command D= in the same way as W=.
However, the control processes 32 operands.
Function STL Accumulator
content
Operand content
Load content of
word W8 into the
word accumulator.
L W8 36FF
O16 ... O1
Assign accumulator
content to outputs
O5 to O20.
W= O1 36FF 011011011111111