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:

haas drilling post


jbport
 Share

Recommended Posts

the post mods are not that hard. you will need to find out what I,J,K stand for. something like first peck, subsequent peck, min peck depth things like that. then the look for the variables in the post that support it. like peck1, peck2. these variables will need to be formatted to output correct code. then thay need to be placed in the correct post block for output. most likely it with be post block ppeck. your reseller should be able to help you with this.

Link to comment
Share on other sites

Here's what the post call looks like..

 

code:

pmisc1          #Deep Hole Cycle using I, J & K

pdrlcommonb

if peck2 > 0 & retr < peck2,

[

pcan1, pbld, n, *sgdrlref, *sgdrill, pfxout, pfyout, pfzout, pcout,

prdrlout, *peck2, *peckclr, *retr, dwell, *feed, strcantext, e

 

]

else,

[

"(INVALID PARAMETERS ENTERED FOR DEEP HOLE DRILL!)", e

"(CYCLE REPLACED WITH STANDARD G83 USING Q0.1)", e

pcan1, pbld, n, *sgdrlref, *sgdrill, pfxout, pfyout, pfzout, pcout,

prdrlout, "Q0.1", dwell, *feed, strcantext, e

]

pcom_movea

And here's the resultant NC code

 

code:

( OPERATION: 3   DRILL )

N39 ( OP 1 )

N40 ( DRILL CORNERS )

N41 T12 M06(T12: 1/2 DRILL)

(MAX-DEPTH | Z-4.7932)

N42(OP ID: 3)

N43 M03 S3667

N44 G00 G90 G54 X-4.95 Y1.6264 A0.

N45 G43 H12 Z1.

/ N46 M08

N47 Z.1

N48 G98 G83 X-4.95 Y1.6264 Z-4.7932 R.1 I.75 J.175 K.1 F17.6

N49 X-4.09 Y1.2302

N50 X-2.0839 Y.5

N51 X-5.3485 Y2.0279

N52 G80

N53 Z1.

N54 M09

N55 G90

N56 M01

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