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-14-2007, 07:00 PM
frankg521's Avatar  
Join Date: Aug 2006
Location: USA
Age: 50
Posts: 118
frankg521 is an unknown quantity at this point
Gcode its driving me crAZY

Hi Guys um using mastercam x with Mach3 everything is good except i get these strange lead in my Gcode can anyone help thanks in advance
Attached Files
File Type: txt the letter g thats.txt‎ (392 Bytes, 159 views)
Reply With Quote

  #2   Ban this user!
Old 08-14-2007, 08:42 PM
frankg521's Avatar  
Join Date: Aug 2006
Location: USA
Age: 50
Posts: 118
frankg521 is an unknown quantity at this point
looks like im being avoided

How come i post threads and i get no reply
Reply With Quote

  #3   Ban this user!
Old 08-14-2007, 08:59 PM
mark c's Avatar  
Join Date: Sep 2004
Location: US of A
Posts: 145
mark c is on a distinguished road

What do you not like about the G code?
I do see that the Z commands are all z0
I don't know MCX very well, but I'll try to help.
__________________
Insanity "doing the same thing and expecting a different result"
Mark

www.mcoates.com
Reply With Quote

  #4   Ban this user!
Old 08-14-2007, 09:37 PM
gar gar is offline
 
Join Date: Mar 2005
Location: USA
Posts: 1,498
gar is on a distinguished road

070814-2131 EST USA

frankg521:

Your code does not look good. Going to Z0 first, then a rapid in the X-Y plane looks dangerous.

There should be considerable initialization before your first line of code. Mastercam post is a problem or you have not supplied Mastercam enough information.I would expect a % at the beginning followed by an O-number, and at the end M30 and the ending %.

.
Reply With Quote

  #5  
Old 08-14-2007, 09:43 PM
Switcher's Avatar
Moderator
 
Join Date: Apr 2005
Location: Vectorink.com
Posts: 3,660
Switcher is on a distinguished road

I didn't see anything other than an extra "G00"?

Whats strange about the lead in?



G00

G00

Z0.0

X8.4372y7.7675

G01

Z0.0 F10.0

X7.9444y8.7114
X6.9756y9.647
X6.015y10.1065
X4.1105y10.0733
X3.1666y9.5805
X2.231y8.6117
X1.7715y7.6511
X1.3203y6.2145
X1.3619y3.8339
X1.8629y2.4138
X2.3557y1.4699
X3.3245y0.5343
X4.2851y0.0748
X6.1895y0.108
X7.1335y0.6008
X8.0691y1.5696
X8.5286y2.5302
X8.5036y3.9585

G00

Z0.0

X6.123y3.917

G01

Z0.0 F10.0

X8.5036y3.9585

G00

Z0.0
Attached Thumbnails
Click image for larger version

Name:	1.jpg‎
Views:	128
Size:	59.6 KB
ID:	42117  
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 08-14-2007, 09:48 PM
frankg521's Avatar  
Join Date: Aug 2006
Location: USA
Age: 50
Posts: 118
frankg521 is an unknown quantity at this point
thanks guys guys i realy need the help

I realy do like Gcode ...switcher checkout this red line in mach see attched pic
Attached Thumbnails
Click image for larger version

Name:	MACH LEAD IN.jpg‎
Views:	156
Size:	159.5 KB
ID:	42119  
Reply With Quote

  #7  
Old 08-14-2007, 09:53 PM
Switcher's Avatar
Moderator
 
Join Date: Apr 2005
Location: Vectorink.com
Posts: 3,660
Switcher is on a distinguished road

I also posted on your other thread.

http://www.cnczone.com/forums/showthread.php?t=41996

Can you post the octagon file?

.
Reply With Quote

  #8   Ban this user!
Old 08-14-2007, 09:58 PM
frankg521's Avatar  
Join Date: Aug 2006
Location: USA
Age: 50
Posts: 118
frankg521 is an unknown quantity at this point
thanks

yes .. i want the z to plunge were i put the gantry but it follows the red leasdin and then cuts i dont know were to put the stock
Attached Files
File Type: txt OCTOGON2.txt‎ (787 Bytes, 111 views)
Reply With Quote

  #9  
Old 08-14-2007, 10:04 PM
Switcher's Avatar
Moderator
 
Join Date: Apr 2005
Location: Vectorink.com
Posts: 3,660
Switcher is on a distinguished road

That looks like a bunch of extra code, what type of cnc machine are you running?

The code shows an "A-axis", are you just running a 3-axis mill (XYZ)?

.
Reply With Quote

  #10   Ban this user!
Old 08-14-2007, 10:11 PM
frankg521's Avatar  
Join Date: Aug 2006
Location: USA
Age: 50
Posts: 118
frankg521 is an unknown quantity at this point

Yes it is a bunch extra code its a home built router everything works good eccept for this lead in the gantry moves diagnaly then starts cutting it must be the post like gar sead now what to do about it yes 3 axis

Last edited by frankg521; 08-14-2007 at 10:13 PM. Reason: did not answer
Reply With Quote

Sponsored Links
  #11  
Old 08-14-2007, 11:05 PM
Switcher's Avatar
Moderator
 
Join Date: Apr 2005
Location: Vectorink.com
Posts: 3,660
Switcher is on a distinguished road

I deleted a bunch of useless code, double check tool comp. I might have got caried away.



RUN AT YOUR OWN RISK




%
N1 G00 G17 G90
N2 Z5.0
N3 X0.0 Y0.0
N4 X-12.4295 Y-3.5376
N5 G01
N6 G91
N7 Z-0.25 F6.0
N8 X-8.5195 Y3.2347
N9 X-0.686
N10 X3.2376 Y-3.5376
N11 X-0.6724 Y-10.3256
N12 X-8.506
N13 X-12.4295 Y-3.5533
N14 G90
N15 G00
N16 Z5.0
N17 X0.0 Y0.0
N18 M30
%
Attached Thumbnails
Click image for larger version

Name:	1.jpg‎
Views:	94
Size:	59.6 KB
ID:	42126  
Reply With Quote

  #12  
Old 08-14-2007, 11:08 PM
Switcher's Avatar
Moderator
 
Join Date: Apr 2005
Location: Vectorink.com
Posts: 3,660
Switcher is on a distinguished road

The "Z" clearance is +5

The "Z" infeed is -0.25

Adjust as needed.

.
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
Protel is driving me crazy ez-cnc.com General Electronics Discussion 3 03-30-2010 12:54 AM
Mach 3 reacting to my GCode crazy! WarrenW Mach Software (ArtSoft software) 3 02-19-2006 03:44 PM
LPT crazy Lu_ca Machine Problems, Solutions , Wireless DNC, serial port 9 04-05-2005 06:17 PM
I have a problem with my gcode or my conversion to gcode , everything is tiny? NickLatech G-Code Programing 0 03-10-2005 12:46 PM
Aligning cross table is driving me crazy. Ideas? pigifly General Metal Working Machines 4 07-07-2004 02:45 AM




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