HEIDENHAIN TNC 335 Technical Manual User Manual
Page 412
Advertising

8/95
TNC 360
3 Commands
7-33
Example for the Commands LB, LW and LD:
Via the Inputs I3 to I10, a binary coded value is to be read in and assigned to Byte B8 for further use.
Initial state:
Input I3 = 1
Input I7 = 0
Input I4 = 1
Input I8 = 1
Input I5 = 1
Input I9 = 1
Input I6 = 0
Input I10 = 0
Line Instruction
Accumulator Contents
Operand Contents
Bit
31 . . . 15
7
0
I10 I3
... x x x x x x x x x x x x x x x x x x
1
LB I3
... 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 1 1 1
01100111
7 0
2
= B8
... 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 1 1 1
01100111
Line 1:
Inputs I3 to I10 are loaded into the Word Accumulator (Bit 0 to Bit 7).
Line 2:
The Accumulator Contents are assigned to Byte 8.
The Commands LW and LD are processed in the same way except that 16 or 32 operands are used
accordingly.
Advertising