cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

gpost: no peck value generated by my deep drill cycle

ptc-2102757
1-Newbie

gpost: no peck value generated by my deep drill cycle

Hi all,

Expert Machinist (WF3 - Date code M190):

When I specify "Deep" for a drill in the Drilling Strategy window, the Peck Depth shows up under "Cycle Options" in the Drilling Properties window, but does not code correctly - I only get "Q0" in the g-code. Also I need to force a "G90" in the XY positioning move that is prior to the G43 line, because there is a G91 used prior to the tool change.

How can Ifix these two issues? I attached my FIL file for reference.

Sample code:

N245 (3/8 JOBBERS DRILL)
N250 T2
N255 M6
N260 T3
N265 S713 M3
N270 G0 X23.5 Y-1. <---*** NEED G90 ***
N275 G43 Z1. H2
N280 G83 G98 Z-1.1127 R.1 Q0 F5.256 <---*** NO Q VALUE ***
N285 X12.5
N290 G80
N295 G00 M09
N300 G91 G28 Z0. M05
N305 M01

Thanks in advance for any help with this.

Regards,

Chris


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
3 REPLIES 3

Isolved the "Peck" problem by going into the MCD file and editing the formats to the correct settings.

I stillhelp with forcing the "G90" on my approach moves as per the original post. Can anyone suggest some FIL code to do this?

Regards,

Chris



In Reply to Chris Kocourek:

Hi all,

Expert Machinist (WF3 - Date code M190):

When I specify "Deep" for a drill in the Drilling Strategy window, the Peck Depth shows up under "Cycle Options" in the Drilling Properties window, but does not code correctly - I only get "Q0" in the g-code. Also I need to force a "G90" in the XY positioning move that is prior to the G43 line, because there is a G91 used prior to the tool change.

How can Ifix these two issues? I attached my FIL file for reference.

Sample code:

N245 (3/8 JOBBERS DRILL)
N250 T2
N255 M6
N260 T3
N265 S713 M3
N270 G0 X23.5 Y-1. <---*** NEED G90 ***
N275 G43 Z1. H2
N280 G83 G98 Z-1.1127 R.1 Q0 F5.256 <---*** NO Q VALUE ***
N285 X12.5
N290 G80
N295 G00 M09
N300 G91 G28 Z0. M05
N305 M01

Thanks in advance for any help with this.

Regards,

Chris

Chris,

Try adding these two lines to the end of the LOADTL section:

REPEAT/OFF
REPEAT/24,25,26,7,90,ALL $$ Output G90 on the next X, Y or Z

Fred


_____

Fred,

Thank you for your reply. I was studying an FIL tutorial and found some info on inserting G91/G90.

If I understand the concept correctly, this modified solution should work for forcing either a G90 or G91:

REPEAT/24,25,26,7,POSTF(1,1,534),ALL

I tested it and am getting the same (good) results that your solution provided.

-Chris



In Reply to Fred Nemecek:
Chris,

Try adding these two lines to the end of the LOADTL section:

REPEAT/OFF
REPEAT/24,25,26,7,90,ALL $$ Output G90 on the next X, Y or Z

Fred
Top Tags