Chapter 7
127
UM10350_PCNC770_Manual_0916A
Programming
• The current moon mode is set to G01 (like G01)
• Coolant is turned o (like M09)
No more lines of code in the le are executed aer the M02 or M30 command is executed. Pressing
Cycle Start starts the program back at the beginning of the le.
7.7.2 Spindle Control – M03, M04 and M05
To start the spindle turning clockwise (forward) at the currently programmed speed, program: M03
To start the spindle turning counterclockwise at the currently programmed speed, program: M04
The speed is programmed by the S word.
To stop the spindle from turning, program: M05
It is OK to use M03 or M04 if the spindle speed is set to zero; if this is done (or if the speed override
switch is enabled and set to zero), the spindle won’t start turning. If later the spindle speed is set
above zero (or the override switch is turned up), the spindle starts turning. It is permied to use
M03 or M04 when the spindle is already turning or to use M05 when the spindle is already stopped.
7.7.3 Tool Change – M06
To execute a tool change sequence, program: M06
M06 behaves dierently depending on whether or not a mill is equipped with an ATC (automac
tool changer).
Mill is not equipped with an ATC:
M06 commands the mill, stops the spindle, pauses program execution,
and prompts operator to change tools by ashing Tool Change LED.
The program resumes after the operator presses the Cycle Start
button to conrm that the tool has been changed.
Mill is equipped with an ATC:
If the requested tool (T number) is assigned to the carousel, M06
initiates an automatic tool change.
If the tool is not assigned to the carousel, the operator is prompted
to manually change the tool and press Cycle Start to conrm the tool
change. This resumes the program.
You are strongly advised to put the T~, the M06 and the G43 H~ on one line (block) of code. See G43
for more details.
Example: N191 M06 T3 G43 H3
7.7.4 Coolant Control – M07, M08 and M09
To turn coolant on, program: M07
To turn ood coolant on, program: M08