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:

Mplmaster mod Question (Siemens Threading)


nofalloff
 Share

Recommended Posts

Over the last several months I’ve been learning what I could about posts by tweaking all the posts we have in the shop. I also set out to modify mplmaster to work with an old turning center that no one uses, so that when I had small production jobs I could set them up on this machine without tying up any of the others. The machine has an old Siemens 810T GA1 control and I have mplmaster pretty much where I need it except for one last thing.

Threading.

The code for threading for this control looks like this:

N10 R20=.0769R21=.4167R22=.05R23=1R24=-.0416R25=0R26=.05R27=.05

N20 R28=3R29=0R31=.4167R32=-1.1

N30L97P1

 

The L97 is the call for the threading cycle P is the number of times to run the cycle and R20 thru R32 are the thread parameters.

 

I don’t even know where to begin to get mplmaster to output threading in this format. I see the threading variables but I don’t see where they are assigned value or where they are processes or formatted for output (save for “write to current tool record” block[?]).

 

Can anyone help me understand this?

 

I’m not against programming threading by hand but it would be nice to complete this post so that it was truly post and go.

 

thanks

 

peter

working WAY too late.

Link to comment
Share on other sites

Well the best way will be to post up what each R value is. Then look to what a standard caned cycle output. Then where each varaible is make them the correct RXX value you need.

 

A format statement would look like this:

fmt R32= 16 thddepth$ #Thread height absolute

 

So when you post out the standard thread cycle you get what you were getting just now in a format you need for the control to understand. Pretty straight forward.

 

Now for the L97P1 use this variable right out of mplmaster:

fmt P 5 nspring$ #Number of spring cuts

 

Put it on a line by itself at the bottom in the threading cycle you use like so:

 

pbld, n$, "L97", *nspring$, e$

 

HTH

 

[ 04-02-2008, 12:30 PM: Message edited by: Crazy^Millman ]

Link to comment
Share on other sites

The feed rate is giving me a bit of trouble. I need it to be out put as thread pitch in the form of R20=.07692 (for .5-13 thread). In the questions there is the option to output feed character as either F or E. this is under the General out put section:

 

thread_address : 1 #Thread pitch address for lathe threading, 0 = Use F, 1 = Use E

 

In the pg76new block the second line outputs the feed by calling pffr block which I believe is where the feed is derived. is this correct?

 

How do I force it to out put the feed with a Charecter other than E or F?

 

thanks

 

peter-

Link to comment
Share on other sites

Got it! After figuring out the logic for the F or E output from after the thread_address I just changed the appropriate string declaration from:

stre "E"

 

to

 

stre "R20="

 

quote:

You really just have to get into the pg76new post block, rip it apart, and put it back together again.

 

You'll get it!

 

Brett

Brett, It's turning out to be quite a bit more than tearing apart pg76new and changing a few format statements. but I'm making progress. I have a couple more questions but I'll post them in new threads once I have a better idea what to ask and have put more time into trying to figure them out my self.

 

cheers.gif

 

peter-

Link to comment
Share on other sites
Guest CNC Apps Guy 1

Brett Thomas, how the heck are you man??? LOng time since you've crawled out of your cave eh???

 

SHoot, that just reminded me, I owe you a CD... DAMN!!! I'll get it out tomorrow morning.

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