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-19-2010, 04:41 AM
 
Join Date: May 2007
Location: Italy
Posts: 16
safecnc is on a distinguished road
Gcode file samples

Hello all. I need some sample of Gcode in order to test a program I wrote. It's a statistical analyzer of CNC code that reads a cnc file and produces a report with many information.

The program try to desume an extimate of the total working time. In other words it try to calculate how long does it take to machine the worpiece. This is why I would like to try my program on files that have been already machined so the real working time is already known. This way I could compare my computed time withe the real working time.

I tested my code with NC files programmed in millimetetrs done with a CAM program and the total time copmputed by my program mtaches (more or less) the time computed by the CAM progrm. It would be interesting to test with other GCODE expecially if written in inches.

Can someone point me to some resource on the net where I could download some examples from ?

Many thanks in advance.
Sandro
Reply With Quote

  #2   Ban this user!
Old 12-20-2010, 09:17 PM
 
Join Date: May 2008
Location: India
Posts: 85
yaji63 is on a distinguished road
Smile

Hi Sandro,

you can just convert metric program to inch programs or get help from your friends to generate the inch programs in place of metric programs (the ones which have already run on the machine and has the cycle time) and test it. I do a lot of 3D programming for dies and aerospace milling but the programs are pretty large.

I' am also curious about your ways of finding the actual cycle time based on program analysis as each machine behaves in a different way and the response time in older machines is much slower than the new machines. How will you compensate for all this unless you can lay your hands on the acceleration and decelaration data / parameters of the specific machine ?

Yaji
Reply With Quote

  #3   Ban this user!
Old 12-21-2010, 04:06 AM
 
Join Date: May 2007
Location: Italy
Posts: 16
safecnc is on a distinguished road

Hi Yaji. You are right, without acceleration/deceleration data it's not possible to forecast an exact machining time. But, the goal is not to get a result accurate to the 100th of second but only a reasonable one. Let's say for example that a machining time is, 4 hours and 16 minutes.
If the software will predict 4 hours and 20 minutes I think it's a pretty accurate result that will give a good idea about the time your milling center will be busy. Obviously if the predicted result is 6 hours... there is something wrong in the program.

The program makes a reverse postprocessing operation taking in consideration the Feed values it finds inside the code. I also provided a Rapid feed value that must be set by the user because the true rapid speed of a specific machine cannot be desumed by the GCODE itself (and often user doesn't know it either). It not only extimate the working time but also other (more or less) useful informations like tool position in each line of the code, some data about total motions, the bounding volume of the whole operation min and max feed and speed and other things. Il can convert the GCODE code to DXF also.

There is no structural limit on the size of the files to be examined but It's limited to 3x. Continuous 5x is not supported. I plan to add support for 3+2 axis in the future. If you have some sample data, I will be happy to test my code with them.

Sandro
Reply With Quote

  #4   Ban this user!
Old 12-21-2010, 10:43 AM
 
Join Date: May 2008
Location: India
Posts: 85
yaji63 is on a distinguished road
Smile

Hi Sandro,

i have tons of programs whether 3D or 2D. 2D is actually generated by software but these are predominantly aerospace components where the paths can be ideally designated as 2D. 3D is all die mold programs. What do you want ?

The size of the programs will be pretty large in 3D

This is a commercial program you are testing or just hobby ? I have also been trying to lay my hands on some kind of application which can predict atleast 5% nearer to the actual cycle time. When the feed rates are on the higher side OR when the profile gets complicated, predicting cycle time becomes that much more tougher. Since there are too many variables (which can include size of the machine and its inertia properties) I wonder how one can get to make a generic prediction software work Its a genuine curiosity

yaji
Reply With Quote

  #5   Ban this user!
Old 12-21-2010, 12:38 PM
 
Join Date: May 2007
Location: Italy
Posts: 16
safecnc is on a distinguished road

Hi yaji. I f you can send me one sample of both 2D and 3D file I will use with my code. If privacy is an issue you can send me a private message in order to find a way to send the files. Size doesn't matter but I prefere huge files so I can check the performaces too. It's important that you already know the true cycle time but don't tell me its value. I will tell you the predicted time. The program is not commercial. When it will be reliable I will release it on my site so you could try it by yourself.

Sandro
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
Need gcode or dxf file for drilling UHU PCB visky UHU Servo Controllers 0 10-07-2008 02:45 PM
Can Someone Covert File To Gcode? bcnc General CNC (Mill and Lathe) Control Software (NC) 21 06-26-2007 09:16 PM
Tutorials , exercices, samples , mold samples engrsc Solidworks 4 02-22-2007 09:24 AM




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