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:

Reinitialize "sgfeed"


Recommended Posts

I've got an old V9 vintage mill/turn post we're using on a big VTL with C axis milling.

It needs to be done over, but there is a time issue.

 

When we are doing milling, the first mill tool path gets a  G94 ( inches per minute) output  with the first feed rate command

 

G0 G90 G54 X179.0506 Z15. C-4.861 T1818
Z5.
Z1.
G94 G1 Z.75 F20.
X178.0511 C-4.872 F2.

 

subsequent milling toolpaths do not..  which means the machine reads an F10. as 10 inches/rev  =  a very bad day

 

G97 S130 M3
G0 G90 G54 X175.2457 Z15. C172.015 T1818
Z5.
Z1.
G1 Z.5 F20.                       <-----------------------  No G94 = train wreck
X174.2458 C172.007 F2.
X173.2462 C172.

 

oddly enough , all C face drilling toolpaths are good.

it's just milling toolpaths that are acting up

 

can someone tell me how to fix this?

 

 

 

Link to comment
Share on other sites

I am no expert but I think this might work.

 

Create a variable.  In the tool change section set it to 1.  Then use a statement so it will force the output if the variable is 1 and then reset the variable to 0.

 

Something like

If newvariable=1, *sgfeed, else, sgfeed

Link to comment
Share on other sites

'sgfeed' is a target variable for a string select function. The String Select function uses a numeric variable to control the output of the target variable through modality.

 

'sgfeed' uses 'ipr_actv$' as the selector variable. So all you need to do is go into the tool change post block for milling, and set 'prv_ipr_actv$' to a different value (ck9 is usually used for this purpose).

 

Then in 'plinout' 'sgfeed will be encountered on the output line. You will get a 'G94', since that is how your post is configured, and then MP will automatically update the 'prv_' value of 'ipr_actv$' when 'sgfeed' is output. This prevents getting a 'G94' on every line.

  • Like 1
Link to comment
Share on other sites

'sgfeed' is a target variable for a string select function. The String Select function uses a numeric variable to control the output of the target variable through modality.

 

'sgfeed' uses 'ipr_actv$' as the selector variable. So all you need to do is go into the tool change post block for milling, and set 'prv_ipr_actv$' to a different value (ck9 is usually used for this purpose).

 

Then in 'plinout' 'sgfeed will be encountered on the output line. You will get a 'G94', since that is how your post is configured, and then MP will automatically update the 'prv_' value of 'ipr_actv$' when 'sgfeed' is output. This prevents getting a 'G94' on every line.

 

Yes things like this are were outside post builder have such a fit. They never realize how much background stuff the MP.DLL is doing during the posting operations.

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