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:

Incorrect Drill Fixed Cyle Output


chiefsr
 Share

Recommended Posts

I am trying to run a G81 on a Servo Impact II mini mill. It requires the following variables for this cycle:

C: Clear plane (absolute)

D: Depth of hole (negative incremental from T)

T: Top of hole (absolute)

 

What is get is the standard G81 Z__ R__ F__

 

I am trying to use the generic Fanuc mill post.

I have made these changes on the control definition page:

Arc center type (all instances): Delta start to center

Helix support: All planes supported

Mill Drill Cyles: only checked Simple, Peck, and Boring #1 as the spindle speed is a separate control.

 

I will need to fix G82, G83, G73, G85, and G89 as well, but I hope that whatever help I can get with 81 will also point me in the right direction with the others. These require B(dwell at bottom), I(peck increment), and P(peck clear increment).

 

Any help is greatly appreciated. Thanks in advance.

Link to comment
Share on other sites

Not sure if this will help, but here it is anyway.

 

This is a sample code for drilling on the Servo my jeweler friend has.

 

code:

 ( SAMPLE .CNC )              (SAMPLE DRILL PROGRAM FOR SERVO MACHINE)

( TOOL DIA. - .006 )

G90 G70 ( PROGRAM IS IN INCHES!! )

( S25000 ) (M3)

G0 G17 G40 G80 G90

G99

G0 G90 X0. Y0.

G0 G90 X0. Y0. Z.03 (MUST HAVE THIS LINE)

E5 F5.

G81 C0. T-.01 D-.001 (NO X OR Y VALUES HERE)

X.15 Y-.3 (NO Z VALUES HERE)

X-.143 Y.3429

X-.132 Y.3429

X-.1595 Y.3715

X-.154 Y.3619

X-.1485 Y.3715

X-.143 Y.3619

X-.1485 Y.3524

X-.1595 Y.3524

X-.1265 Y.3715

X-.1375 Y.3715

X-.132 Y.3619

X-.1265 Y.3524

X-.1375 Y.3524

G80

G0 Z1.

M5

G17 G80 G40 G90

M30

I have never been able to get the post (ver 9.1) to spit out proper drilling code. I always have to hand edit. Fortunately I rarely have to drill holes.

 

HTH

 

 

BTW - Welcome to the forum !!

 

.

Link to comment
Share on other sites

Trying to use the tosz variable, but am missing something. I simply want G81 C____ D____ T____ to show up.

 

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

fmt Q 2 peck1$ #First peck increment (positive)

fmt Q 2 shftdrl$ #Fine bore tool shift

fmt C 2 refht_a #Reference height

fmt C 2 refht_i #Reference height

fmt T 2 tosz #Top of Stock in Z

#-----------------------------------------------

pdrill$ #Canned Drill Cycle

pdrlcommonb

pcan1, pbld, n$, *sgdrlref, *sgdrill, pxout, pyout, pfzout,

prdrlout, dwell$, strcantext, e$, tosz, #*feed,

pcom_movea

#-----------------------------------------------

 

What have I done wrong?

Link to comment
Share on other sites

Using MPMaster, I was able to get an incremental (tosz_i) measurement for top of stock, but cannot get an absolute (tosz_a) to display. I have retract, TOS, and depth set to absolute in MasterCAM.

 

#----------------------------------------

fmt Q 2 peck1$ #First peck increment (positive)

fmt 2 peck2$ #Second or last peck (positive)

fmt 2 peckclr$ #Safety distance

fmt 2 retr$ #Retract height

fmt Q 2 shftdrl$ #Fine bore tool shift

fmt Z 2 zdrl$ #Depth of drill point

fmt T 2 tosz_a #Drilling top of stock

fmt T 2 tosz_i #Drilling top of stock

fmt N 4 n_tap_thds$ #Number of threads per inch (tpi) / Pitch (mm)

fmt F 2 pitch #Tap pitch (inches per thread)

fmt Z 2 initht_a #Initial height

fmt Z 2 initht_i #Initial height

fmt C 2 refht_a #Reference height

fmt C 2 refht_i #Reference height

#----------------------------------------

pdrill$ #Canned Drill Cycle

pdrlcommonb

pcan1, pbld, n$, *sgdrlref, *sgdrill, pdrlxy, pcout, pindexdrl,

prdrlout, tosz_a, pfzout, [if dwell$, *dwell$], strcantext, e$, #*feed

pcom_movea

#------------------------------------------

 

Results:

Using tosz_a:

N200 G99 G81 C25. Z-5.

 

Using tosz_i:

N200 G99 G81 C25. T-25. Z-5.

 

 

Anyone see where I messed up on this one?

Link to comment
Share on other sites

Is this a difficult change to make? I have been looking far and wide through every forum and MasterCAM Post literature I can get my hands on, but am coming up empty handed. This controller must be a oddity at best.

Does my issue make sense or have I not explained the issue well enough? Is there anything else I could describe?

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...