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:

strange arc output in hurco post


babolino
 Share

Recommended Posts

YUP,

 

Some where in your post an end of line is missing e$

 

A snippet of code few lines before and after "might" give an idea as to which section.

 

If you've recently edited your post, you might double check for errors

Link to comment
Share on other sites

I was not getting proper offsets to output with a Heidanhain post and missing feed rates as well....this actually fixed it up ....

 

Me thinks John is spot on with missing the e$ on the end though....can you copy and paste your piece of your post that has something similar to this

 

pcirout #Output to NC of circular interpolation

if not(arccomp), pcompwarn

if plane$ = zero & fmtrnd(zinc)<>0, pheloutz

else, pcirout1

 

pcirout1 #Output to NC of circular interpolation

pbld, n$, "CC", parc, e$

pcan1, pbld, n$, "C", `sgfeed, pcirxyz, pcout,

*sgcode, pccdia, feed, strcantext, scoolant, e$

 

 

Maybe we can get a better idea of what is going on?

Link to comment
Share on other sites

copy:

 

pcirout #Output to NC of circular interpolation

if compwarn, pcompwarn

if hel_2100 = one, pcirout2

else, pcirout1

 

pcirout1 #Output to NC of circular interpolation

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

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

Link to comment
Share on other sites

ok next up

 

 

pncoutput #Movement output

pcom_moveb

comment$

if coolant$ <> 0 & coolant$ <> sav_coolant,

[

pbld, n$, sm09, e$

sav_coolant = coolant$

]

if coolant$ = 1, sm09 = sm09_0

if coolant$ = 2, sm09 = sm09_1

if coolant$ = 3, sm09 = sm09_2

if cool_zmove = yes$ & (nextop$=1003 | (nextop$=1011 & t$<>abs(nexttool))), coolant$ = zero

pcan

if cuttype = zero, ppos_cax_lin #Toolplane rotary positioning

if gcode$ = zero, prapidout

if gcode$ = one, plinout

if gcode$ > one & gcode$ < four, pcirout

if mr_rt_actv, #Restore absolute/incremental for G51/G68

[

absinc$ = sav_absinc

mr_rt_actv = zero

]

pcom_movea

Link to comment
Share on other sites

next up wink.gif

 

pncoutput #Movement output

pcom_moveb

comment$

if coolant$ <> 0 & coolant$ <> sav_coolant,

[

pbld, n$, sm09, e$

sav_coolant = coolant$

]

if coolant$ = 1, sm09 = sm09_0

if coolant$ = 2, sm09 = sm09_1

if coolant$ = 3, sm09 = sm09_2

if cool_zmove = yes$ & (nextop$=1003 | (nextop$=1011 & t$<>abs(nexttool))), coolant$ = zero

pcan

if cuttype = zero, ppos_cax_lin #Toolplane rotary positioning

if gcode$ = zero, prapidout

if gcode$ = one, plinout

if gcode$ > one & gcode$ < four, pcirout

if mr_rt_actv, #Restore absolute/incremental for G51/G68

[

absinc$ = sav_absinc

mr_rt_actv = zero

]

pcom_movea

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