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! > CAM Software > SprutCAM


SprutCAM Discuss SprutCAM software here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 10-11-2011, 02:53 AM
 
Join Date: Oct 2011
Location: USA
Posts: 109
beanbag is on a distinguished road
How to get SprutCAM to NOT call out m998 and tool changes

I am using SC 7.1.3 and 7.1.5 (Don't ask why) with a Tormach CNC machine. Since it does not have a tool changer, I break the postprocessor output into one file per tool. I have a few minor problems which always require me to hand edit the g code.

1) How do I get SC to STOP calling out M998 (and also G43) at the beginning and end of each file? It causes MAch 3 to complain because I haven't referenced the machine and don't want to anyway.

2) Sometimes I have multiple operations done with one tool, like roughing waterline followed by 2D contour as a finish pass. However, I still get a M998, M5 M3, and a G43 between each of the operations. Obviously I don't need to stop and restart the spindle. I tried messing with the values of "Tool change position" as well as making sure I have the same tool number for each operation, but that didn't seem to do anything.
Reply With Quote

  #2   Ban this user!
Old 10-11-2011, 09:02 AM
 
Join Date: Dec 2009
Location: USA
Posts: 167
MetalShavings is on a distinguished road

Greetings beanbag:

I wish I had the answers you're looking for.

I just wanted to welcome you to the frustrating world of SprutCAM ownership. I wish that I were experiencing only the problems you're inquiring about.

I don't want to presume to speak for all SprutCAM users but, some of us have experienced or, are experiencing frustration with this software on an order of magnitude that I'm sure has robbed some of the time off of our lifespan.

The irony is that most of the answers we're seeking are simple ones. It's just that the software seems to be set up in such a complicated way that finding those simple fixes is next to impossible without a SprutCAM guru to help you out; and those gurus are few and far between.

I long for the day when I can stop whining about the misery this software causes and start using it to its full potential.

There are folks here that have experienced few if any problems. I envy them. There are others I'm sure, that have just grown weary of it all and just given up on this software. You don't hear to much from these two groups of folks for obvious reasons.

If you don't get the answers you're looking for here, there are a couple of other SprutCAM specific forums that may be able to help.

Hang in there. Don't allow this to ruin whatever ambitions brought you into CNC. Even though these setbacks and frustrations are enough to drive a person to drug abuse, all is not lost.

MetalShavings
Reply With Quote

  #3   Ban this user!
Old 10-11-2011, 12:46 PM
TXFred's Avatar  
Join Date: Aug 2009
Location: USA
Posts: 881
TXFred is on a distinguished road

Originally Posted by beanbag View Post
I am using SC 7.1.3 and 7.1.5 (Don't ask why) with a Tormach CNC machine. Since it does not have a tool changer, I break the postprocessor output into one file per tool. I have a few minor problems which always require me to hand edit the g code.

1) How do I get SC to STOP calling out M998 (and also G43) at the beginning and end of each file? It causes MAch 3 to complain because I haven't referenced the machine and don't want to anyway.

2) Sometimes I have multiple operations done with one tool, like roughing waterline followed by 2D contour as a finish pass. However, I still get a M998, M5 M3, and a G43 between each of the operations. Obviously I don't need to stop and restart the spindle. I tried messing with the values of "Tool change position" as well as making sure I have the same tool number for each operation, but that didn't seem to do anything.
I'm really baffled by this post. You're not referencing your mill when you first start it up? Why not? Doing that will eliminate the Mach errors.

Also, why are you breaking up your gcode? If you don't have a tool changer, then Mach will move to the tool change position and wait for you to swap tools. But that will only work if you have homed the machine, because the tool change position is defined in machine coordinates.

And why don't you want G43?

As for the extra tool change commands, those don't happen in the current version of Sprut. You could see if the most recent Tormach post will work with your older version.

Frederic
__________________
Pure Geometry LLC
Vertical Lathe tool holders and more.
Reply With Quote

  #4   Ban this user!
Old 10-11-2011, 08:47 PM
dbrija's Avatar  
Join Date: Nov 2010
Location: USA
Posts: 279
dbrija is on a distinguished road

Originally Posted by beanbag View Post
I am using SC 7.1.3 and 7.1.5 (Don't ask why) with a Tormach CNC machine. Since it does not have a tool changer, I break the postprocessor output into one file per tool. I have a few minor problems which always require me to hand edit the g code.

1) How do I get SC to STOP calling out M998 (and also G43) at the beginning and end of each file? It causes MAch 3 to complain because I haven't referenced the machine and don't want to anyway.

2) Sometimes I have multiple operations done with one tool, like roughing waterline followed by 2D contour as a finish pass. However, I still get a M998, M5 M3, and a G43 between each of the operations. Obviously I don't need to stop and restart the spindle. I tried messing with the values of "Tool change position" as well as making sure I have the same tool number for each operation, but that didn't seem to do anything.
Same question as TXFred... Why would you not home, and use G43 to apply your tool length offsets?

As to how to stop that output, depends on whether you have the "All Posts" or the "PCNC only" version of SC. With "All Posts", you can modify the post processor to omit M998, etc....
Reply With Quote

  #5   Ban this user!
Old 10-12-2011, 03:22 AM
 
Join Date: Oct 2011
Location: USA
Posts: 109
beanbag is on a distinguished road

Originally Posted by TXFred View Post
I'm really baffled by this post. You're not referencing your mill when you first start it up? Why not?

Because I don't need to.

Doing that will eliminate the Mach errors.

Also, why are you breaking up your gcode?

So that I can easily modify individual operations. For example, I have two separate files for spotting and then drilling. I might decide after spotting that the divots should be deeper. Trivial to change the g code and run it again.


If you don't have a tool changer, then Mach will move to the tool change position and wait for you to swap tools. But that will only work if you have homed the machine, because the tool change position is defined in machine coordinates.

I don't want the tool to move to some pre-defined machine position. I usually insert in a G0 Z3 or press the page up button.

And why don't you want G43?

Because I don't own the machine. I just come in with my tools, zero them, make the part, and then pack up my stuff and leave. No need to mess with somebody else's tool table.

As for the extra tool change commands, those don't happen in the current version of Sprut. You could see if the most recent Tormach post will work with your older version.

95% of the computers I have access to have SC 7.1.3, so I prefer to stick to that version to avoid backward compatibility issues. Using the latest post processor on that didn't help and just gave me an annoying dialog box about flipping the A axis.
I hope this answers all your questions.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 10-12-2011, 09:38 AM
 
Join Date: Mar 2009
Location: U.S.
Posts: 44
Eric_Tormach is on a distinguished road

The post processors are developed in conjunction with Tormach to be compatible with the approved way to operate the machine.
If a custom post is needed then I can make one, but I do not normally do this as I would have to make a new post for everyone who is using the machine in a "unique" manner.
As far as the multiple tool change call outs are concerned dbrija is correct, that was a bug issue with that version please talk to tech shop as they are able to update the software to the newest version.
The annoying A axis flipping dialog box just needs you to click "OK" if you don't need to flip the a axis code. There is a ATC post that eliminates the M998.
There should be no need to break up your code to find the G-code that you want to edit, just do a search and find in the text editor for the canned cycle cal lout (G8 .etc).
Reply With Quote

  #7   Ban this user!
Old 10-12-2011, 03:39 PM
TXFred's Avatar  
Join Date: Aug 2009
Location: USA
Posts: 881
TXFred is on a distinguished road

Originally Posted by beanbag View Post
Because I don't need to. (reference the mill)
You really do need to do this, regardless of how you're running your program. Homing the machine should always be the first thing you do on any mill. It costs you nothing to do this, and has several advantages already described. Plus, it lets you shut down the mill and come back later without losing your work offsets. That's a major advantage.

I ran my last mill for a while without home switches. It sucked. So I'm speaking from experience.

I don't want the tool to move to some pre-defined machine position. I usually insert in a G0 Z3 or press the page up button.
I'm not sure why not. It's a very safe way to do things. You can even set the tool change coordinates to not move the machine at all (input 999.999 for the values), then the M998 would do nothing at all.

My mill is currently set for no movement in X and Y, and a full retract in Z (enter 0 for this, the head travels all the way up to machine zero).

Because I don't own the machine. I just come in with my tools, zero them, make the part, and then pack up my stuff and leave. No need to mess with somebody else's tool table.
I understand that. If you're being loaned the mill, you don't want to cause problems for the owner.

How many tools do you have? You could talk to the machine owner and see if he would give you a group of tool and offset numbers all your own. For instance, if you have ten tool holders, see if he'll let you use tool numbers 201-210, and work offsets G58 and G59. That would let you have your tool offsets in the table, and have two predefined work offsets, without affecting anything else.

Has the owner has signed Tormach's waiver? If so, you can copy the Mach configuration and edit the copy. That copy would have all your settings, tools and offsets in it. Your config would be independent of the owner's config, which would give you a lot more freedom and flexibility, as well as saving setup time.

If he doesn't have the unlocked config, perhaps a second copy of Mach could be installed to a different directory. When you want to run the mill, start the second copy, which would have your configuration, offsets and tool table in it.

These may not be the answers you want. I don't know how to edit a SprutCAM post, so I cannot give good advice there. But you'll find that things go smoother if you can work with the owner on this. You'll have the mill working the way it was meant to work, which means faster production for your work, and no need to edit your gcode after posting it.

Frederic
__________________
Pure Geometry LLC
Vertical Lathe tool holders and more.
Reply With Quote

  #8   Ban this user!
Old 10-15-2011, 02:53 PM
 
Join Date: Oct 2011
Location: USA
Posts: 109
beanbag is on a distinguished road

Originally Posted by Eric_Tormach View Post
There should be no need to break up your code to find the G-code that you want to edit, just do a search and find in the text editor for the canned cycle cal lout (G8 .etc).
Let's say I have a very simple Sprut program that is just spot drilling, hole drilling, and then end milling on sheet metal. I roll it up into one file that has the tool changes and offsets. As I run the program, I find that the holes weren't quite deep enough and didn't fully poke thru the sheet metal, so I need to run the drilling part again. How can I do this if I just have one big file that includes all operations?

99.9% of the time, I have separate files for each tool operation. This is because the only thing I bring in is my cutting tools, which I then mount into the ER collets. I zero against the part and go. Afterwards, I take the tool out of the holder and go home. Since I usually make only one part, I have no need for M998 nor the tool length offsets. If I need to use a tool twice, I use the alternate coordinate systems g55, g56, etc. It takes 10 seconds of additional time to close and reload a new g code file.

There was only one time I used the tool length offsets, doing menial production work that required tool changes.
Reply With Quote

  #9   Ban this user!
Old 10-15-2011, 03:59 PM
TXFred's Avatar  
Join Date: Aug 2009
Location: USA
Posts: 881
TXFred is on a distinguished road

Originally Posted by beanbag View Post
Let's say I have a very simple Sprut program that is just spot drilling, hole drilling, and then end milling on sheet metal. I roll it up into one file that has the tool changes and offsets. As I run the program, I find that the holes weren't quite deep enough and didn't fully poke thru the sheet metal, so I need to run the drilling part again. How can I do this if I just have one big file that includes all operations?
There's a "Set Next Line" function in Mach. Just scroll to the correct point in the program, Set Next Line, start the spindle and coolant manually to be on the safe side, and Cycle Start.

Play around with it in the air first, to get a feel for it.

There's also a "Run From Here" but that does preparatory moves. And on my Tormach, it moves to Z=0 and then makes an XY move, which is just bloody stupid. So I avoid using that function.

Frederic



Frederic
__________________
Pure Geometry LLC
Vertical Lathe tool holders and more.
Reply With Quote

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
SprutCAM Tool Library tool numbers MichaelHenry SprutCAM 6 12-14-2011 10:59 PM
An M998 Question dkaustin Tormach PCNC 12 11-27-2011 09:52 PM
Breakdown of Okuma Lathe Tool Call magilla85 Okuma 5 07-05-2011 05:31 AM
Need Help!- Can not call Tool on Fanuc 0TC-Geminis CNC 5 -870/300 natech Fanuc 4 05-15-2010 11:02 AM
A call to all CNC Robotic Tool owners spotlight3d CNCzone Club House 0 01-05-2010 09:04 PM




All times are GMT -5. The time now is 06:15 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