Hello Guest it is April 16, 2024, 11:49:59 AM

Author Topic: combining 2 g code files  (Read 4557 times)

0 Members and 1 Guest are viewing this topic.

Offline Bill_O

*
  •  563 563
    • View Profile
combining 2 g code files
« on: March 18, 2009, 08:53:42 AM »
I have 2 g code files that I want to combine together in Mach. What would be the
easiest way? The names will always change and I am using User Labels to store
the names.
Bill

Offline Graham Waterworth

*
  • *
  •  2,671 2,671
  • Yorkshire Dales, England
    • View Profile
Re: combining 2 g code files
« Reply #1 on: March 18, 2009, 10:26:59 AM »
Store your file in the subroutines directory within Mach and call them with a program like this

O0001 (MAIN PROGRAM)
M98 (SUB_PROG1.TAP)
M98 (SUB_PROG2.TAP)
M30

Graham

Without engineers the world stops

Offline poppabear

*
  • *
  •  2,235 2,235
  • Briceville, TN, USA
    • View Profile
Re: combining 2 g code files
« Reply #2 on: March 18, 2009, 02:32:49 PM »
Master "G-Code Yoda Graham" has spoken.........

fun times