OPTIMUM
M A S C H I N E N - G E R M A N Y
M - code list, M functions
Version 1.1.6 dated 2014-10-16
Page 84
Original operating instructions
F150 | F310 | F410
GB
7
M - code list, M functions
The following code list are the manufacturer-spe-
cific M-codes of the machine.
Some M-codes are provided for an optional equip-
ment of the CNC machine and are only activated if
the CNC machine is equipped with this equipment.
S / O S = Standard O = Option
No.
Function
S / O
M00 Programmed
stop
S
M01 Optional
Stop
S
M02
End of program
S
M03
Starting the milling spindle in positive
direction (clockwise)
S
M04
Starting the milling spindle in nega-
tive direction (anti-clockwise)
S
M05
Stopping the milling spindle
S
M06
Automatic tool change
S
M07
Coolant through spindle ON
O
M08
Cooling lubricant pump ON
S
M09
Cooling lubricant pump OFF
M07/M12/M50 OFF
S
M10
The 4th axis clamp
S
M11
The 4th axis unclamp
S
M12
Chip wash down coolant 1 ON
O
M13
M14
M15 Open
front
door
O
M16 Close
front
door
O
M17
End of subroutine
S
M18
M19
Spindle stop in defined limit position
(0 degree)
S
M20
Program end with resetting (Reset)
M21
M22
M23
M24
Chip Conveyor CW ON
O
M25
Chip Conveyor CW OFF
O
M26
Workpiece clamp
S
M27
Workpiece unclamp
S
M28
M29
M30
Program end & Rewind
S
M31
Opening a lock
M32
M33
M34
M35
M36
M37
M38
M39
M40
Automatic Spindle Gear Change
( by S-Code )
S
M41
Spindle Gear Change to Stage 1
S
M42
Spindle Gear Change to Stage 2
S
M43
Spindle Gear Change to Stage 3
S
M44
Spindle Gear Change to Stage 4
S
M45
Spindle Gear Change to Stage 5
S
M46
M47
M48
M49
M50
Oil Mist / External Air Blower
O
M51
M52
M53
M54
M55
M56
M57
M58
M59
S / O S = Standard O = Option
No.
Function
S / O