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:

post with no decimal ?


vulan
 Share

Recommended Posts

Good morning all !

can anyone help me ....we have a new machine that is runing without decimal point, ( No decimal, absolute, four trailing), i can only change in the post x, y and z, but not work with i, j ,k ??

ex:

G1 Z-1500 F6.33

G3 X-17932 Y10825 I.171 J.4698 F24.12

G2 X-17232 Y10748 I0. J-.3225

G1 X1500 Y6586

G2 X4025 Y3437 I-.07 J-.3149

G1 Y-2400

G2 X2000 Y-4425 I-.2025 J0.

......

mastercam v9.1

post: mpfan ver.9.18

Thanks for your help and have a niceday!

David

Link to comment
Share on other sites

From your output, I assume that you’ve changed the format statement 2

 

Was this in the original MPFAN.PST ->

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

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

 

And you now have something like this? ->

fs2 2 0 4 03t #No Decimal, absolute, 4/3 place, trailing zeros

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

 

To affect the output of the I,J,K address, you’ll need to change the format statement 3, like this ->

fs2 2 0 4 0 3t #No Decimal, absolute, 4/3 place, trailing zeros

fs2 3 0 4 0 3td #No Decimal, delta, 4/3 place, trailing zeros

Link to comment
Share on other sites

Thank you very much Roger!

it works !

i was trying to change like this:

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

to:

fmt I 2 i #Arc center description in X

fmt J 2 j #Arc center description in Y

fmt K 2 k #Arc center description in Z

but it does not work, i don't know why?

Anyway it is now working perfect! Again, thank you for your quick reply!

David

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