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:

cncchipmaker

Verified Members
  • Posts

    190
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by cncchipmaker

  1. What you would have to do is transfer your Z machine position to your current tool length offset. I will have to do some research to find the system variables, but the program would be something like this. O0001 (TOUCH TOOL) #2001=#5003 G91G28Z0 G90 M30
  2. What you would have to do is transfer your Z machine position to your current tool length offset. I will have to do some research to find the system variables, but the program would be something like this. O0001 (TOUCH TOOL) #2001=#5003 G91G28Z0 G90 M30
  3. What you would have to do is transfer your Z machine position to your current tool length offset. I will have to do some research to find the system variables, but the program would be something like this. O0001 (TOUCH TOOL) #2001=#5003 G91G28Z0 G90 M30
  4. Nice job, most of the applicatons I have written them for are for 3D machining. I have some that machine cones, rads, and pyramids.
  5. I am not looking to get paid, I just enjoy helping others solve problems. I am also interested in learning how others use this type of programming in their shops.
  6. I am looking to help others with thier programs and teach this type of programming to others.
  7. I was not aware that any program could generate a custom macro b programs. Usually at our shop someone like me would write the macro or custom drill cycle and cut and paste in all of the hole positions. Probing is the same way but the macros are always stored in the machine. If you still need a macro I would be more than happy to help.
  8. Here is one of my very first macros. It can machinine a cone of any size or angle. You can also pick any tool size you want. I also added a feature that speeds up the cutter as it travels down the cone. We have used this on tooling and roughed out larger parts before turning. Let me know what you think. O6777(OD CONE MACRO) (ABSOLUTE SURFACING MACRO) (WORKS) (FORMAT G65/G66 AQDTMSRZEF) (A = #1 - INCLUDED ANGLE OF PART FROM TOP) (Q = #17 - STEPOVER IN Z/ CUSP HEIGHT) (D = #7 - TOOL DIAMETER) (T = #20 - TOOL RADIUS/ BALL OR BULL) (M = #13 - MATERIAL SIZE/ SQUARE OR ROUND) (S = #19 - PART DIAMETER/ TOP) (R = #18 - R PLANE) (Z = #26 - Z START ZERO) (E = #8 - END OF TAPER IN Z) (F = #9 - FEEDRATE) (***********************************) #100=ABS[#26]-ABS[#8] #100=ABS[#100] IF[[#26*#8]GE0]GOTO1 #100=ABS[#26]+ABS[#8] N1#101=ROUND[#100/#17] #102=#100/#101 IF[#102GT[#100/2]]GOTO1000 #103=#5001 #104=[#103-.1]-[[#7/2]+[#13/2]] #105=#5002 #113=#105 #115=[#105+.1]+[[#7/2]+[#13/2]] #155=0 IF[#7EQ[#20*2]]GOTO10 #105=#105+[[#7/2]-#20] #155=#155+[[#7/2]-#20] N10#105=#105+[#19/2] #155=#155+[#19/2] #125=90.+[#1/2] #105=#105+[#20/TAN[#125/2]] #155=#155+[#20/TAN[#125/2]] G0G90X#104Y#115 Z[#26+.1] G1Z#26F#9 #106=#5003 #109=#9 #135=[#155*2]*3.14 WHILE[#101GE0]DO1 IF[#101LT0]GOTO100 #101=#101-1. G1Z#106F#109 G41Y#105 X#103 G02J-#155 G03X[#103+.1]Y[#105+.1]J.1F[#9/2] G0Z[#106+.1] G40X#104 #105=#105+[TAN[#1/2]*#102] #155=#155+[TAN[#1/2]*#102] #145=[#155*2]*3.14 #109=#9*[#145/#135] #106=#106-#102 END1 N100G0G90Z#18 X#103Y#113 M99 N1000#3000= 1( Q VALUE TOO BIG )
  9. I am new to the forum, what would be the best way to get that to anyone here?
  10. They cut different shapes like cones, rads, and one of the latest does a pyramid. They are mainly for fun but I have used them for tooling.
  11. Would anyone be interested in 3d custom macros? I have developed several over the years.
  12. Our shop cuts alot of 304 stainless. We have been using high feed cutters and have ran feedrates around 300 ipm depending on the application. These are carbide insert and the design allows for a large chipload.
  13. I think that macro programming is an awesome tool. I have been using it for touch probes and parametric programming for about ten years. I think that for most people it is harder to grasp than most cad systems simply because hardly anyone teaches it. It can do more than just bolt circles and holes. I have developed a family of programs that machine 3d features on parts all using custom macro b.

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