![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Machines running Mach Software Discuss your set-up and experiences running your machine using Mach software here. |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
It's stalling with no error as if the program just ended. Today I got to the shop, and I have a working perfected code written with about 570 lines, It's all hand written, because I don't know how to use automatic roughing and finishing, or drilling cycles with Mach3 and it won't take the cycles I am familiar with. The control is stalling out at ~159. The notepad file doesn't display beyond that, nor will it run past that point. I ran a Mach turn update, and that changed nothing. So now a day is wasted. |
|
#2
| |||
| |||
| The problem is there no matter what I do. At 159 it begins to repeat the last two lines over and over. it won't do anything longer than around 150 lines. I can roll to the end of the program but it just takes those 135ish through 150 lines with it to the end of the program. THIS IS THE PROGRAM: T0303(face AND OD TURN) G0 Z.1 G0 X1.0 G1 Z0.050F.004 G1 X0.0F.003 G0 X1.0 G1 Z0.025 G1 X0.0F.004 G0 X1.0 G1 Z0.0 G1 X0.0F.003 G0 X0.910 G1 Z-.700F0.005 G0 Z-0.460 G1 X0.8019 Z-0.525F0.006 G0 X0.910 G0 Z-0.410 G1 X0.7352 Z-0.525F0.006 G0 X0.910 G0 Z-0.360 G1 X0.6686 Z-0.525F0.006 G0 X0.910 G0 Z-0.305 G1 X0.6223 Z-0.525F0.006 G0 X0.910 G0 Z-0.250 G1 X0.575 Z-0.525F0.006 G0 X0.910 G0 Z-0.200 G1 X0.550 Z-0.525F0.006 G0 X0.910 G0 X0.910 G0 Z-0.150 G1 X0.500 Z-0.525F0.006 G0 X0.910 G0 Z-.110 G1 X0.450 Z-0.525F0.006 G0 X0.910 G0 X0.900 F0.006 G0 Z-0.09 G1 X0.400 Z-0.525F0.006 G0 X0.910 G0 Z0.0 G1 X.890F0.003 G1 Z-0.075F.003 G1 X0.380 Z-0.525F.003 G1 X0.890 G1 Z-0.700 G1 X1.0 G0 Z4.0 M1 T1515 (SPOT DRILL) G0X0.0 Z.1 G1Z-.030F.003 G0Z4.5 M1 T1414 (17/64 BORE DRILL) G0X0.0 G0Z.1 G1Z-0.2F.003 G0Z0.0 G0Z-0.18 G1Z-.4F.003 G0Z0.0 G0Z-0.38 G1Z-0.6 G0Z0.0 G0Z-0.58 G1Z-.8F.003 G0Z0.0 G0Z-0.78 G1Z-1.0F.003 G0Z0.0 G0Z-.98 G1Z-1.2F.003 G0Z0.0 G0Z-1.18 G1Z-1.4F.003 G0Z0.0 G0Z-1.38 G1Z-1.6 G0Z0.0 G0Z-1.58 G1Z-1.8F.003 G0Z0.0 G0Z-1.78 G1Z-2.0F.003 G0Z0.0 G0Z-1.98 G1Z-2.2F.003 G0Z0.0 G0Z-2.18 G1Z-2.4F.003 G0Z0.0 G0Z-2.38 G1Z-2.6 G0Z0.0 G0Z-2.58 G1Z-2.8F.003 G0Z0.0 G0Z-2.78 G1Z-3.0F.003 G0Z0.6 T1717 (5/16" DRILL) G0X0.0 G0Z.1 G1Z0.0 G1Z-0.2F.003 G0Z0.0 G0Z-0.18 G1Z-0.4F.003 G0Z0.0 G0Z-0.38 G1Z-.535F.003 G0 Z0.25 M1 T1313 (ID BORING BAR) G0 X0.300 Z0.041 G0 Z0.011 G1 Z-0.03F0.005 G1 X0.790F0.005 G1 Z0.041 G0 X0.300 G0 Z-0.016 G1 Z-0.057F0.003 G1 X0.790 G1 Z0.041 G0 X0.289 Z-0.057 G0 X0.345 G1 X0.289 Z-0.130F.005 G0 Z-0.057 G0 X0.3999 G1 X0.289 Z-0.208F.005 G0 Z-0.057 G0 X0.446 G1 X0.289 Z-0.288F.005 G0 Z-0.057 G0 X0.4922 G1 X0.289 Z-0.368F.005 G0 Z-0.057 G0 X0.5384 G1 X0.289 Z-0.448F.005 G0 Z-0.057 G0 X0.5846 G1 X0.289 Z-0.5074F.005 G0 Z-0.057 G0 X0.6308 G1 X0.289 Z-0.5074F.005 G0 Z-0.057 G0 X0.677 G1 X0.289 Z-0.5074F.005 G0 Z-0.057 G0 X0.7232 G1 X0.289 Z-0.5074F.005 G0 Z-0.057 G0 X0.7694 G1 X0.289 Z-0.5074F.005 G0 Z-0.057 G0 X0.800 G1 X0.289 Z-0.5074F.005 G0 Z0.0 G0 X.807 G1 Z-0.057F.003 G1 X0.289 Z-0.5247F0.003 G1 X0.289 G0 Z0.25 M1 T0606(CUTOFF) G0 X0.950 G0 Z-0.675 G1 X0.0F.005 G0 X.950 G0 Z1.0 G92Z0.0 M1 T0303 (outside turning-- Needs G43ish command) G0 X.910 G1 Z-.700F0.006 G0 Z-0.460 G1 X0.8019 Z-0.525F0.006 G0 X0.910 G0 Z-0.410 G1 X0.7352 Z-0.525F0.006 G0 X0.910 G0 Z-0.360 G1 X0.6686 Z-0.525F0.006 G0 X0.910 G0 Z-0.305 G1 X0.6223 Z-0.525F0.006 G0 X0.910 G0 Z-0.250 G1 X0.575 Z-0.525F0.006 G0 X0.910 G0 Z-0.200 G1 X0.550 Z-0.525F0.006 G0 X0.910 G0 X0.910 G0 Z-0.150 G1 X0.500 Z-0.525F0.006 G0 X0.910 G0 Z-.110 G1 X0.450 Z-0.525F0.006 G0 X0.910 G0 X0.900 F0.006 G0 Z-0.09 G1 X0.400 Z-0.525F0.006 G0 X0.910 G0 Z0.0 G1 X.890F0.003 G1 Z-0.075F.003 G1 X0.380 Z-0.525F.003 G1 X0.890 G1 Z-0.700 G1 X1.0 G0 Z7.1 M1 T1717 (5/16" DRILL) G0X0.0 G0Z.1 G1Z0.0 G1Z-0.2F.003 G0Z0.0 G0Z-0.18 G1Z-0.4F.003 G0Z0.0 G0Z-0.38 G1Z-.535F.003 G0 Z0.25 T1313 (ID BORING BAR) G0 X0.300 Z0.041 G0 Z0.011 G1 Z-0.03F0.005 G1 X0.79F0.005 G1 Z0.041 G0 X0.300 G0 Z-0.016 G1 Z-0.057F0.005 G1 X0.790 G1 Z0.041 (end ID facing cycle) G0 X0.289 Z-0.057 (BEGIN ID TAPER TURN CYCLE) G0 X0.345 G1 X0.289 Z-0.130F.005 G0 Z-0.057 G0 X0.3999 G1 X0.289 Z-0.208F.005 G0 Z-0.057 G0 X0.446 G1 X0.289 Z-0.288F.005 G0 Z-0.057 G0 X0.4922 G1 X0.289 Z-0.368F.005 G0 Z-0.057 G0 X0.5384 G1 X0.289 Z-0.448F.005 G0 Z-0.057 G0 X0.5846 G1 X0.289 Z-0.5074F.005 G0 Z-0.057 G0 X0.6308 G1 X0.289 Z-0.5074F.005 G0 Z-0.057 G0 X0.677 G1 X0.289 Z-0.5074F.005 G0 Z-0.057 G0 X0.7232 G1 X0.289 Z-0.5074F.005 G0 Z-0.057 G0 X0.7694 G1 X0.289 Z-0.5074F.005 G0 Z-0.057 G0 X0.800 G1 X0.289 Z-0.5074F.005 G0 Z0.0 G0 X.807 G1 Z-0.057F.003 G1 X0.289 Z-0.5247F0.003 G1 X0.289 G0 Z0.25 M1 T0606(CUTOFF) G0 X0.950 G0 Z-0.675 G1 X0.0F.005 G0 X.950 G0 Z1.0 G92Z0.0 M1 T0303 (outside turning-- Needs G43ish command) G0 X.910 G1 Z-.700F0.006 G0 Z-0.460 G1 X0.8019 Z-0.525F0.006 G0 X0.910 G0 Z-0.410 G1 X0.7352 Z-0.525F0.006 G0 X0.910 G0 Z-0.360 G1 X0.6686 Z-0.525F0.006 G0 X0.910 G0 Z-0.305 G1 X0.6223 Z-0.525F0.006 G0 X0.910 G0 Z-0.250 G1 X0.575 Z-0.525F0.006 G0 X0.910 G0 Z-0.200 G1 X0.550 Z-0.525F0.006 G0 X0.910 G0 X0.910 G0 Z-0.150 G1 X0.500 Z-0.525F0.006 G0 X0.910 G0 Z-.110 G1 X0.450 Z-0.525F0.006 G0 X0.910 G0 X0.900 F0.006 G0 Z-0.09 G1 X0.400 Z-0.525F0.006 G0 X0.910 G0 Z0.0 G1 X.890F0.003 G1 Z-0.075F.003 G1 X0.380 Z-0.525F.003 G1 X0.890 G1 Z-0.700 G1 X1.0 G0 Z7.1 M1 T1717 (5/16" DRILL) G0X0.0 G0Z.1 G1Z0.0 G1Z-0.2F.003 G0Z0.0 G0Z-0.18 G1Z-0.4F.003 G0Z0.0 G0Z-0.38 G1Z-.535F.003 G0 Z0.25 T1313 (ID BORING BAR) G0 X0.300 Z0.041 G0 Z0.011 G1 Z-0.03F0.005 G1 X0.790F0.005 G1 Z0.041 G0 X0.300 G0 Z-0.016 G1 Z-0.057F0.003 G1 X0.790 G1 Z0.041 (end ID facing cycle) G0 X0.289 Z-0.057 (BEGIN ID TAPER TURN CYCLE) G0 X0.345 G1 X0.289 Z-0.130F.005 G0 Z-0.057 G0 X0.3999 G1 X0.289 Z-0.208F.005 G0 Z-0.057 G0 X0.446 G1 X0.289 Z-0.288F.005 G0 Z-0.057 G0 X0.4922 G1 X0.289 Z-0.368F.005 G0 Z-0.057 G0 X0.5384 G1 X0.289 Z-0.448F.005 G0 Z-0.057 G0 X0.5846 G1 X0.289 Z-0.5074F.005 G0 Z-0.057 G0 X0.6308 G1 X0.289 Z-0.5074F.005 G0 Z-0.057 G0 X0.677 G1 X0.289 Z-0.5074F.005 G0 Z-0.057 G0 X0.7232 G1 X0.289 Z-0.5074F.005 G0 Z-0.057 G0 X0.7694 G1 X0.289 Z-0.5074F.005 G0 Z-0.057 G0 X0.800 G1 X0.289 Z-0.5074F.005 G0 Z0.0 G0 X.807 G1 Z-0.057F.003 G1 X0.289 Z-0.5247F0.003 G1 X0.289 G0 Z0.25 M1 T0606(CUTOFF) G0 X0.950 G0 Z-0.675 G1 X0.0F.005 G0 X.950 G0 Z1.0 G92Z0.0 M1 T0303 (outside turning-- Needs G43ish command) G0 X.910 G1 Z-.700F0.006 G0 Z-0.460 G1 X0.8019 Z-0.525F0.006 G0 X0.910 G0 Z-0.410 G1 X0.7352 Z-0.525F0.006 G0 X0.910 G0 Z-0.360 G1 X0.6686 Z-0.525F0.006 G0 X0.910 G0 Z-0.305 G1 X0.6223 Z-0.525F0.006 G0 X0.910 G0 Z-0.250 G1 X0.575 Z-0.525F0.006 G0 X0.910 G0 Z-0.200 G1 X0.550 Z-0.525F0.006 G0 X0.910 G0 X0.910 G0 Z-0.150 G1 X0.500 Z-0.525F0.006 G0 X0.910 G0 Z-.110 G1 X0.450 Z-0.525F0.006 G0 X0.910 G0 X0.900 F0.006 G0 Z-0.09 G1 X0.400 Z-0.525F0.006 G0 X0.910 G0 Z0.0 G1 X.890F0.003 G1 Z-0.075F.003 G1 X0.380 Z-0.525F.003 G1 X0.890 G1 Z-0.700 G1 X1.0 G0 Z7.1 M1 T1717 (5/16" DRILL) G0X0.0 G0Z.1 G1Z0.0 G1Z-0.2F.003 G0Z0.0 G0Z-0.18 G1Z-0.4F.003 G0Z0.0 G0Z-0.38 G1Z-.535F.003 G0 Z0.25 T1313 (ID BORING BAR) G0 X0.300 Z0.041 G0 Z0.011 G1 Z-0.03F0.005 G1 X0.790F0.005 G1 Z0.041 G0 X0.300 G0 Z-0.016 G1 Z-0.057F0.003 G1 X0.790 G1 Z0.041 (end ID facing cycle) G0 X0.289 Z-0.057 (BEGIN ID TAPER TURN CYCLE) G0 X0.345 G1 X0.289 Z-0.130F.005 G0 Z-0.057 G0 X0.3999 G1 X0.289 Z-0.208F.005 G0 Z-0.057 G0 X0.446 G1 X0.289 Z-0.288F.005 G0 Z-0.057 G0 X0.4922 G1 X0.289 Z-0.368F.005 G0 Z-0.057 G0 X0.5384 G1 X0.289 Z-0.448F.005 G0 Z-0.057 G0 X0.5846 G1 X0.289 Z-0.5074F.005 G0 Z-0.057 G0 X0.6308 G1 X0.289 Z-0.5074F.005 G0 Z-0.057 G0 X0.677 G1 X0.289 Z-0.5074F.005 G0 Z-0.057 G0 X0.7232 G1 X0.289 Z-0.5074F.005 G0 Z-0.057 G0 X0.7694 G1 X0.289 Z-0.5074F.005 G1 X0.289 G0 Z-0.057 G0 X0.800 G1 X0.289 Z-0.5074F.005 G0 Z0.0 G0 X.807 G1 Z-0.057F.003 G1 X0.289 Z-0.5247F0.003 G1 X0.289 G0 Z0.25 M1 T0606(CUTOFF) G0 X0.950 G0 Z-0.675 G1 X0.0F.005 G0 X.950 G0 Z2.7 G92Z0.0 M1 Last edited by Green0; 07-29-2007 at 04:20 PM. Reason: add program |
|
#3
| |||
| |||
| I'm not using cutter comp, because it seemed to want to arc onto and off of the part, crashing tools through the part. It just wasn't working as it should. In the same way, safety lines cause my machine to do funky things and crash, so I pulled safety lines also. I tested the G92's and they work so that shouldn't be the issue. |
|
#5
| |||
| |||
| Hi Green0 I think you have a problem with your feed rates & no callout as to what you want the control to do F0.003 is this the same as F3. being 3in per min I don't see any G90 G93 or G17 Etc the control needs to no what it has to do I'm surprised it run the first 157 lines. Mach (Artsoft) has good information on there site as to all the Gcode you would need to use to get you going. If notepad won't take your long program MS word will
__________________ Mactec54 |
| Sponsored Links |
|
#7
| |||
| |||
| The G95 is a command I put in in advance before loading the program. This thing loads and proofs on my laptop, but not on my machine control computor running a more recent version of Mach. I don't want to uninstall it because I'll lose the machine settup. I could probably get it to run in less than 159 lines with the appropriate cycles instead of what I'm using, if I just had an example of a canned cycle for automatic roughing/finishing, and for peck drilling. If anyone can help with those that would be great. (I have the mach manual and it doesn't make the cycle format clear enough- no examples are provided). I should have tried cycle start again- that sounds like a not half-bad idea- |
|
#8
| ||||
| ||||
| You can save your mach setup by saving the .xml file in the installed folder. Not sure about the lathe setup, but should be mach3turn.xml.
__________________ 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) |
|
#9
| ||||
| ||||
| How about all those M1 ?
. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mazatrol Program into a G Code Program | fuzzman | Mazak, Mitsubishi, Mazatrol | 14 | 02-08-2010 03:55 PM |
| How to remember the position after close MACH program?? | jimmychand | Mach Software (ArtSoft software) | 1 | 05-25-2007 07:51 AM |
| Confused: Mach Turn, Mach Mill, Mach 2/3 ? | CanSir | Mach Software (ArtSoft software) | 5 | 02-16-2007 04:41 AM |
| Anyone got any basic examples of a program using a subroutine/program? | Darc | CamSoft Products | 11 | 10-08-2005 11:45 PM |
| Mach 2 Program Question? | qsacracer | Mach Software (ArtSoft software) | 7 | 11-17-2004 10:39 AM |