M functions (M..)

M00

Programmed stop

M01

Optional stop

M02

Program end

M03

Spindle rotation clockwise (cw)

 

 

M04

Spindle rotation counter-clockwise (ccw)

 

 

M05

Stop spindle

 

 

M06

Calling a tool change program

M17

Subroutine end

M19

Positioning spindle

 

 

M29

Subroutine end

M30

Program end

M40 - 45

Spindle gear change