37
5
C005 ;calls spindle module :005 with 5 (M5)
R ;return
Spindle jog module
:012
=5 ;release of jog button (M5)?
G005 ;spindle stop by calling modul :005
;exit :012 via :005
Z
=4 ;direction M4?
U001 ;spindle on
D000 ;M4 direction
F090 ;bipolar or unipolar
.0040 ;- command signal at bipolar
E
.FFC0 ;+ command signal at unipolar
Z
E
=3 ;called by M3?
U001 ;spindle on
U000 ;M3 direction
.FFC0 ;+ command signal at unipolar
Z
Z
U452 ;enable of spindle command signal
C052 ;outputs OP as spindle command signal
R ;return
Module of axis jog
:013
R ;return
Module of tool change (M06)
:014
R ;return, tool change manually for T code
Module function A
:015
R ;return