Hello Guest it is November 16, 2019, 04:11:56 PM

Author Topic: How to add/combine two NC files and add a pause  (Read 2623 times)

0 Members and 1 Guest are viewing this topic.

How to add/combine two NC files and add a pause
« on: August 01, 2008, 12:49:44 PM »
I have some NC files that I need to combine into one file and add a PAUSE and RESUME between them so the first file runs and pauses while I reposition the work and then resume and run the combined second file. I have no knowledge of how to do this in my ongoing education of CNC. Any help greatly appreciated.
Dave

Here is a condensed version of each file.

First File

( Grip Slot )
( Mach2/3 Postprocessor )
N20G00G20G17G20G90G40G49G80
N30G70
N40T1M06
N50G00G43Z0.7874H1
N60S1800M03
N70G94
N80X0.0000Y0.0000F20.0
N90G00X-0.0938Y0.4013Z0.2362
N100G01Z-0.2000F20.0
N110G01X5.0938
N120Y0.5987
N130X-0.0938
N140Y0.4013
N150G00Z0.2362
N160G00Z0.7874
N170G00X0.0000Y0.0000
N180M09
N190M30
%


Now Add a Pause
And Resume Here
And the second file

Second File

(( Grip Nose )
( Mach2/3 Postprocessor )
N20G00G20G17G20G90G40G49G80
N30G70
N40T1M06
N50G00G43Z0.7874H1
N60S1800M03
N70G94
N80X0.0000Y0.0000F20.0
N90G00X1.8096Y0.1349Z0.2362
N100G01Z-0.1500F20.0
N110G01X4.1854
N120Y0.4425
N130X1.8096
N140Y0.1349
N150X1.6533Y-0.0214
N160X4.3417
N170Y0.5987
N180X1.6533
N190Y-0.0214
N200G00Z0.2362
N210G00Z0.7874
N220G00X0.0000Y0.0000
N230M09
N240M30
%
« Last Edit: August 01, 2008, 12:52:58 PM by archerks »

Offline jimpinder

*
  •  1,233 1,233
  • Wakefield, West Yorks, UK
    • View Profile
Re: How to add combine two NC files and add a pause
« Reply #1 on: August 01, 2008, 12:54:42 PM »
Just put M1 after the first file - which will stop the machine and wait for a cycle start,

and cut and paste the second program to follow.

With the machine is stopped and waiting, your can jog the axis, change the tool or any other adjustment you want, providing you return the machine to the place to start the second file.
Not me driving the engine - I'm better looking.

Offline Hood

*
  •  25,856 25,856
  • Carnoustie, Scotland
    • View Profile
Re: How to add/combine two NC files and add a pause
« Reply #2 on: August 01, 2008, 01:40:24 PM »
You will have to remove the M30 from the end of the first programme or the second will not run, as Jim has said M1 will stop the code until you press start again so replacing the M30 with M1 will do the job for you. Also make sure on the General Config page that Stop on M1 is chosen.

Hood