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:

mustardcam

Verified Members
  • Posts

    8
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

mustardcam's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

4

Reputation

  1. The predefined variables are not mapped correctly. Some are absolute and some are incremental adding the incremental values to known absolute reference values make them absolute as well. turns out this was a mapping issue and my calculations are working.
  2. drl_init_z$ (clearance height) Mapped value drl_sel_ref$ (retract height) not mapped drl_sel_tos$ (top of stock) not mapped drl_ref_z$ (referance point in space for top of hole) Mapped value drl_depth_z$ (hole depth) Mapped value drl_sel_ref$ & drl_sel_tos$ get output from mastercam as inc values. I am using the calc's below to calculate these variables based on a mapped value zrefhgt = drl_ref_z$ + drl_sel_ref$ ztoshgt = drl_ref_z$ + drl_sel_tos$ FYI I'm new to post writing and open to advises if I'm doing it wrong.
  3. I am trying to write a custom drill cycle to do some 3+2 moves and probe points on a surface. I am using a 5 axis drill tool path with a custom drill cycle. I have it working mostly how i want to but the Z values are coming out wrong. Any advice would be appreciated machine is a Mazak Variaxis. first hole pdrlcommonb #customer probing cycle #EJL svar = drl_prm1$ zrefhgt = drl_ref_z$ + drl_sel_ref$ ztoshgt = drl_ref_z$ + drl_sel_tos$ #pbld, n$, "G43", *tlngno$,e$ pbld, n$, "M01", "M09",e$ pbld, n$, "M05",e$ pbld, n$, "M19",e$ pbld, n$, "G00", *drl_init_z$,"G43", *tlngno$,e$ pbld, n$, *zrefhgt,e$ pbld, n$, "G31", *drl_depth_z$, "F500.", "(fast probe touch)",e$ pbld, n$, *ztoshgt,e$ pbld, n$, "G31" *drl_depth_z$, "F50.", "(slow probe touch)",e$ P_varplusone,!svar "#",*svar, "=", "#5023",e$ pbld, n$, "G00", *drl_init_z$,e$ pcom_movea additional holes pdrlcommonb zrefhgt = drl_ref_z$ + drl_sel_ref$ ztoshgt = drl_ref_z$ + drl_sel_tos$ #pbld, n$, "G00", drl_init_x$, drl_init_y$,e$ pbld, n$, "M01",e$ pbld, n$, "G00", *drl_init_z$, "G43", *tlngno$,e$ pbld, n$, *zrefhgt,e$ pbld, n$, "G31", *drl_depth_z$, "F500.", "(fast probe touch)",e$ pbld, n$, *ztoshgt,e$ pbld, n$, "G31" *drl_depth_z$, "F50.", "(slow probe touch)",e$ P_varplusone,!svar "#",*svar, "=", "#5023",e$ pbld, n$, "G00", *drl_init_z$,e$ pcom_movea output from my custom drill cycle X-15.26 Y16.386 S1000 M3 Z90.14 M8 M01 M09 M05 M19 G00 Z23.244 G43 H1 Z14.226 G31 Z-.845 F500. (fast probe touch) Z9.226 G31 Z-.845 F50. (slow probe touch) #1 = #5023 G00 Z23.244 output from normal drill cycle X-15.26 Y16.386 S1000 M3 Z90.14 M8 G81 G98 X-15.26 Y16.386 Z33.14 R45.14 F120. G80 M9 G69 G49 G0 G90 G53 Z0.
  4. now I get this output from the post and it still falls over when it sees letters, apart from the Groupcom it's pulling in from somewhere. (groupcom 2568542.)
  5. Hey Team, I am trying to output the Tool manufacturers code from the tool settings into the G code. I have it working when the tool code is numerical but when the tool code has letters in the code it stops outputting after the Tool manufacturers code after the first letter is hit. ex. 78987t8987 post will output 78987 and stop. pardon the bad coding I am hacking and learning as I go. Thanks in advance. fmt "TC=" 25 groupcom # out put the tool_op$ Manufactuers code if prmcode$ = 20002, groupcom = rpar(sparameter$, 50) (Pheader) sopen_prn, *groupcom, sclose_prn, e$
  6. I have sent this to QC at least 5 times
  7. Hey Gs I see the error from time to time and just close and reopen MC, It's annoying. today I sore a case where every time the simulator launched the error occurred. "Unknown error has occurred " (most brain dead error name ever) This issue was caused because all of the machine simulator default machines were removed from the MC2020 shared machine sim folder. The "5_5AXGEN_VMCTTAB" cannot be removed from the folder. It is used by the Mastercam verify machine simulator as a default machine. put this one machine back in the MC2020 shared machine sim folder and the simulator works again.

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