Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

Drilling multiple points


Andy
 Share

Recommended Posts

I recently tried to window points for drilling.

The points were at different Z depths.

Backplot drilled the holes to different (correct) depths. I used incremental for depth.

However when I posted the NC I got.

 

G83 X....Y.....Z-1.0 etc

X...Y...

X...Y...

X...Y...

G80

 

So the holes were all drilled to the same depth Z-1.0 (The first points' Z)

 

Does anyone know where in the post I can make a change to get:

Example:

 

G83 X Y Z1

G83 X Y Z2

G83 X Y Z3

G83 X Y Z4

G80

 

I am using Fanuc post, modified somewhat for Fadal

Thanks,

Andy

Link to comment
Share on other sites

Andy,

 

Looks like you are missing the 'Z' depth on the 2nd thru Nth drilled location.

You should not have to output the 'G83' for each position on a Fadal.

 

In a post the 1st drilled point code output for a DRILL cycle is handled by -> PDRILL

The 1st drilled point code output for a PECK cycle is handled by -> PPECK

The 1st drilled point code output for a CHIP BREAK cycle is handled by -> PCHPBRK

and there is PTAP for tapping, etc...

 

All the subsequent drilled locations in the cycle are handled by the 'P?_2' postblocks ->

PDRILL_2, PPECK_2, PCHPBRK_2, etc...

 

You need to check the code in the PPECK_2 postblock.

Many times all that postblock does is call PDRILL_2

 

Example from an "old" post

--------------------------------------------------

pdrill_2 # Canned Drill Cycle

n, x, y

 

ppeck_2 # Canned Peck Drill Cycle

pdrill_2

--------------------------------------------------

 

You need to make it possible for the Z (drill depth) value to be output ->>

 

--------------------------------------------------

pdrill_2 # Canned Drill Cycle

n, x, y, depth

--------------------------------------------------

 

If you REALLY want the G83 X Y Z output for EVERY position you could do something like this ->

 

--------------------------------------------------pdrill_2 # Canned Drill Cycle

# Force EVERYTHING to output

n, *sgdrill , *x, *y, *depth

--------------------------------------------------

 

Roger

Link to comment
Share on other sites

Check out your post to see if you have this line (it works for us):

 

pzout #Z output

if absinc = zero, zabs, !zinc

else, zinc, !zabs

 

You will find it called out in "pdrill_2" --

 

pdrill_2 #Canned Drill Cycle, addt'l pts.

pdrlcommonb

pcan1, pbld, n, pxout, pyout, pzout, ...

 

Force the output with an asterisk.

Link to comment
Share on other sites

Andy , here is what i did,created few points diffrent depths then.

Used incrementl and posted this.

 

T1 M6 ( 1/4 DRILL )

G0 G90 E1 X1. Y1.5 S1069 M3

H1 D1 Z2.

M8

( OPERATION 1 TOOL-1 DRILL )

G98 G83 Z-1.3 R.1 Q.1 F4.3

X-2. Y1. Z-.3

X-3. Y.5 Z-1.3

X-2. Y-.5 Z-.8

X-.5 Y.5 Z-.3

X-1. Y2. Z-1.3

X0. Y1. Z-.8

X3. Y.5

X1. Y-.5 Z-1.3

X1.5 Y-1. Z-.3

X0. Y0. Z-.8

G80

 

Is this some what of what you are trying to get sir?

 

[ 02-14-2002, 12:13 AM: Message edited by: cadcam ]

Link to comment
Share on other sites

I posted a question similar to this topic. Jay, you have different Z depths, which I can do. Your R plane is .1, can you have multiple R planes?

Example:

G98 G83 Z-1.3 R-.9 Q.1 F4.3

X-2. Y1. Z-.3 R.1

X-3. Y.5 Z-1.3 R-.9

X-2. Y-.5 Z-.8 R-.4

X-.5 Y.5 Z-.3 R.1

X-1. Y2. Z-1.3 R-.9

X0. Y1. Z-.8 R-.4

X3. Y.5

X1. Y-.5 Z-1.3 R-.9

X1.5 Y-1. Z-.3 R.1

X0. Y0. Z-.8 R-.4

G80

 

This would drill the holes .3 deep with a .1 clearance to top of stock. I currently have to manually edit the R planes in or create a drill cycle for each R plane.

Thanks

Mark Monica

Link to comment
Share on other sites

Ok here is what eles i am able to post out with no post or code editeing:

 

T1 M6 ( 1/4 DRILL )

G0 G90 E1 X-1.5 Y-1. S1069 M3

H1 D1 Z1.

M8

G98 G83 Z-.3 R.15 Q.1 F4.3

G80

G0 X-1. Y-.5 Z1.

G98 G83 Z-.8 R-.35 Q.1 F4.3

G80

G0 X-.5 Y0. Z1.

G98 G83 Z-1.05 R-.6 Q.1 F4.3

G80

G0 X.5 Z1.

G98 G83 Z-.3 R.15 Q.1 F4.3

G80

G0 X1. Z1.

G98 G83 Z-.8 R-.35 Q.1 F4.3

G80

G0 X1.5 Z1.

G98 G83 Z-1.05 R-.6 Q.1 F4.3

G80

G0 X2.5 Y-.5 Z1.

G98 G83 Z-.8 R-.35 Q.1 F4.3

G80

G0 X3.5 Y-1.5 Z1.

G98 G83 Z-1.05 R-.6 Q.1 F4.3

G80

Link to comment
Share on other sites

Jay and Scott, thanks for the reply. Jay, yes I manually editted the code, I've gotten pretty good at it. Scott, when you set the R plane to incremental, you get code like Jay posted. I'm probably being picky, I don't like all the G80s and G83s. I don't know enough about the posts to try and get what I want. Agian, thanks for the reply

Link to comment
Share on other sites

Ok, I made a change to post. Simply added "depth" to the pdrill_2 line as Roger suggested and thoroughly tested it--Perfect.

Now I get:

G83 G98 X0. Y0. Z-1. R0.1 Q.0625 F5.1

N122 X1.1131 Y.0428 Z-1.5

N124 X2.2261 Y.107 Z-2.

N126 X-.0321 Y.9418 Z-.5

N128 X.6743 Y.8455

N130 X2.1726 Y1.1024

N132 X1.4127 Y.7813 Z-.6

N134 G80

Where line 126-130 were all the same depth as desired.

Thank you Roger, Jay, and all.

 

[ 02-14-2002, 02:08 PM: Message edited by: Andy ]

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...