4. Additional data for operation
VMCTOPES8D51
4) M code
As the code for ON/OFF of auxiliary functions, they are classfied by function as follows and
differ from each other machine because of its specifications.
1. Function continue A : function valid until cancel or change in other block
2. Function continue B : Function valid only in the block
M-
CODE
FUNCTION
Function continue
REMARK
A
B
M 00
PROGRAM STOP
O
M 01
OPTIONAL BLOCK STOP
O
M 02
PROGRAM END
O
M 03
SPINDLE CLOCKWISE ROTATION
O
M 04
SPINDLE COUNTER CLOCKWISE ROTATION
O
M 05
SPINDEL ROTATION STOP
O
M 06
AUTOMATIC TOOL CHANGE
O
M 07
COOLANT 2 ON(THRU-THE COOLANT)
O
TSC/TTC
M 08
COOLANT 1 ON(FLOOD COOLANT)
O
M 09
COOLANT 1, 2 OFF
O
M 10
TABLE(A-AXIS) CLAMP
O
4Axis(TABLE)
M 11
TABLE(A-AXIS) UNCLAMP
O
4Axis(TABLE)
M 12
COOLANT 3 ON(SHOWER COOLANT)
O
M 13
COOLANT 4 ON(INTERMITTENT COOLANT)
O
M 14
COOLANT 5 ON & AIR BLOW 3 ON, COLLET AIR ON
O
M 15
COOLANT 3, 4, 5 OFF & AIR BLOW 3 OFF, COLLET AIR OFF
O
M 16
AIR BLOW 1 ON(AIR GUN)
O
M 17
SUB. program end
O
M 18
M 19
SPINDLE ORIENTATION
O
M 20
M 21
M 22
M 23
Program code
4 – 9