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:

Z at Bottom MILL2.SET


Lars Christensen
 Share

Recommended Posts

change your stock note stk0 to what you want i believe its defaulting to 0

HTH cool.gif

 

#Select stock orientation note

stk0 "AT CENTER, Z AT TOP"

stk1 "UPPER LEFT CORNER, Z AT TOP"

stk2 "UPPER RIGHT CORNER, Z AT TOP"

stk3 "LOWER RIGHT CORNER, Z AT TOP"

stk4 "LOWER LEFT CORNER, Z AT TOP"

stk5 "UPPER LEFT CORNER, Z AT BOTTOM"

stk6 "UPPER RIGHT CORNER, Z AT BOTTOM"

stk7 "LOWER RIGHT CORNER, Z AT BOTTOM"

stk8 "LOWER LEFT CORNER, Z AT BOTTOM"

stknote #Target for string

 

fstrsel stk0 stck_crnr$ stknote 9 -1

 

 

pstock_info #Output stock information if requested

if stock_info,

[

"MATERIAL TYPE = "

if stck_matl$ = "NONE" | stck_matl$ = "", "*NOT DEFINED*", e$ #No material type was selected

else, stck_matl$, e$

" ", e$ # Blank line

]

if stock_info & tlplnno$ <= one, #ONLY if in TOP plane

[

#If any stock values are empty, disable don't output

if stck_ht$ > 0 & stck_wdth$ > 0 & stck_thck$ > 0,

[

"STOCK SIZE = ", stck_ht$, " ", stck_wdth$, " ", stck_thck$, e$

"STOCK ORIGIN = ", stck_x$, " ", stck_y$, " ", stck_z$, "(", *stknote, ")", e$

#" ", e$ # Blank line

]

]

Link to comment
Share on other sites

i ended up taking it out and forced the x,y,z locations. i type it in myself.

this is what it looks like

 

"REV : "srev e$

"PROGRAMMER :" sname$ e$

""sepline, e$

#"DATE PROCESSED (DD-MM-YY) = ", date$, " TIME(HH:MM) = ", time$, e$ #Date and time output Ex. 12-02-05 15:52

#"TIME = ", time$, e$ #24 hour time output - Ex. 15:52

#"TIME = ", ptimecalc, e$ #12 hour time output 3:52 PM

"SET-UP NOTES:" e$

"OPERATION:", sprogname$,": " "O" *progno$ e$

" ", e$ # Blank line

" ", e$ # Blank line

"WORK COORDINATE :" "G54" e$

"SET X ZERO AT :" e$

"SET Y ZERO AT :" e$

"SET Z ZERO AT :" e$

#pstock_info #Stock information output

""sepline, e$ #Output the separator '----' line

 

this is the posted setup sheet

 

PROGRAM NAME :

DATE : OCT. 17 2008

REV : -

PROGRAMMER :

--------------------------------------------------------------

SET-UP NOTES:

OPERATION:

 

 

WORK COORDINATE :G54

SET X ZERO AT :

SET Y ZERO AT :

SET Z ZERO AT :

 

if you would like to see the .set file i use shoot me a email and i will send it to you

cool.gif

Link to comment
Share on other sites

Feeling pretty stupid since I just realized that you can move your origin on you stock setup page by clicking on the picture, going back to at least version 8.

Still don't do bottom, but

stk0 "AT CENTER, Z AT TOP"

stk1 "UPPER LEFT CORNER, Z AT TOP"

stk2 "UPPER RIGHT CORNER, Z AT TOP"

stk3 "LOWER RIGHT CORNER, Z AT TOP"

stk4 "LOWER LEFT CORNER, Z AT TOP"

stk5 "UPPER LEFT CORNER, Z AT BOTTOM"

stk6 "UPPER RIGHT CORNER, Z AT BOTTOM"

stk7 "LOWER RIGHT CORNER, Z AT BOTTOM"

stk8 "LOWER LEFT CORNER, Z AT BOTTOM"

Does work, I thought "AT CENTER, Z AT TOP" was the only one that worked

Link to comment
Share on other sites

i think you could build the logic

 

#Select stock orientation note

stk0 "AT CENTER, Z AT TOP"

stk1 "UPPER LEFT CORNER, Z AT TOP"

stk2 "UPPER RIGHT CORNER, Z AT TOP"

stk3 "LOWER RIGHT CORNER, Z AT TOP"

stk4 "LOWER LEFT CORNER, Z AT TOP"

stk5 "UPPER LEFT CORNER, Z AT BOTTOM"

stk6 "UPPER RIGHT CORNER, Z AT BOTTOM"

stk7 "LOWER RIGHT CORNER, Z AT BOTTOM"

stk8 "LOWER LEFT CORNER, Z AT BOTTOM"

stk9 "AT CENTER, Z AT BOTTOM"

stknote #Target for string

 

fstrsel stk0 stck_crnr$ stknote 10 -1

 

pstock_info #Output stock information if requested

if stock_info,

[

"MATERIAL TYPE = "

if stck_matl$ = "NONE" | stck_matl$ = "", "*NOT DEFINED*", e$ #No material type was selected

else, stck_matl$, e$

" ", e$ # Blank line

]

if stock_info & tlplnno$ <= one, #ONLY if in TOP plane

[

#If any stock values are empty, disable don't output

if stck_ht$ > 0 & stck_wdth$ > 0 & stck_thck$ > 0,

[

"STOCK SIZE = ", stck_ht$, " ", stck_wdth$, " ", stck_thck$, e$

"STOCK ORIGIN = ", stck_x$, " ", stck_y$, " ", stck_z$, "(", *stknote, ")", e$

#" ", e$ # Blank line

]

]

i'm taking a guess here headscratch.gif

i wonder how many people use .set setup sheets?

Link to comment
Share on other sites

Tony,

The only problem is that doing "it" the way CNC set it up you can not pick bottom of part on the Job Setup screen, not saying there isn't a way around it.

I agree, I do not know how many are using this setup sheet. Personally I'm using it because I just needed a quick dirty setup sheet for a operator because of a fixture modification. If I was doing a new job I would go with a full blown "all info" setup sheet, including pictures.

Link to comment
Share on other sites

yes i see what you are saying, you can select the bottom of the 4 corners but not the bottom on center. the full blown setup sheet is what i am working on right now(when i have time). i think i should be looking at the .HTML setup sheets .SET are ok for basic jobs. i want to have pictures for the guys so they know more info about the setup(a picture is worth a 1000 words) cool.gif

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