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:

Need G0 in first move after G80


Recommended Posts

Hey everyone - this one is getting by me. I've got numerous Cinci's that I program and they require a switch back to G0 after a G80. Meaning without a G0 after coming out of a canned cycle they'll just stay in G01. I've been playing with this on and off for a while now, but can't seem to get anywhere. Seems like I need to add something to pzout, but I can't figure out what. Am I on the right track? This seems like it should be a pretty simple fix.

Link to comment
Share on other sites
12 hours ago, jlw™ said:

Is this an Acramatic 2100 Cinci?  You can change that parameter to have it default to G00 after G80.  I haven't touched one in a decade but I'm sure a little Google-Fu will find what you need.

I've got two 2100 Acramatics, plus one 950 and one 900. 

I'll look into this tip, thanks. Would be a huge help.

Link to comment
Share on other sites
1 hour ago, Leon82 said:

You could add it in the post block that outputs the  g80 also. 

ya that sould be one line to edit. im using the default, but the variable may be the same.

 

#region Cancel canned drill cycle
pcanceldc$       #Cancel canned drill cycle
      result = newfs(three, zinc)
      z$ = initht$
      if cuttype = one, prv_zia = initht$ + (rotdia$/two)
      else, prv_zia = initht$
      pxyzcout
      !zabs, !zinc
      prv_gcode$ = zero
      pcan
      pcan1, pbld, n$, sg80, strcantext, e$

 


#      if (drillcyc$ = 3 | drillcyc$ = 7) & tap_feedtype, pbld, n$, sg94, e$
      if (drillcyc$ = 3 | drillcyc$ = 7) & tap_feedtype, pbld, e$
      result = newfs(15, feed)  #Reset the output format for 'feed'
      pcan2

#endregion

 

in the open space you should just have to add:  n$, "G0", e$ our just put it in the sg80 line. the variable sg00 should work too.

Link to comment
Share on other sites

I thought about doing that but my neurosis doesn't allow me to view G80 G0 or just a G0 floating out in space as an acceptable way to program. Would much prefer to keep it on the same block as the first Z movement. 

Been hunting for the Cinci parameters to make that change, but not having any luck so far.

Link to comment
Share on other sites

It's going to have to go prapidout for it to be on the first Z move.  I have had to modify a couple posts to force out a Y then go back to modal.  I can't remember exactly what I did but I'll post it later or you can message me.

Link to comment
Share on other sites
1 hour ago, nperry said:

I thought about doing that but my neurosis doesn't allow me to view G80 G0 or just a G0 floating out in space as an acceptable way to program. Would much prefer to keep it on the same block as the first Z movement. 

Been hunting for the Cinci parameters to make that change, but not having any luck so far.

Use the force function.

pcanceldc$       #Cancel canned drill cycle
      result = newfs(three, zinc)
      z$ = initht$
      if cuttype = one, prv_zia = initht$ + (rotdia$/two)
      else, prv_zia = initht$
      pxyzcout
      !zabs, !zinc
      prv_gcode$ = zero
      pcan
      pcan1, pbld, n$, sg80, strcantext, e$
      if (drillcyc$ = 3 | drillcyc$ = 7) & tap_feedtype, pbld, n$, sg94, e$
      result = newfs(15, feed)  #Reset the output format for 'feed'
      pcan2
      result = force(sgcode, sgcode)  #Force gcode output on the next motion line

 

  • Thanks 1
Link to comment
Share on other sites
17 minutes ago, jeff.D said:

Use the force function.


pcanceldc$       #Cancel canned drill cycle
      result = newfs(three, zinc)
      z$ = initht$
      if cuttype = one, prv_zia = initht$ + (rotdia$/two)
      else, prv_zia = initht$
      pxyzcout
      !zabs, !zinc
      prv_gcode$ = zero
      pcan
      pcan1, pbld, n$, sg80, strcantext, e$
      if (drillcyc$ = 3 | drillcyc$ = 7) & tap_feedtype, pbld, n$, sg94, e$
      result = newfs(15, feed)  #Reset the output format for 'feed'
      pcan2
      result = force(sgcode, sgcode)  #Force gcode output on the next motion line

 

Had to use a variable instead of a string, but this got it where I want it.

Thanks Jeff.

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