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:

rockstar

Verified Members
  • Posts

    15
  • Joined

  • Last visited

Everything posted by rockstar

  1. Newbie Which line did you fix in the post to get your resutl
  2. is there any way to output G10 after M30 thanks in advance
  3. All, is there a way we can turn this function off without modifying the post
  4. Robert, this is what I've added to the post b9_toz = toz$ -29.138
  5. Robert, this is what i get, please help G90 G10 L2 P1 X0. Y21. Z-25.138 B0 (G54 B0.) G90 G10 L2 P1 X0. Y21. Z-25.138 B0 (G B0.) G90 G10 L2 P1 X0. Y21. Z-25.138 B0 (G B0.) G90 G10 L2 P2 X0. Y6. Z-25.138 B0 (G55 B0.) G90 G10 L2 P2 X0. Y6. Z-25.138 B0 (G B0.) G90 G10 L2 P2 X0. Y6. Z-25.138 B0 (G B0.) G90 G10 L2 P3 X0. Y21. Z-25.138 B0 (G56 B90.) G90 G10 L2 P3 X0. Y21. Z-25.138 B0 (G B90.) G90 G10 L2 P3 X0. Y21. Z-25.138 B0 (G B90.) G90 G10 L2 P4 X0. Y6. Z-25.138 B0 (G57 B90.) G90 G10 L2 P4 X0. Y6. Z-25.138 B0 (G B90.) G90 G10 L2 P4 X0. Y6. Z-25.138 B0 (G B90.) G90 G10 L2 P5 X0. Y21. Z-25.138 B0 (G58 B180.) G90 G10 L2 P5 X0. Y21. Z-25.138 B0 (G B180.) G90 G10 L2 P5 X0. Y21. Z-25.138 B0 (G B180.) G90 G10 L2 P6 X0. Y6. Z-25.138 B0 (G59 B180.) G90 G10 L2 P6 X0. Y6. Z-25.138 B0 (G B180.) G90 G10 L2 P6 X0. Y6. Z-25.138 B0 (G B180.) G90 G10 L20 P1 X0. Y21. Z-25.138 B0 (G54.1 P1 B270.) G90 G10 L20 P1 X0. Y21. Z-25.138 B0 (G54.1 P1 B270.) G90 G10 L20 P1 X0. Y21. Z-25.138 B0 (G54.1 P1 B270.) G90 G10 L20 P2 X0. Y6. Z-25.138 B0 (G54.1 P2 B270.) G90 G10 L20 P2 X0. Y6. Z-25.138 B0 (G54.1 P2 B270.) G90 G10 L20 P2 X0. Y6. Z-25.138 B0 (G54.1 P2 B270.) M1 # -------------------------------------------------------------------------- # Buffer 9 Read / Write Routines - G10 coordinate list # -------------------------------------------------------------------------- pwritbuf9 # Write the workoffset and origins to buffer 9 - called from pwrtt$ #--------------- Initialize variables size9 = rbuf(9,0) rc9 = 1 new_x = 0 new_y = 0 new_z = 0 new_workofs = 0 while rc9 <= size9, # Determine if current workoffset/origin is unique [ b9_tox = rbuf(9,rc9) b9_cabs = atan2 (m7$, m1$) if b9_tox <> tox$, new_x = new_x + 1 if b9_toy <> toy$, new_y = new_y + 1 if b9_toz <> toz$, new_z = new_z + 1 if b9_workofs <> workofs$, new_workofs = new_workofs + 1 ] if new_x = size9 | new_y = size9 | new_z = size9 | new_workofs = size9, # If current workoffset/origin is unique, write to buffer 9 [ b9_tox = tox$ b9_toy = toy$ b9_toz = toz$ -29.138 b9_workofs = workofs$ b9_cabs = atan2 (m7$, m1$) b9_tox = wbuf(9,wc9) ] preadbuf9 # Write the G10 workoffset list - called from psof #------------------------------------------------------------------ # Determine largest workofs output - b9_test = largest workofs used #------------------------------------------------------------------ #--------------- Initialize variables size9 = rbuf(9,0) rc9 = 1 wc9 = 1 b9_test = -1 while rc9 <= size9, [ b9_tox = rbuf(9,rc9) if b9_workofs > b9_test, b9_test = b9_workofs ] #------------------------------------------------------------------ # Ouptut the G10 list in order #------------------------------------------------------------------ #--------------- Initialize variables size9 = rbuf(9,0) rc9 = 1 wc9 = 1 idx9 = 0 b9_tox = 0 b9_toy = 0 b9_toz = 0 b9_workofs = 0 while idx9 <= b9_test, [ while rc9 <= size9, [ b9_tox = rbuf(9,rc9) if b9_workofs = idx9, [ p_wcs = b9_workofs + 1 if b9_workofs < 6, [ b9_pwcs = p_wcs + 53 if use_g10 = 1, [ n$, "G90", "G10", "L2", *p_wcs, *b9_tox, *b9_toy, *b9_toz, "B0.", "(G", b9_pwcs, *b9_cabs, no_spc$, ")", e$ ] if use_g10 = 2, [ n$, "G90", "G10", "L2", *p_wcs, *b9_tox, *b9_toy, *b9_toz, *srot_label, no_spc$, "0", "(G", b9_pwcs, *b9_cabs, no_spc$, ")", e$ ] ] else, [ b9_pwcs = p_wcs - 6 if use_g10 = 1, [ n$, "G90", "G10", "L20 P", *b9_pwcs, *b9_tox, *b9_toy, *b9_toz, "B0.", "(G54.1 P", *b9_pwcs, *b9_cabs, no_spc$, ")", e$ ] if use_g10 = 2, [ n$, "G90", "G10", "L20 P", *b9_pwcs, *b9_tox, *b9_toy, *b9_toz, *srot_label, no_spc$, "0", "(G54.1 P", *b9_pwcs, *b9_cabs, no_spc$, ")", e$ ] ] ] ] idx9 = idx9 + 1 rc9 = 1 ] "M1", e$
  6. Robert, please help me add this function to the copy of mpmaster-zoob.pst tox3 = tox6 #Figures X Offset from machine zero toy3 = toy6 - 25.5905 #Figures Y Offset from machine zero toz3 = toz6 #Figures Z Offset from machine zero
  7. now its posting out M5 & M9 on the same line can someone please help
  8. rockstar

    POST

    I am using mastercam X3 with mpmaster post the problem is when i use the function force tool change it posts two M9 Can someone help
  9. i am having problem creating custom tool geometry please help
  10. thanks for the help but it still post out with an "O"
  11. thanks for the help but it still post out with an "O"
  12. how can i get mastercam x3 to post out n instead of o for sub program # using mpmaster

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