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 > G-Code Programing


G-Code Programing Discuss G-code programing and problems here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 12-26-2007, 07:30 PM
 
Join Date: Apr 2005
Location: us
Posts: 55
bradyfb is on a distinguished road
need basics on z when in a g02 or g03 command

I dont know how to say this so you will understand what im doing. So here it goes; I figured out that i can rout a line from 0 go 24" and start at the top of the wood 0 and go 24" and be at a 1/4" deep and this make a nice even and gradule Vee grove. Now at the end of this vee grove I want an arc with the center of the arc being at the end of the vee grove, But I want to bring the vee grove out on the arc and the z to go from 1/4" to 0 at the end of the arc and then go back to the long vee grove and do the same thing on the bottom of this arc. I can not get the z to come out at a sweep like the long vee grove. Any help? Thanks Bradythe little drawing isnt comeing out right the astrix should be at the other end above and below the (ctr of arc)
0"deep
*
0" *
0"deep 1/4"deep 24"*
******************************************ctr of arc
*
*
*
0"deep
Reply With Quote

  #2   Ban this user!
Old 12-26-2007, 07:57 PM
 
Join Date: Dec 2007
Location: usa
Posts: 3
joe vidauri is on a distinguished road

i think you will need to use G17,G18 or G19 you will need to get a g code list to figure out which one it is.
Reply With Quote

  #3   Ban this user!
Old 12-26-2007, 08:47 PM
 
Join Date: Apr 2005
Location: us
Posts: 55
bradyfb is on a distinguished road

Are you saying to use the G17,18,19 in place of the G02,3
Reply With Quote

  #4  
Old 12-27-2007, 07:01 AM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,455
ger21 is on a distinguished road
Buy me a Beer?

Your control might not allow helical movement with G2/G3. You should just have to do

G2 Xxx Yxx Z0 Ixx Jxx

If the tool is already at -.25, it should ramp up to Z=0 along the arc. But some controls won't let you do this.
__________________
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

  #5   Ban this user!
Old 12-27-2007, 07:07 AM
 
Join Date: Jul 2003
Location: New Zealand
Posts: 1,039
Kiwi is on a distinguished road

Can you cut a Helix with your controller? that should do what you want.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 12-27-2007, 07:58 PM
 
Join Date: Apr 2005
Location: us
Posts: 55
bradyfb is on a distinguished road

Never tried a helix, I do not have g-code to try. I'm still lost!!! Since my machine will make a linear move and ramp the Z axis. This ramping function I trying to do may not be able to be done useing a G02,3 command since this is an arc/circle command. I have tried what ger21 suggested but the Z axis does not ramp. The helix suggested above if you have g-code with g02 or g03 in it could I barrow it I have a 3 axis machine. I'll try to get a hold of the guys at deckcnc. Thanks Brady
Reply With Quote

  #7   Ban this user!
Old 12-27-2007, 10:18 PM
 
Join Date: Jul 2003
Location: New Zealand
Posts: 1,039
Kiwi is on a distinguished road

If your controller doesn't Z when arcing with G02/3 you may need to move in small increments using G01.
What are your specs for the arc you wish to cut. eg.
XY centre: Start XYZ: End XYZ and I can generate some gcode.
Reply With Quote

  #8   Ban this user!
Old 12-29-2007, 10:11 AM
 
Join Date: Apr 2005
Location: us
Posts: 55
bradyfb is on a distinguished road

Kiwi, I really appreaciate the offer. But I really haven't got what I'm doing figured out yet. And deskcnc just got back with me and the 2nd generation controller i have is not capable of a g02,3 helix move. So now I'm going to think about another design. And Thanks to all for the help. I learn something new every day.

There is one more question; If you were to buy a program that had solids, which if I'm reading this right is the better way to draw, instead of trianglization which produce alot of code. I dont have a program with solid works so I really dont know that much about it only what im trying to grasp as i read other forums. Anyhow Thanks to all, Brady
Reply With Quote

  #9   Ban this user!
Old 12-29-2007, 12:34 PM
 
Join Date: Sep 2007
Location: United States
Posts: 49
wganders is on a distinguished road

If your control supports it, you would need to use G19 for Y/Z circular interpolation, or G18 for X/Z circular interpolation. This would be used in conjunction with the G02/03.

If your control doesn't support helical interpolation, you will need to linearize the arc move.
Reply With Quote

  #10  
Old 12-29-2007, 12:47 PM
dertsap's Avatar
Gold Member
 
Join Date: Oct 2005
Location: canada
Posts: 3,668
dertsap is on a distinguished road
Buy me a Beer?

something like that would be as Ger said with a g17 , g18 and 19 are a whole other ball game
__________________
A poet knows no boundary yet he is bound to the boundaries of ones own mind !! http://cnctoybox.org
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 12-29-2007, 02:09 PM
 
Join Date: Apr 2005
Location: us
Posts: 55
bradyfb is on a distinguished road

My control dont support helix; ican use g02,3 and i can use g17,19. And now I'm confused. How do I linearize the arc move? That is what g02,3 are for to eliminate excessive amounts of code? RIGHT? Could you show me what the g-code would be for an arc, Perferably an arc that starts at X5.0 Y1.5 Z-.25 and the other end of arc go to X5.5 Y2.0 Z0.0 Thanks Brady
Reply With Quote

  #12   Ban this user!
Old 12-29-2007, 02:57 PM
 
Join Date: Jul 2003
Location: New Zealand
Posts: 1,039
Kiwi is on a distinguished road

Here is code using G01 straight movements of approx 1in.
The centre of this arc is X0 Y0
Is this what you require?
G01 X5 Y1.5 Z-0.25
X5.2064 Y0.5794 Z-0.2427
X5.2441 Y-0.3666 Z-0.2355
X5.1107 Y-1.3073 Z-0.2282
X4.8093 Y-2.2118 Z-0.221
X4.3487 Y-3.0503 Z-0.2137
X3.7429 Y-3.795 Z-0.2065
X3.0106 Y-4.4208 Z-0.1992
X2.1748 Y-4.9065 Z-0.192
X1.2623 Y-5.2352 Z-0.1847
X0.3023 Y-5.3951 Z-0.1775
X-0.6741 Y-5.3799 Z-0.1702
X-1.6351 Y-5.1887 Z-0.163
X-2.5492 Y-4.8268 Z-0.1557
X-3.3862 Y-4.3047 Z-0.1485
X-4.1182 Y-3.6385 Z-0.1412
X-4.7205 Y-2.8489 Z-0.134
X-5.1727 Y-1.9611 Z-0.1267
X-5.4589 Y-1.0032 Z-0.1194
X-5.5686 Y-0.0062 Z-0.1122
X-5.4972 Y0.9975 Z-0.1049
X-5.2457 Y1.9753 Z-0.0977
X-4.8212 Y2.895 Z-0.0904
X-4.2365 Y3.7261 Z-0.0832
X-3.5096 Y4.441 Z-0.0759
X-2.6633 Y5.0154 Z-0.0687
X-1.7245 Y5.4297 Z-0.0614
X-0.7233 Y5.6694 Z-0.0542
X0.3079 Y5.7254 Z-0.0469
X1.3357 Y5.5948 Z-0.0397
X2.3265 Y5.2806 Z-0.0324
X3.2476 Y4.7919 Z-0.0252
X4.0684 Y4.1436 Z-0.0179
X4.7616 Y3.3559 Z-0.0106
X5.3037 Y2.4536 Z-0.0034
X5.5 Y2 Z0

Last edited by Kiwi; 12-29-2007 at 03:36 PM. Reason: Added second line.
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
Home command mgirard Mach Mill 0 05-22-2007 01:30 PM
set point command charper Rhino 3D 1 12-03-2006 04:40 AM
does it have FOPEN command? hop Fanuc 2 06-20-2006 11:10 PM
what is the same command? hop G-Code Programing 0 06-20-2006 05:24 AM
Sleep Command howling60 CamSoft Products 12 03-02-2006 09:27 AM




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