M code and G code
G90
Absolute position mode. Work from program zero point
M01
Allows user to stop the machine until the cycle start button is pressed. When "optional stop" is enabled this command is ignored.
M00
Allows user to stop the machine until the cycle start button is pressed.Gives operator time to do something.
G49
Cancel tool lenth compensation
G53
Cancel work coordinate system.(WCS) Fixture offset.
G17
Cicular plane selection. XY plane
G03
Circular interpolation CCW. Circular movement. Model
G02
Circular interpolation CW. Circular movement. Model
G18
Circular plane selection. XZ plane
G19
Circular plane selection. YZ plane
G41
Cutter compensation Left
G42
Cutter compensation Right
G40
Cutter compensation. Cancel cutter compensation
G04
Dwell. Pause axis of motion for a specified period of time
G09
Exact stop check. To create sharp corners.
M06
Executes an automatic tool change.
G20
Inch
G91
Incremental positioning mode. Reference the next position from the current tool position
G01
Linear interpolation. Move in a straight path. Model.
G21
Metric
G00
Rapid traverse. Move at maximum feed rate to specified position
M05
Spindle off.
M04
Spindle on CCW
M03
Spindle on CW
G54-59
Spots to specify work coordinate systems. Caculates the distances from machine zero to program zero.
M30
Stops all program operation- including spindle and coolant
G43
Tool length compensation
M09
Turns off all coolant systems
M07
Turns on air mist coolant
M08
Turns on flood coolant
G28
Zero Return. Get away from tool, clamps, etc. Position for quick change table.