7.7.12 ASSIGN DOUBLE WORD (D=)
Function
Load content of
word W8 into the
word accumulator.
Assign accumulator
content to outputs
O5 to O20.
7 – 96
Syntax:
D= (STORE DOUBLE WORD)
Operands:
M, I, O, T, C
Action:
Assign 32 markers from the word accumulator to inputs, outputs, timer or
counters with ascending numbering. Every bit occupies an operand. The TNC
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:
Transfer a certain bit pattern, located in word W8, to the output addresses O5
to O20.
Initial state:
Word W8 = 36FF (hex)
STL
Accumulator contents (dec or [bit])
31...15 ..................... 7 ................. 0 15
L W8
0 ..... 0 0 1 1 0 1 1 0 1 1 1 1 1 1 1 1 0 0 1 1 0 1 1 0 1 1 1 1 1 1 1 1
31...15 ..................... 7 .................. 0 O20.....O13
W= O5
0 ..... 0 0 1 1 0 1 1 0 1 1 1 1 1 1 1 1 0 0 1 1 0 1 1 0 1 1 1 1 1 1 1 1
HEIDENHAIN Technical Manual TNC 426, TNC 430
Operand contents [bit]
....
8 7
...
O12 ..... O5
0