Hello Guest it is October 16, 2019, 06:23:48 AM

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

0 Members and 1 Guest are viewing this topic.

Offline Bill_O

*
  •  240 240
    • 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

*
  • *
  •  1,888 1,888
  • 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,233 2,233
  • Briceville, TN, USA
    • View Profile
    • S S Systems, LLC
Re: combining 2 g code files
« Reply #2 on: March 18, 2009, 02:32:49 PM »
Master "G-Code Yoda Graham" has spoken.........

Commercial Mach3 & Mach 4, Design/Build/Retrofit CNC and Industrial machines.
http://www.ss-systems-llc.com/