Skip to main content

G-CODES used in cnc

1. G00 - Rapid move (not cutting)
2. G01 - Linear move
3. G02 - Clockwise circular motion
4. G03 - Counterclockwise circular motion
5. G04 - Dwell
6. G05 - Pause (for operator intervention)
7. G08 - Acceleration
8. G09 - Deceleration
9. G17 - x-y plane for circular interpolation
10. G18 - z-x plane for circular interpolation
11. G19 - y-z plane for circular interpolation
12. G20 - turning cycle or inch data specification
13. G21 - thread cutting cycle or metric data specification
14. G24 - face turning cycle
15. G25 - wait for input #1 to go low (Prolight Mill)
16. G26 - wait for input #1 to go high (Prolight Mill)
17. G28 - return to reference point
18. G29 - return from reference point
19. G31 - Stop on input (INROB1 is high) (Prolight Mill)
20. G33-35 - thread cutting functions (Emco Lathe)
21. G35 - wait for input #2 to go low (Prolight Mill)
22. G36 - wait for input #2 to go high (Prolight Mill)
23. G40 - cutter compensation cancel
24. G41 - cutter compensation to the left
25. G42 - cutter compensation to the right
26. G43 - tool length compensation, positive
27. G44 - tool length compensation, negative
28. G50 - Preset position
29. G70 - set inch based units or finishing cycle
30. G71 - set metric units or stock removal
31. G72 - indicate finishing cycle (EMCO Lathe)
32. G72 - 3D circular interpolation clockwise (Prolight Mill)
33. G73 - turning cycle contour (EMCO Lathe)
34. G73 - 3D circular interpolation counter clockwise (Prolight Mill)
35. G74 - facing cycle contour (Emco Lathe)
36. G74.1 - disable 360 deg arcs (Prolight Mill)
37. G75 - pattern repeating (Emco Lathe)
38. G75.1 - enable 360 degree arcs (Prolight Mill)
39. G76 - deep hole drilling, cut cycle in z-axis
40. G77 - cut-in cycle in x-axis
41. G78 - multiple threading cycle
42. G80 - fixed cycle cancel
43. G81-89 - fixed cycles specified by machine tool manufacturers
44. G81 - drilling cycle (Prolight Mill)
45. G82 - straight drilling cycle with dwell (Prolight Mill)
46. G83 - drilling cycle (EMCO Lathe)
47. G83 - peck drilling cycle (Prolight Mill)
48. G84 - taping cycle (EMCO Lathe)
49. G85 - reaming cycle (EMCO Lathe)
50. G85 - boring cycle (Prolight mill)
51. G86 - boring with spindle off and dwell cycle (Prolight Mill)
52. G89 - boring cycle with dwell (Prolight Mill)
53. G90 - absolute dimension program
54. G91 - incremental dimensions
55. G92 - Spindle speed limit
56. G93 - Coordinate system setting
57. G94 - Feed rate in ipm (EMCO Lathe)
58. G95 - Feed rate in ipr (EMCO Lathe)
59. G96 - Surface cutting speed (EMCO Lathe)
60. G97 - Rotational speed rpm (EMCO Lathe)
61. G98 - withdraw the tool to the starting point or feed per minute
62. G99 - withdraw the tool to a safe plane or feed per revolution
63. G101 - Spline interpolation (Prolight Mill)


Popular posts from this blog

esprit software specifications

ESPRIT programming system is one of your DP Technology, a world leader in CAD / CAM software.For twenty years, DP Technology has an established position in the engineering industry, which is due to continuous development and use of the benefits of NC control systems.ESPRIT uses more than twenty years of experience in programming in the language of the ISO command and knowledge of machines working in the CNC system and its tools.DP Technology is investing 20% of its revenues in research and development.This ensures that the company always keep the leading position among the world's leading manufacturers of CAD / CAM.ESPRIT is an optimal system for operators and programmers looking for a friendly CAM system.It allows the programming of processing: milling (3, 4 and 5 axis)machine tools electroeroding WEDM wire.The program has a friendly Windows ® interface. The result is that the service and learning is easy and pleasant, often intuitive.The time needed to deal with the environ…

Multi cut threading macro program example using G76

Multi cut threading macro program example using G76

Custom Macro – Using variables for the Programming :

Ideal application for the use of Variable programming (i.e. Custom Macro Programming) on a CNC Lathe :

As such the usage is covering very vast application area. You name it and it can be coded using macros. But, by and large following are the core application areas :

1) Threading applications like variable lead threading, Multi start threading,

Square and Trapezoidal threading, circular form non-standard type

threading ;

2) Multi-start worm cutting ;

3) Face and radial grooving of non-standard type;

4) Design one’ s own cycle of any type.

Example : Carrying out 4 start threading of the size – M16 x 2.0 mm pitch. Write a custom Macro “A” Program for the same. Use Multi-cut threading cycle – G76. Use following data :

Data :

i) O. D. = 15.8 mm
ii) δ1 = 30.0 mm
iii) δ2 = 5.0 mm
iv) 1st cut depth = 0.3 mm
v) Lead = Pitch x no. of starts = 2 x 4…

desktop milling machine

There is an interesting product for hobbyists and cnc students "a desktop milling machine" listed in portable cnc

Freezone jobs