G98 Problem

If you think you've found a bug post it here.

G98 Problem

Postby rmtucker » Wed Aug 21, 2019 1:20 pm

I can not get the following code to work at all with G98.
It works ok with G99 and Rapids from hole to hole at the R3.0 plane.
It drills the first hole as required but every hole after that feeds from the initial plane of Z50 instead of Rapid down to R plane of R3.0
Also tried G98 on same line as G81 with the same results.
Using development version of Uccnc V1.2111 with a UC100 Controller.

Code: Select all
N10 ( PRODUCED 21 AUG 19)
N12 ( CYCLE TIME = 1.028 MINS APPROX )
N14 ( TOTAL NO OF TOOLS = 1 )
N16 ( TOOL 1 = DRILL - 5MM)     
N18 G17 G90 G40 G80 G64
N20 G0 G53 Z-10. M09
N22 T1 M6 (****** DRILL - 5MM ******)
N24 G0 G54 X50. Y0. S5090 M3
N26 G43 H1
N28 G0 Z50.
N30 Z50.
N31 G98
N32 G81 Z-5. R3. F100
N34 X25. Y43.301
N36 X-25. Y43.301
N38 X-50. Y0.
N40 X-25. Y-43.301
N42 X25. Y-43.301
N44 G80
N46 G0 Z50.
N48 M5
N50 G0 G53 Z-10. M9
N52 G0 G53 X10. Y-10.
N54 M30
rmtucker
 
Posts: 50
Joined: Wed Aug 21, 2019 10:14 am

Re: G98 Problem

Postby Dan911 » Wed Aug 21, 2019 11:33 pm

There was a discussion about this a while back, with a search you should find. Problem is retract is not model, so for a canned cycle you need to adjust PP to add the retract for each hole.
Example below...
Code: Select all
N30 Z50.
N31 G98
N32 G81 Z-5. R3. F100
N34 X25. Y43.301
N36  R3 X-25. Y43.301
N38  R3 X-50. Y0.
N40  R3 X-25. Y-43.301
N42  R3 X25. Y-43.301
N44 G80
N46 G0 Z50.

Dan911
 
Posts: 613
Joined: Mon Oct 31, 2016 1:22 am
Location: USA

Re: G98 Problem

Postby rmtucker » Wed Aug 21, 2019 11:41 pm

Dan911 wrote:There was a discussion about this a while back, with a search you should find. Problem is retract is not model, so for a canned cycle you need to adjust PP to add the retract for each hole.
Example below...
Code: Select all
N30 Z50.
N31 G98
N32 G81 Z-5. R3. F100
N34 X25. Y43.301
N36  R3 X-25. Y43.301
N38  R3 X-50. Y0.
N40  R3 X-25. Y-43.301
N42  R3 X25. Y-43.301
N44 G80
N46 G0 Z50.


Yeah i read the threads but find it hard to believe that it has not been fixed since 2017.
At least you have given me a workaround but that code is nothing like i have ever seen on 40 years of working on Cnc machines.
The R word should be Modal???
My Alphacam post for Uccnc is going to be a whole lot different to the Norm. ;)
rmtucker
 
Posts: 50
Joined: Wed Aug 21, 2019 10:14 am

Re: G98 Problem

Postby Dan911 » Thu Aug 22, 2019 12:33 am

It's a 1-2 line modification in Alphacam PP, don't remember offhand. If needed LMK, it doesn't have any affect with Mach3 also. It hasn't been any other complaints about it since 2017 so possibly now cncdrive will take another look.
Dan911
 
Posts: 613
Joined: Mon Oct 31, 2016 1:22 am
Location: USA

Re: G98 Problem

Postby cncdrive » Fri Aug 23, 2019 2:34 pm

Yes, we will check it out, but will need some time.
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm


Return to Report a bug

Who is online

Users browsing this forum: No registered users and 1 guest