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 11-18-2006, 11:58 AM
 
Join Date: Apr 2006
Location: us
Posts: 17
bcdracing is on a distinguished road
10 10 10

when i put this program in my table starts heading to the corners.
i am new with gcode self learner but have come a long way.
here is my machine.
http://bcdracing.com/cnc/cnc.html

i got it cutting once then lost it.
minimal code is what i am looking for.
start and end at the same place
i'll set the height and run into the material.

thanks alex


N100 G20
N102 G0 G17 G40 G49 G80 G90
N106 X0. Y0. ZO.
N108 Z.5
N112 G0 G90 X-.3164 Y1.9337
N116 Z.1
N118 G1 Z0. F5.
N120 Y1.5587 F10.
N122 G3 X.0586 Y1.1837 R.375
N124 G1 X.3021
N126 G2 X.4356 Y1.1403 R.2269
N128 G1 X1.2751 Y.5297
N130 G2 X1.3686 Y.3462 R.2269
N132 G1 Y-.148
N134 G2 X1.287 Y-.3223 R.2269
N136 X-.0031 Y-.7661 R1.9182
N138 G1 X-1.8504
N140 G2 X-2.2348 Y-.3818 R.3843
N142 G1 Y-.2756
N144 G2 X-1.9685 Y-.0094 R.2663
N146 G1 X0.
N148 G3 Y.0094 R.0094
N150 G1 X-1.9685
N152 G2 X-2.2348 Y.2756 R.2662
N154 G1 Y.4056
N156 G2 X-1.8504 Y.7899 R.3844
N158 G1 X-1.4255
N160 G3 X-.3102 Y1.146 R2.1525
N162 G2 X-.185 Y1.1837 R.2269
N164 G1 X.0586
N166 G3 X.4336 Y1.5587 R.375
N168 G1 Y1.9337
N170 Z.1 F6.42
N182 G0 G90 X.2253 Y.7087
N186 G99 G81 Z0. R.1 F5.76
N188 X.9027 Y.2107
N190 G80
N194 X0. Y0.
N196 Z0.
N198 M30
%
Reply With Quote

  #2   Ban this user!
Old 11-18-2006, 12:19 PM
JEST's Avatar  
Join Date: Nov 2006
Location: United States
Posts: 50
JEST is on a distinguished road

The first command of motion is X0 Y0 Z0
If you start the program with the machine elsewhere...
Is the machine heading X0 Y0 Z0?
Reply With Quote

  #3   Ban this user!
Old 11-18-2006, 12:28 PM
JEST's Avatar  
Join Date: Nov 2006
Location: United States
Posts: 50
JEST is on a distinguished road

Are you starting the program with the machine at X0 Y0 Z0?
The first motion command is to go XYZ 0.
Is that the "corner" it moves to?
Reply With Quote

  #4   Ban this user!
Old 11-18-2006, 01:06 PM
 
Join Date: Apr 2006
Location: us
Posts: 17
bcdracing is on a distinguished road

when i turn the machine on its @ 000.

it heads towards the right and back.

can you exsplain the where the 3 000 are. absolute, ? , ? i forget and don't
really know how it works. or link me to a page that exsplains it.

alex
Reply With Quote

  #5   Ban this user!
Old 11-18-2006, 01:34 PM
JEST's Avatar  
Join Date: Nov 2006
Location: United States
Posts: 50
JEST is on a distinguished road

N100 G20
N102 G0 G17 G40 G49 G80 G90
N106 X0. Y0. ZO.


G0 Rapid Linear Interpolation
G20 Inch Mode
G17 X-Y Plane Selection
G40 Tool Radius Compensation Cancel
G49 Cancel Tool Length Offset
G80 Fixed Cycle Cancel
G90 Absolute Mode

The machine is told to Rapid to X0 Y0 Z0 (Absolute)
Do you know how to enter data (MDI)?

towards the right and back.??
What quadrant is that for your settings?
Are you sure that the machine is not set up to program in the -X -Y quad?
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 11-18-2006, 04:18 PM
 
Join Date: Apr 2006
Location: us
Posts: 17
bcdracing is on a distinguished road

[QUOTE=JEST;2193
Do you know how to enter data (MDI)?





[/QUOTE]


MDI, the screen on the cnc, yes i do.
is there a place to edit the where 000 is from the machine.

where ever i turn it on it reads 000.
towards the right and back.??
thats where it goes to if i start the program in the center.

What quadrant is that for your settings?
? you need a xy for the right and back?


Are you sure that the machine is not set up to program in the -X -Y quad?
don't know what that is.

thanks alex
Reply With Quote

  #7  
Old 11-18-2006, 04:32 PM
Switcher's Avatar
Moderator
 
Join Date: Apr 2005
Location: Vectorink.com
Posts: 3,660
Switcher is on a distinguished road

Originally Posted by bcdracing View Post
when i put this program in my table starts heading to the corners.
i am new with gcode self learner but have come a long way.
here is my machine.
http://bcdracing.com/cnc/cnc.html

i got it cutting once then lost it.
minimal code is what i am looking for.
start and end at the same place
i'll set the height and run into the material.

thanks alex


N100 G20
N102 G0 G17 G40 G49 G80 G90
N106 X0. Y0. ZO.
N108 Z.5
N112 G0 G90 X-.3164 Y1.9337
N116 Z.1
N118 G1 Z0. F5.
N120 Y1.5587 F10.
N122 G3 X.0586 Y1.1837 R.375
N124 G1 X.3021
N126 G2 X.4356 Y1.1403 R.2269
N128 G1 X1.2751 Y.5297
N130 G2 X1.3686 Y.3462 R.2269
N132 G1 Y-.148
N134 G2 X1.287 Y-.3223 R.2269
N136 X-.0031 Y-.7661 R1.9182
N138 G1 X-1.8504
N140 G2 X-2.2348 Y-.3818 R.3843
N142 G1 Y-.2756
N144 G2 X-1.9685 Y-.0094 R.2663
N146 G1 X0.
N148 G3 Y.0094 R.0094
N150 G1 X-1.9685
N152 G2 X-2.2348 Y.2756 R.2662
N154 G1 Y.4056
N156 G2 X-1.8504 Y.7899 R.3844
N158 G1 X-1.4255
N160 G3 X-.3102 Y1.146 R2.1525
N162 G2 X-.185 Y1.1837 R.2269
N164 G1 X.0586
N166 G3 X.4336 Y1.5587 R.375
N168 G1 Y1.9337
N170 Z.1 F6.42
N182 G0 G90 X.2253 Y.7087
N186 G99 G81 Z0. R.1 F5.76
N188 X.9027 Y.2107
N190 G80
N194 X0. Y0.
N196 Z0.
N198 M30
%

First, this should be a number, not an uppercase letter "O". (easy typo)

Look at line #3:
ZO.




.
Reply With Quote

  #8  
Old 11-18-2006, 04:33 PM
Switcher's Avatar
Moderator
 
Join Date: Apr 2005
Location: Vectorink.com
Posts: 3,660
Switcher is on a distinguished road

Get www.ncplot.com to help verify your g-code before running the code on your cnc machine (Free Demo).





.
Reply With Quote

  #9   Ban this user!
Old 11-18-2006, 04:41 PM
JEST's Avatar  
Join Date: Nov 2006
Location: United States
Posts: 50
JEST is on a distinguished road

Ok. Lets backup.
The Gcode has no visable starting "errors"
So lets look at location and motion control.

Input G01 X0 Y0 Z0.

Not G00! G00 is RAPID. Use G01 (feed) if you must enter a motion command and you are not POSITIVE of the machine response. Also be ready to hit stop or interupt.

What happens when you execute?
Reply With Quote

  #10   Ban this user!
Old 11-18-2006, 07:40 PM
 
Join Date: Dec 2005
Location: USA
Posts: 107
Walt@SGS.Inc is on a distinguished road

I think with G01, you may need a F something. F10.0000????
Walt
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 11-18-2006, 07:56 PM
JEST's Avatar  
Join Date: Nov 2006
Location: United States
Posts: 50
JEST is on a distinguished road

good call Switcher.
I see the letter "o" where the number zero belongs.
Great machinist eye for detail!
Ashamed I overlooked it.
I did notice the "even only line numbers. N104,N110,N172,N174,N176,N180,N184, and N192 have been removed.
Is this the result of text based editing?
Reply With Quote

  #12   Ban this user!
Old 11-18-2006, 08:17 PM
 
Join Date: Nov 2004
Location: USA
Posts: 9
Blaster33442 is on a distinguished road

drop the line N106 & N108 should keep it from running into the work
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 08:15 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