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 > BobCad-Cam


BobCad-Cam Discuss all BobCad software here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 01-22-2009, 01:17 PM
SteveS's Avatar  
Join Date: Oct 2004
Location: USA
Posts: 125
SteveS is on a distinguished road
V-21 G-Code Question

My use is 2-D and in the past have used the approach depart feature. Now I am cutting in the surface and am having a problem with the tool ramping out and cutting the surface where I don't want it to. Below is a segment of code.

The G0 Xxx Yxx Z0.0000 takes it to the next cut location by a 3-d movement and Z doesn't get above the surface first. This creates what appear to be scratches on the surface.

My elementary solution is to edit the G Code by making separate lines for G0 Z0.0000 and then put X Y on the next line with its own G0. A lot of manual work.

Is there a method in BobCAM G Code creation that I can use to force Z to happen prior to X Y movement?

T1 M06
G71
G0 X54.4545 Y146.7227
G1 Z6.350010
G2 X57.4419 Y139.7061 I-6.7462 J-7.016620
X52.4606 Y131.2115 I-9.7336 J0.0000
....
X54.4511 Y146.7259 I0.0000 J-12.4204
G1 X54.4545 Y146.7227
G0 X55.9467 Y150.6218 Z0.0000
G1 Z6.350010
G2 X58.5698 Y148.1049 I-9.7499 J-12.786820
X61.5792 Y140.2267 I-10.0750 J-8.3625
...
X49.0233 Y162.5631 I0.0000 J-7.8784
G1 X49.0245
G0 X49.0233 Z0.0000
G1 Z6.350010
G2 X51.1181 Y160.9506 I-0.7839 J-3.185320
...
G3 X50.3321 Y154.9616 I3.0342 J-3.3314
G0 X56.6313 Y161.6334 Z0.0000
G1 Z6.350010
G3 X53.8925 Y165.6291 I-14.1277 J-6.747120
X53.8166 Y165.7054 I-1.4549 J-1.3723
...
X73.3262 Y101.6735 I0.0000 J-0.8300
G1 X76.7529 Y95.5067
G0 X76.8139 Y95.4916 Z0.0000
G1 Z6.350010
G3 X80.9599 Y94.9167 I4.6314 J18.163120

Thanks in advance - Steve.
Reply With Quote

  #2   Ban this user!
Old 01-22-2009, 01:50 PM
 
Join Date: Dec 2008
Location: usa
Posts: 1,849
BurrMan is on a distinguished road

This is done with your post processor. You'll have to tell what post you are using then someone can tell you how to edit it to output the ending values in the order you want.
Reply With Quote

  #3   Ban this user!
Old 01-22-2009, 06:20 PM
SteveS's Avatar  
Join Date: Oct 2004
Location: USA
Posts: 125
SteveS is on a distinguished road

I went back and manually broke all the G0 lines into two, with the Z move first.

Cutting went fine. Will contact BobCad on how to change the post processor.

It actually seems odd that any post processor would have that mode. I'm only cutting wood and that could be a real problem with metal.
Reply With Quote

  #4   Ban this user!
Old 02-08-2009, 11:14 AM
Allen123's Avatar  
Join Date: Apr 2007
Location: USA
Posts: 242
Allen123 is on a distinguished road

You can always use your tool up and down prior to any cutting. This way you have a z move first.

Try that
Reply With Quote

  #5   Ban this user!
Old 02-08-2009, 06:37 PM
SteveS's Avatar  
Join Date: Oct 2004
Location: USA
Posts: 125
SteveS is on a distinguished road

"You can always use your tool up and down prior to any cutting."

My situation was in selecting several (9) chains and then using Auto in the Machine tab to generate the g-code. When moving from one chain to another the path was just a ramp which cut notches where I didn't want. The generate went to Z zero to start each chain, but didn't go to Z zero at the end of the chain.

I'm kind of following your theme. I named each chain as a layer and now Auto each one seperately in the Machine tab. That way Z goes to zero each time before the x-Y movement. This actually helps with organizing the sequence of chains to minimize haphazard travel with the other method.

If I ever get really annoyed, I would try to write a macro that takes the chains in alphabetical order with a tool up between each one. Never wrote a macro in BCC before.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 02-08-2009, 07:21 PM
 
Join Date: Mar 2005
Location: USA
Posts: 315
moldmker is on a distinguished road

Looking at the code from your 1st post, does your machine feed into the work with a Z positive number?
If so, I can see where this would require some special scripting.

Standard controls feed down in a negative Z, Bobcad has no problem generating Cut Auto code for this format.

What control is this and did Bobcad have an exact post available?

moldmker
Reply With Quote

  #7   Ban this user!
Old 02-08-2009, 07:42 PM
SteveS's Avatar  
Join Date: Oct 2004
Location: USA
Posts: 125
SteveS is on a distinguished road

Moldmker,

My machine is a German design with unique controller. I bought it turn key for a good price, but yes the Z is a positive value. Also serial cable connection.

BCC provided me a unique post back in Version 17.

If the Z was negative or positive, the ramp out would still be there with this post when multiple chains were coded as Auto.

I'm going to change controllers in the next 6 months which should solve or change the problems.
Reply With Quote

  #8  
Old 02-08-2009, 08:00 PM
*Registered*
 
Join Date: Mar 2008
Location: usa
Posts: 163
HMB3000 is on a distinguished road

your machine is just like a flexicam route for posting...I had Bobcad write a few post when I was programing a Flexicam a few years ago.you might want to look at the try Flexicam.exe
http://www.bobcadsupport.com/posts/i...dsupport/posts
Reply With Quote

  #9   Ban this user!
Old 02-12-2009, 07:49 AM
Allen123's Avatar  
Join Date: Apr 2007
Location: USA
Posts: 242
Allen123 is on a distinguished road

Connect at Z:

This is a good feature if you are working with more than I chain. If you want to control the up and down and in between's of chains you can use this feature.

It will chain all your tool paths together and set the clearance for those chains.

What about that?
Reply With Quote

  #10   Ban this user!
Old 02-12-2009, 08:58 AM
SteveS's Avatar  
Join Date: Oct 2004
Location: USA
Posts: 125
SteveS is on a distinguished road

Allen,

I just tested with a couple generic chains, generated the g-code and it seems perfect for what I want. Being in the 3D pull down, I never saw it. I'll try cutting later today.

The code looks a bit more efficient (shorter).

Thanks a lot.

Steve.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 02-12-2009, 10:27 AM
Allen123's Avatar  
Join Date: Apr 2007
Location: USA
Posts: 242
Allen123 is on a distinguished road

Originally Posted by SteveS View Post
Allen,

I just tested with a couple generic chains, generated the g-code and it seems perfect for what I want. Being in the 3D pull down, I never saw it. I'll try cutting later today.

The code looks a bit more efficient (shorter).

Thanks a lot.

Steve.
Yup that's a cool feature that will do what you want. Glad I could help!
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
Basic G-Code Question Tazzer G-Code Programing 11 05-18-2008 09:21 PM
G Code Question dgoddard G-Code Programing 3 01-02-2008 04:50 PM
G code / mach 3 question contractdesign Bridgeport and Hardinge Mills 3 11-07-2007 08:41 AM
M-Code question Chris64 General Metalwork Discussion 3 10-05-2006 07:07 PM
i have a four question for G-code Net-Man General CAM Discussion 2 07-06-2005 05:49 AM




All times are GMT -5. The time now is 12:50 PM.





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