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 07-25-2011, 02:45 AM
 
Join Date: Jan 2008
Location: USA
Posts: 233
mlind is on a distinguished road
Problem setting Feed rate w G-code

Hello,

I am having a problem with this section of Code and thought I would ask for help setting feedrate to 0.5 on this one line. I have tried many different things but no help. Any suggestions would be welcome. Thanks in advance.


N038 G00 X000.750 Y002.000
N039 G01 Z001.1
N040 G01 X002.000 Y000.750 F.5 (This is where I need feed rate set to 0.5)
N041 G01 X000.750 Y002.000
N042 G00 Z000.000
Reply With Quote

  #2   Ban this user!
Old 07-25-2011, 06:46 AM
 
Join Date: Oct 2010
Location: US
Age: 99
Posts: 58
annoying is on a distinguished road

Originally Posted by mlind View Post
Hello,

I am having a problem with this section of Code and thought I would ask for help setting feedrate to 0.5 on this one line. I have tried many different things but no help. Any suggestions would be welcome. Thanks in advance.


N038 G00 X000.750 Y002.000
N039 G01 Z001.1
N040 G01 X002.000 Y000.750 F.5 (This is where I need feed rate set to 0.5)
N041 G01 X000.750 Y002.000
N042 G00 Z000.000
What is the machine? Can you post more from the beginning?
Reply With Quote

  #3   Ban this user!
Old 07-25-2011, 07:05 PM
 
Join Date: Jan 2008
Location: USA
Posts: 233
mlind is on a distinguished road
Thank you more G-code

Hello,

Thank you in advance. Here is the g-code file. The machine is a cnc router made by Thom Carr CNC.

Basically I am first cutting 4 pointlists then going back to the pointlists and cuting 4 45 degree slots. On the 4 slots I need to slow the feed rate down to a crawl. I use Kcam for the controller.


N001 [KCAM CONVERSION]
N002 [ORIGINAL FILE: BALLNOSESLOTCUTTERFIRST.DXF]
N003 %
N004 G90
N005 M03
N006 G00 Z000.000 ( point list begin )
N007 G00 X002.000 Y009.250
N008 G01 Z001.1
N009 G01 X002.000 Y009.250 Z000.000
N010 G00 Z000.000
N011 G00 X008.000 Y009.250
N012 G01 Z001.1
N013 G01 X008.000 Y009.250 Z000.000
N014 G00 Z000.000
N015 G00 X009.250 Y002.000
N016 G01 Z001.1
N017 G01 X009.250 Y002.000 Z000.000
N018 G00 Z000.000
N019 G00 X000.750 Y002.000
N020 G01 Z001.1 Pointlist end
N021 G01 X000.750 Y002.000 Z000.000
N022 G00 Z000.000
N023 G00 X002.000 Y009.250
N024 G01 Z001.1 0 Begin 4 angle cuts need slow speed here
N025 G01 X000.750 Y008.000
N026 G01 X002.000 Y009.250
N027 G00 Z000.000
N028 G00 X008.000 Y009.250
N029 G01 Z001.1
N030 G01 X009.250 Y008.000
N031 G01 X008.000 Y009.250
N032 G00 Z000.000
N033 G00 X009.250 Y002.000
N034 G01 Z0001.1
N035 G01 X008.000 Y000.750
N036 G01 X009.250 Y002.000
N037 G00 Z000.000
N038 G00 X000.750 Y002.000
N039 G01 Z001.1
N040 G01 X002.000 Y000.750
N041 G01 X000.750 Y002.000
N042 G00 Z000.000
N043 M05
N044 M30
end.
Reply With Quote

  #4   Ban this user!
Old 07-25-2011, 08:56 PM
 
Join Date: Jun 2010
Location: Canada
Age: 27
Posts: 117
lukewarm is on a distinguished road

Try lowering your ramp start value below the lowest speed you wish to cut at and try again.
Reply With Quote

  #5   Ban this user!
Old 07-25-2011, 10:13 PM
 
Join Date: Jan 2008
Location: USA
Posts: 233
mlind is on a distinguished road
Thats a thought.

Originally Posted by lukewarm View Post
Try lowering your ramp start value below the lowest speed you wish to cut at and try again.
Good Idea,

I was going to do 2 programs one with a low feed rate to cut the angles then another program to complete the project but I would like to learn how to set feed rates in a g-code program. More of a wondering how to rather than a need too as I can get around it but it would be nice to be able to program feed rates into a g-code program when needed.

Thanks for the idea.
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 07-25-2011, 10:39 PM
judleroy's Avatar  
Join Date: Dec 2006
Location: USA
Posts: 406
judleroy is on a distinguished road

I don't know the answer to your problem sorry. All the machines i've used would cut at F.5 or sometimes F0.5 depending on machine. Will the machine feed that slow? I'm really wondering why all the extra zeros in your code. Whynot X0.0 or even X0.0000.
Do you write the code on the machine? The X000.005 would have me seriously confused.Lol. Good luck with your problem.
Judleroy
Reply With Quote

  #7   Ban this user!
Old 07-25-2011, 11:07 PM
 
Join Date: Oct 2010
Location: US
Age: 99
Posts: 58
annoying is on a distinguished road

Hey, that stuff gives me a headache. Waaaay too many 0s. Don't know anything about the Kcam you are using.
I'd expect it should hopefully handle .5 ipm, but cannot say. I did not see any other specified feedrate in there.

But, I'd have it more like this:


N001

............


N012G1Z1.1
N013G1X8Y9.25Z0
N014G0Z0
N015G0X9.25Y2
N016G1Z1.1
N017G1X9.25Y2.Z0
N018G0Z0

..........



Actually I seldom number the blocks unless I might need them for restart points or branching. However, your Kcam may not accept code like that.... it could well be quite different than what I've used

But setting feedrate should well be done in the line where you are starting that feedrate, in the form of F.5 or F0.5 and should remain until changed. It can also be placed in its own seperate line before the movement. This is in the case of metal working machinery that I have used
Reply With Quote

  #8   Ban this user!
Old 07-25-2011, 11:15 PM
 
Join Date: Jun 2010
Location: Canada
Age: 27
Posts: 117
lukewarm is on a distinguished road

You misunderstand me I believe you are unable to set your feeds that low because your ramp values are above it. Therefore if you set your ramp values below it you will be able to set low feed rates and this issue will be solved. The ramp start values are part of your kcam config I believe.

Originally Posted by mlind View Post
Good Idea,

I was going to do 2 programs one with a low feed rate to cut the angles then another program to complete the project but I would like to learn how to set feed rates in a g-code program. More of a wondering how to rather than a need too as I can get around it but it would be nice to be able to program feed rates into a g-code program when needed.

Thanks for the idea.
Reply With Quote

  #9   Ban this user!
Old 07-26-2011, 01:53 AM
 
Join Date: Jan 2008
Location: USA
Posts: 233
mlind is on a distinguished road

Oh!! DUH

I see what you are saying now. That makes sense as I tried to set the feedrate both above and on the same line as the code which had no effect what soever..... (SMILE) I'll bet you are right about setting the ramp rate lower than the feedrate. Thank you so much.....

I can't wait to get home and try it..

Thanks one and all I'll give it a try later this week and see if that helps....






Originally Posted by lukewarm View Post
You misunderstand me I believe you are unable to set your feeds that low because your ramp values are above it. Therefore if you set your ramp values below it you will be able to set low feed rates and this issue will be solved. The ramp start values are part of your kcam config I believe.
Reply With Quote

  #10   Ban this user!
Old 07-26-2011, 01:59 AM
 
Join Date: Jan 2008
Location: USA
Posts: 233
mlind is on a distinguished road

Hello,

I didn't write the code but rather had the controller convert a dxf file to g-code. I can set the number of decimal places in the program and I guess I have grown used to this format. (SMILE) Although it isn't necessary. The machine will cut really slow it was cutting at .001 ipm although the only way to tell it was cutting was to watch the readout. Its kind of fun experimenting with stuff like this.

Thanks...



Originally Posted by judleroy View Post
I don't know the answer to your problem sorry. All the machines i've used would cut at F.5 or sometimes F0.5 depending on machine. Will the machine feed that slow? I'm really wondering why all the extra zeros in your code. Whynot X0.0 or even X0.0000.
Do you write the code on the machine? The X000.005 would have me seriously confused.Lol. Good luck with your problem.
Judleroy
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 07-26-2011, 02:04 AM
 
Join Date: Jun 2010
Location: Canada
Age: 27
Posts: 117
lukewarm is on a distinguished road

Hope it works out for ya!
Reply With Quote

  #12   Ban this user!
Old 07-26-2011, 02:05 AM
 
Join Date: Jan 2008
Location: USA
Posts: 233
mlind is on a distinguished road
Thank you

Thanks for the insight. Its neat to see the way other folks do their code.

I took out the F0 commands but I think setting the correct the ramp rate will solve the problem. The machine will cut verrrrrrrrrrrryyyyyyyyyy slow ( I discovered how slow the other day). :-) Kcam is a good controller for what I do. Thanks for the info on how to set the feedrate ...




Originally Posted by annoying View Post
Hey, that stuff gives me a headache. Waaaay too many 0s. Don't know anything about the Kcam you are using.
I'd expect it should hopefully handle .5 ipm, but cannot say. I did not see any other specified feedrate in there.

But, I'd have it more like this:


N001

............


N012G1Z1.1
N013G1X8Y9.25Z0
N014G0Z0
N015G0X9.25Y2
N016G1Z1.1
N017G1X9.25Y2.Z0
N018G0Z0

..........



Actually I seldom number the blocks unless I might need them for restart points or branching. However, your Kcam may not accept code like that.... it could well be quite different than what I've used

But setting feedrate should well be done in the line where you are starting that feedrate, in the form of F.5 or F0.5 and should remain until changed. It can also be placed in its own seperate line before the movement. This is in the case of metal working machinery that I have used
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
4th Axis Feed Rate Problem dkaustin SprutCAM 10 06-17-2011 12:52 PM
Problem- Feed rate problem Rene Nuñez Paz Hobbycnc (Products) 4 03-08-2009 07:50 PM
Mach3 with Taig Motor Feed Rate Problem alt255 Taig Mills & Lathes 8 12-13-2006 01:50 PM
Feed Rate Overide problem Moondog Machines running Mach Software 0 06-14-2006 05:35 AM




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