G04 CODE FOR CNC MILLING

STUDY ABOUT G04 CODE FOR CNC MILLING WITH FANUC CONTROLLER.


TODAY WE ARE GOING TO STUDY ABOUT THE G04 CODE.

THE MAIN FUNCTION OF G04 CODE IS GIVE DELAY TO OUR PROGRAM. FOR EXAMPLE:- WE WANT TO DRILL A HOLE IN A WORKPIECE. G82 CODE IS USED TO DRILL IN A WORKPIECE. NOW WE WANT TO GIVE DELAY TO OUR PROGRAM, SO WE USE G04 CODE  TO GIVE DELAY AT THE BOTTOM OF HOLE. THE MAIN FUNCTION TO USE THIS CODE IS TO GIVE GOOD FINISHING TO THE HOLE. AS MORE TIME TOOL REVOLVES IN THE HOLE, IT GIVES THE NICE FINISHING TO OUR HOLE. 

G04 P1000 ( P1000= 1 SEC) AS PER FANUC CONTROLLER.

G17G21G54G90            SAFETY BLOCK
M08                                COOLANT ON
M06T01                         TOOL CHANGE(FLAT DRILL DIA 6MM) 
M03S12000                   SPINDLE ON CLOCKWISE
G82Z-5R3P3000F10    RAPID DRILLING
X50Y60
X20Y30
G80X0Y0Z15                FIXED CYCLE CANCEL
G28X0Y0Z0                   RETURN TO REFERENCE 
M09                                COOLANT OFF
M05                                SPINDLE OFF
M30                                PROGRAM END AND RESET
G04 CODE FOR CNC MILLING G04 CODE FOR CNC MILLING Reviewed by Avtar Jassal on November 10, 2018 Rating: 5

No comments:

Powered by Blogger.