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:

yasnak 3000G post processor set up


Greg 24
 Share

Recommended Posts

Can anyone help me with modifing my post processor for a Yasnak 3000G control to drop the decimal points from the number format section? I am not sure what to change to make it drop them. I just purchased this mill and installed a BTR board on it to speed up getting a program into it (I have plenty of work waiting for it), but I need to drop the decimal points from the programs in order to send it into the control. Any help would be greatly appreciated.

Link to comment
Share on other sites

Yes this can be easily done with the change of format for the XYZ call outs in the post. Look for this section:

code:

fmt  N  4   n           #Sequence number

fmt X 2 xabs #X position output

fmt Y 2 yabs #Y position output

fmt Z 2 zabs #Z position output

fmt X 3 xinc #X position output

fmt Y 3 yinc #Y position output

fmt Z 3 zinc #Z position output

fmt A 11 cabs #C axis position

fmt A 14 cinc #C axis position

fmt A 4 indx_out #Index position

fmt R 14 rt_cinc #C axis position, G68

fmt I 3 i #Arc center description in X

fmt J 3 j #Arc center description in Y

fmt K 3 k #Arc center description in Z

fmt R 2 arcrad #Arc Radius

fmt F 15 feed #Feedrate

fmt P 11 dwell #Dwell

fmt M 5 cantext #Canned text

This is where you find the formats for them accordinly:

code:

# --------------------------------------------------------------------------

# Format statements - n=nonmodal, l=leading, t=trailing, i=inc, d=delta

# --------------------------------------------------------------------------

#Default english/metric position format statements

fs2 1 0.7 0.6 #Decimal, absolute, 7 place, default for initialize (
:)

fs2 2 0.4 0.3 #Decimal, absolute, 4/3 place

fs2 3 0.4 0.3d #Decimal, delta, 4/3 place

#Common format statements

fs2 4 1 0 1 0 #Integer, not leading

fs2 5 2 0 2 0l #Integer, force two leading

fs2 6 3 0 3 0l #Integer, force three leading

fs2 7 4 0 4 0l #Integer, force four leading

fs2 9 0.1 0.1 #Decimal, absolute, 1 place

fs2 10 0.2 0.2 #Decimal, absolute, 2 place

fs2 11 0.3 0.3 #Decimal, absolute, 3 place

fs2 12 0.4 0.4 #Decimal, absolute, 4 place

fs2 13 0.5 0.5 #Decimal, absolute, 5 place

fs2 14 0.3 0.3d #Decimal, delta, 3 place

fs2 15 0.2 0.1 #Decimal, absolute, 2/1 place (feedrate)

fs2 16 1 0 1 0n #Integer, forced output

fs2 17 0.2 0.3 #Decimal, absolute, 2/3 place (tapping feedrate)


Just play with the format to get what you want.

Link to comment
Share on other sites

OK Ron You Got Me rolleyes.gif !

Your right. Since email (and posting) can easily be mistaken as hostile, It's important to make sure everyone knows your kidding. It probably wasn't a good joke for a new person on their first post.

 

But I Couldn't help it tongue.gif .

 

Besides your answer was right on the mark. There was nothing else to say cheers.gif .

 

So,To Greg 24: If you need additional information.

http://my.voyager.net/~mmattera/mastercam/...ite_a_post.html

 

Mike Mattera

Link to comment
Share on other sites

Ok know I know how you are I found that link some time ago and printed every bit of that out. Please know I am easy going may get a little passonite about the froum or Mastercam but that is just me. Here is a beer cheers.gifcheers.gifcheers.gifcheers.gif for you and every my way I will buy you a beer even though I quit drinking years ago.

Link to comment
Share on other sites

Ron or Mike

I just wanted to say a BIG thankyou again for you help with the post set up. I however still have a couple of details about that (Yasnak 3000G) post. I changed some of the formats around and got it to drop all of the decimal points, but my problem now is that I can not get the "R" for a G2 or G3 to read like this R6920 for .692" (but without the decimal point) it just puts out R692 and I need it to put 4 places to the right. The other problem is when it reads (example) X,Y or Z of .235" it just displays 235 and like above with the "R" I need it to display 4 spaces to the right with a zero at the end of it. If X,Y,Z and R have a number such as .2351 it will display 2351 like it's supposed to. I just can't get the 0 to display when I need it to(2350). I need it to make (using the numbers as above) 2.351 display as 23510. Can you please help in detail for these formats. I have tried all of the suggestions from the link that Mike provided and example from Ron, but cannot get that part worked out yet. I am still using V8.1.1, if that will help.

Yes, I do know that the machine is very old, but I just could not pass it up because of the price and condition of it. I have been using it for about 3 months without no problems, except hand-typing all of the small programs in by hand. All of the bearings sound great and the ballscrew looks great and 0 backlash everywhere. I just got tired of typing and decided to buy a BTR board for it to speed things up a bit. Anyway, if you could help with the solution for this format, I will be forever greatful.

 

Thanks,

Greg 24

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