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:

Need assistance with old post HELP PLEASE!!!


Recommended Posts

Thanks in advance for any who took the time to read/comment on this. 

The company I am with had Mastercam back in the day and had an old post for a Toshiba HMC. Asked the reseller to modify and they wanted $500. I am on a departmental budget and am currently switching from CamWorks to Mastercam and I'm blowing my margins. The post I have works but outputs certain codes in areas that it shouldn't and is erroring out the machine. See the code below:

O0000 (1520875B)
(OVERALL MAX - Z6.25)
(OVERALL MIN - Z-1.6694)
N100 G00 G17 G40 G80 G90
N110 G53
N120 G91 G28 Z0.
N130 (MACHINE PAD B, 4.000 STEPOVER, WEAR COMP ACTIVE)
N140 (COMPENSATION TYPE - WEAR COMP)
N150 T2
N160 M06 (8.000 INGERSOLL GOLD-MAX4 FACE MILL)
N170 (MAX - Z4.)
N180 (MIN - Z0.)
N190 G57 H901
N200 G00 G17 G90 X-151. Y5.5
N210 G173 W0.
N220 G43 H2 Z4.
N230 M01 <<< WANT IT REMOVED.
N240 S360 M03
N250 T3 <<< WHY IS IT CALLING UP A TOOL RIGHT NOW??? NEED IT REMOVED.
N260 Z0.
N270 G94 G01 G41 D2 Y1.5 F37.
N280 Y1.3899
N290 X0.
N300 G40 X5.
N310 G00 Z4.
N320 X-155. Y5.5

N330 Z0.
N340 G01 G41 D2 Y1.5
N350 Y-2.6101
N360 X0.
N370 G40 X5.
N380 G00 Z4.
N390 M05
N400 G173 W0. <<< NEED IT REMOVED.
N410 G91 G28 Z0. <<< NEED IT REMOVED.
N420 G53 <<< NEED IT REMOVED.
N430 M01

Link to comment
Share on other sites

These should be easy fixes.

The M01 is an Optional Stop. I can't think of any machines that don't support that so not sure why it's causing a problem. It's usually set in Canned Text in your operations.

The T3 is a prestage move. In the post there is a switch to flip that off in a setting called stagetool in General Output settings, change it to 0.

The stuff in the footer can all be removed, looks like some of it may be hard coded. Look in the peof$ section, maybe in pretract or something. If that's not the end of your file it may be in ptoolend$ or maybe ptlchgxxx

Link to comment
Share on other sites
13 minutes ago, Jobnt said:

These should be easy fixes.

The M01 is an Optional Stop. I can't think of any machines that don't support that so not sure why it's causing a problem. It's usually set in Canned Text in your operations.

The T3 is a prestage move. In the post there is a switch to flip that off in a setting called stagetool in General Output settings, change it to 0.

The stuff in the footer can all be removed, looks like some of it may be hard coded. Look in the peof$ section, maybe in pretract or something. If that's not the end of your file it may be in ptoolend$ or maybe ptlchgxxx

All of this would be in the .pst file?

Link to comment
Share on other sites

Yes, except maybe the M01. That's often turned off and on in Canned Text but the .pst will have the variable in it to call it where needed. 

Looks like you may be seeing it from ptlchng or something similar (been a while, I don't remember all the variable/function names in posts).

Before you start editing your post, Make. A. Backup. Copy.

Ask me how I know...

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