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 09-18-2005, 09:56 AM
 
Join Date: Sep 2005
Location: UK
Posts: 4
drummerboy is on a distinguished road
help with nesting/stepping.

hi,

can anyone help with some nesting/stepping issues. I use a Fagor router, and produce flat peices (up to 200 per sheet), sheets between 2/20mm thick, using cutters, drill bits, chamfer bits etc.

is there an industry standard for stepping? for example. at a previous place I worked, in Excellon, it would be program co-ordinates, followed by the co-ordinates each step would be at.

m01xy
m01xy
m01xy
m98xy (step1)
m98xy (step2) etc etc

which was nice and easy, and if you broke a bit, you could plonk it back on whichever was the last step and let it go to there.

In my new place, no one has really looked at post processing, and the machine works with the standard output. we use Alphacam and it out puts incredibly complex stepping subroutines first, and then the co-ordinates, although it's a bit backwards, as the programs themselves are the subroutines. here is an example. the zero point at the machine is top right, then the g-codes off set t1 by -1000, (which also appears to be machine offset), t2 -1140, t3 -1300 and t4 -1440, so xy0 is at the bottom left in theory.

N10 G71
N20 G20 N1
N30 P1 = K -1000 P2 = K -877
N40 G20 N54
N50 G43 T4.4
N60 G0 Z30
N70 M72
N80 G4 K1
N90 M56
N100 G57
N110 G0 X28.245 Y314.425
N120 G20 N10
N130 G0 X28.315 Y661.695
N140 P1 = K -999.93 P2 = K -529.73
N150 G20 N54
N160 G57
N170 G20 N10
N180 P1 = K -1000 P2 = K -877
N190 G20 N54
N200 G57
N210 G0 X134.715 Y314.425
N220 P1 = K -893.53 P2 = K -877
N230 G20 N54
N240 G57
N250 G20 N10
N260 P1 = K -1000 P2 = K -877
N270 G20 N54
N280 G57
N290 G0 X134.785 Y661.625
N300 P1 = K -893.46 P2 = K -529.8
N310 G20 N54
N320 G57
N330 G20 N10
N340 P1 = K -1000 P2 = K -877
N350 G20 N54
N360 G57
N370 G0 X241.185 Y314.425
N380 P1 = K -787.06 P2 = K -877
N390 G20 N54
N400 G57

then carries on, and same for T3.3 until the end of the program, which is.

N3200 P1 = K -41.7 P2 = K -529.8
N3210 G20 N54
N3220 G56
N3230 G20 N11
N3240 P1 = K -1000 P2 = K -877
N3250 G20 N54
N3260 G56
N3270 M55
N3280 M34
N3290 G0 G44 Z0
N3300 G20 N1
N3310 M30
N3320 G22 N10
N3330 G99 Z18
N3340 G81 X28.445 Y314.625 Z18 I0 F353
N3350 X78.445 Y314.625
N3360 X78.445 Y34.775
N3370 X28.445 Y34.775
N3380 G80
N3390 G24
N3400 G22 N11
N3410 G0 Z3
N3420 G1 G41 X0.07 Y347.5 Z -8.4 F0528
N3430 X106.32 F3600
N3440 Y1.4
N3450 X0.17
N3460 Y347.6
N3470 G40 Y347.896
N3480 G0 Z10
N3490 G24

.... which to me is backwards, and I don't seem to be able to select a piece to jump to if a tool breaks.

I have been looking in to G25's, haven't been able to understand yet G26/27/28. What about using G90, G91's with subroutine programs? G31? aarrgh. Anyways, suggestions helpful. cheers.
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





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