Hello Guest it is March 19, 2024, 06:04:27 AM

Author Topic: problems after g76 in turn  (Read 9277 times)

0 Members and 1 Guest are viewing this topic.

problems after g76 in turn
« on: September 16, 2008, 09:45:01 AM »
After I run the thread cycle, g76 , on the lathe in mach turn the machine will no longer make any moves at any speeds other than the rapid traverse speed.  All g1 inputs run at full rapid traverse speed (200IPM) . Not sure how to reset/clear the condition other than rebooting mach .  I thought the g80 at the beginning of the next program should clear it but no luck . I am sure I am missing something simple. Thanks

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: problems after g76 in turn
« Reply #1 on: September 16, 2008, 09:58:06 AM »
Is this with the 008 version?

Hood
Re: problems after g76 in turn
« Reply #2 on: September 16, 2008, 10:00:30 AM »
Its happening on all three of my lathes , two of which are running 2.64 and 2.57
Re: problems after g76 in turn
« Reply #3 on: September 16, 2008, 10:58:44 AM »
RT,
There maybe should be a G94 in the begining. G76 uses G95 and it may still be in effect.
RC
Re: problems after g76 in turn
« Reply #4 on: September 16, 2008, 12:37:04 PM »
I have the following at the begining

G18 G40 G49 G90 G94 G80
Re: problems after g76 in turn
« Reply #5 on: September 16, 2008, 12:59:15 PM »
Might check that it is actually in G94 on the diag. screen.
Could put G94 in the line right after the G76.
RC

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: problems after g76 in turn
« Reply #6 on: September 16, 2008, 01:23:34 PM »
Can you attach a sample of the code and i will test it out on the lathe tomorrow.
Hood
Re: problems after g76 in turn
« Reply #7 on: September 16, 2008, 07:40:35 PM »
Here is the basic code I use to cut 20 tpi internal thread in 1.5 ID 4130 tubing.


G0 G40 G18 G80 G50 G90
G00 z4
x4
T1010M6
G00  X0.77
G00 Z0.1
G00 X0.745
M03 S200
M08
g4p2
G76 X0.778 Z-1.05 Q2 P0.05 J0.003 L45 H0.002 I29 C0.025 B0.0001 T0
M9
M5
M30
« Last Edit: September 16, 2008, 07:48:03 PM by panaceabeachbum »
Re: problems after g76 in turn
« Reply #8 on: September 16, 2008, 07:50:31 PM »
Other than the position before tool change this is the code straight out of the  wizard in Mach ,  It runs fine but in all the machines I cant seem to call out the speed in anything run after a g76 without rebooting mach . I can run the same code as above hundreds of times a day with no problem , but if I type in a G01 F** after a g76 it runs everything at rapid transit speeds , which gets quite exciting on the machine that will run 600IPM . Any programs run after a g76 all operate at rapid speeds regardless of the speeds called out in the program.

The following is the first line of the code I need to run after the g76 and I thought it had the proper gcode to cancell the canned cycle

G18 G40 G49 G90 G94 G80

After the g76 I am just running a basic turn cycle generated in the turn wizard
Re: problems after g76 in turn
« Reply #9 on: September 16, 2008, 07:53:05 PM »
In this code G95 is implemented in the G76 cycle. It is modal. It needs a G94 to go back to units per min. unless your G1 moves are IN G95 which is in. per rev.
What are your other G1's in...G95 or G94 ?
I'm confusing me,
RC
« Last Edit: September 16, 2008, 07:55:33 PM by Overloaded »