beautypg.com

HEIDENHAIN TNC 306 Technical Manual User Manual

Page 322

background image


7-32

TNC 416/TNC 406/TNC 306

Commands

3/2000

Example for the commands LB, LW and LD:
A binary coded value is to be read in via inputs I3 to I10 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.

This manual is related to the following products: