Programming manual
88
CNC 8070
5.
TECHNOLOGICAL FUNCTIONS
Auxiliary (miscellaneous) functions (M)
(SOFT V02.0X)
84
M05 Spindle stop.
Function M05 stops the spindle. This function remains active until
another spindle controlling function is programmed (M04/M03/M19).
To stop a spindle, define next to the M5 the spindle it is associated with,
as follows. If it does not mention any spindle, it applies to the master
spindle.
M5.S Function M5 associated with the spindle S.
M19 Spindle orientation.
Function M19 orients the spindle. This function stays active until a
speed controlling function is programmed (M03/M04/M05).
When executing function M19, the CNC interprets that the value
entered with the "Sn" code indicates the angular position of the
spindle. If several spindles are programmed in a single block, function
M19 applies to all of them.
This angular position is programmed in degrees and it is always
assumed in absolute coordinates, thus not being affected by functions
G90/G91.
To orient the spindle to the ·0· position, it may also be programmed
by defining, next to the M19, the spindle to be oriented.
M19.S1 Positioning of spindle S1 at 0º.
Every positioning move requires an M19. An "S" code without an M19
is interpreted as a new turning speed for the next time the spindle is
turned on in speed mode using functions M03/M04.
S1000 S2=456 M5
(Stops the master spindle)
M5.S M5.S2 S1=1000 M3.S1
(Stops the spindles "S" and "S2")
(Spindle "S1" turns clockwise)
This work mode is only available on machines having a rotary encoder
installed on the spindle.
i
M19 S0
(Positioning of spindle S at 0º)
M19 S2=120
(Positioning of spindle S2 at 120º)
M19 S1=10 S2=34
(Positioning of spindle S1 at 10º and S2 at 34º)
M19.S4
(Positioning of spindle S4 at 0º)
M19
(Positioning of the master spindle at 0º)