HEIDENHAIN TNC 335 Technical Manual User Manual
Page 292

8/95
TNC 360
14 Datum Correction
4-195
PLC example: Datum correction with M20 activated, with M21 deactivated.
.
.
LN
M2045
S
M10
.
L
M1920
A
M2045
;M20 activated
A
M10
;Buffered marker for strobe marker 2716
CMT 200
;Datum correction call
R
M10
L
M1921
A
M2025
;M21 activated
A
M10
; Buffered marker for strobe marker 2716
CMT201
;Deactivate datum correction call
R
M10
L
M1920
O
M1921
A
M2045
AN
M2716
S
M2482
;Acknowledgment
EM
;End of main program
LBL 200
;Activate module for datum correction call
L
D896
;Value from MP4210.32
=
D528
;Shift X axis
L
K0
=
D532
;Do not shift Y axis
=
D536
;Do not shift Z axis
=
D540
;Do not shift 4th axis
L
M10
S
M2716
EM
LBL 201
;Cancel module for datum compensation
L
D900
;Value from MP4210.33
=
D528
L
K0
=
D532
;Do not shift Y axis
=
D536
;Do not shift Z axis
=
D540
;Do not shift 4th axis
L
M10
S
M2716
EM
.
.