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:

COREY@SSI

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by COREY@SSI

  1. we run lots of swiss parts some are programed in mastercam, some hand coded
  2. That worked really well,now my transfer is done as simple as doing the stock setup i've got my post refrence cd on the way now im working on seting up the milling. thank you very much roger and Mastercam Guru
  3. i emailed my contact at my reseller to get the guide but i have another question lets say i want to add a value to the stock_ht value i use it in 2 places the first in the g300 line where i need to add 1/2 an inch the second is my partoff/transfer i want to add .01 just so i have shock to clean up. ive been scrolling thru the post trying to find the formatting to add to the value but im coming up dry
  4. that worked perfectly and set me down the road to making my other changes. thank you very much
  5. This is my first time editing a post with x3 im starting to use master cam on my tsugami swiss machine and have been doing chop and paste with the code and now im interested in getting my post working correctly im using the generic fanuc 4x post that came on the disc and i have my program head mostly configured excep for one line my program head looks like this % O3031(CHECK VALVE) M91 /M61 M93032 N10(START UP) M501 G00G18G99T0/M08 M11 G300X-0.08Z1.256T0800 g300 is my problem G150Z-0.008 M10 G00X5.4331Z-0.04T0 M502 g300 sets the stroke of the machine so the main collet doesnt hit the guide bushing my plan was to use the stock length in stock setup to set the part lenght then add .580 to it in the post i havent gotten to the math part yet but i did finally get the post to output the part length with a little extra junk attached % O0000 (PROGRAM NAME - TSUGAMI PROOFING) (DATE=DD-MM-YY - 28-08-09 TIME=HH:MM - 16:05) (MCX FILE - C:MCAMX3MCXTSUGAMI PROOFING.MCX) (NC FILE - C:MCAMX3LATHENCTSUGAMI PROOFING.NC) (MATERIAL - STEEL INCH - 1030 - 200 BHN) G20 M91 /M61 M90000 N10(START UP) M501; G00G18G99T0/M08 M11; G300X-0.08 Z stck_ht$ 6. T0800 G150Z-0.008 M10 G00X5.4331Z-0.04T0 M502 and here is what my post looks like at the moment # -------------------------------------------------------------------------- # Start of File and Toolchange Setup # -------------------------------------------------------------------------- ptime #Convert 24-hour time format into 12-hour AM/PM format if time$ >= 13, time2 = (time$ - 12) else, time2 = time$ hour = int(time2), min = frac(time2) *hour, ":", *min, if time$ > 12, " PM" else, " AM" pheader$ #Start of file "%", e$ sav_spc = spaces$ spaces$ = 0 #*progno$, " (", sprogname$, ")", e$ *progno$, e$ "(", "PROGRAM NAME - ", sprogname$, ")", e$ "(", "DATE=DD-MM-YY - ", date$, " TIME=HH:MM - ", time$, ")", e$ #Date and time output Ex. 12-02-05 15:52 #"(", "DATE - ", month$, "-", day$, "-", year$, ")", e$ #Date output as month,day,year - Ex. 02-12-05 #"(", "DATE - ", *smonth, " ", day$, " ", *year2, ")", e$ #Date output as month,day,year - Ex. Feb. 12 2005 #"(", "TIME - ", time$, ")", e$ #24 hour time output - Ex. 15:52 #"(", "TIME - ", ptime ")", e$ #12 hour time output 3:52 PM spathnc$ = ucase(spathnc$) smcname$ = ucase(smcname$) stck_matl$ = ucase(stck_matl$) snamenc$ = ucase(snamenc$) "(", "MCX FILE - ", *smcpath$, *smcname$, *smcext$, ")", e$ "(", "NC FILE - ", *spathnc$, *snamenc$, *sextnc$, ")", e$ "(", "MATERIAL - ", *stck_matl$, ")", e$ spaces$ = sav_spc pbld, n$, *smetric, e$ "M91"e$ "/M61"e$ "M90000"e$ "N10(START UP)"e$ "M501;"e$ "G00G18G99T0/M08"e$ "M11;"e$ "G300X-0.08","Z",*stck_ht$,"T0800"e$ "G150Z-0.008"e$ "M10"e$ "G00X5.4331Z-0.04T0"e$ "M502"e$

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