201
96-8000 Rev AC
May 2010
G
&
M
Codes
Settings
M
codeS
(M
iScellaneoUS
f
UnctionS
)
M Code Introduction
M-Codes are non axes-moving commands for the machine. The format for an
M code is the letter “M” followed by two numbers, for example M03.
Only one M code may be programmed per line of code. All M codes take effect
at the end of the block.
M00 Stop Program
The M00 code is used to stop a program. It stops the axes, spindle, turns off
the coolant (including Through Spindle Coolant). The next block (block after
the M00) will be highlighted when viewed in the program editor. Pressing Cycle
Start will continue program operation from the highlighted block.
M01 Optional Program Stop
M01 works the same as M00, except the Optional Stop feature must be on.
M02 Program End
The M02 code is used to end a program. Note that the most common way of
ending a program is with an M30.
M03 / M04 / M05 Spindle Commands
M03 turns spindle on in the forward direction
M04 turns spindle on in the reverse direction
M05 Stops the spindle
Spindle speed is controlled with an S address code, for example, S5000 will
command a spindle speed of 5000RPM.
NOTE: It is not recommended to run an M04 command with Through-
Spindle Coolant (TSC).
M06 Tool Change
The M06 code is used to change tools, for example M06 T12 this will put tool
12 into the spindle. If the spindle is running, the spindle and coolant (including
TSC) will be stopped by the M06 command.
M07 Shower Coolant
This M code activates the optional shower coolant pump. The pump is turned
off by M09, which also turns off standard coolant. The optional shower cool
-
ant is automatically turned off before a tool change or a pallet change, and it
will automatically restart after a tool change if it was ON prior to a tool change
sequence.
Содержание 96-8000
Страница 15: ...6 96 8000 Rev AC May 2010 Mill Warning Decals ...
Страница 16: ...7 96 8000 Rev AC May 2010 Safety Lathe Warning Decals ...
Страница 41: ...32 96 8000 Rev AC May 2010 ...
Страница 93: ...84 96 8000 Rev AC May 2010 ...
Страница 129: ...120 96 8000 Rev AC May 2010 ...
Страница 133: ...124 96 8000 Rev AC May 2010 ...
Страница 268: ......
Страница 269: ......