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:

Problem with a post...


JAMMAN
 Share

Recommended Posts

I'm playing with a custom post for an anilam crusader M controller. Evidently the previous owner of the machine never had the ocasion to cut anything with an arc...

 

I can edit the prog manually and get it to work. Heres a snip of the output code:

N0170Y2.6324F20.0

N0172G2X-1.905Y1.6324I-2.905J1.6324

N0174G1Y0.6326

N0176G3X-1.405Y0.1326I-1.405J0.6326

N0178G1X-1.2285

N0180Y-1.3326

N0182G3X-0.4285Y-2.1326I-0.4285J-1.3326

N0184G1X0.8175

N0186G3Y0.0424I0.8175J-1.0451

N0188G1X0.5215

N0190Y1.5126

N0192G3X-0.0985Y2.1326I-0.0985J1.5126

N0194G1X-1.405

 

Everything is ok till line 186 then the controller gags and can't convert it to the anilam equiv. Here's what it's looking for-

 

N0184G1X0.8175

N0186G3X0.8175Y0.0424I0.8175J-1.0451

N0188G1X0.5215

 

The X start position has to be in the arc code for the controller to convert it properly. I've tested it and it does work.

 

How do I force the arc to output the start position (X and Y)all the time?

Link to comment
Share on other sites
Guest CNC Apps Guy 1

Change this;

 

code:

pcirout1        #Output to NC of circular interpolation

pcan1, pbld, n, `sgfeed, sgplane, sgcode, sgabsinc, pccdia,

pxout, pyout, pzout, pcout, parc, feed, strcantext, scoolant, e

to this;

code:

pcirout1        #Output to NC of circular interpolation

pcan1, pbld, n, `sgfeed, sgplane, sgcode, sgabsinc, pccdia,

pfxout, pfyout, pfzout, pcout, parc, feed, strcantext, scoolant, e

HTH

Link to comment
Share on other sites

Add the "*" (asterisks) to to varaibles you want "forced" out.

 

code:

pcirm # Circular interpolation 

pcan

n, sgplane, e

n, sccomp, e

pcan1, n, sgcode, *x, *y, z, pijk, pfr, strcantext, e

pcan2

n, e


Note that if this machine can do arcs in the XZ or YZ plane, you've got a problem with this PST code - since it will always force X & Y to output on every arc motion block.

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