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:

job setup values in post


tryon
 Share

Recommended Posts

hi all

using V8.1

 

in our post i set a misc interger switch to output some text.

 

The text output is this: G65P9222B?Z?

the B is for bar diameter

the Z is for the part OAL

 

what i am wondering is can i get my post to fill in the Dia and Oal from the job setup stock definition page? lower left corner for Z value and upper right corner for Diameter.

 

I figure this is always done anyway and maybe the post can get this for us, eliminating a few steps.

 

thanks

Link to comment
Share on other sites

You can in Mill, so you 'prolly can in lathe. Take a look at the mpmaster.pst, it will shed some light on how to do it, (it's a mill post, and I'm a mill guy, so I'm not gonna get into details). In a nutshell, there's some variables available for these valuse.

 

'Rekd teh Dog & Pony show today :/

Link to comment
Share on other sites

thanks Dave

 

i am closer now to what i need.

 

i added fmt B 12 stck_ht

fmt Z- 12 stck_thck

 

but now the stck_thck will only post out one time in my part program.

Can I save the value for use later?

Also what is the 12 for? i just put that in because alot of other format assignments had it.

Link to comment
Share on other sites

1) If you put *stck_thck in the post where you want it, it should (I think) output anywhere

 

2) The 12 is for a pre-defined format (decimal,abs,4 place); the format statements are found here :

 

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

# 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

fs2 16 0 4 0 4t #No decimal, absolute, 4 trailing

#Default english/metric feed format statements

fs2 17 0.2 0.1 #Decimal, absolute, 2/1 place

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

fs2 19 0.5 0.4 #Decimal, absolute, 5/4 place

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

 

[ 05-28-2003, 07:26 AM: Message edited by: chris m ]

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