HEIDENHAIN TNC 407 (243 020) Technical Manual User Manual
Page 235
Activation of the orientation to the Value of MP4210.47
L
M1920
;Decoded M-function 20
A
M2045
;M-code change signal
AN
M12
;Orientation-cycle active
CMT
181
;Activation of the orientation from the MP
S
M12
;Orientation-cycle active
Acknowledgement of the orientation
L
M1919
;Decoded M-function 19
O
M1920
;Decoded M-function 20
A
M2045
;M-code change signal
A
M2007
;Spindle in position
AN
M2712
;Strobe for spindle-orientation
S
M2482
;Acknowledgement of M-code
.
.
.
.
.
.
.
.
.
EM
;Main program - end
LBL 180; Transfer positional value from the spindle-orientation cycle
L
K+O
;Load the constant value ZEROl
BS
K+31
;Set Bit 31 to ONE
=
D592
;Position spindle-orientation
.
.
.
.
.
.
.
.
.
L
M1
;Buffer marker which is continuously ONE
S
M2712
;Strobe for spindle-orientation
.
.
.
.
.
.
.
.
.
EM
LBL 181; Transfer positional-value from the machine parameter
L
D956
;MP4210.47 PLC-positional-value
=
D592
;Position spindle-orientation
.
.
.
.
.
.
.
.
.
L
M1
;Buffer marker which is continuously ONE
S
M2712
;Strobe for spindle-orientation
.
.
.
.
.
.
.
.
.
EM