HEIDENHAIN TNC 335 Technical Manual User Manual

Page 416

Advertising
background image


8/95

TNC 360

3 Commands

7-37

Example:
A bit pattern, as defined in Word W8 , is to be assigned to Outputs O5 to O20.

Initial state:

Word W8: 36 FF (hex)

Line Instruction

Accumulator Contents

Operand Contents

Bit

31 . . . 15

7

0

15 8 7 0

... x x x x x x x x x x x x x x x x x x

1

L W8

... 0 0 0 0 1 1 0 1 1 0 1 1 1 1 1 1 1 1

00110110 11111111

O20 ... ... O5

2

W= O5

... 0 0 0 0 1 1 0 1 1 0 1 1 1 1 1 1 1 1

00110110 11111111

Line 1:

The contents of Word W8 are loaded into the Accumulator.

Line 2:

The contents of the Accumulator are assigned to the Outputs O5 to O20.

The Commands B= and D= are processed in the same way except that 8 or 32 bits are used
accordingly.

Advertising