HEIDENHAIN TNC 407 (243 020) Technical Manual User Manual
Page 339

Check nominal position
LN
M2011
;axis 4 not in position
AN
M300
A
M305
A
M5
CMT
370
;nominal value in grid spacing?
L
M4
;1 = not in grid
A
M5
;controlled mode
AN
M2011
;axis 4 not in position
S
M3018
;error message "Nominal position not attainable
in controlled mode"
Activate Hirth module
LN
M2011
;axis 4 not in position
A
M301
;Hirth status 1 = activated
A
M302
;switch-on delay terminated
A
M305
S
M300
;set marker for memory
L
M300
;reset by subprogram 300
AN
M3018
;nominal position not attainable in controlled mode
CMT
300
Hirth positioning
EM
LBL
290
;interrogate Submit
RPLY
B128
<>
K + 0
EMT
SUBM
291
=
B128
EM
LBL
291
;read MP420.3
PS
K + 420
;MP420
PS
K + 3
;Index 3
CM
9032
PLW
;value 1/10 000
<>
K + 0
=
M301
;1 = active, 0 = not active
L
M1
S
M304
;Submit 1 ready
L
M1
;M1 = 1
S
M2719
;start word memory processing
S
M2495
;open activation control loop, axis 4
S
M2547
;open control loop, axis 4
EM
LBL
292
;interrogate Submit
RPLY
B128
<>
K + 0
EMT
SUBM
293
=
B128
;Job identifier
EM