beautypg.com

HEIDENHAIN TNC 306 Technical Manual User Manual

Page 169

background image


3/97

TNC 406/TNC 306

4 Gap control

4-69

Example: Read 8 Markers:

Eight Markers are to be read starting from Marker M1800.
Marker states: 0 0 0 1 1 1 1 0

Generator protocol:

n

>

Generator transmits:

CA 03 00 07 08 0C

PLC transmits:

ACK or NAK

PLC protocol:

n

>

<00..FF>

PLC transmits:

CA 04 00 07 08 1E 14

Generator transmits:

ACK or NAK

Example: Reset a Marker

Marker 1800 is to be reset.

Generator protocol:

n

>

<00..FF>

Generator transmits:

CA 04 02 07 08 00 09

PLC transmits:

ACK or NAK

Example: Read Bytes

Five bytes are to be read starting with Byte 22 (B22=1F, B23=07, B24= 2A, B25=11, B26=00).

Generator protocol:

n

>

Generator transmits:

CA 04 04 00 16 05 13

PLC transmits:

ACK or NAK

PLC protocol:

n

>

< > <....>

PLC transmits:

CA 08 04 00 16 1F 07 2A 11 00 3B

Generator transmits:

ACK or NAK

Example: Load Bytes

Three bytes (B100, B101 and B102) are to be loaded into the 3 bytes starting with B22.

Generator protocol:

n

>

< >

Generator transmits:

CA 06 06 00 16 64 65 66 71

PLC transmits:

ACK or NAK

This manual is related to the following products: