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:

rterpstra

Verified Members
  • Posts

    7
  • Joined

  • Last visited

Uncategorized

  • Location
    Michigan

rterpstra's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I think I found it. When I un-commented the call to pcom_movea, the post stop outputing the rapid move to X0Y0. Thanks PC for the offer. psof$ #Start of file for non-zero tool number prv_tloffno$ = c9k pcuttype toolchng = one if ntools$ = one, [ #skip single tool outputs, stagetool must be on stagetool = m_one !next_tool$ ] pbld, n$, *smetric, e$ pbld, n$, *sgcode, *sgplane, scc0, sg49, sg80, *sgabsinc, e$ sav_absinc = absinc$ if mi1$ <= one, #G92 Local Work coordinate system [ absinc$ = one pfbld, n$, sgabsinc, *sg28ref, "Z0.", e$ pfbld, n$, *sg28ref, "X0.", "Y0.", e$ pfbld, n$, sg92, *xh$, *yh$, *zh$, e$ absinc$ = sav_absinc ] if mi1$ = three | mi1$ = four, #G52 Work Shift [ absinc$ = one pfbld, n$, sgabsinc, *sg28ref, "Z0.", e$ pbld, n$, sg52, *xh$, *yh$, *zh$, e$ if xh$ | yh$ | zh$, shft_flg = one else, shft_flg = zero absinc$ = sav_absinc ] pcom_moveb pcheckaxis c_mmlt$ #Multiple tool subprogram call ptoolcomment comment$ pcan pbld, n$, *t$, sm06, e$ pindex if mi1$ > one, absinc$ = zero pcan1, pbld, n$, *sgcode, *sgabsinc, pwcs, pfxout, pfyout, pfcout, *speed, *spindle, pgear, strcantext, e$ pbld, n$, sg43, *tlngno$, pfzout, pstagetool, e$ pbld, n$, scoolant, e$ absinc$ = sav_absinc pbld, n$, sgabsinc, e$ pcom_movea #9-5-12 was commented out toolchng = zero c_msng$ #Single tool subprogram call
  2. debugger says pxout and pyout but the next toolchange dosen't output an X0 Y0 on the first Z move. Is there a switch in the MD or CD to output an X0 Y0 after the 1st toolchange?
  3. How do I get rid of the G00 X0 Y0 after the 1st Toolchange on block number N160 below. I'm using X6 and the post is Generic Haas 4X Mill.pst % O14451( ) ( 04-09-12 10:39 ) N100 G20 N110 G00 G17 G40 G49 G80 G90 ( 3/4 CARBIDE FLAT ENDMILL | TOOL - 1 | DIA. OFF. - 1 | LEN. - 1 | TOOL DIA. - .75 ) N120 M08 N130 T1 M06 N140 G00 G90 G54 X-6.6148 Y-10.0834 A0. S500 M03 N150 G43 H1 Z8. N160 X0. Y0. Z4.2 N170 X-6.6148 Y-10.0834 N180 G01 Z3.625 F20. N190 G41 D1 X-6.24 Y-10.0739 F8. N200 G03 X-5.8745 Y-9.699 I-.0095 J.3749 N210 X-5.8746 Y-9.6895 I-.375 J0. N220 G01 X-5.8841 Y-9.3125
  4. fmt X 2 xabs #X position output fmt Y 2 yabs #Y position output fmt Z 2 zabs #Z position output fmt X 3 xinc #X position output fmt Y 3 yinc #Y position output fmt Z 3 zinc #Z position output fmt I 3 iout #Arc center description in X fmt J 3 jout #Arc center description in Y fmt K 3 kout #Arc center description in Z When I put a "t" at the of the format statement, it does output 5 decimal places, but the values are still rounded-off in the G02/G03 output I attached the MCX-5 file I'm posting from. I couldn't attach the mpmaster.pst file but I downloaded it from this forum. thanks for the help, rod 500 HL.MCX-5
  5. I can't get the mpmasters.pst to output arcs with 5 decimals of precision. I have changed the format statement for 5 places like so. fs2 2 0.5 0.4 #Decimal, absolute, 5/4 place fs2 3 0.5 0.4d #Decimal, delta, 5/4 place The linear moves output 5 places but the arc move's XYIJ still output at 4 places. rod

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