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:

irene huylar

Members
  • Posts

    4
  • Joined

  • Last visited

    Never

irene huylar's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Thanks for your input. I tried what you said and this is what the program does: (1/4" SKI CARB, D1) G90 G54 X-.3 Y-.3 T6 G43 H1 Z2. M3 S6000 Z.1 M8 G1 Z-1. F50. G41 D1 X0. F20. Y15. G0 G40 Z2. M8 X20.3 M8 Z.1 M8 G1 Z-.212 F50. G41 D1 X20. F20. Y-.3 G0 G40 Z2. M8 M6 As you can see it puts in too many M8's and doesn't put an M9 at the last G0 G40 Z2. line before the tool change. The psof portion of my post: psof$ #Start of file for non-zero tool number pcuttype toolchng = one if ntools$ = one, [ #skip single tool outputs, stagetool must be on stagetool = m_one !next_tool$ ] "%", e$ ":",*progno$,"(",sprogname$,")", e$ "(",sprogname$,")", e$ "(",date$,")", e$ "(REV 0)", e$ "G0 G40 G80 G90", e$ "(1/2 STOP)", e$ "G54 X-.3125 Y-1.5 T1", e$ "G43 H Z2.", e$ "Z.1", e$ "G1 Z-.2 F20.", e$ "M0", e$ "G0 Z2.", e$ "M6", e$ "M0", e$ sav_absinc = absinc$ if mi1$ <= one, #Work coordinate system [ absinc$ = one absinc$ = sav_absinc ] pcom_moveb c_mmlt$ #Multiple tool subprogram call pcan if stagetool >= zero, pbld, n$, e$ ptoolcomment comment$ pcan if stagetool >= zero, pbld, n$, e$ pindex if mi1$ > one, absinc$ = zero pcan1, pbld, n$, "G90 G54",pfxout, pfyout, pfcout, pgear, strcantext, next_tool$, e$ pbld, n$, "G43", *tlngno$, pfzout, *spindle, *speed, scoolant, e$ absinc$ = sav_absinc pcom_movea toolchng = zero c_msng$ #Single tool subprogram call The tool change portion of my post: ptlchg$ #Tool change pcuttype toolchng = one if mi1$ = one, #Work coordinate system pbld, n$, e$ pcom_moveb c_mmlt$ #Multiple tool subprogram call ptoolcomment comment$ pcan result = newfs(15, feed) #Reset the output format for 'feed' pbld, n$, e$ pindex sav_absinc = absinc$ if mi1$ > one, absinc$ = zero pcan1, pbld, n$, "G90 G54",pfxout, pfyout, pfcout, pgear, strcantext, next_tool$, e$ pbld, n$, "G43", *tlngno$, pfzout, *spindle, *speed, scoolant, e$ absinc$ = sav_absinc pcom_movea toolchng = zero c_msng$ #Single tool subprogram call pretract #End of tool path, toolchange sav_absinc = absinc$ absinc$ = one sav_coolant = coolant$ coolant$ = zero #cc_pos is reset in the toolchange here cc_pos$ = zero gcode$ = zero pbld, n$, sccomp, e$ pbld, n$, "M6", e$ absinc$ = sav_absinc coolant$ = sav_coolant Hopefully this helps. I.H.
  2. I must have been a bit too tired last night when I posted this. What I really need is the M52 to be on the last drill point line. Truly sorry about that, guys. I need: G83 Z-1. R.1 I.1 J.3 F105 M53 Y5. Y1. M52 M9 T2 G0 G80 G15 X0. Y0. H09 M5 M6
  3. How do I get M52 on the G80 Z2. tool line, rather than all by it's lonesome on the next line down? G0 G15 X1. Y10. H01 M3 S3500 G71 Z2. G56 Z2. H3 M8 G83 Z-1. R.1 I.1 J.3 F105 M53 Y5. Y1. M52 M9 T2 G0 G80 G15 X0. Y0. H09 M5 M6
  4. I need to get M8 onto the Z.1 line in my Mori Seiki M300-L vertical mill post. I use Mastercam X2. What I have: G90 G54 X-.3 Y-3. G43 H1 Z2. M3 S6000 T2 Z.1 G1 Z-.52 F50. G41 D1 Y3.3 F20. G0 G40 Z2. M9 M6 If I tell it to turn on the coolant at the "prapidout" in the linear portion of the post, it also puts M8's on any other Z2 or rapid move. It will also put M8 on the "G0 G40 Z2." line above, rather than the M9.

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