![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
I would like to run a subprogram 5 different times at 5 different locations. I have done this before but not in Mach3 and it has been a long time. I was trying to use G54 G55 etc.. and to call my sub G98 P1234. Can someone give me an example of this code? Thanks Tommy |
|
#2
| |||
| |||
| It would be something like: Z(well above work) G54 G98 P1234 Z(well above work) G55 G98 P1234 Z(well above work) G56 G98 P1234 etc etc The subprogram could have a rapid move to the start point such as: O1234 G00 Xxxxxx Yyyyy Zzzzz (Now move Z down once you are there) blah blah blah Z(well above work) M99 The reason for lifting Z well above the work just before the subprogram and in the subprogram is just for added safety. |
|
#4
| ||||
| ||||
| Try M98 instead of G98
__________________ Gerry Mach3 2010 Screenset http://home.comcast.net/~cncwoodworker/2010.html (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |