Welcome to Our Community

Some features disabled for guests. Register Today.

OpenBuilds CONTROL Software

Discussion in 'Control Software' started by Mark Carew, Oct 8, 2018.

  1. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,463
    Likes Received:
    1,915
    to cut 1um off a bit of titanium probably does not take a lot of power, can maybe scrape that off with a fingernail?.
    to spin a leadscrew that moves a gantry that holds a motorized tool that does the cutting, that takes quite a lot more power, and to hold high accelerations so you can maintain cut speed (important in Ti) takes even more power.
     
  2. Misterg

    Misterg Veteran
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 27, 2022
    Messages:
    366
    Likes Received:
    282
    I guess I have an idea in my mind about the sort of machine that would be rigid enough to meaningfully machine difficult materials like titanium: it would be very substantial, probably made of cast iron (or granite) and running on dovetail or hydrostatic slideways with large diameter, preloaded ballscrews. The machine would be unavoidably heavy and the ballscrews would have a lot of inertia and some friction. I would expect to need more powerful motors than are available in NEMA 17 form factor, but I guess they could be geared down.

    Good luck with your project, whatever. :)
     
    David the swarfer likes this.
  3. GS76

    GS76 Well-Known
    Builder

    Joined:
    Mar 22, 2020
    Messages:
    151
    Likes Received:
    33
    Hi Misterg,

    I am with you completely.

    Interesting what you said. A machine design in the UK has precisely the construction you are speaking of, almost to the T.

    You must have a great deal of experience.

    Thanks again.
     
  4. Misterg

    Misterg Veteran
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 27, 2022
    Messages:
    366
    Likes Received:
    282
    It's pretty standard engineering...

    Not sure about that - just old. (Having spent my working life in various forms of manufacturing, some things rub off.)
     
    Peter Van Der Walt likes this.
  5. GS76

    GS76 Well-Known
    Builder

    Joined:
    Mar 22, 2020
    Messages:
    151
    Likes Received:
    33
    Well it has been great discuss this back and forward with you.

    Thanks again and have a great week.
     
    Misterg likes this.
  6. GS76

    GS76 Well-Known
    Builder

    Joined:
    Mar 22, 2020
    Messages:
    151
    Likes Received:
    33
    I have a small desktop CNC machine with limited travel for a reason.

    Is it possible to set the "incremental jogging" by default to 0.1 mm, so that each time I start the program it is set in that state?

    Thank you and thank you for the great software.
     
  7. GS76

    GS76 Well-Known
    Builder

    Joined:
    Mar 22, 2020
    Messages:
    151
    Likes Received:
    33
    My apologies, the question was previously answered at the following location.

    Setting jogging defaults
     
  8. GS76

    GS76 Well-Known
    Builder

    Joined:
    Mar 22, 2020
    Messages:
    151
    Likes Received:
    33
    Where do I find good references for GRBLHAL G-code for creating a circle?

    I want to use the G-code using the IJK method, but I only see examples showing G-code, which breaks up the circle into segments and uses G1 and X, Y and Z-coordinates for each segment.

    I need to create G-code as shown in this video () which shows the cutter coming vertically down and then moving to the side and then following a circle at a specified diameter creating the cutting path.

    Any assistance would be much appreciated.

    Thank you.
     
  9. Peter Van Der Walt

    Peter Van Der Walt OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 1, 2017
    Messages:
    15,060
    Likes Received:
    4,313
    Use a CAM, instead of manually writing Gcode?

    grbl (and grblHAL) supports a subset of the LinuxCNC standard so LinuxCNC "G-Code" Quick Reference is a good lookup for specific commands
     
  10. Misterg

    Misterg Veteran
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 27, 2022
    Messages:
    366
    Likes Received:
    282
  11. dJOS_500

    dJOS_500 Journeyman
    Builder

    Joined:
    Jul 16, 2022
    Messages:
    322
    Likes Received:
    130
    Try using Fusion 360 CAM with the OB processor. This can easily do those kind of operations.
     
    Peter Van Der Walt likes this.
  12. GS76

    GS76 Well-Known
    Builder

    Joined:
    Mar 22, 2020
    Messages:
    151
    Likes Received:
    33
    Hi Misterg,

    Thank you for the link.

    Do you think it is still worthwhile using CAM, for something so simple?

    What CAM tools do you use and what is the benefit, even for smaller, simpler programs?
     
  13. GS76

    GS76 Well-Known
    Builder

    Joined:
    Mar 22, 2020
    Messages:
    151
    Likes Received:
    33
    Thank you, DJOS_500,

    What is the benefit using CAM tools, even for smaller, simpler programs like this one?
     
    dJOS_500 likes this.
  14. GS76

    GS76 Well-Known
    Builder

    Joined:
    Mar 22, 2020
    Messages:
    151
    Likes Received:
    33
    Thank you, Peter,

    I appreciate the info.
     
  15. dJOS_500

    dJOS_500 Journeyman
    Builder

    Joined:
    Jul 16, 2022
    Messages:
    322
    Likes Received:
    130
    No worries.

    To be upfront, Fusion 360 Manufacturing (CAM) has a bit of a learning curve - however for folks like me who design all their models in F360 to start with, it's pretty logical to stay in the one tool. F360 CAM is really powerful, it just offers far more power and flexibility than most of the simpler CAM tools. The simpler tools are really aimed at engraving. With F360, you can create everything from very simple engraving jobs to complex, multi-axis, professional machining of metal parts.

    If you'd like to get a better understanding of F360 CAM, before going down the rabbit hole, I recommend this video:

     
  16. GS76

    GS76 Well-Known
    Builder

    Joined:
    Mar 22, 2020
    Messages:
    151
    Likes Received:
    33
    Thank you, this is very helpful. I will check it out.
     
    dJOS_500 likes this.
  17. GS76

    GS76 Well-Known
    Builder

    Joined:
    Mar 22, 2020
    Messages:
    151
    Likes Received:
    33
    I would appreciate assistance in regards to how to set up "homing" as I need to turn on soft limits.

    What is the procedure using the Openbuilds control software as well as Openbuilds X32?

    I am a newbie. Thanks again.
     
  18. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,463
    Likes Received:
    1,915
    here is a good primer on arc coding, more than you need to know, CAM is much easier, much quicker and much more robust (ie once the CAM is debugged it always does the correct thing, whereas hand coding will let you make mistakes every time :) ). if you don't like Fusion360, there is always Sketchup Make 2017 with the SketchUcam plugin



    a thing to note on arc coding, some controllers can do full circles, some can only do half circles and others can only do 90 degrees or less, per arc command.
    SketchUcam outputs 90 degree arcs, the OB postprocessor for Fusion360 outputs arcs up to 180 degrees, full circles may work for GRBL, I cannot recall exactly now, but smaller segments = works in more places ,more often.

    GRBL can do helical arcs, ie an IJ arc with a Z component that changes, like for threading or boring. some controllers cannot do this and then the CAM must linearize the arc into little line segments.
     
  19. Misterg

    Misterg Veteran
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 27, 2022
    Messages:
    366
    Likes Received:
    282
    Like the others have said, I usually design what I want in CAD first, and it's then a logical step to use CAM to generate the gcode (it means I don't need to get my head around IJK coordinates for one thing!). You get a lot of nice options like being able to leave a little stock and take a finishing cut, or to take several cuts to get the depth you want without having to do too much thinking. And if you change your design, you just have to click a few buttons to generate the corresponding gcode.

    If you're already using CAD/CAM, then it's a no-brainer, however it would be an extremely steep learning curve if not - certainly not quick!

    If you will only ever do a few simple jobs that don't really change, then it might make some sense to stick with hand coding gcode. For anything else, you are going to meet CAM sometime, so you may as well start...

    FWIW I use Fusion360 for CAD and CAM with their default GRBL post processor. It works for me.
     
    dJOS_500 likes this.
  20. GS76

    GS76 Well-Known
    Builder

    Joined:
    Mar 22, 2020
    Messages:
    151
    Likes Received:
    33
    Thank you for all the feedback.

    Now the important question is what is Openbuilds X32 black box controller best suited to using as G-code for an arc or circle?

    Can it do a full circle using R or IJK or is it better breaking the circle into segments?
     
  21. Misterg

    Misterg Veteran
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 27, 2022
    Messages:
    366
    Likes Received:
    282
    Now you're getting into the detail - there's a fuller explanation here:

    G Codes
     
  22. GS76

    GS76 Well-Known
    Builder

    Joined:
    Mar 22, 2020
    Messages:
    151
    Likes Received:
    33
    Thank you for sharing.
     
  23. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,463
    Likes Received:
    1,915
    do not use R format arcs, anywhere, anytime, just don't <-: so prone to massive errors, just not worth it
    X32 shoudl do a circle ok with IJK format.
     
    Peter Van Der Walt likes this.
  24. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,463
    Likes Received:
    1,915
    if you have fusion360 on an actual licence then you can partly ignore this....
    if you have it 'free for personal use' then you should be using the Openbuilds postprocessor fot GRBL, it has advantages, like putting back the rapids the personal license takes away
     
    dJOS_500 likes this.
  25. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,463
    Likes Received:
    1,915
    some things are easier than others. Fusion360 is very powerful but is also more complicated.
    how about just flat 2D drawings? easy, right? Sketchup is a possible answer (as is OB Cam)


    but wait you say, my object is not just flat.... (but is not curved either)
     
  26. GS76

    GS76 Well-Known
    Builder

    Joined:
    Mar 22, 2020
    Messages:
    151
    Likes Received:
    33
    Thank you for all your comments and help.

    I created a circle with Openbuilds CAM. It created a circle of many segements and dis not use IJK or R, is that ok?
     
  27. Misterg

    Misterg Veteran
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 27, 2022
    Messages:
    366
    Likes Received:
    282
    I'm on the personal use licence. I did try the OB post, but switched back to the Autodesk one in an attempt to resolve some issue or other (maybe not post related) and have stuck with it since. The OB one didn't seem do to much to the rapid feeds. Like I said, it works for me, and "If it ain't broke; don't fix it!" :)
     
  28. GS76

    GS76 Well-Known
    Builder

    Joined:
    Mar 22, 2020
    Messages:
    151
    Likes Received:
    33
    I have a student version of Fusion 360, I think it has the CAM available in it.

    Thanks again.
     
  29. Misterg

    Misterg Veteran
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 27, 2022
    Messages:
    366
    Likes Received:
    282
    It should do.

    For reference, this is what F360 outputs if you ask it to contour around the inside of a 10mm diameter hole 2mm deep with a 5mm dia cutter and no bells or whistles. Hole centre is at the top of the stock at X0, Y0:

    Code:
    (10mm hole 2mm deep with 5mm cutter)
    (No lead-in or lead out)
    G90 G94
    G17
    G21
    (2D Contour1)
    S10000 M3
    G54
    G0 X2.5 Y0
    Z15
    G1 Z1 F1000
    Z-2 F200
    G3 X-2.5 Y0 I-2.5 J0 F1000
    X2.5 Y0 I2.5 J0
    G1 Z15
    M5
    M30
    That's about as complicated as I would like to get by hand. Attached is a file that bores the same hole with multiple passes of a 3mm dia cutter with a finishing pass and lead-in / lead out paths to avoid leaving dwell marks on the work. No way would I go near that by hand! :D
     

    Attached Files:

  30. dJOS_500

    dJOS_500 Journeyman
    Builder

    Joined:
    Jul 16, 2022
    Messages:
    322
    Likes Received:
    130
    I’m not sure of you are aware, but CNC machines make their arcs and circles from very tiny straight lines. It’s just the nature of robotic motion systems. 3D printers do the same thing.

    I tried to learn OnShape, but I really hate web apps! Professional workstation apps don’t belong in web web browsers in this grumpy old IT presenting view.
     
    #2520 dJOS_500, Oct 24, 2023
    Last edited: Oct 24, 2023

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice