Programming manual.
CNC 8070
7.
THE SPINDLE. BASIC CONTROL.
Spindle orientation.
·132·
(REF: 1709)
7.5.1 The turning direction for spindle orientation
The turning direction for positioning may be set with function M19; if not defined, the CNC
applies a turning direction by default. Each spindle may have a different turning direction by
default.
Turning direction by default
If no turning direction has been defined, the CNC behaves as follows. If when executing
function M19, there was an M3 or M4 active, even if the speed is zero, this function will set
the spindle orienting direction. If no M3 or M4 is active, the turning direction is set depending
on machine parameter SHORTESTWAY.
• If it is a SHORTESTWAY spindle, it positions via the shortest way.
• If it is not a SHORTESTWAY type spindle, it positions in the same direction as the last
spindle movement.
Turning direction defined set by the user.
The positioning direction programmed next to the M19 is applied to all the spindles
programmed in the block. If the turning direction has not been programmed, each spindle
will turn in the direction set earlier; if none has been defined, it will assume the turning
direction by default.
The programmed turning direction is maintained until another one is programmed.
Programming format (1). Turning direction for all the spindles programmed.
M19.POS S{pos}
M19.NEG S{pos}
If no spindle is defined, the CNC orients the master spindle at 0º in the indicated direction.
When programming the orienting direction for a SHORTESTWAYtype spindle, the
programmed direction will be ignored.
Programming format (2). Turning direction for one spindle only.
Since several spindles may be programmed in a block, it is possible to apply the turning
direction just to one of them. The rest of the spindles will turn in their active direction.
M19.POS.S S{pos} S{pos}
M19.NEG.S S{pos} S{pos}
POS Positioning in the positive direction
NEG Positioning in the negative direction
S{pos} Spindle to be oriented and positioning angle.
M19.NEG S120 S1=50
(The negative direction is applied to spindle "S" and "S1")
M19.POS S120 S1=50
(The positive direction is applied to spindle "S" and "S1")
POS.S Spindle that orients in the positive direction.
NEG.S Spindle that orients in the negative direction.
S{pos} Spindle to be oriented and positioning angle.
M19.NEG.S1 S1=100 S34.75
(The negative direction is applied to spindle "S1")