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:

editing mplmaster x5 for haas sl and tl


Recommended Posts

hi all

I did a search but couldn't find anything .

First some background I just started programming a haas tl1 and a haas sl 10 lathe useing X5mu1 mplmaster .pst. the tl lathe cant use G28 cause of the if the tailstock in the way a crash could occur. So i'd like to know how to edit my post to get rid of the g28 u0. v0. w0. . so i'll just use the reference point tab on the tool parameters page. the code below shows some other changes i'd like to make. I'd like to add a g28 to the begining of the post for the sl 10. I've modified mill posts in the past but its been awhile thanks in advance !!!

 

%

o0000

G20

<----ADD G28 FOR SL

(TOOL - 10 OFFSET - 10)

(FACE/TURN-TOOL INSERT - CCGT-431HP)

G54 <-- get rid of this

T1010

G18 G99 <-- get rid of G18 & g99

M24 <---get rid of this

G97 S200 M03

G0 X4. Z2. M8 <-- add work offsett (ie G54) here .

Z.12

X.9022

G1 Z.1 F.002 <---- add g99

Z-.5877

X1.0376

G3 X1.0889 Z-.6133 R.0256

G1 Z-1.4083

X1.1289

G0 Z.12

X.7155

G1 Z.1

Z-.5877

X.9222

Z-.5677

G0 X4.

Z2.

M9

G28 U0. V0. W0. <---- get rid of this for tl

M05

M30

%

Link to comment
Share on other sites

Are you familiar with the post debugger?

Running the debugger will show you exactly where that stuff is coming from and it should be pretty easy stuff to change...

The "machine specific" things are going to have to be handled by

 

A. 2 seperate posts

B. a format question

C. Misc. integers

 

check your misc integers and user defined variables, some of your changes may be switches that are already in place in the post, mplmaster has a TON of different switches for this kind of stuff.

Link to comment
Share on other sites

Goto

-Start

-All programs

-Mastercam

-Mastercam Control Panel Applet

 

Expand the tree for Mcam on the left

Click Post support

enable the debugger on the right

green check out

 

Now you will see a ladybug in the bottom left of the window that pops up when you hit "G1" (the post button)

hit that ladybug instead of the green check you normally hit.

hit ok for your file names or whatever you normally do

wait for it to open then hit the play button.....

bunch of stuff will flash then your editor will open as usual with your code as usual

get back into the post debugger (using windows taskbar)

concentrate on the window labeled "NC" (if you cant see it go to "window" "tile horizontal")

there you will see where all the code is output from

I attached a pic with arrows pointing to the line # and column # inside the post that that line comes from

when you have your post open in notepad, the line & column numbers representing the location of your cursor will be at the bottom left of your screen!

 

ALWAYS BACKUP YOUR POST FIRST!!!!

 

Or you could call your reseller....:)

Link to comment
Share on other sites
  • 3 weeks later...

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