Example Of A Plc-Program For Spindle-Orientation With M19/M20 - HEIDENHAIN TNC 415 Technical Manual

Hide thumbs Also See for TNC 415:
Table of Contents

Advertisement

Marker
Function
M2007
Spindle in Position
M2127
Spindle in motion (controlled spindle)
M2408
Cycle 13 is being executed
M2499
Open the spindle control loop
M2501
Activates spindle-speed MP3520.0
and direction of rotation from Marker M2656
M2615
Re-evaluation of the reference marks
for spindle orientation
M2656
Spindle orientation from stop
0 = Orientation with M03
1 = Orientation with M04
M2712
Activate PLC positioning for
spindle orientation
D592
Nominal position for spindle orientation
(Strobe M2712)

Example of a PLC-program for spindle-orientation with M19/M20

Program description:
Using the M-Function M19 to activate a spindle-orientation to the value which is determined by the
spindle-orientation cycle.
Using the M-Function M20 to activate a spindle-orientation to the value which is stored in
MP4210.47.
;Main program
LN
M1
S
M1
.
.
.
.
.
.
LN
M2045
R
M12
R
M2482
Activation of the orientation to the value from the HEIDENHAIN cycle
L
M1919
A
M2045
AN
M12
CMT
180
S
M12
01.98
TNC 407/TNC 415/TNC 425
;Generate logic ONE
;Buffer marker which is continuously ONE
.
.
.
;M-strobe inactive
;Spindle-orientation cycle active
;Acknowledgement of M-code
;Decoded M-function 19
;M-code change signal
;Orientation-cycle active
;Activation of the Orientation from the cycle
;Orientation-cycle active
4 Main Spindle
Set
Reset
NC
NC
NC
NC
NC
PLC
PLC
PLC
PLC
PLC
PLC
NC
PLC
PLC
NC, PLC NC
4-109

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tnc 425eTnc 415fTnc 407Tnc 415bTnc 425

Table of Contents