Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Upcoming SlideShare
What to Upload to SlideShare
Next
Download to read offline and view in fullscreen.

Share

G & m code

Download to read offline

G-code and M code

Related Audiobooks

Free with a 30 day trial from Scribd

See all

G & m code

  1. 1. G & M CodeG & M Code
  2. 2. G Code
  3. 3.   
  4. 4. APT CAD-CAM
  5. 5. Automatic manual Edit
  6. 6.  G Code  APT language
  7. 7. G & M Code G Code
  8. 8. G & M Code O N G M F Srpm ,D0,…, D7 P0,…, P7 T L
  9. 9. G & M Code O0519 N0010 G91 G80 G49 G40 G00 T01 N0020 T02 M01 N0030 G90 G54 G00 X5.44 Y1.95 S500 N0040 G43 Z0.1 D01 N0300 T03 M06 N0310 G90 G54 G00 X0.9 Y-1.5 S1300 N1000 M30
  10. 10. G & M Code N0100 G01 G42 X1.0 Y7.1 F10.0 S500 M03 D01
  11. 11. Group 0 G00 : Rapid traverse G01 : Linear interpolation G02 : Circular interpolation clockwise G03 : Circular interpolation counterclockwise G04 : Dwell G72 : Defining circular boring pattern G74 : Defining rectangular boring pattern G81 : Drilling, centering G82 : Drilling, spot-facing G83 : Deep-hole drilling with retraction G84 : Tapping G86 : Deep-hole drilling with chip breaking G87 : Rectangular pocket milling cycle G88 : Circular pocket milling cycle G89 : Slot milling cycle
  12. 12. Group 2 G94 : Feed in mm/min or 0.01 inch/min G95 : Feed in um/rev or 0.0001 inch/rev Group 3 G53 : Cancellation of offsets 1, 2 G54 : Call-up of offset 1 G55 : Call-up of offset 2 Group 4 G92 : Set offset 5 Group 5 G56 : Cancellation of offsets 3, 4, 5 G57 : Call-up of offset 3 G58 : Call-up of offset 4 G59 : Call-up of offset 5 Group 6 G25 : Subroutine call-up G27 : Unconditional jump Group 7 G70 : Measurements in inches G71 : Measurements in mm
  13. 13. Group 8 G40 : Cancellation of the tool path compensation G41 : Cutter path compensation left G42 : Cutter path compensation right Group 9 G17 : 1st axis switching G18 : 2nd axis switching G19 : 3rd axis switching G20 : 4th axis switching G21 : 5th axis switching G22 : 6th axis switching Group 11 G98 : Withdrawal to starting plane G99 : Withdrawal to withdrawal plane Group 12 G73 : Call-up circular boring pattern G74 : Call-up rectangular boring pattern
  14. 14. Group 0 M03 : Spindle ON in clockwise direction M04 : Spindle ON in counterclockwise direction M05 : Spindle stop M19 : Spindle precise stop Group 1 M38 : Precise stop ON M39 : Precise stop OFF Group 2 M00 : Programmed stop M17 : Subroutine end M30 : Program end with return to program start Group 3 M08 : Coolant ON M09 : Coolant OFF Group 8 M50 : Cancellation of the direction logic with bidirectional tool turret M51 : Selection of the direction logic with bidirectional tool turret Group 10 M90 : Cancellation of the mirroring function M91 : Mirroring on the X-axis M92 : Mirroring on the Y-axis M93 : Mirroring on the Z-axis
  15. 15. G & M Code: notes OO13 NN0010 M30 G Code(M Code) G Code/ M Code X, Y, Z, U, V, W I, J, K)P, D(…,
  16. 16. G & M Code: deactivation )G/M(G40RESET. N 0100 G00 X -20. Y 5. Z 40 . N 0110 G00 X 10. Y 5. Z 5. N 0120 G01 X -20. Y 5. Z -5. G00 ACTIVE G00 Deactivated by G01
  17. 17. O 12 N0000 N0020 ………………………..G54 N0030 …………………………G57 N0040 ………………………….M30 _______________________________________ O 20 N0000 N0100 ………………………G00 G & M Code: deactivation G54 & G57 are still active
  18. 18. O 12 N0000 . N0100 G00 X1 Y1 Z1 N0200 ………………………….M30 O 20 N0000 N0100 X2 Y2 N0200 G02 X2 Y2 G02 is deactivated now by G02 G & M Code: deactivation G00 is still active
  19. 19. G & M Code: deactivation/skip  G92RESET  N0090 G00 X20. Y25. W30. N0100 /…………………….. Block to be skipped N0100 / V
  20. 20. initialization       
  21. 21. 9
  22. 22. G70mmG71
  23. 23. T 01 10 N0100 T02 02 . N0400 G00…….. OR N0400 G00 X… Y… Z… T0202 Tool number Tool compensation number 01 - 10 01 - 99 G00
  24. 24. Edit length compensation = H – H1 = Z
  25. 25.  N0001 F300.  N0002 S500  N0005 M03 clock wise direction OR N0005 M04 counter clock wise direction
  26. 26. •G00/G01 •35
  27. 27. N0020 G25 L01 10 L01 G00 X… Y… G81……………
  28. 28. N0020 G27 L01 N0001 G00 X… Y… G81……………
  29. 29. G02/G03
  30. 30. G02/G03
  31. 31. G72 )1()4()4()3).(4()3).(4()3).(4()4( 7300//72 DDDPVYUXGN ±±±
  32. 32. G73 N…. G73 G72G73
  33. 33. G74 )1()4()3).(4( )4()3).(4()3).(4()3).(4()4( 711 00//74 DDP DPVYUXGN ± ±±±
  34. 34. G75 N…. G75 G74G75
  35. 35. G81 )3).(4()3).(4()3).(4()3).(4()4( 4/3///81 ±±±± PPWZVYUXGN
  36. 36. G82 )4()5()3).(4()3).(4()3).(4()4( 4///82 FDWZVYUXGN ±±±
  37. 37. G83 )4()7()5()5( )3).(4()3).(4()3).(4()3).(4()4( 653 4/3///83 FDDD PPWZVYUXGN ±±±±
  38. 38. G84 )4()3).(4()3).(4()3).(4()3).(4()4( 4/3///84 FPPWZVYUXGN ±±±±
  39. 39. G86 )4()7()3()5( )3).(4()3).(4()3).(4()3).(4()4( 653 4/3///86 FDDD PPWZVYUXGN ±±±±
  40. 40. G87 )7()2()5()3).(4()3).(4( )3).(4()3).(4()3).(4()3).(4()4( 75310 4/3///87 DDDPP PPWZVYUXGN ±±±±
  41. 41. G88 )4()1()1()1()5()5( )3).(4()3).(4()3).(4()3).(4()3).(4()4( 75432 4/31///88 FDDDDD PPPWZVYUXGN ±±±±
  42. 42. G89 )4()1()1()1()5()4( )3).(4()3).(4()3).(4()3).(4()3).(4()3).(4()4( 75432 4/310///89 FDDDDD PPPPWZVYUXGN ±±±±±±
  43. 43. 1.Power on 2.Edit 3. 4.Automatic 5.RESET 6. 7.
  44. 44. cnc , nc machine 
  • NaveenChandar11

    Feb. 15, 2020
  • kudipudivenkatalavanya

    Aug. 13, 2019
  • WilliamCombs3

    May. 11, 2019
  • RohitRG1

    Mar. 16, 2019
  • LOKESHTOMAR6

    Dec. 8, 2018
  • RonakShekhawat

    Nov. 17, 2018

G-code and M code

Views

Total views

1,092

On Slideshare

0

From embeds

0

Number of embeds

0

Actions

Downloads

23

Shares

0

Comments

0

Likes

6

×