CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Machine Controllers Software and Solutions > Mach Software (ArtSoft software) > Machines running Mach Software


Machines running Mach Software Discuss your set-up and experiences running your machine using Mach software here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 07-29-2007, 03:47 PM
 
Join Date: Jun 2006
Location: USA
Age: 30
Posts: 127
Green0 is on a distinguished road
Mach won't run my complete program.

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.
Reply With Quote

  #2   Ban this user!
Old 07-29-2007, 04:09 PM
 
Join Date: Jun 2006
Location: USA
Age: 30
Posts: 127
Green0 is on a distinguished road

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
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
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
Reply With Quote

  #3   Ban this user!
Old 07-29-2007, 04:24 PM
 
Join Date: Jun 2006
Location: USA
Age: 30
Posts: 127
Green0 is on a distinguished road

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.
Reply With Quote

  #4   Ban this user!
Old 07-29-2007, 10:40 PM
 
Join Date: Oct 2005
Location: US
Posts: 1,220
MrWild is on a distinguished road

I would be a little easier to follow your code if it had line numbers and where it goes wonky. I sure don't feel like counting 152 lines into your code.
Reply With Quote

  #5   Ban this user!
Old 07-30-2007, 08:16 AM
 
Join Date: Jan 2005
Location: USA
Posts: 2,348
mactec54 is on a distinguished road
Buy me a Beer?

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
Reply With Quote

Sponsored Links
  #6  
Old 07-30-2007, 08:59 AM
Switcher's Avatar
Moderator
 
Join Date: Apr 2005
Location: Vectorink.com
Posts: 3,660
Switcher is on a distinguished road

When the program stops, Press "Cycle Start" again.

See If it picks up at the next line?

.
Reply With Quote

  #7   Ban this user!
Old 07-30-2007, 10:07 AM
 
Join Date: Jun 2006
Location: USA
Age: 30
Posts: 127
Green0 is on a distinguished road

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-
Reply With Quote

  #8  
Old 07-30-2007, 10:11 AM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,464
ger21 is on a distinguished road
Buy me a Beer?

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)
Reply With Quote

  #9  
Old 07-30-2007, 10:38 AM
Switcher's Avatar
Moderator
 
Join Date: Apr 2005
Location: Vectorink.com
Posts: 3,660
Switcher is on a distinguished road

How about all those M1 ?

Optional Program Stop Control
The optional program stop control works as follows. If this control is ON and an input line contains an M1 code. program execution is stopped at the end on the commands on that line until the Cycle Start button is pushed.

.
Reply With Quote

  #10   Ban this user!
Old 07-30-2007, 02:41 PM
 
Join Date: Jun 2006
Location: USA
Age: 30
Posts: 127
Green0 is on a distinguished road

It was stopping at G0 X0.677 in the ID turning code.

The M1's are there for tool changes and they do stop the program, but don't stall it out.
Reply With Quote

Sponsored Links
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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




All times are GMT -5. The time now is 07:29 AM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361