beautypg.com

Smithy CNC Mills User Manual

Page 40

background image

SmithyCNC Programmer’s Reference Manual:M Codes

SmithyCNC Programmer’s Reference Manual: M-Codes

3-4

it has been turned off by an M9.

The tool change may include axis motion while it is in progress. It is OK (but

not useful) to program a change to the tool already in the spindle. It is OK if

there is no tool in the selected slot; in that case, the spindle will be empty after

the tool change. If slot zero was last selected, there will definitely be no

tool in the spindle after a tool change.

3.4 M7, M8, M9: Coolant Control

To turn mist coolant on, program M7.

To turn flood coolant on, program M8.

To turn all coolant off, program M9.

It is always OK to use any of these commands,

regardless of what coolant is on or off.

3.5 M48, M49: Override Control

To enable the spindle speed and feedrate override switches, program M48. To

disable both switches, program M49. See Section [sub:Feed-Interaction] for

more details. It is OK to enable or disable the switches when they are already

enabled or disabled. These switches can also be toggledindividually using M50

and M51 as described in the sections [sec:M50:-Feed-Override] and [sec:M51:-

Spindle-Speed-Override-Control].

3.6 M50: Feed Override Control

To enable the feedrate override switch, program M50 or M50 P1. To disable the

switch program M50 P0. While disabled the feed override will have no influence,

and the motion will be executed at programmed feedrate.(unless there is an

adaptive feedrate override active).

3.7 M51: Spindle Speed Override Control

Speed-Override-Control>

To enable the spindle speed override switch, program M51 or M51 P1. To dis-

able the switch program M51 P0. While disabled the spindle speed override will

have no influence, and the spindle speed will have the exact

program specified value (using the S-word as described in [sub:S:-Set-Spindle]).