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:

tsaladyga

Verified Members
  • Posts

    133
  • Joined

  • Last visited

Everything posted by tsaladyga

  1. We have NC code another programmer made in Pro NC and it looks totally different than what Mastercam is spitting out. My machinist has run EIA before and said he knows it isn't right, but when I ask him for specifics, he isn't specific. I look at it and it doesn't look right at all. Like it is calling out C axis mode G53.5 when it is a turning op. I am not sure if that is normal or not.
  2. Good morning All, We have a Mazak Integrex 200-IV 5 axis turning center. We purchased a post from our reseller. The machinist says the code coming out of the post doesn't look right. I am capable of making edits to the Posts, but am not familiar enough with how the NC code should look. Does anyone here have an Integrex 200 that could possibly provide me with a proven program from Mastercam that I can look at and compare to what our post is outputting? The reseller says it should work out of the box but I have been with Mastercam long enough to know better.
  3. My re-seller really screwed the post up with some custom crap. They actually changed the feed option in mi6$ with something that must have been for another customer. I was able to change it back but it took some doing. All is working as it should now thank to all of you helping. Todd
  4. I'd be in for a Saturday morning Session. Afternoons are just to iffy with schedules.
  5. Hi Guys, First off Merry Christmas to those who celebrate, Happy Holidays to all else. I am doing some customizing to our Okuma Post we got from our Reseller, and on the Okuma's the tool offsets use letters instead of numbers. So for example: In the tool parameter page for example we use tool #1 offset #1 right? It outputs G56 H1, for the secondary offset if we typed in 21 then it outputs G56 H21. What we use is HA, HB and HC for our height offsets and DA, DB, DC for our Diameter offsets. So my question is, is there a way in the format statements to set up letters? fs2 4 1 0 1 0 #Integer, not leading <----------This into letter format? Thanks, Todd
  6. Ok so we use Okuma machines and we use what we call "OSET1" values, which are the distances from machine zero to the WCS coordinates. Below is an example of the outpu I would like to see. The "X", "Y", and "Z" coordinates are from the tool plane box in Mastercam. I edited them in for now, but I would like to output them using the toolplane values automatically. This is an example of the main program: (**** 59330AR ****) (**** CNC10 ****) (**** FIXTURE LAY OUT WORK OFFSETS ****) (**** OP20 ****)(**** OP10 ****) (**** 41, 11 ****)(**** 40, 10 ****) (**** 31, 21 ****)(**** 30, 20 ****) (**** POCKET ON/OFF ****) NPKT CALL OPKT (**** PROBING ****) CALL OSET1 <-------------------------------------------------This calls out the WCS sub. NA1 CALL OT01A ( BOTTOM OD - OP10) NB1 CALL OT01B (CORD PLATE - OP20) ......... M30 This is the Sub for WCS. OSET1 (**** WORK OFFSETS ****) (**** BOTTOMS - OP10 ****) (**** 10 ****) VZOFX[10]=15.8492 VZOFY[10]=4.8288 VZOFZ[10]=3.1454 RTS ************************************** This is what I put into my post, I was trying to use misc, integers and reals to drive this. if mi10$ = ten, [ fixtrack1 ] else, if mi10$ = twenty, [ fixtrack2 ] else, if mi10$ = thirty, [ fixtrack3 ] else, if mi10$ = forty, [ fixtrack4 ] ***************************** I inserted this into the peof$ area in order to get the output after the M30. fixtrack1 [ pbld, "OSET1", e$ pbld, "VC110=1(SETS ACTIVE PALLET)", e$ pbld, ,"VZOFX[10]", mr1$, e$ pbld, ,"VZOFY[10]", mr2$, e$ pbld, ,"VZOFZ[10]", mr3$, e$ ] pbld, e$ pbld, e$ fixtrack2 [ pbld, "OSET2", e$ pbld, "VC110=1(SETS ACTIVE PALLET)", e$ pbld, ,"VZOFX[20]", mr1$, e$ pbld, ,"VZOFY[20]", mr2$, e$ pbld, ,"VZOFZ[20]", mr3$, e$ ] pbld, e$ pbld, e$ fixtrack3 [ pbld, "OSET3", e$ pbld, "VC110=1(SETS ACTIVE PALLET)", e$ pbld, ,"VZOFX[30]", mr1$, e$ pbld, ,"VZOFY[30]", mr2$, e$ pbld, ,"VZOFZ[30]", mr3$, e$ ] pbld, e$ pbld, e$ fixtrack4 [ pbld, "OSET4", e$ pbld, "VC110=1(SETS ACTIVE PALLET)", e$ pbld, ,"VZOFX[40]", mr1$, e$ pbld, ,"VZOFY[40]", mr2$, e$ pbld, ,"VZOFZ[40]", mr3$, e$ ] ************************************** This is the code output I am getting, the coordinates aren't coming out. I defined the constants. OSET1 VC110=1(SETS ACTIVE PALLET) VZOFX[10] = VZOFY[10] = VZOFZ[10] = OSET2 VC110=1(SETS ACTIVE PALLET) VZOFX[20] = VZOFY[20] = VZOFZ[20] = OSET3 VC110=1(SETS ACTIVE PALLET) VZOFX[30] VZOFY[30] VZOFZ[30]
  7. Hi Guys, Question, We use pre-populated WCS values on all of our repeat work. Is there a way to have the numbers in the tool plane in Mastercam output through the post?
  8. Is there a way to output Feedrate in Inch per Revolution? We use Okuma Horizontals and use IPR mode on all of them. Thanks, Todd
  9. Anyone know how to force Inch per revolution in the post? We are running Okuma Horizontals and run all of them in IPR mode. Thanks, Todd
  10. Thanks Jeff, but I don't think that's what I want. I am looking for it to have a start point and an end point and count down by depth of cut until it reaches the final depth.
  11. Hi guys, I am trying to come up with a looping routine for our LB4000 C-Y axis Lathe and I am having trouble getting the code to work. Can someone look at it and let me know what I am doing wrong? Basically I am starting at 9.5 inches and working my way .04 at a time until I get to 7.5. I would like the start and finish diameters to be variable so the operator can easily modify based on customer specs. Thanks, Todd NT7 ( .875 MILL) T0707 (7/8 MILL) G136 ( Y Axis Mode/Coordinate Conversion:ON) M110 ( C-Axis Joint:ON) SB=3400 M13 M175 CALL OTURN XX=9.5 XXX=7.5 M09 M12 M109 X20 Z30 M30 OTURN NLOOP G0 Z-.88 G0 C180 G0 X10.25 M08 M15 G0 X=XX XST=XX XDT=-.04 G01 G91 X[XDT] F.02 XDT=XDT+XST G90 G01 G91 C359 F.03 G90 G01 Z-1.4 M16 G91 G01 C209 G90 G01 Z-1.875 M15 G91 G01 C170 G90 G01 Z-2.301 M16 G91 G01 C170 G90 G01 Z-2.7 M15 G91 G01 C170 G90 G01 Z-3.1 M16 G91 G01 C170 G90 G01 Z-3.5 M15 G91 G01 C359 G90 IF[XDT GE XXX]NLOOP G00 X10.25 RTS
  12. Thanks Doug! I like your idea because there are legacy programs that run off the front of the table and use formulas to adjust for shift, so until I update those programs your Macro gives me the flexibility to run "old" style programs vs. "new".
  13. Doug, So XMPS=0 (MACHINE POS X ROTATION)<-------This is where I input the new X? ZMPS=-9.9444 (MACHINE POS Z ROTATION)<------This is where I input the distance from lets say table face to center of table? Don't mean to beat a dead horse, but I have just taken over a new job shop that has almost all Okuma Horizontals and I want to start programming from center of rotation. Your Macro is exactly what I am looking for. So for example, I set G15 H1 as the center of rotation, input those numbers in the PW= Then input G15 H10 as the new Work offset in the PH= Then the rotation as lets say B0 or B180 as PB=? Thanks, Todd
  14. Can anyone explain what the information on each line means? I am a newbie to Okuma and I am trying to understand these lines. I understand it is a cylinder, but what do the brackets represent? and more so the numbers after? CYLNDR 0P<----What does the 0P stand for? ,[0,0]<-----[0,0] Is this x,y locations? ,24,-17,1<----What are each of these numbers referring to? CYLNDR 0H,[0,0],08,-17,1<-------What does the 0H stand for? the Hole? Thanks, Todd
  15. Anyone know how to measure LMC in Verisurf? Thanks, Todd
  16. Thanks Ben, I will try it. Ron, We run a laser tracker on all of our programs prior to running the part to verify the program and machine. So we put an M00 before every hole and after it is finished to track the accuracy. I never heard of it before either, but these are very expensive composite panels we machine.
  17. Hi guys! I am modifying my post to output an M00 before each arc move, the problem is the machine has to see quadrants, and I don't want an M00 before each one. I just want the M00 at the stat of an arc move and then not again until the end. If I try to change the control definition to allow 360° arcs, then it wants to output ijand k values. The only way to get it to output Radius values is to break the arcs. Can you tell me how to output the M00 like below or how to get the post to spit out R values for one solid arc? This is a xxxxor 8065-M control. This is a sample of how I want it to look: T2 ;0.125 FLAT ENDMILLM6S0 M5D1#RTCP ONG57G90G17G00 C0.G01 B0. F1500.#HSC ON[CONTERROR .005]G00 X14.152 Y64.5625Z2.Z.1G01 Z-.24 F10.X14.2333 F50.M00<-------------------------output M00 at startG03 X14.152 Y64.6438 R.0813X14.0707 Y64.5625 R.0813X14.152 Y64.4812 R.0813X14.2333 Y64.5625 R.0813M00 <-------------------------output M00 at endG01 X14.152Z.1 F100.G00 Z2. This is what I get now: T2 ;0.125 FLAT ENDMILLM6S0 M5D1#RTCP ONG57G90G17G00 C0.G01 B0. F1500.#HSC ON[CONTERROR .005]G00 X14.152 Y64.5625Z2.Z.1G01 Z-.24 F10.X14.2333 F50.M00G03 X14.152 Y64.6438 R.0813M00X14.0707 Y64.5625 R.0813M00X14.152 Y64.4812 R.0813M00X14.2333 Y64.5625 R.0813G01 X14.152Z.1 F100.
  18. Hi Guys! I have a question. I am developing apost for an old Anilam Control that the drill cycle needs the initial output of x and y repeated after the drill cycle callout. I tried inserting a pfxout, pxyout after the drill call, but then I get doubles of every x and y output for that cycle. Does anyone know how to get just the initial points to repeat? As always thanks for the help. Todd *18795-NEST*N100 G20N110 *SPOT DRILL .266 HOLES 12X*N120 T1 M06 * 1/2 SPOTDRILL*N130 S6500 M03G53 O1N140 G00 G90 X40.5845 Y19.8<----- this line needs to be repeated belowN150 H1 Z2.N160 G81 Z-.1 R.25 F6.N170 G0 Z2.<------------before this lineN180 G0 X41.872 Y22.03N190 G0 Z2.N200 G0 X44.447 Y22.03N210 G0 Z2.N220 G0 X45.7345 Y19.8N230 G0 Z2.N240 G0 X44.447 Y17.57N250 G0 Z2.N260 G0 X41.872 Y17.57N270 G0 Z2.N280 G0 X42.7875 Y8.98N290 G0 Z2.N300 G0 X44.075 Y6.75N310 G0 Z2.N320 G0 X42.7875 Y4.52N330 G0 Z2.N340 G0 X40.2125 Y4.52N350 G0 Z2.N360 G0 X38.925 Y6.75N370 G0 Z2.N380 G0 X40.2125 Y8.98N390 G0 Z2.N400 G80N410 M05N420 M2
  19. Our Okuma mills call the subroutines up before the approach moves. I found the sub callouts in the post, but I can't figure out how to get the sub's moved to a different location in order to get the desired output. I have tried everything I can think of. Can someone help me to figure out how to move the callout up from cut motion to above the approach? Thanks, Todd T2 M6 S267 M3 G56 H2 G0 X9.3 Y0. Z.25 G1 Z.2 F10. <-------------this is what it looks like now. CALL O2 G0 Z.25 .... O2 X9.3 RTS T2 M6 S267 M3 G56 H2 CALL OA ZZ=.2 <--------------This is what it is supposed to look like M9 M5 G0 X20 Y20 M02 OA G0 X9.3 Y0. Z.25 G1 Z=ZZ F10. X9.3 G0 Z.25 RTS
  20. Anyone know how to get rid of the annoying error get every time I launch Verify that says I need to change machine to 5 axis? It is getting really annoying to have to deal with it everytime. I even tried going into options and changing it to 5 axis but it doesn't save my settings.
  21. Morning all! Cold and wet here in Buff! Can anyone tell me how to move the G40 command to a line of it's own. Right now it outputs on a G1 line and in our Okuma Mill it is causing havoc. Thanks, Todd

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