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 08-09-2011, 02:00 AM
 
Join Date: Aug 2011
Location: malaysia
Posts: 4
eric_spelon is on a distinguished road
CNC G code - volkswagen logo

hey guys, i had an assignment appointed by my lecturer, but i have 0 idea on how to do it wasn't really clear of what the lecturer explain about the coding, and have been trying out many many times but still fail i'm given a 9cm by 9cm workpiece to do it, have to milling the VW on it any of u guys can help me on this? i'm really deperately need help i've attach a 2d model which i drew in my inventor, can help me on the coding part?i'm dead
Attached Thumbnails
Click image for larger version

Name:	wg.jpg‎
Views:	97
Size:	329.6 KB
ID:	139757  
Reply With Quote

  #2   Ban this user!
Old 08-09-2011, 07:51 AM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,312
dcoupar is on a distinguished road

What machine/control is this for?
Do you want to use an engraving tool or small end mill?
Reply With Quote

  #3   Ban this user!
Old 08-09-2011, 08:45 AM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,312
dcoupar is on a distinguished road

Here's a program for a Haas.
Attached Files
File Type: txt CNC Zone VW Logo.txt‎ (1.1 KB, 185 views)
Reply With Quote

  #4   Ban this user!
Old 08-09-2011, 09:37 AM
 
Join Date: Aug 2011
Location: malaysia
Posts: 4
eric_spelon is on a distinguished road

thanks alot for the info.. i'm suppose to do a G coding, on a small machine with only 3-5 cutting tools for milling only
Reply With Quote

  #5   Ban this user!
Old 08-09-2011, 09:42 AM
 
Join Date: Aug 2011
Location: malaysia
Posts: 4
eric_spelon is on a distinguished road

is there any simple coding for this?? because we're stilll new to this and just learn it in lecture class, never learn about engraving yet.. i need a simpler coding for milling anyone can help me? thanks alot guys can u help me, dcoupar?? i really appreciate your help so so muchthanks alot
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 08-09-2011, 09:58 AM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,312
dcoupar is on a distinguished road

Originally Posted by eric_spelon View Post
is there any simple coding for this?? because we're stilll new to this and just learn it in lecture class, never learn about engraving yet.. i need a simpler coding for milling anyone can help me? thanks alot guys can u help me, dcoupar?? i really appreciate your help so so muchthanks alot
Sorry, that's as simple as it gets. Engraving is just milling.
Reply With Quote

  #7   Ban this user!
Old 08-09-2011, 11:41 AM
 
Join Date: Aug 2011
Location: malaysia
Posts: 4
eric_spelon is on a distinguished road

Originally Posted by dcoupar View Post
Sorry, that's as simple as it gets. Engraving is just milling.
okie okie thanks alot dcoupar u really helped me alot god bless once again, a million thank you again
Reply With Quote

  #8   Ban this user!
Old 08-10-2011, 09:57 AM
 
Join Date: Jul 2007
Location: Canada
Posts: 1,087
rowbare is on a distinguished road

I can understand being stuck but you aren't going to learn anything by having others to do your homework for you.

Are you supposed to use CAM to generate the GCode or write it by hand? This is a pretty simple logo so, assuming that you aren't going to pocket it, you should be able to write this by hand in about 21 lines of GCode not counting Z up and down or rapids (assuming you aren't cutting the enclosing square).

This is what I would do (assume the centre of your drawing is 0,0).
1) Describe each of your components in terms of coordinates. For example the enclosing circle can be described as:
an arc of radius 4.4 cm centered on (0,0)

The top pie slice can be described as follows:
a straight line from (0,1) to (-1.2, 3.4)
an arc from of radius 3.6 cm from (-1.2, 3.4) to (1.2, 3.4) centered on (0,0)
a straight line from (1.2, 3.4) to (0,1)

So from there you can start writing gCode. Using the two above examples:

Draw the circle:
G0 X-4.4 Y0
G2 X-4.4 I4.4

Draw the pie slice:
G0 X0 Y1
G1 X-1.2 Y3.4
G2 X1.2 I1.2 J-3.4
G1 X0 Y1

Note that this doesn't include any preparatory moves, Z moves etc... but it should be enough to get you going. Simply repeat the above process for all of the components.

Good luck!
bob
Reply With Quote

  #9   Ban this user!
Old 08-10-2011, 10:54 AM
hub hub is online now
 
Join Date: Sep 2010
Location: Finland
Posts: 435
hub is on a distinguished road

As this is an assignment you want to understand and learn.. So I'm not posting the G-Code for a copy - paste But I can give you some ideas on how to do it.
(I'm assuming manual coding)

- Look at it and split it into (in your mind):
* Lines
* Circles
* Arcs
- For each LINE; it has 2 points. Start and end. Check the coordinates for each point. Then write code to go from point 1 to point 2.

- For each CIRCLE; it has a center point and a diameter. You have 2 options; either drill or mill (in this case mill). Write the code knowing center point and diameter.

- For each ARC; it has a center point, a starting point, an end point, a start angle, an end angle and a diameter. Check/calculate those necessary, and write the code.

__________________
http://www.cnczone.com/forums/cnc_wood_router_project_log/125895-my_diy_cnc_cnc2011_%3B.html
Reply With Quote

  #10   Ban this user!
Old 08-11-2011, 11:16 PM
 
Join Date: Feb 2006
Location: United States
Posts: 273
dpuch is on a distinguished road

An expansion on what rowbare and hub offered.

Your dealing with a 3D XYZ cartesian coordinate system. Your image is showing the logo in the X and Y axis with Z being up and down. X plus is to the right. Y plus is to the top. and Z plus is up out of the image.

G0 is a rapid move (non cutting)
G1, G2 and G3 are modal feed moves that require a feedrate at least once on or befre the first one.

G1 moves in a line from the current position to the X Y Z position given
G2 is an clockwise arc from the current position to the X Y Z position given with I J K as the center of the arc (I is an X axis value, J a Y and K a Z)
G3 is the same as G2 but counter clockwise.

Follow rowbare's suggestion and figure out you points. Arc/line endpoints, and arc centers. Then start putting them into a g-code format.
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
MGi Logo MysticMonkey Fanuc 0 11-03-2009 09:11 PM
Need A Quote- Logo RFQ Erik W Employment Opportunity 3 08-05-2008 10:16 PM
Help doing logo procnc Vectric 2 06-03-2008 08:38 PM
RFQ Logo buckkillr8 Employment Opportunity 17 04-16-2007 11:01 PM
Need help with Logo CRFultz SheetCam 13 05-01-2005 06:23 PM




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