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:

g-codeguy

Verified Members
  • Posts

    155
  • Joined

  • Last visited

Everything posted by g-codeguy

  1. I've gathered from reading this forum that the lathe part of MC is kind of a second class citizen. Some time ago I read a post where they were asking for input for improving the lathe side of MC. I have another place for improvement. I have already informed my reseller about it, and assume they will be getting in touch with MC, although I'm not sure what that will accomplish. Been at least 3 years since we went over the threading cycle problem, and nothing has been done to correct it yet. MC can be made to output the correct tooling callout in the program, but it won't list the tools in the header. Here is an example. The turret is a 12 station one. Double holders are used. "REAR TURRET" simply means that these are the tools used on the subspindle side. Not that there are two turrets! FRONT TURRET T0202 TURNING TOOL TNGG-331FN ZF1 XT3 FINISH TURN T0303 1/2 IN. BORING BAR VBGT-221LF KC730 T0404 THREADING TOOL 16ER A60-G1 CP50 T0505 1/16 IN. CARBIDE CIRUIT BOARD DRILL .0625 T0606 3/32 IN. CARBIDE CIRCUIT BOARD DRILL FULLERTON IN LIVE TOOL T0707 #47 CARBIDE CIRCUIT BOARD DRILL FULLERTON .0785 T0808 80 DEG. PROFILE TOOL CNMG-432MR 2025 ROUGH T0909 15/64 IN. CARBIDE DRILL .2034 T1010 GROOVE TOOL N151.2-1000-80-4G 1125 .394 WIDE ROUGH T1111 L.H. GROOVE BAR TLGP-2047R KC730 T1212 CUT-OFF TOOL GFN-3M IC354 T1232 BARSTOP REAR TURRET T0121 SEATING TOOL .015R T0323 CARBIDE GROOVE BAR .047 WIDE .002R CORNERS T0424 GROOVE TOOL HG-3031R 323FG T0525 5/16 IN. CARBIDE BORING BAR CPGH-2150.5AAN-TN60 FINISH T0222 TURNING TOOL TNGG-331FN ZF1 XT3 T0727 2-FLUTE CARBIDE TREPAN TOOL T0929 1/4 IN. CARBIDE BORING BAR CPMT-1.81.21 UD5C ROUGH T1020 FACE GROOVE TOOL FLG-3062L-CB GP50 T1131 .4375 CARBIDE DRILL Surely this is not impossible for MC to output correctly. Not that I could put it to use yet as we still don't have a modified post that will correctly transfer the part and output the correct subspindle codes. However I also use double ID holders for main spindle work. Which is exactly what caused this post.
  2. I found what to delete to keep the G71 cycle from outputting the G70 command. Thanks. Of course it might keep it from outputting the G70 block when I DO want it. Haven't tried that, and will worry about it when/if I ever need it to be output.
  3. Thanks. I thought at first you were pulling my leg. Then I realized I was only reading white!
  4. MPFAN: I know how to use the zip2go option, but not the FTP site. Dan: It also needs a U and W value. You are correct about the finish pass. I NEVER have used MC this way, although now that the company is forcing me to use MC for all my programming, I can see where I may on occasion use it...in brass or aluminum. The rapid move to the starting position won't affect how the program runs. It just doesn't need to be there. I'm a stickler for having as clean a program as possible. Had an alternate copy of this post that had been modified by our reseller. Was unable to use it because it said there was no post associated with it. Yesterday it finally asked me if I wanted to use such-and-such post with it. Now the G71 cycle is working as it should except for putting out that last rapid move to the Z-starting position. Which is the G0Z.03 in my example. I would like someone to explain step-by-step how to use the FTP site. I imagine it would be a handy thing to know. I thank you both for your help.
  5. Kind of surprised no one has given me the solution yet. Usually I turn to this forum before emailing my reseller as I quite often get a quicker answer. I hope no one minds my asking lots of posting questions. Due to the economy I find I have more free time now to work at correcting the output from our posts. Simple (to me) problems I can fix. Many aren't simple enough. thanks, Simple Simon
  6. I need to use Canned Text to output the M-codes for part catcher extend and retract. It works on the Daewoo 200MS post, but not the Daewoo Lynx post. The 200MS post is relatively new. Downloaded about 2-1/2 years ago. The Lynx post if from at least v9, probably even an earlier version. I've sent an email to our reseller, but thought I would also ask here. What has to be added/modified to allow the use of Canned Text? Or is it something in the Machine Definition? Hadn't thought to look there until this moment. Thanks.
  7. Mr. Paul Decelles helped me some time ago straighten out my G71 canned cycle. Parameters had to be changed. Testing out another post. Parameters are per Paul's list, but cycle still no good. Here is the output: G71U.083R0. G71P802Q804U0.W0.F0. N802G0X.7936 G1X.994Z-.0702 Z-1.01 G3X1.0105Z-1.0322R.034 G1Z-1.7159 Z-1.733 X1.1292 X1.1905Z-1.7637 Z-1.9318 Z-2.6755 X1.3187 X1.38Z-2.7062 Z-2.95 N804X1.5 G0Z.03 G70P802Q804 As you can see, no R-value in first block, no U, W or F-value in second block. The 2 blocks after N804 block shouldn't be there. What else should I be looking at? Thanks. I've tried comparing the 2 posts, but they aren't exactly the same so I'm not sure what changes I can make. Working one is from V9 (or earlier) while the one not working was downloaded by the reseller after X2 was out.
  8. Never mind. I found what to change.
  9. Got it to work on a second part. Have to go back to the first one I tried, and see what I did different. Thanks a lot for your help.
  10. Can get it to put out one code only, not both. I've tried several combinations.
  11. cncguy, thanks for the reply and triple thanks for the pics! Will try it as soon as I have a chance. Sorry about not replying sooner. Computer has been giving me fits. Tech has been in twice, plus working remotely on it several times the past few days. Hopefully it is good to go now.
  12. Lars: It isn't a special tool. Regular cut-off, but on the Lynx I need an M10 to raise the part catcher and an M11 to retract it after the part cuts off. cncguy: I see the canned test option on the parameters page, but I can't type in anything once I open it. Also, where would this text be in the output?
  13. Some of the newer posts our reseller modified for us are adding extra spaces in the tooling header. Looks kind of like TAB was used. Well I tried to show an example, but the extra spaces are being stripped when I post. Here is one tool listed. T0606 55 DEG. PROFILE TOOL DNMG-432 2025 ROUGH In this case the 'T0606 55 DEG. PROFILE TOOL' has the most characters before the insert call out. What the post is doing is lining up all insert definitions (or drill size) for every station with the 'DNMG'. I want to remove the extra spaces at that location. Thanks for any help.
  14. do I make the changes so the cut-off tool will insert Parts Catcher Forward and Retract M-codes? I haven't the foggiest idea where to start looking for this. Thanks.
  15. I am making 5 washers per barstop. I had to assign a variable to each part as there is .002 size difference from the 1st part to the 5th part on the ID, and there is only .002 total tolerance. The OD isn't nearly as far off. I've always used variables, but the company wants to only use what MC outputs. We will be aligning the spindle (which should correct the problem), but for now I need to use the variables. Is there a way to set the post up to assign variables? Here is what I have in the header. #501 CONTROLS BORE 1ST PART #502 CONTROLS BORE 2ND PART #503 CONTROLS BORE 3RD PART #504 CONTROLS BORE 4TH PART #505 CONTROLS BORE 5TH PART #511 CONTROLS OD 1ST PART #512 CONTROLS OD 2ND PART #513 CONTROLS OD 3RD PART #514 CONTROLS OD 4TH PART #515 CONTROLS OD 5TH PART This is the part of my subprogram that uses the variables. N200M91 (FINISH TURN) T0202S1630M63 X1.76Z.03 G96S750 G1Z0F.008 X1.12F.0035 G0X1.67W.02 G1X[1.6871+#510]Z0F.002 G3U.0268W-.0056R.019 G1U.0164W-.0082 G3U.0112W-.0134R.019 (X1.7415) G1Z-.1372F.003 G3U-.0051W-.0095R.019F.002 G1U-.0223W-.0193 X1.77F.008 M92 M1 N1200M91 (FINISH BORE) T1212S2275M63 X1.26Z.5 Z.03 G1X[1.2614+#500]Z.01F.015 Z0F.002 G2U-.048W-.01R.034 G1U-.0164W-.0082 G2U-.02W-.024R.034 (X1.177) G1Z-.19F.006 U-.02F.015S1300 M92 M1 N400M91 (BACK CHAMFER I.D.) T0404S1300M63 X1.13Z.5 Z-.18 G1X1.15Z-.1919F.015 X[1.177+#500]F.003 G2U.0046W-.0057R.008F.001 G1U.023W-.0115 X1.13F.03S530 M92 M1 And the variables are set in the main program thusly. N1#500=#501 (RUN 1ST PART) #510=#511 G54M98P1582 M54 (PART COUNTER) M1 N2#500=#502 (RUN 2ND PART) #510=#512 G55M98P1582 M54 (PART COUNTER) M1 N3#500=#503 (RUN 3RD PART) #510=#513 G56M98P1582 M54 (PART COUNTER) M1 N4#500=#504 (RUN 4TH PART) #510=#514 G57M98P1582 M54 (PART COUNTER) M1 N5#500=#505 (RUN 5TH PART) #510=#515 G58M98P1582 /M54 (PART COUNTER) /M99 M30 I know there are some MC gurus on this forum that are light years ahead of me. Has anyone modified a post for this kind of output? Thanks. [ 06-30-2009, 02:40 PM: Message edited by: g-codeguy ]
  16. Thanks Tony. First thing tomorrow morning.
  17. I assume you are turning the .5 diameter ends. Only thing I can add to what has already been said is to try a cermet for the finish turn. It will give a decent finish at some pretty slow sfm. Either that or try a ground PVD coated insert.
  18. Our posts aren't set up correctly yet to make multiple parts off one barstop. I deleted the Transform operation, but all the finish ops still have the white face and won't post. What do I need to do to post out all operations? Thanks.
  19. Are you threading on a lathe? If so, are you using the one-block G76 canned cycle? If yes, you have a choice of P1 through P4. One will do what you are asking for. If you are using a lathe and the cycle I mentioned, then I will look up which P value to use tomorrow at work. Lathes I normally program for use the 2-block call so I don't know off the top of my head which one to use. Otherwise I can't help you. Sorry.
  20. Dan, here is a simple deep drill cycle from Hardinge. The referral to P9135 is a note for me. Some older lathes came with that program for deep drilling. Not quite as flexible as the P9136 sub. G65P9136K-2.565B.02F.008W.7C.25A.2Z-.375 #4 READS CURRENT Z POSITION. IT DOESN'T IN P9135 K = FINAL DRILL DEPTH. MUST BE NEGATIVE B = DISTANCE FROM PREVIOUS PECK THAT THE DRILL RAPIDS TO F = YUP, YOU GUESSED IT W = AMOUNT OF FIRST PICK C = MINIMUM PECK (EXCEPT FOR FINAL PECK) A = DWELL IN SECONDS AT RETRACT POINT Z = DEPTH YOU WANT THE DRILL TO START DRILLING AT. Z0 UNDERSTOOD IF NO Z * :9136 (DEEP DRILL) IF[#6GE0]GOTO70 G0W0 #4=#5002 #3=ABS[#3] #2=ABS[#2] IF[#19EQ98]GOTO1 #19=99 N1G#19F#9 #27=ABS[#23] #28=ABS[#6]-ABS[#26] #29=ABS[#26] DO1 IF[#27LE#3]GOTO2 GOTO3 N2#27=#3 N3IF[#27GE#28]GOTO4 G0Z[#2-#29] G1Z-[#29+#27] G0Z#4 G4U#1 #28=#28-#27 #29=#29+#27 #27=#27*.5 END1 N4G0Z[#2-#29] G1Z#6F#9 G0Z#4 M99 N70#3000=1(K MUST BE NEGATIVE) % I was going to make a couple minor changes at the end because some of our lathes stop loading as soon as they read the M99, but haven't gotten around to it yet. If your lathe is the same, simply make this change: G0Z#4 GOTO71 N70#3000=1(K MUST BE NEGATIVE) N71M99 EDIT: A sample from Hardinge lathe. N100M91 (F DRILL) G4T0101S700M13 X0Z.5 G65P9136K-1.32B.02F.004W.5C.22A.2 M91 M1
  21. Okay. Why am I getting this output from a couple of our lathe posts? G83Z-1.1R-.15F.003 Not what I want. A simple G1Z-1.1F.003 will suffice. Think I did change it on one post, but didn't write it down, and now I can't recall what I changed. Also I will post a simple drill cycle from the Hardinge lathes. I use it on all the Fanuc controlled lathes.
  22. Ain't it amazing what a little good cutting oil can accomplish. They like to recycle it around here. Talk about smoking! They also buy the cheap stuff to start with. Finally did invest in something a little better. Reminds me when I use to work for Sperry Rail Service. Got transferred out west during the winter. Air lines were freezing up. I told them to put some alcohol in the lines. No secret. Standard procedure. Nope. They had put some in a few days ago. I said add more. Nope. So 2 of us had to get out and thaw the lines ever few hours with flares. Burrrr. After a few days of this the acting Chief Operator did as I had suggested. No more frozen lines. How does that saying go? "You can lead a horse to water, but..."
  23. Yes, I am getting 2 Z values on the approach. Z.4991 and Z.5 Putting .5 in the"Acceleration clearance" block for the 1st thread cycle yields X.43Z.5073 Z.5082 A messed up thread if not modified. Yes the Z.4991 is my problem. Reference point is not selected.
  24. I am getting two Z values for my threading cycle. The re-thread cycle puts it out correctly. On re-thread I can specify .5 in the "Acceleration clearance" block and my Z approach is Z.5. I have to fudge this value on the thread cycle. Threading with a compound angle other than zero has always been a problem in MC. Problem seems to have been halfway solved in X3. Here is the output I am getting. X.43Z.4991 Z.5 G76P000029Q30R.003 G76X.344Z-.57P230Q100R0.F.03937 Anyone know how to eliminate the extra block? Thanks. Dale
  25. Bryan, do you know where 'thda2$' is taking its value from? I don't see why it would be better. 'thdangle$' is reading the value a programmer specifies for the compound infeed. At least that is the result I am getting when the program is posted.

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