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:

Posting error


Kenneth Potter
 Share

Recommended Posts

Ok

I have a single surface "Human nose" to machine that has undercut areas . I'm using a lollipop. I rotated the cplane at a a slight angle & set the tool plane to top. That allows the lollipop to perform the undercut. When i post it with mpfan.pst i get a error message"

Seletor varitable plane=1.0

out range for string select. ??????

At this point posting is interupted at the tool that has the rotated plane.

 

 

Can someone tell me what does this means & how i can fix this.

Mill V8 mpfan.pst cd

Kenny

[This message has been edited by Kenneth Potter (edited 12-27-2000).]

Link to comment
Share on other sites

Ken, The error message you received is indicative of an NCI problem, but you can work around it in the post by validating the plane variable prior to accessing the string select function. The less desirable alternative would be hand editing the ASCII NCI prior to posting, or using the runold C-hook to force the variable to zero (Version 6 and earlier Mill posts), but you will lose too much information to make that a feasible workaround.

If you decide to work around it in the Post Processor (I thought you might) you should be able to get away with adding the following line of code to the ‘pcom_moveb’ postblock of MPFAN (indent at least one space).

if plane < zero | plane > two, plane = zero

This should do the trick.

Best Regards,

Richard Taft

Post Processing Services

CNC Software, Inc.

671 Old Post Road

Tolland, CT USA http://www.mastercam.com

 

Link to comment
Share on other sites

i made the changes & still have the same error

this is how i added the new line

 

pcom_moveb

if plane < zero | plane > two, plane = zero

c_mmlt #Multiple tool subprogram call

ptoolcomment

comment

pcan

if stagetool >= zero, pbld, n, *t, "M6", e

pindex

if mi1 > one, absinc = zero

pcan1, pbld, n, *sgcode, *sgabsinc, pwcs, pfxout, pfyout,

pfcout, *speed, *spindle, pgear, strcantext, e

pbld, n, "G43", *tlngno, pfzout, scoolant, next_tool, e

absinc = sav_absinc

pcom_movea

toolchng = zero

c_msng #Single tool subprogram call

Link to comment
Share on other sites

Ken,

You should add the code snippet to the ‘pcom_moveb’ postblock. A postblock definition always starts in the first column. The indented ‘pcom_moveb’ you found is actually a “Call” to that postblock. Try searching for the postblock again and just hit “find next” until you see the word ‘pcom_moveb’ in the far left column. When you find it open up a line below and insert the code (don’t forget about the indentation).

If it still gives you trouble, you can just email me and I’ll send you an edited post and you can compare the two.

Best Regards,

Richard Taft

Post Processing Services

CNC Software, Inc.

671 Old Post Road

Tolland, CT USA http://www.mastercam.com

 

Link to comment
Share on other sites

When listing postblocks on this forum it is helpful to use the UBB Code tag along with an HTML BIG code. Without it, your idents and spacing will be lost. Click on Edit for this message to see how it's done:

code:


plinout #Comment

this area maintains formatting


[This message has been edited by Webmaster (edited 12-29-2000).]

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