M-CODE FOR MILLING
M-CODE | FUNCTION | DESCRIPTION |
---|---|---|
M00 CODE | PROGRAM STOP | WHEN THE M00 CODE READ BY THE CONTROLLER IN A BLOCK, THEN IT HALTS THE PROGRAM. YOU HAVE TO PRESS(CYCLE START) KEY TO CONTINUE THE PROGRAM. |
M01 CODE | OPTIONAL STOP | THE M01 CODE IS PERFORM SAME FUNCTION AS M00 CODE, EXCEPT THE STOP BUTTON IS ACTIVATED OR NOT. IF THE STOP KEY IS PRESSED, THEN IT HALTS THE PROGRAM. OTHERWISE IT ISN'T STOP THE PROGRAM. |
M02 CODE | PROGRAM RESET | THIS CODE IS INICIATE THE END OF PROGRAM.IT'S SIMILARLLY ACTS AS M05. |
M03 CODE | SPINDLE CLOCKWISE | THE CODE IS USED TO ROTATE SPINDLE IN CLOCKWISE POSITION. THE CLOCKWISE ROTATION IS DETERMINED BY VIEWING FROM THE BACK OF THE THE MACHINE HEADSTOCK, ALONG THE Z AXIS TOWARDS THE TAIL STOCK.THE SPINDLE SPEED IS DENOTED BY S. THE SPINDLE SPEED(S) MUST BE GIVEN WITH M03 CODE. |
M04 CODE | SPINDLE ANTI- CLOCKWISE | M04 CODE IS SIMILLAR AS M03 CODE. BUT ONLY DIFFERENCE THAT THE SPINDLE ROTATES IN THE ANTI-CLOCKWISE POSITION. |
M05 CODE | SPINDLE STOP | TO STOP THE SPINDLE ROTATION AT ANY PROGRAM BLOCK. |
M06 CODE | AUTOMATIC TOOL CHANGER | THIS CODE LINK THE DESIRED TOOL WITH THE SPINDLE. TOOL(T)IS AUTOMATICALLY PICKED UP FROM THE TURRET AND FIT THIS TOOL IN THE SPINDLE. IT'S ALSO USED TO REMOVE TOOL FROM THE SPINDLE.M06T01; T01=TOOL NUMBER |
M07 CODE | MIST COOLANT ON | WHILE THE CUTTING IS IN PROCESS WE USE THE COOLANT TO COOL DOWN OUR TOOL. THIS CODE SWITCH ON THE COOLANT PUMP. SO IT SPREAD THE MIST COOLANT ON TOOL. |
M08 CODE | FLOOD COOLANT ON | IT'S SAME AS M07 CODE. BUT THIS CODE USED TO OPEN FULL THROTTLE OF THE COOLANT PUMP. SO IT SPREAD THE COOLANT ON THE TOOL WITH HIGHER AMOUNT. |
M09 CODE | COOLANT OFF | THIS CODE IS USED TO SWITCH OFF THE COOLANT PUMP. |
M10 CODE | VICE/WORK CLAMP OPEN | THIS CODE IS USED TO CLAMP THE WORKPIECE. THIS IS AN AUTOMATIC PROCEDURE. THIS COMMAND WORKS ON SEVERAL MACHINES. |
M11 CODE | VICE/WORK CLAMP CLOSE | THIS CODE IS USED TO UNCLAMP WORKPIECE FROM CLAMP OR VISE. |
M13 CODE | SINDLE CLOCKWISE AND COOLANT ON | THIS CODE IS THE COMBINATION OF THE M03 AND M08 CODE. IN THIS CODE THE SPINDLE IS ROTATES IN CLOCKWISE DIRECTION AS WELL AS COOLANT PUMP IS ON. |
M14 CODE | SPINDLE ANTI-CLOCKWISE AND COOLANT ON | THE FUNCTION OF THIS CODE IS SAME AS WELL AS M13 CODE. BUT THE SPINDLE ROTATES IN ANTI-CLOCKWISE DIRECTION. |
M30 CODE | PROGRAM STOP AND REWIND | THIS CODE STOP THE RUNNING PROGRAM. YOU CAN RESET THIS CODE TO THE ANY BLOCK NUMBER.
FOR EXAMPLE:- M30 P140; NOW THE PROGRAM IS END AND RESET TO THE 140 BLOCK NUMBER. |
M38 CODE | MACHINE DOOR OPEN | THIS CODE IS USED TO OPEN THE DOOR. |
M39 CODE | MACHINE DOOR CLOSE | THIS CODE IS USED TO CLOSE THE DOOR. |
M98 CODE | SUB-PROGRAM CALL | TO JUMP THE MAIN PROGRAM TO THE SUB PROGRAM. |
M99 CODE | SUB-PROGRAM END AND RETURN | WHEN YOU HAVE DONE WITH YOUR SUB-PROGRAM. THIS PROGRAM IS USED TO JUMP TO THE MAIN PROGRAM.M99 P0099; M99-RETURN FROM SUB-PROGRAM, P0099- PROGRAM NAME. |
M-CODE FOR MILLING
Reviewed by Avtar Jassal
on
November 10, 2018
Rating:
No comments: