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:

Change axis order in post


Nils N
 Share

Recommended Posts

I need to change my Z output from this

 

N130 G1 Z26. F20.

N132 G3 Y58.6986 I0. J.1875 F100.

N134 Z25.875 I0. J-.375

N136 Z25.75 I0. J-.375

N138 Z25.625 I0. J-.375

N140 Z25.5 I0. J-.375

N142 Z25.375 I0. J-.375

N144 Z25.25 I0. J-.375

N146 Z25.125 I0. J-.375

 

to this

 

N130 G1 Z26. F20.

N132 G3 Y58.6986 I0. J.1875 F100.

N134 G3 I0. J-.375 Z25.875

N136 I0. J-.375 Z25.75

N138 I0. J-.375 Z25.625

N140 I0. J-.375 Z25.5

N142 I0. J-.375 Z25.375

N144 I0. J-.375 Z25.25

N146 I0. J-.375 Z25.125

 

So the the Z is posted after the I J values. Where do I find this in the post?

 

Nils

Link to comment
Share on other sites

Nils,

copy the original first

 

Find (# Motion NC output) Section

pcirout #Output to NC of circular interpolation

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

pxout, pyout, pzout, pcout, parc, feed, strcantext, scoolant, e$ #pccdia removed

 

Change to

pcirout #Output to NC of circular interpolation

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

pxout, pyout, parc, pzout, pcout, feed, strcantext, scoolant, e$ #pccdia removed

Link to comment
Share on other sites

Superman that work for the Z placement

my post looked like this

 

pcirout #Output to NC of circular interpolation

sav_gcode = gcode$

parc_setup

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

xout, yout, zout, s_out, p_out, parcijk,`feed, strctxt, scoolant, e$

gcode$ = sav_gcode

if nc_lout$ <> m_one & feed = zero, psfeederror

 

and I changed to this

 

pcirout #Output to NC of circular interpolation

sav_gcode = gcode$

parc_setup

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

xout, yout, parcijk, zout, s_out, p_out,`feed, strctxt, scoolant, e$

gcode$ = sav_gcode

if nc_lout$ <> m_one & feed = zero, psfeederror

 

now I need to get a G3 in the beginning of the move as shown below

From this

 

N130 G1 Z26. F20.

N132 G3 Y58.6986 I0. J.1875 F100.

N134 I0. J-.375 Z25.875

N136 I0. J-.375 Z25.75

 

To this

 

N130 G1 Z26. F20.

N132 G3 Y58.6986 I0. J.1875 F100.

N134 G3 I0. J-.375 Z25.875

N136 I0. J-.375 Z25.75

N138 I0. J-.375 Z25.625

 

I appreciate your help cheers.gif

Link to comment
Share on other sites

Nils,

 

I assume you are wanting G2/G3 to be output on all arc lines

 

If yes,

In this "pcirout" area use a "*" to force the output unconditionally, without the *, the code and value is only output if different from the previous block

 

so

*sgcode instead of sgcode

Link to comment
Share on other sites

Superman,

 

I added the change to the code and it posts out like it should but the controller won't take it.

I sent an email to ***or to find out what the post needs.

 

I'll let you know what I get.

 

You've been great with the help.

 

Nils

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