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:

index B output for custom drill cycle


HEAVY METAL
 Share

Recommended Posts

I have been working on this custom drill cycle. The code is how I want except I can't figure out how to make it output the B Axis  . It just spits out B0  .  Can anyone help  .

 

Thanks

 

pbld, n$, *rpd_ht, e$
      pbld, *sg01, *start_hgt, *feed, e$
      pbld, n$, sm05, e$
      pbld, "M26" "(HIGH PRESSURE COOLANT ON)", e$
      pbld, *speed, *spindle, e$
      pcan1, pbld, n$,  *sg01, pxout, pyout, pfzout,pcout, pindex,*feed, strcantext, e$
      pbld, n$, drill_speed *spindle, e$
      pbld, n$, *sg00, *start_hgt, e$
      pbld, n$, *sm09, "(HIGH PRESSURE COOLANT OFF)", e$
      pbld, n$, sg00, *clr_hght, e$
      pbld, n$, "(END GUNDRILL CYCLE)", e$
      pbld, n$, "()", e$
      pcom_movea

 

 


N120 T20 M6
N130 M11 (UNLOCK)
N140 G0 G90 G54 X3.622 Y4.8327 B0.
N150 M10 (LOCK)
N160 G43 H20 Z10.874
N170 Z7.974
G1 Z7.474 F.73
N180 M5
M26 (HIGH PRESSURE COOLANT ON)
S1466 M3
N190 G1 Z.4179 F.73
N200 S50 M3
N210 G0 Z7.474
N220 M9 (HIGH PRESSURE COOLANT OFF)
N230 G0 Z10.874
N240 (END GUNDRILL CYCLE)
N250 ()
N260 G80
N270 G00 Z10.874
N280 M5
N290 G91 G28 Z0.
N300 G49 H00
N310 G28 Y0.
N320 M30
%

 

 

Link to comment
Share on other sites

The B axis output should be handled by your plane set up

 

The custom drill cycle shouldn't be outputting it, that should come out in the tool change/null tool change section

Link to comment
Share on other sites
8 minutes ago, HEAVY METAL said:

Got it  !

took most of the day on and off .   

 

I got a lot of info from old  JPARIS posts   ----Thanks  for taking the time to drop some knowledge !

 

That's why I do it.so others might gain from it...

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