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 05-01-2011, 03:00 PM
 
Join Date: Jul 2005
Location: United States
Age: 35
Posts: 39
compmedic is on a distinguished road
NEED HELP PLEASE WITH FILE!!!

Need Help, I coded a small program but my z-axis is not going down in the part like it should.
I am running a Zenbot Router with Xylotek controller.
Here is my program:
%
N2 (RING BLANK 001)
N3 G00 G17 G20 G40 G54 G80 G90 G94
N4 S2500 T1 M08
N5 G01 X0.0 Y0.0 Z.1 F8
N6 G01 Z-.015 F8
N7 G01 X0.0 Y0.343
N8 G02 X0.0 Y-0.343 I0.0 J-0.343
N9 G02 X0.0 Y0.343 I0.0 J0.343
N10 G01 X0.0 Y0.343 Z-0.030 F8
N11 G02 X0.0 Y-0.343 I0.0 J-0.343
N12 G02 X0.0 Y0.343 I0.0 J0.343
N13 G01 X0.0 Y0.343 Z-0.045 F8
N14 G02 X0.0 Y-0.343 I0.0 J-0.343
N15 G02 X0.0 Y0.343 I0.0 J0.343
N16 G01 X0.0 Y0.343 Z-0.060 F8
N17 G02 X0.0 Y-0.343 I0.0 J-0.343
N18 G02 X0.0 Y0.343 I0.0 J0.343
N19 G01 X0.0 Y0.343 Z-0.075 F8
N20 G02 X0.0 Y-0.343 I0.0 J-0.343
N21 G02 X0.0 Y0.343 I0.0 J0.343
N22 G01 X0.0 Y0.343 Z-0.090 F8
N23 G02 X0.0 Y-0.343 I0.0 J-0.343
N24 G02 X0.0 Y0.343 I0.0 J0.343
N25 G01 X0.0 Y0.343 Z-0.105 F8
N26 G02 X0.0 Y-0.343 I0.0 J-0.343
N27 G02 X0.0 Y0.343 I0.0 J0.343
N28 G01 X0.0 Y0.343 Z-0.120 F8
N29 G02 X0.0 Y-0.343 I0.0 J-0.343
N30 G02 X0.0 Y0.343 I0.0 J0.343
N31 G01 X0.0 Y0.343 Z-0.135 F8
N32 G02 X0.0 Y-0.343 I0.0 J-0.343
N33 G02 X0.0 Y0.343 I0.0 J0.343
N34 G01 X0.0 Y0.343 Z-0.150 F8
N35 G02 X0.0 Y-0.343 I0.0 J-0.343
N36 G02 X0.0 Y0.343 I0.0 J0.343
N37 G01 X0.0 Y0.343 Z-0.165 F8
N38 G02 X0.0 Y-0.343 I0.0 J-0.343
N39 G02 X0.0 Y0.343 I0.0 J0.343
N40 G01 X0.0 Y0.343 Z-0.180 F8
N41 G02 X0.0 Y-0.343 I0.0 J-0.343
N42 G02 X0.0 Y0.343 I0.0 J0.343
N43 G01 X0.0 Y0.343 Z-0.195 F8
N44 G02 X0.0 Y-0.343 I0.0 J-0.343
N45 G02 X0.0 Y0.343 I0.0 J0.343
N46 G01 X0.0 Y0.343 Z-0.210 F8
N47 G02 X0.0 Y-0.343 I0.0 J-0.343
N48 G02 X0.0 Y0.343 I0.0 J0.343
N49 G01 X0.0 Y0.343 Z-0.225 F8
N50 G02 X0.0 Y-0.343 I0.0 J-0.343
N51 G02 X0.0 Y0.343 I0.0 J0.343
N52 G01 X0.0 Y0.343 Z-0.240 F8
N53 G02 X0.0 Y-0.343 I0.0 J-0.343
N54 G02 X0.0 Y0.343 I0.0 J0.343
N55 G01 X0.0 Y0.343 Z-0.248 F8
N56 G02 X0.0 Y-0.343 I0.0 J-0.343
N57 G02 X0.0 Y0.343 I0.0 J0.343
N58 G00 Z0.5 F12
N59 G00 X0.0 Y0.0
N60 M30

Any help would be appreciated.
I have a 2yr Certificate and as far as i know any G-code used next like a G01
will Cancel a G02 move. The z axis decends to the first mark but no more after that.
Reply With Quote

  #2   Ban this user!
Old 05-01-2011, 04:36 PM
christinandavid's Avatar  
Join Date: Aug 2009
Location: New Zealand
Posts: 573
christinandavid is on a distinguished road

Have you tried removing the (unnecessary, I think) X and Y moves from the G1 lines? Maybe the control can only handle 2 axes per block. Saying that I just noticed you specify all three on that first move...

DP
Reply With Quote

  #3   Ban this user!
Old 05-01-2011, 04:50 PM
 
Join Date: Jul 2005
Location: United States
Age: 35
Posts: 39
compmedic is on a distinguished road

Well when i first started out, i only had the z axis move so i added the x & y moves, but still the z axis does not descend.

By the way im using Mach3.
Reply With Quote

  #4   Ban this user!
Old 05-01-2011, 09:00 PM
neilw20's Avatar  
Join Date: Jun 2007
Location: Australia
Age: 63
Posts: 2,338
neilw20 is on a distinguished road

I bet you can't jog down either, or the z inhibit is enabled, or you have a hardware problem.
Code looks OK
Attached Thumbnails
Click image for larger version

Name:	cuts.jpg‎
Views:	26
Size:	82.6 KB
ID:	133031  
__________________
Super X3. 3600rpm. Three ways to fix things: The right way, the other way, and maybe your way, which is possibly a faster wrong way.
Reply With Quote

  #5   Ban this user!
Old 05-02-2011, 02:14 AM
 
Join Date: Feb 2006
Location: india
Posts: 1,187
sinha_nsit is on a distinguished road

I am not familiar with routers, but can there be any length compensation issue?
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 05-02-2011, 02:23 AM
neilw20's Avatar  
Join Date: Jun 2007
Location: Australia
Age: 63
Posts: 2,338
neilw20 is on a distinguished road

Nothing wrong with the program.
It is some sort of hardware, or setup problem.
Router, mill, lathe, whatever. Another digitally driven mystery need solving.
__________________
Super X3. 3600rpm. Three ways to fix things: The right way, the other way, and maybe your way, which is possibly a faster wrong way.
Reply With Quote

  #7  
Old 05-02-2011, 10:54 AM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,454
ger21 is on a distinguished road
Buy me a Beer?

If the Z axis DRO is changing, then it's an electrical or mechanical problem. If the DRO does NOT change, then you don't have the Z axis setup properly in Mach3.
__________________
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

  #8   Ban this user!
Old 05-02-2011, 12:32 PM
 
Join Date: Jul 2005
Location: United States
Age: 35
Posts: 39
compmedic is on a distinguished road

The Z-Axis DRO is changing but i dont think its an electrical problem or hardware, but i'll double check.
Thanks, for the help everybody.
Reply With Quote

  #9   Ban this user!
Old 05-02-2011, 02:26 PM
 
Join Date: Jul 2005
Location: United States
Age: 35
Posts: 39
compmedic is on a distinguished road

Figured out my problem.
The set-up was wrong.
The vise wasnt up high enough, and the Z Axis didnt go down that far.
I raised the vice up and now it works fine.
Thanks for all the replies everybody.
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
Need Help!- Converting a pdf file to UG part file gaoxingdcf UG NX 1 05-19-2010 07:47 PM
converting a .sldprt solidworks file into a .stp or parasolid file avogtster Solidworks 3 02-26-2010 01:40 AM
converting a mastercam 9 file into a Solidworks file Michael82 Solidworks 5 04-17-2009 01:14 PM
Need Help!- Need a favor. STL converted to part file or solidworks part file. Cmzwirner Solidworks 3 12-11-2008 07:45 AM
CAD file to CNC sc351cobra General CAM Discussion 0 12-18-2006 03:07 PM




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