Newbie faster feed rate = more gcode lines??


Page 1 of 2 12 LastLast
Results 1 to 20 of 22

Thread: faster feed rate = more gcode lines??

  1. #1

    Default faster feed rate = more gcode lines??

    Is it just me or is this definitely the case?
    I recently noticed that my the contour i asked my cnc to do would not look like the contour I asked it to do.
    The corners did not look like corners. They were like smoothed and rounded out. almost like if there was no corner.
    Unless i lowered the feedrate to 40 IPM. So I decided to investigate.
    Turns out that if I provide more Gcode lines or (more resolution) I could run it properly at that faster feedrate which was 200 ipm. else i had to run it at 40 IPM.

    If this is true why is this the case? id like to understand it a bit more.

    thanks!

    Similar Threads:


  2. #2
    Registered
    Join Date
    Oct 2016
    Location
    Iran, Islamic Republic Of
    Posts
    25
    Downloads
    0
    Uploads
    0

    Default Re: faster feed rate = more gcode lines??

    Quote Originally Posted by a3dcreator View Post
    Is it just me or is this definitely the case?
    I recently noticed that my the contour i asked my cnc to do would not look like the contour I asked it to do.
    The corners did not look like corners. They were like smoothed and rounded out. almost like if there was no corner.
    Unless i lowered the feedrate to 40 IPM. So I decided to investigate.
    Turns out that if I provide more Gcode lines or (more resolution) I could run it properly at that faster feedrate which was 200 ipm. else i had to run it at 40 IPM.

    If this is true why is this the case? id like to understand it a bit more.

    thanks!
    What's your controller and what's the application you are using ?
    If you are able to have a g code with more points do it. But this is only one of the possibilities or reasons
    You can see your g code in some application like cimco before starting it
    And while preparing g code toolpath make the points closer to each other and use less separation point distance


    Sent from my iPhone using Tapatalk



  3. #3

    Default Re: faster feed rate = more gcode lines??

    thanks for the reply. I was investigating some more and it seems like that might not be what fixed it. I think it might be something called undershooting or overshooting.
    One other thing i changed was for every line I was setting a feedrate. in this new gcode i also only set the feedrate once. At the very beginning of the file. Im starting to believe that this might have caused my controller to adjust to the neccessary feedrate before it gets to that corner.
    I will check tonight.

    im using Mach4 controller. With Hicon Integra motion controller.

    i will update you tonight once I get back to my machine.



  4. #4
    Registered
    Join Date
    Oct 2016
    Location
    Iran, Islamic Republic Of
    Posts
    25
    Downloads
    0
    Uploads
    0

    Default Re: faster feed rate = more gcode lines??

    Quote Originally Posted by a3dcreator View Post
    thanks for the reply. I was investigating some more and it seems like that might not be what fixed it. I think it might be something called undershooting or overshooting.
    One other thing i changed was for every line I was setting a feedrate. in this new gcode i also only set the feedrate once. At the very beginning of the file. Im starting to believe that this might have caused my controller to adjust to the neccessary feedrate before it gets to that corner.
    I will check tonight.

    im using Mach4 controller. With Hicon Integra motion controller.

    i will update you tonight once I get back to my machine.
    Thank you for you reply
    But there might be other reasons too if you can't have a smooth corner
    Like inappropriate tool or spindle speed , hard material, or many different things
    Or if there's not a suitable relationship between spindle speed and feedrate or even tool angle
    Although it's still hard to fully imagine what's your part's shape.


    Sent from my iPhone using Tapatalk



  5. #5
    Member ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    35538
    Downloads
    1
    Uploads
    0

    Default Re: faster feed rate = more gcode lines??

    It's rounding corners for two reasons.
    1) Your machine has a low acceleration rate.
    2) Mach4 really has no method to control path deviation in CV mode.

    Gerry

    UCCNC 2017 Screenset
    [URL]http://www.thecncwoodworker.com/2017.html[/URL]

    Mach3 2010 Screenset
    [URL]http://www.thecncwoodworker.com/2010.html[/URL]

    JointCAM - CNC Dovetails & Box Joints
    [URL]http://www.g-forcecnc.com/jointcam.html[/URL]

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  6. #6

    Default Re: faster feed rate = more gcode lines??

    here is the image of the contour im trying to cut. its supposed to cut right on the center of the path.
    The green is what i want to cut but it was doing the red path. Whats wierd is it would only do it on the first corner and not on the second corner. As illustrated.




    Attached Thumbnails Attached Thumbnails faster feed rate = more gcode lines??-problem-jpg   faster feed rate = more gcode lines??-problem1-jpg  


  7. #7

    Default Re: faster feed rate = more gcode lines??

    what is CV mode?
    sorry for being so noobish.
    and does this mean i should up my acceleration?

    thanks!



  8. #8
    Registered
    Join Date
    Oct 2016
    Location
    Iran, Islamic Republic Of
    Posts
    25
    Downloads
    0
    Uploads
    0

    Default Re: faster feed rate = more gcode lines??

    Quote Originally Posted by a3dcreator View Post
    here is the image of the contour im trying to cut. its supposed to cut right on the center of the path.
    The green is what i want to cut but it was doing the red path. Whats wierd is it would only do it on the first corner and not on the second corner. As illustrated.


    May I see your G code ?
    It seems that g code is not match with the machine
    Or machine doesn't read arcs of g code properly
    Or they don't have the same logic


    Sent from my iPhone using Tapatalk



  9. #9
    Registered
    Join Date
    Oct 2016
    Location
    Iran, Islamic Republic Of
    Posts
    25
    Downloads
    0
    Uploads
    0

    Default Re: faster feed rate = more gcode lines??

    Quote Originally Posted by a3dcreator View Post
    what is CV mode?
    sorry for being so noobish.
    and does this mean i should up my acceleration?

    thanks!
    That's totally ok my friend
    I don't know many things either
    But about your problem i think the problem is around G2 and G3 if there is any in your g code


    Sent from my iPhone using Tapatalk



  10. #10

    Default Re: faster feed rate = more gcode lines??

    here are the 2 gcode files.
    "contourTest2.txt" is the one that produces these artifacts.
    "contourTest3.txt" is the one that actually works. (i added more gcode lines in this one. also does not have feedrate on every line.)

    Attached Files Attached Files


  11. #11

    Default Re: faster feed rate = more gcode lines??

    by the way. im writing my own plugin that spits out the gcode from a peice of software called Autodesk Maya.
    Ive managed to have access to a ton of information . I actually know when the path changes trajectories. so if i need to i can lower the velocity (or feedrate as it approaches the corner).
    im just wondering if this is going to be necessary. And im also not using any arc moves in this gcode,



  12. #12
    Registered
    Join Date
    Oct 2016
    Location
    Iran, Islamic Republic Of
    Posts
    25
    Downloads
    0
    Uploads
    0

    Default Re: faster feed rate = more gcode lines??

    Quote Originally Posted by a3dcreator View Post
    here are the 2 gcode files.
    "contourTest2.txt" is the one that produces these artifacts.
    "contourTest3.txt" is the one that actually works. (i added more gcode lines in this one. also does not have feedrate on every line.)
    Do you know all the parameters in your g code ?
    Like G20
    G94
    And else ?
    Are you expecting millimeters or inches in your size ?
    I'm turning my pc on to check the g code more. Just give me time


    Sent from my iPhone using Tapatalk



  13. #13
    Registered
    Join Date
    Oct 2016
    Location
    Iran, Islamic Republic Of
    Posts
    25
    Downloads
    0
    Uploads
    0

    Default Re: faster feed rate = more gcode lines??

    Quote Originally Posted by a3dcreator View Post
    by the way. im writing my own plugin that spits out the gcode from a peice of software called Autodesk Maya.
    Ive managed to have access to a ton of information . I actually know when the path changes trajectories. so if i need to i can lower the velocity (or feedrate as it approaches the corner).
    im just wondering if this is going to be necessary. And im also not using any arc moves in this gcode,
    I guess that the problem isn't about feedrate now
    It can be from the G code I suppose


    Sent from my iPhone using Tapatalk



  14. #14

    Default Re: faster feed rate = more gcode lines??

    other than G94 yes. my assumption would be that i should use G94 (units per minute mode)....
    I am working in inches per minute.
    thanks!



  15. #15
    Member ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    35538
    Downloads
    1
    Uploads
    0

    Default Re: faster feed rate = more gcode lines??

    It's definitely due to feedrate, in conjunction with acceleration.

    CV mode = Constant Velocity mode, where Mach4 tries to maintain velocity while following the path.
    If you change to Exact Stop mode, you should see it follow the path exactly, but stop at each line of g-code.
    Better control software allows you to specify a maximum path deviation while in CV mode.
    When in CV mode, the faster the acceleration, the faster it can change direction, which allows it to follow the toolpath more accurately.

    Mach4 does have a CV angles setting, where I think you specify a max feedrate for changes in direction based on angle, from 0-180°. Not sure how to set it up, though.

    I would try to output your code using arcs wherever possible, as it will give smoother, and more accurate motion.

    Gerry

    UCCNC 2017 Screenset
    [URL]http://www.thecncwoodworker.com/2017.html[/URL]

    Mach3 2010 Screenset
    [URL]http://www.thecncwoodworker.com/2010.html[/URL]

    JointCAM - CNC Dovetails & Box Joints
    [URL]http://www.g-forcecnc.com/jointcam.html[/URL]

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  16. #16

    Default Re: faster feed rate = more gcode lines??

    thanks for the info. i wouldve never known



  17. #17
    Member samco's Avatar
    Join Date
    Jul 2003
    Posts
    1754
    Downloads
    2
    Uploads
    0

    Default Re: faster feed rate = more gcode lines??

    This is what a normal machine control would look like with path following control

    This 3 tolerances.
    G64P.01
    G64P.005
    G64P.001

    The above means - go as fast as you can but stay within P of the programmed path.
    This control has a few other settings to - but this is the basic one.

    This was at 200ipm with acceleration of 30in/s^2

    Zoomed in
    faster feed rate = more gcode lines??-screenshot-50-jpg

    Zoomed out a bit.
    faster feed rate = more gcode lines??-screenshot-51-jpg



  18. #18

    Default Re: faster feed rate = more gcode lines??

    wow this really helps. So i have 2 solutions fortunatley.
    I can either change the settings in mach4 and see if it works. or i can just change the feedrate as i approach the change in direction through my plugin and bake it into the gcode.
    I will let you know how it turns out tonight.



  19. #19

    Default Re: faster feed rate = more gcode lines??

    Question for you know is though.
    if you had the ability to choose to fix the gcode and keep constant velocity or switch to exact stop. Which one would you choose?

    thanks again!



  20. #20
    Member
    Join Date
    Jan 2005
    Location
    USA
    Posts
    1943
    Downloads
    2
    Uploads
    0

    Default Re: faster feed rate = more gcode lines??

    Try just putting a G61 into the first line of the G-code. This is the exact stop mode and disables path blending, or should depending on the control software.



Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

faster feed rate = more gcode lines??

faster feed rate = more gcode lines??