beautypg.com

HEIDENHAIN TNC 306 Technical Manual User Manual

Page 226

background image


4-126

TNC 406/TNC 306

13 Datum correction

2/97

PLC example:

Datum correction in Z axis with M20 activated, with M21 deactivated
.
.
L

W260

==

K+20

;M20 activated

A

M2045

S

M10

;buffered marker for strobe marker 2716

CMT 200

;datum correction call

R

M10

L

W260

==

K+21

;M21 activated

A

M2045

S

M10

;buffered marker for strobe marker 2716

CMT 201

;deactivate datum correction call

R

M10

EM

;end of main program

LBL 200

;activate module for datum correction

L

D896

;value from MP4210.32

=

D536

...

;for the other axis the correction value 0 must be entered

...
L

M10

S

M2716

EM

LBL 201

;deactivate module for datum correction

L

D900

;value from MP4210.33

=

D536

L

M10

S

M2716

EM
.
.

This manual is related to the following products: