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 06-22-2007, 05:48 PM
 
Join Date: Jul 2003
Location: New Zealand
Posts: 1,039
Kiwi is on a distinguished road
Question Tool approach Tool Path

I would like to alter the tool approach to my part.

With the u..d.. set as;
RADID 100
Material Top 0
Cut Depth -5

The code produced;
G00 X0 Y0 Z100
G00 X40 Y50
G01 X40 Y50 Z-5 F50

As there is a distance of 105mm at F50 for the tool to travel this takes ages.
Can I get BCC to add a block 'G00 Z3' above the G01 block when generating the code and look like this.

G00 X0 Y0 Z100
G00 X40 Y50
G00 Z3
G01 X40 Y50 Z-5 F50

This would make life a little easier, thanks.
Reply With Quote

  #2  
Old 06-22-2007, 09:36 PM
tobyaxis's Avatar
Moderator
 
Join Date: Jan 2006
Location: USA
Posts: 4,396
tobyaxis is on a distinguished road

Originally Posted by Kiwi View Post
I would like to alter the tool approach to my part.

With the u..d.. set as;
RADID 100
Material Top 0
Cut Depth -5

The code produced;
G00 X0 Y0 Z100
G00 X40 Y50
G01 X40 Y50 Z-5 F50

As there is a distance of 105mm at F50 for the tool to travel this takes ages.
Can I get BCC to add a block 'G00 Z3' above the G01 block when generating the code and look like this.

G00 X0 Y0 Z100
G00 X40 Y50
G00 Z3
G01 X40 Y50 Z-5 F50

This would make life a little easier, thanks.
You can use the Move to Point option in the CAM side. But first you have to create a point on the CAD side. This will help you to control the way BCC posts Start Positions.
__________________
Toby D.
"Imagination and Memory are but one thing, but for divers considerations have divers names"
Schwarzwald

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

www.refractotech.com
Reply With Quote

  #3   Ban this user!
Old 06-22-2007, 10:31 PM
 
Join Date: Jul 2003
Location: New Zealand
Posts: 1,039
Kiwi is on a distinguished road

Toby
Tried your suggestion as I understand it.
I created a point 3mm above my part and implemented 'Move to Point' but when I generate the code, as I have 100 in 'Rapid' the tool path moves up to this level and then down to Z-5 at the F50 feed rate.
I can insert the required block manually into the code but would prefer BCC to do this.
I think the Tool Depth Setting window should have provision to enter this figure.
Don't tell me Ver.2007 has this;-(
Reply With Quote

  #4  
Old 06-23-2007, 09:13 AM
tobyaxis's Avatar
Moderator
 
Join Date: Jan 2006
Location: USA
Posts: 4,396
tobyaxis is on a distinguished road

Originally Posted by Kiwi View Post
Toby
Tried your suggestion as I understand it.
I created a point 3mm above my part and implemented 'Move to Point' but when I generate the code, as I have 100 in 'Rapid' the tool path moves up to this level and then down to Z-5 at the F50 feed rate.
I can insert the required block manually into the code but would prefer BCC to do this.
I think the Tool Depth Setting window should have provision to enter this figure.
Don't tell me Ver.2007 has this;-(
Yes, they both do. If you go into Setup (CAM Side) you can Create a Macro for your Start Position of a Tool. Mine looks like this because I wrote it out Manually and insert the XY Position.

I also included a Post Processor from BCC V2007. They did a very nice Job on these. Easy to Modify and Straight Forward.


Cheers Buddy!!!!!!
Attached Thumbnails
Click image for larger version

Name:	Setup Menu Macros.jpg‎
Views:	92
Size:	146.0 KB
ID:	39520  
Attached Files
File Type: txt BCC V2007 Fanuc0M Post Processor .txt‎ (12.7 KB, 72 views)
__________________
Toby D.
"Imagination and Memory are but one thing, but for divers considerations have divers names"
Schwarzwald

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

www.refractotech.com
Reply With Quote

  #5   Ban this user!
Old 06-23-2007, 09:00 PM
 
Join Date: Jul 2003
Location: New Zealand
Posts: 1,039
Kiwi is on a distinguished road

Toby
Made a Header macro but still unable to get exactly what I want.
My controller is a Fagor so not sure your Fanuc is of use.
My postprocessor (NC config) is a cfg format file. Do you know if this can be read as text file?
Reply With Quote

Sponsored Links
  #6  
Old 06-24-2007, 01:46 PM
tobyaxis's Avatar
Moderator
 
Join Date: Jan 2006
Location: USA
Posts: 4,396
tobyaxis is on a distinguished road

Originally Posted by Kiwi View Post
Toby
Made a Header macro but still unable to get exactly what I want.
My controller is a Fagor so not sure your Fanuc is of use.
My postprocessor (NC config) is a cfg format file. Do you know if this can be read as text file?
Kiwi,

I'm not sure of the format in which BCC reads G-Code-to-Geometry. It might be NC or CNC.

Can you post a working G-Code File so we can look at it? Also there are Scripts that you can write to get what you want. I have seen your Script for the Ball Hitch 3D Spiral Interpolation. You shouldn't have too much trouble creating a script for your tool approach.

There is a Script Thread in CAD/CAM Trainer and the BCC Tech Support Forum

http://cadcamtrainer.com/forums/forumdisplay.php?f=79
http://216.117.147.20/bobcadsupport/...splay.php?f=12

Have you seen this Thread here in CNC Zone?
http://www.cnczone.com/forums/showthread.php?t=38996
__________________
Toby D.
"Imagination and Memory are but one thing, but for divers considerations have divers names"
Schwarzwald

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

www.refractotech.com
Reply With Quote

  #7   Ban this user!
Old 06-25-2007, 05:26 AM
 
Join Date: Jul 2003
Location: New Zealand
Posts: 1,039
Kiwi is on a distinguished road

Toby
I have a script which I use as a header which includes all the info I need up to the tool path.
BCC then generates the code less the G00 Z3 as shown in post #1
I also have a macro which I use to add the block G00 Z3. I need to go to the position in the code and run this macro.
I would rather do this than have to enter in X/Y coordinates.
I'm thinking I may not be able to make this process any simpler.
Reply With Quote

  #8   Ban this user!
Old 06-25-2007, 03:23 PM
tjones's Avatar  
Join Date: Oct 2005
Location: USA
Age: 45
Posts: 851
tjones is on a distinguished road

Have you tried running one script from another?

You can have the script sorta semi-automate the proccess.
Reply With Quote

  #9  
Old 06-25-2007, 04:44 PM
tobyaxis's Avatar
Moderator
 
Join Date: Jan 2006
Location: USA
Posts: 4,396
tobyaxis is on a distinguished road

Originally Posted by tjones View Post
Have you tried running one script from another?

You can have the script sorta semi-automate the proccess.
Kiwi,

Try what Tjones said.
__________________
Toby D.
"Imagination and Memory are but one thing, but for divers considerations have divers names"
Schwarzwald

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

www.refractotech.com
Reply With Quote

  #10   Ban this user!
Old 06-25-2007, 07:58 PM
 
Join Date: Jul 2003
Location: New Zealand
Posts: 1,039
Kiwi is on a distinguished road

Thanks tjones and Toby for your help.
Not sure that is the answer as I need to enter the heading first.

N0000%NAME,MX
N0001 G51 E0.0001
N0002 S2000
N0003 M03 ;Spindle Clockwise
N0004 M08 ;Coolant ON
N0005 G00 Z100

Then BCC generates the code:

N0006 G00 X0. Y0.
N0007 G00 X72.658 Y-36.916
N0008 G01 X72.658 Y-36.916 Z0. F50
N0009 G41 G01 X79.503 Y-7.354 F800
N0010 G03 X73.658 Y0. I-5.845 J1.354

Now I manually delete Line N0006 and create a line space between N7 and N8
Run my macro which enters G00 Z3 in this line.

N0004 M08 ;Coolant ON
N0005 G00 Z100
N0007 G00 X72.658 Y-36.916
G00 Z3
N0008 G01 X72.658 Y-36.916 Z0. F50
N0009 G41 G01 X79.503 Y-7.354 F800

I believe I need to run the scripts separately as I need the BCC code after my heading and then do the Delete/Add to the BCC code.

Are you suggesting I should generate the code first then add my heading and do the adjustments?
Reply With Quote

Sponsored Links
  #11  
Old 06-25-2007, 09:10 PM
tobyaxis's Avatar
Moderator
 
Join Date: Jan 2006
Location: USA
Posts: 4,396
tobyaxis is on a distinguished road

That is one way to do it Kiwi. What I prefer to do is call a personal heading

O0001
G0G17G40G49G80G90M5
G91G28Z0M9
G90
M1

N1(TOOL DESCRIPTION)
T1M6
G90G54G40G0X0Y0S2500M3
G43H1Z1.0
Z.1M8
>BCC GENERATED CODE FOR THIS TOOL IN LINES TO FOLLOW

G40G0Z.1M9
Z1.0M5
G91G28Z0
G49G90
M1

N2(NEXT TOOL SAME FORMAT AS ABOVE)

This makes programming a bit more uniform and easier to read. The above X0Y0 I usually change to the starting XY that BCC Generates. Yes it is a bit of work but wort it.
__________________
Toby D.
"Imagination and Memory are but one thing, but for divers considerations have divers names"
Schwarzwald

(Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

www.refractotech.com
Reply With Quote

  #12   Ban this user!
Old 06-25-2007, 09:45 PM
tjones's Avatar  
Join Date: Oct 2005
Location: USA
Age: 45
Posts: 851
tjones is on a distinguished road

Use the script to change the lines.

Read the lines until the text = x0y0 then read that line and the next few lines into variables to replace with the needed output.

The script can be ran from the script that posts the code so you do not need to run it yourself.

I haven't done this in a while but there are several examples available.

If you need help figuring it out I could give it a try as I get time.
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
C axis tool path Capt Crunch Mastercam 1 12-20-2006 07:05 PM
Tool Path Setup mgp1243 General CAM Discussion 3 02-03-2006 11:29 PM
Most inefficient tool path possible... jderou BobCad-Cam 2 09-22-2005 11:59 AM
tool path problem fastolds BobCad-Cam 9 07-07-2005 12:01 PM
Tool Path WOODKNACK TurboCAD/CAM 4 06-27-2003 07:27 AM




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