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. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,049
    Likes Received:
    4,313
  2. JacobE1988

    Builder

    Joined:
    Jul 23, 2019
    Messages:
    34
    Likes Received:
    13
    What post processor do you use for this control software from Aspire? I searched and saw a few people say basic Grbl but nothing specific. I saw the shapeoko and x-carve PP in Aspire, should I just use those? Or do you recommend a different one?
     
  3. Alex Chambers

    Alex Chambers Master
    Moderator Builder

    Joined:
    Nov 1, 2018
    Messages:
    2,784
    Likes Received:
    1,364
    Use the grbl (mm) post processor.
    Alex.
     
    JacobE1988 and sharmstr like this.
  4. Jeepguy42

    Jeepguy42 New
    Builder

    Joined:
    Sep 18, 2016
    Messages:
    7
    Likes Received:
    2
    I've searched and didn't see this issue anywhere nor am I sure where to put the question.

    I have my laser setup on a generic Sainsmart 3 Axis CNC/Laser Board and I've noticed an oddity that its doing when it starts to engrave and I'm hoping its a GRBL firmware change or a Gcode/OpenBuilds CAM Gcode change.

    I generated my tool paths using the current OpenBuilds CAM GCode Creator. I then send the gcode to OpenBuilds Control v1.0.183. When i tell the program to Run Job, everything moves the way it should to get to the starting point. When it gets to where the starting point is I hear the laser fan kick on but it doesn't fully turn the laser on until after its already moved a few mm. This is an issue with really small moves as it may not even turn on before the move is done. This is happening at each move. It shuts off the laser when it gets to the end of a path so it can move to the next point so that it doesn't engrave while travling but that means when it gets to the next point it kicks the fan on and then has moved again before the laser has turned on leaving little gaps between the start and end point. The laser turns on a split second after it starts moving (1/2 a second or less I haven't times it).

    Is there a setting in OpenBuilds Control or Is there a firmware setting I'm missing or a Gcode setting to allow an "X" millisecond delay before any/each move to allow the laser to initialize or is this something I'm just going to have to live with, with my particular laser?
     
  5. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,049
    Likes Received:
    4,313
    Some of the lower quality laser modules use a bad driver circuit that doesnt come on fast enough. Thats mostly hardware issue (replace module with a OPTlaser for example)

    Delay: Not really something built in as its really a mess to workaround bad hardware
    You can edit the gcode and add 'G1F1\nM3S1000\nG4 P400' before every cut segment to try and turn on laser, delay in place for 400ms, then continue. Note untested, i don't have a ebay module anymore to test it for you, threw it away a year or two ago. Can't take that slow turn on, it also cannot do proper PWM so no grayscale engravings etc. Really worth paying a little more for a good one :)

    [edit]: PS: May also be the controller, if the fan goes off sounds like its cutting power dead to the module. usually module is powered all the time, and you run a PWM or TTL signal to the laser driver... so also odd[/edit]
     
    sharmstr likes this.
  6. Jeepguy42

    Jeepguy42 New
    Builder

    Joined:
    Sep 18, 2016
    Messages:
    7
    Likes Received:
    2
    Thats what I thought but wanted to be sure. I'll test out the gcode line you suggested and test it. I'm using this more for fun so I'll probably just live with small gaps that I can easily pencil in. I'll just avoid graphics that needs excessive small movements if it doesn't work :)
     
    Peter Van Der Walt likes this.
  7. vm3dsolutions

    Builder

    Joined:
    Aug 19, 2019
    Messages:
    4
    Likes Received:
    4
    Hey all, new here. Does openbuild software not accept canned cycles? Example G81 for a canned drilling cycle. I tried it on a customers machine recently that i am setting up for him. I need to drill around 20,000 holes in a board for him and I also cant for the life of me figure out how to get Mastercam to post drill code in long hand. I was looking to have to write that out myself. Also is there a list somewhere of what G godes this software does accept?
     
  8. sharmstr

    sharmstr OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 23, 2018
    Messages:
    2,059
    Likes Received:
    1,448
    Welcome!

    No. But really, grbl doesnt. I see that bCNC can do it. Try that.

    For reference, I found this from @David the swarfer
    "G81 is a canned drill cycle.
    The memory in the chip that runs GRBL is too small to do canned cycles internally.
    That is why only bCNC willrun the G81, it converts it to a series of commands tht GRBL does support.
    and that is why all the other GUI's will give an error on G81, they don't translate it and GRBL considers it an error."
     
    Peter Van Der Walt likes this.
  9. vm3dsolutions

    Builder

    Joined:
    Aug 19, 2019
    Messages:
    4
    Likes Received:
    4
    ah gotcha that makes sense. thank you
     
    David the swarfer and sharmstr like this.
  10. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,458
    Likes Received:
    1,915
    all you need is here in the GRBL wiki. GRBL is the firmware in the Blackbox
    gnea/grbl
     
    Peter Van Der Walt likes this.
  11. vm3dsolutions

    Builder

    Joined:
    Aug 19, 2019
    Messages:
    4
    Likes Received:
    4
    Thank you very much for that. It says that LinuxCnC will support the canned cycles but as sharmstr said above i guess the blackbox is the limitation. Thank you all for the help and quick responses.
     
  12. sharmstr

    sharmstr OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 23, 2018
    Messages:
    2,059
    Likes Received:
    1,448
    Its not so much the Blackbox. Its grbl which the black box runs. Which means ANY grbl based controller has this limitation.

    LinuxCNC is completely different. They only mention it because grbl is based on LinuxCNC standard.
     
  13. vm3dsolutions

    Builder

    Joined:
    Aug 19, 2019
    Messages:
    4
    Likes Received:
    4
    Ok great now i understand. This is all new to me, I am used to industrial machines running HAAS, Fanuc, Fadal, ...etc controllers.

    UPDATE: For anyone else that may ever run into this while using Mastercam (or another CAD system with canned posts) I did find a work around. Instead of doing a drill cycle you use a contour. You draw a line to the depth you want to drill in the Y,Z plane and then do a contour to a zero depth. The tool will simply follow the line straight down then rapid retract to initial height then hop to the next hole like it is a drill cycle just VERY LONGHAND. It took me sleeping on it and i just finished trying it. It posts perfectly to the equivalent of what GRBL needs.

    Thank you again for the help.
     
    Peter Van Der Walt and sharmstr like this.
  14. KaosCNC

    KaosCNC Well-Known
    Builder

    Joined:
    May 16, 2017
    Messages:
    94
    Likes Received:
    27
    What is the recommend windows based PC/Laptop/Tablet for running OB Control?

    I am just getting started using the BlackBox with OB Control and I was doing a pen drawing of my planned waste board and part way into the drawing the machine would stop working . OB Control was clocking and I think the issue was the laptop was overheating.

    I have another laptop I can try but have been pondering if a tablet would work for running OB Control flawlessly but not sure where to even begin to look.
     
  15. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,049
    Likes Received:
    4,313
    Nothing too fancy. Anything in the last 5 years or so.

    Maybe your issue was USB Selective Suspend How to Disable USB Selective Suspend - unless of course that laptop is broken and overheats because of hardware issues
     
    sharmstr likes this.
  16. Stumpy

    Stumpy New
    Builder

    Joined:
    Dec 21, 2018
    Messages:
    37
    Likes Received:
    21
    You would think that being 70 years old would mean I have already asked how come and for why... The dadgum machine has got me stumped again and you can see from my icon I am already stumped without the machine. Question: What is error 15 or error 9? A better question is how do you make it go away? The best question is how can I get into the grbl and really confuse the machine? The spindle will not move in direction of the three axis. I have attached my grbl file for your enjoyment. I apologize for the comedic writing but it is either that or cry.
     

    Attached Files:

    R. D. Childers likes this.
  17. sharmstr

    sharmstr OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 23, 2018
    Messages:
    2,059
    Likes Received:
    1,448
    Okay, here we go :)

    In the log you'll see: "Jog target exceeds machine travel. Command ignored. [ $J=G91 G21 Z1000 F4978.40 ]"

    In your grbl settings, which can be accessed from the grbl settings tab in ob control, you'll see that you have your maximum travel limits set to

    Code:
    [13:28:38] [ $$ ] $130=810.000 ;X-axis maximum travel, millimeters
    
    [13:28:38] [ $$ ] $131=730.000 ;Y-axis maximum travel, millimeters
    
    [13:28:38] [ $$ ] $132=90.000 ;Z-axis maximum travel, millimeters
    Now, going back to your error, you'll also see that its trying to move to Z1000. Your max travel for Z axis is only 90mm.
     
    Peter Van Der Walt likes this.
  18. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,049
    Likes Received:
    4,313
    Might be a bug. Continuous jogging sends a long move on keydown, cancels it on keyup. But thats been that way all along, wonder why we havent seen it error out before...

    For now @Stumpy switch to Incremental Jogging
     
  19. sharmstr

    sharmstr OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Mar 23, 2018
    Messages:
    2,059
    Likes Received:
    1,448
    Ahhh. Right. I was wondering how the heck a 1000mm move got called. I forgot about continuous.
     
    Peter Van Der Walt likes this.
  20. Stumpy

    Stumpy New
    Builder

    Joined:
    Dec 21, 2018
    Messages:
    37
    Likes Received:
    21
    If you mean mine hadn't erred out before, I just started to use it today. If it is a different possible "bug" in the software/hardware, I do not know how to help you. Question is, How do I get this thing to Home or even move. I have completely turned off all power in an attempt to reboot but it doesn't seem to want to play. I do have a large ball peen I could use as a persuader but I don't think the machine would still be square if I used it...:rolleyes:
     
  21. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,049
    Likes Received:
    4,313
    K
    Click the switch under jog to Incremental
     
  22. Stumpy

    Stumpy New
    Builder

    Joined:
    Dec 21, 2018
    Messages:
    37
    Likes Received:
    21
    Will do. I can't believe it is as simple as that. But I do understand the why of it. Well, here I go making more sawdust... Thanks a bunch for the quick replies and the great help! Here I are, being "Semper Gumby".
     
    Peter Van Der Walt likes this.
  23. Stumpy

    Stumpy New
    Builder

    Joined:
    Dec 21, 2018
    Messages:
    37
    Likes Received:
    21
    Frustration starting to rear its ugly head.Still no sawdust! Here is what I've done: after turning jog to incremental -
    1) turned off all power and disconnected all leads. Results - same issue
    2) Gone into GRBL (finally figured how to do that - small victory) and reset z travel to 1200 Results - would go down but not any higher.
    3) Said to myself...I'm smarter than this. Changed direction for z to travel result - got upward movement but no down ward movement.
    4) Reset machine zero result - none I could see.
    5) Measured temp in shop...104 F Results- tried to hurry a little, just got tired sooner.
    6) Loving wife told me her temp was rising. Said maybe I should have put my money into sewing. At least I could do that inside.

    I am ready for some really helpful advice as to how to make this thing do something predictably intentional.:banghead::banghead:
     
  24. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,049
    Likes Received:
    4,313
    Did you click the switch yet. Onscreen. Below the arrows. Tiny little switch, just click it till it slides toward Incremental :)
    None of the other stuff was needed nor advised.
     
  25. Stumpy

    Stumpy New
    Builder

    Joined:
    Dec 21, 2018
    Messages:
    37
    Likes Received:
    21
    Yes, I moved the slider to the left side ( incremental).
     
  26. Stumpy

    Stumpy New
    Builder

    Joined:
    Dec 21, 2018
    Messages:
    37
    Likes Received:
    21
    Don't know if it matters or not but even after moving back to incremental, the jog rate is showing 4978.4
     
  27. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,049
    Likes Received:
    4,313
    In incremental it wont throw that Same error... So what happens then?
    If it doesnt move, check troubleshooting tab if your endstops arent reversed. Any clues in serial log. Work the problem :)
     
  28. Stumpy

    Stumpy New
    Builder

    Joined:
    Dec 21, 2018
    Messages:
    37
    Likes Received:
    21
    Clues would be a help if had a clue what I am looking for. But I don't so I am going to go back to square 1 and punt. I have taken up enough of your time and I thank you. Would love to be able to pay someone to help me understand but haven't got a clue as to how to locate someone close by.
     
  29. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,049
    Likes Received:
    4,313
    Screenshot the Troubleshooting tab
    And explain what you do, and what happens then.

    Can you jog X
    Can you jog Y
    Can you jog Z

    Both directions
    Or not. Or only one x and y just not z

    Does it throw errors onscreen
    Or not

    Your posts lack details without which i cant help :)
     
  30. Stumpy

    Stumpy New
    Builder

    Joined:
    Dec 21, 2018
    Messages:
    37
    Likes Received:
    21

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