Kode CNC
Kode CNC
sumber: http://www.4hiretek.com/gmcodes.html
M-CODE
Seperti halnya G-code, M-code juga memiliki 2 kelompok, dasar dan lanjutan:
M-code Dasar meliputi:
M02 - menghidupkan poros mesin (spindel on) berputar searah jarum jam (CW).
M03 - menghidupkan poros mesin (spindel on) berputar berlawanan arah jarum jam (CCW).
M05 - mematikan poros mesin (spindel off)
M30 - langkah terakhir (program end)
M-code Lanjutan meliputi:
M08 : Menghidupkan pendingin/coolant
M09 : Mematikan pendingin/coolant
Dll.
Berikut ini daftar M-code:
Untuk cnc Mill:
M00 - Program Stop
M01 - Optional Stop
M02 - Program End
M03 - Spindle Clockwise
M04 - Spindle Counter Clockwise
M05 - Spindle Stop
M06 - Tool Change
M07 - Thru Spindle Coolant ON
M08 - Flood Coolant ON
M09 - Coolant Off (all coolant)
M10 - Table Pallet Clamp
M11 - Table Pallet Unclamp
M12 - Shower Coolant On
M14 - Spindle Air Blow On
M15 - Spindle Air Blow Off
M16 - Air Blast / Tool Changer
M18 - Air Blast Off
M19 - Spindle Orientation
M29 - Rigid Tapping
M30 - End Program
M60 - Pallet Change
M61 - Load Pallet #1
M62 - Load Pallet #2
M98 - Sub Program Call
M99 - Sub Program Cancel