clayallen

Members
  • Content count

    8
  • Joined

  • Last visited

Community Reputation

0 Neutral

About clayallen

  • Rank
    Newbie
  1. clayallen

    lathe thread feed

    Actually, i think the g76 thread is supposed to use fs 19, or fs 18. (See below) But for some reason my post ignores pfr_l, and is using fs 17 instead. (which is 2/1 place) If I change fs 17 to 4/3 place it will affect all the other feed statements. (format for lathe thread) pfr_l #Format feedrate for lathe if opcode$ = 104, [ #Format feedrate for lathe thread result = nwadrs(strf, feed) result = newfs (19, feed) ] else, [ result = nwadrs(strf, feed) result = newfs (18, feed) ] Curiously the change to the fs 17, 0.4 0.3 worked, but didn't affect the other feed rates. Makes no sense.
  2. My lathe post creates the following for peck drilling. Peck depth is supposed to be 0.05". Any suggestions on what to fix in the post, or why this is happening? And no, I don't have G83. That is why this is longhand. Peck drilling is turned on in the machine definition. This is a random error, that happens most of the time. (And, is it possible to get the subsequent rapid to stop just before the last drill depth, without writing a custom drill cycle?) N110 G0 X1.0 Z6.0 N120 G0 T0707 M41 N130 G97 S2000 M03 N140 G0 X0. Z.05 M8 N150 Z.1 N160 G99 G1 Z.04 F.005 N170 G0 Z.1 N180 Z.04 N190 G1 Z-.02 N200 G0 Z.1 N210 Z-.02 N220 G1 Z-.0506 << this is where it gets off. It should be 0.05. N230 G0 Z.1 N240 Z-.0506 N250 G1 Z-.0662 N260 G0 Z.1 N270 Z-.0662 N280 G1 Z-.0742 N290 G0 Z.1 N300 Z-.0742 N310 G1 Z-.0782 N320 G0 Z.1 N330 Z-.0782 N340 G1 Z-.0803 N350 G0 Z.1 N360 Z-.0803 N370 G1 Z-.0814 N380 G0 Z.1 . . . to infinity pecks...
  3. where in the post do I edit to get lathe thread feed to be 4 places, instead of 2pl? N970 G76 X.3937 Z-.1 P0219 Q0100 R0. F.04 <<< supposed to be 4pl. (F.0357)
  4. clayallen

    Modifying Long Hand drill code

    Where in the .pst file does this custom cycle get inserted?
  5. My lathe post creates the following for peck drilling. Peck depth is supposed to be 0.05". Any suggestions on what to fix in the post? (And, is it possible to get the subsequent rapid to stop just before the last drill depth, without writting a custom drill cycle?) N110 G0 X1.0 Z6.0 N120 G0 T0707 M41 N130 G97 S2000 M03 N140 G0 X0. Z.05 M8 N150 Z.1 N160 G99 G1 Z.04 F.005 N170 G0 Z.1 N180 Z.04 N190 G1 Z-.02 N200 G0 Z.1 N210 Z-.02 N220 G1 Z-.0506 N230 G0 Z.1 N240 Z-.0506 N250 G1 Z-.0662 N260 G0 Z.1 N270 Z-.0662 N280 G1 Z-.0742 N290 G0 Z.1 N300 Z-.0742 N310 G1 Z-.0782 N320 G0 Z.1 N330 Z-.0782 N340 G1 Z-.0803 N350 G0 Z.1 N360 Z-.0803 N370 G1 Z-.0814 N380 G0 Z.1 . . . to infinity pecks... claya
  6. clayallen

    Modifying Long Hand drill code

    Drill cycle does not work on my fanuc lathe control. Can I use the custom drill cycle #9 for peck drilling? Is there a simpler custom cycle that will do the same thig as a G74? Or preferably G83? clay
  7. Can someone please help with cleaning up some of these post errors? Some (like the home position, spindle rotation & feed error ) obviously are more critical than others (comments), but it would be nice to not have to edit ALL the time. I would be happy with just a fix to the home position, program number. I am very experienced at milling post editing, but these specific lathe errors elude me. Mori Seiki Lathe (Fanuc OT Mate) Mastercam X See the sample below: % O7900 <Where is this OLD program number coming from? It is 7805 in the tool settings N100 G20 / samplepost_2 / <is there a way to strip the first 5 characters in the file name, output the title of the program as a comment? / CNMG / / / MARTINFOOT /< Group comment, why does this repeat for every operation? / <What comment is this? / / RUF / / <Where is the toolpath group comment? N110 G0 X1.0 Z6.0 N120 G0 T0303 M42 N130 G50 S3500 N140 G96 S200 M03 <Spindle direction should be M04, Post ignores spindle setting, or alternate post leaves off M-code completely N150 G0 X.9213 Z.18 M8 N160 G99 G1 Z.08 F.012 . . . / DRILL .166 DIA. / / / MARTINFOOT / / N110 G0 X1.0 Z6.0 < Post always ignores the home position, regardless of operation setting N120 G0 T0606 M41 N130 G97 S450 M03 N140 G0 X0. Z.05 M8 N150 G74 R.250 <Change to 2500 N160 G74 Z-1. Q.370 F.2 <Change to 3700 N170 M9 M05 / 10-32 TAP / / / MARTINFOOT / / / / TAP / / N180 G0 X1.0 Z6.0 N190 G0 T0808 M41 N200 G97 S300 M03 N210 G0 X0. Z.05 M8 N220 G32 Z-.875 E.03125 M05 <Post uses E instead of F, for tapping only N230 G32 Z.1 M04 N240 M05 N260 G0 X3.0 Z3.0 M9 N270 M30 %
  8. clayallen

    cutter comp

    All Mcam experts, In Mcam X, or 9 for that matter. How do I force cutter comp to happen BEFORE the -Z plunge. In X there is a switch on the machine def/post options to enabe comp ABOVE the part. The default is no. It makes no difference in my output code with the switch on or off. It always comps with the tool in the material. this is not good. Is this one of the bugs in X that got fixed in X2? According to a friend, in Mcam 9 there is a Misc real value that controls the same feature. Any one know how to do that in 9? ca

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