![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| G-Code Programing Discuss G-code programing and problems here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
hi i need help on writting the G code for threading 1/2-8 2star acme. i understand that 4 thread per in and 180 degree apart. i can cut first star at 0 degree, but i don't know how to cut the second star at 180 degree cuase i don't know it's there a command for the okuma lathe tell to rotate 180 than cut the second star. |
|
#3
| ||||
| ||||
| When I've done this on Fanuc controls, I've changed the starting Z value by the pitch of the thread, in other words, first start, Z.1, second start Z.35 etc Hope this helps
__________________ Insanity "doing the same thing and expecting a different result" Mark www.mcoates.com |
|
#4
| |||
| |||
| Mark is right , its a two part threading cycle with a shift amount I used IGF on my Okuma for the thread you asked about and this is the code it generated NAT05 N0100 G00 X20 Z10 N0101 G97 S800 M42 M03 M08 N0102 X0.55 Z1.1 T050505 N0103 G71 X0.3376 Z0 H0.1624 D0.032 U0.0016 B29 F0.25 M22 M73 M32 N0104 G00 Z1.225 N0105 G71 X0.3376 Z0 H0.1624 D0.032 U0.0016 B29 F0.25 M22 M73 M32 N0106 M05 M09 N0107 G00 X20 Z10 T0500 N0108 M01 please note values will need to be adjusted for your needs but format should be close. Last edited by Zep; 04-11-2005 at 10:20 AM. |
|
#5
| |||
| |||
| G71 X.5 Z-1.0 B90 D.01 H.1 U.001 F.125 M33 VZSHZ=-.0625 G71 X.5 Z-1.0 B90 D.01 H.1 U.001 F.125 M33 vzshz=0 I run an Okuma Crown with osp7000l controls and this would work on my machine. vzshz is a variable z shift that moves the offsett what ever you make it equal.(-.0625 should make it 180 degrees from the first thread.) g71= thread cutting cycle x=start point of thread z=end point of thread b=angle of thread d= depth of cut h= thread height u=depth of cut for finish pass f=feed m33=in feed pattern(stagger) Make sure to set vzshz=0 after you thread or all of your offsets will be set back .0625. |
| Sponsored Links |
|
#6
| ||||
| ||||
| If you have the option... try a Q2 value on the end of the G71 cycle and hey presto you have a 2 start thread! ie... using the code from the above example... G71 X.5 Z-1.0 B90 D.01 H.1 U.001 F.125 M33 Q2 This works on our machines. Cheers Brian. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Okuma Lathe question | dartplayer1 | Machine Problems, Solutions , Wireless DNC, serial port | 15 | 08-11-2006 02:12 AM |
| OneCNC XR Series Lathe CAD/CAM Released: | OneCNC | Product Announcements & Manufacturer News | 0 | 03-07-2005 04:20 PM |
| Small lathe project, thread insert | impact | Employment Opportunity | 2 | 01-09-2005 05:43 PM |
| seeking thread cutting cncmini lathe | july_favre | General Metal Working Machines | 0 | 03-08-2004 03:19 PM |