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:

John Williamson

Verified Members
  • Posts

    9
  • Joined

  • Last visited

John Williamson's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hello, I have to edit mplfan for x4 to change the depth of cut on canned cycles to whole numbers instead of decimals. It reads like G71 P1 Q2 U.05 W.002 D.1 F.01 IT SHOULD READ G71 P1 Q2 U.05 W.002 D1000 F.01 also, I need to make G83 read without a decimal number for Q ex, G83 Z-1. Q1250 F.005 R.1 any suggestions?
  2. Hello, Im still kinda new to editing the post processors. What im trying to do is add a blank line after M1 so toolchanges are easier to find when reading through the program. I have X7 and using the generic fanuk 3x mill post. can anyone advise me on how to do that? Thanks
  3. one more thing I haven't figured out is how to make tool rapid to Z5.0 before G28 U0. That's a clearance move that we utilize here and I have to input that in every program I write. It would be great if I could write the PP to do it instead
  4. Format:HTML Format Version:1.0 StartHTML: 165 EndHTML: 1452 StartFragment: 314 EndFragment: 1420 StartSelection: 314 EndSelection: 314 % O0000 (T) (JOHN WILLIAMSON) (12-06-13---11:26) G20 (TOOL - 123 OFFSET - 123) (DRILL .375 DIA.) G0 T12423 G97 S1200 M03 G0 G54 X0. Z.25 /M8 G83 Z-1. Q.125 F.003 R.1 M9 G28 U0. M05 M30 % well, it seems I figured it out. sorry to bother!
  5. here is the canned drilling area of my post #Canned drill cycle, lathe #Use this postblock to customize lathe drilling cycles 0 - 7 pdrlcommonb "CUSTOMIZABLE DRILL CYCLE ", pfxout, pfyout, pfzout, e$ pcom_movea lpeck$ #Canned peck drill cycle, lathe ldrill$ lchpbrk$ #Canned chip break cycle, lathe gcode$ = zero prv_dwell$ = zero @dwell$ comment$ pcan pe_inc_calc xabs = vequ(refht_x) ps_inc_calc pcan1, pbld, n$, sgcode, pzout, strcantext, e$ pe_inc_calc xabs = vequ(depth_x) ps_inc_calc if old_new_sw = one, [ pbld, n$, *sg74, *peckclr$, e$ result = nwadrs (strq, peck1$) ] else, result = nwadrs (strk, peck1$) pcan1, pbld, n$, *sg74, pfzout, *peck1$, pffr, strcantext, e$ prv_gcode$ = m_one if refht$ <> initht$, [ gcode$ = zero xabs = vequ(refht_x) ps_inc_calc pe_inc_calc xabs = vequ(initht_x) ps_inc_calc pbld, n$, sgcode, pfzout, e$ ] pcom_movea ltap$ #Canned tap cycle, lathe gcode$ = zero prv_dwell$ = zero @dwell$ comment$ pcan pe_inc_calc xabs = vequ(refht_x) ps_inc_calc pcan1, pbld, n$, sgcode, pzout, strcantext, e$ pe_inc_calc xabs = vequ(depth_x) ps_inc_calc opcode$ = 104 #thread address from feedrate pbld, n$, *sthdg32, pfzout, pffr, pnullstop, e$ pdwell1 pe_inc_calc xabs = vequ(refht_x) ps_inc_calc pswtchspin pbld, n$, *sthdg32, pfzout, *spindle_l, e$ pdwell1 prv_gcode$ = m_one pbld, n$, pnullstop, e$ pswtchspin if refht$ <> initht$, [ gcode$ = zero pe_inc_calc xabs = vequ(initht_x) ps_inc_calc pbld, n$, sgcode, pfzout, *spindle_l, e$ ] pbld, n$, spindle_l, e$ opcode$ = 81 #Restore opcode pcom_movea
  6. well, what I edited was pretty simple stuff. since I am the only programmer in this shop I put a line in the pheader to display my name, changed the m8 to /m8 made canned rough cycles post in old one line format and added a D for depth of cut removed the g28 w0 from the reference return line and the tool callout before m1 I tried to post the files but im not allowed
  7. Hello all, I have read a lot in the forum about enabling canned drilling cycles in the control definition manager. I did that and I had the same problem MSL had earlier, afterwards it only posted CUSTOMIZABLE DRILL CYCLE instead of g83. However, he was using the mplmaster post. I tried replacing the text in the post with the text that Chris Mcintosh supplied him with and it messed up my post processor. I assume it only worked on the mplmaster post. Does anyone know what I must change to get the generic fanuk post processor to work? I have edited it in a lot of different areas so it is 90% perfect for what I need it to do only no g83 and g84 yet. I'm using X7

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