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. GS76

    GS76 Well-Known
    Builder

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

    I see I have not replied to you, thanks again for all the help.

    I will test all of this in the future, but for now, I have decided to go another way with the machine, due to my deadline.

    All the best and thank you again.
     
  2. simrim1

    simrim1 New
    Builder

    Joined:
    Nov 3, 2023
    Messages:
    1
    Likes Received:
    0
    Hi,
    I have just downloaded this software. I am new to CNC world. My machine is not connected through Serial port. It is connected to my home network. There is an option to connect through a Network Port. How to connect through it? Thx
     
  3. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,441
    Likes Received:
    1,910
    what controller do you have?
    OpenBuildsCOMTROL works with GRBL and grblHAL based controllers, and grblHAL controllers can be on the network in which case t will use a telnet connection.
     
  4. GS76

    GS76 Well-Known
    Builder

    Joined:
    Mar 22, 2020
    Messages:
    151
    Likes Received:
    33
    Quick question.

    When the changing GRBL settings within the CONTROL software, there is a restart.

    I understand the restart updates the controller, if I am not mistaken. What I want to confirm is does the power get cut to the stepper motors during the restart?

    I am asking as I am concerned if this make cause the stepper motors to move/change position during restart.

    I just wanted to understand what happens during this restart phase.

    Thank you.
     
  5. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,928
    Likes Received:
    4,292
    Yip resets cuts the Enable. Remember to rehome if needed. Restart needed because some Grbl Settings take effect at start up.

    During restart firmware isn't running yet so don't have control over signals until booted back up. Pretty logical
     
  6. GS76

    GS76 Well-Known
    Builder

    Joined:
    Mar 22, 2020
    Messages:
    151
    Likes Received:
    33
    Thank you, for letting me know Peter.

    Fanatastic software and controller. I am enjoying it more and more, everytime, I use it.
     
  7. BASt_NL

    BASt_NL New
    Builder

    Joined:
    Sep 9, 2022
    Messages:
    24
    Likes Received:
    3
    A few questions;

    1. Is there a way in Openbuilds Control to run gcode commands 'on connect', 'before start job', 'after start job' ?For example, i'd want the spindle light (on M8) to turn on on connect, as a reminder that we have a live tool. (blinking would be even better, just like the alarm button on the interface, but theres no gcode for that ...as fas ar i know)

    2. Openbuilds Control keeps forgetting the USB port every time i want to connect (and i have a bunch of them. Cant it just remember the last one it connected to? (FTDI USB to serial COM 3 in my case).

    3. For some reason Openbuilds Control doesnt respect the setting in Windows Taskmanager --> Startup. When you disable autorun on boot (as i use my laptop for other things as well), as soon as you launch it, startup on boot is enabled again. (Win 10 home and pro edition). This happens every time, not just after an update.

    4. When you abort the probe run, the XYZ zero gets reset; to a definite wrong value, as you aborted. Would be handy to have a remark popup on that. As you just might think 'i aborted, so nothing changed'
     
  8. Misterg

    Misterg Veteran
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 27, 2022
    Messages:
    351
    Likes Received:
    273
    I believe you can use the GRBL $N settings to run Gcode on startup for things like that (I wouldn't use it for anything that produces motion though.)

    grbl/doc/markdown/commands.md at master · gnea/grbl
     
    BASt_NL likes this.
  9. BASt_NL

    BASt_NL New
    Builder

    Joined:
    Sep 9, 2022
    Messages:
    24
    Likes Received:
    3
    $N0=M8 works, thanks!
     
  10. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,928
    Likes Received:
    4,292
    Can also add the M8/M9 to your CAM workflow (Header and Footer gcode) that way the job can control it (say on at start, off at end or whatever)
     
  11. BASt_NL

    BASt_NL New
    Builder

    Joined:
    Sep 9, 2022
    Messages:
    24
    Likes Received:
    3
    True for jobs, not for 'when connected'; but thats fixed with $N0

    Questions 2, 3 and 4 remain :)
     
  12. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,928
    Likes Received:
    4,292
    2) There was a macro somewhere here

    3) It runs a service so the integrations can work. It uses no active resources while sitting in the tray, UI is spawned in seperate process when brought up by api, icons, etc

    4) Always double check positions, and let the probe finish
     
  13. Blake Sparks

    Builder

    Joined:
    Dec 4, 2023
    Messages:
    6
    Likes Received:
    1
    Looking for some help. I have a Lead 1010 that I just upgraded the controller on to the X32 and added a rotary axis in the Y2 motor position. When I run a single line of gcode (G1A255.5816S255F59.1) the machine rotates to the expected point but when I run it within a code the A axis just rotates and never stops. Below is the test file trying to get everything working but no luck so far.

    T1
    G17
    G20
    G90
    G0A0.0000Y0.0000
    G0A253.5282Y0.0721
    G1F59.1
    M4S0
    G1A255.5816S255F59.1
    M5

    Any thoughts as to why it would just rotate and never stop?

    -Blake
     
  14. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,928
    Likes Received:
    4,292
    Did you remember to Zero the A axis prior to starting the job?
     
  15. Blake Sparks

    Builder

    Joined:
    Dec 4, 2023
    Messages:
    6
    Likes Received:
    1
    Yes sir.
     
  16. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,928
    Likes Received:
    4,292
    What is the value of you $376 setting in Grbl Settings?

    $376 - Settings_Axis_Rotational
    Designate ABC axes as rotational by \ref axismask. This will disable scaling (to mm) in inches mode.
    Set steps/mm for the axes to the value that represent the desired movement per unit.
    For the controller the distance is unitless and and can be in degrees, radians, rotations, ...

    Should be $376=1 if its not.
     
  17. Blake Sparks

    Builder

    Joined:
    Dec 4, 2023
    Messages:
    6
    Likes Received:
    1
    upload_2023-12-7_14-12-43.png
    So setting this to 1.
     
  18. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,928
    Likes Received:
    4,292
    Correct, try that first
     
  19. Blake Sparks

    Builder

    Joined:
    Dec 4, 2023
    Messages:
    6
    Likes Received:
    1
    That worked! Thanks for the quick help on this.

    -Blake
     
    Peter Van Der Walt likes this.
  20. Blake Sparks

    Builder

    Joined:
    Dec 4, 2023
    Messages:
    6
    Likes Received:
    1
    Going to ask one more question. My laser on command has M3S0 to turn the laser on but VCarve is outputting the next line with "S1000" instead of "S255" is there another setting that needs to be modified or do I need to do a work around in VCarve. I am using the laser module in VCarve and it's outputting power percentages instead of the RPM approach with 255.

    -Blake
     
  21. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,928
    Likes Received:
    4,292
    You can change the output in Vectric's post to be whatever you need it to be. 1000 is the default (as $30=1000 in default grbl settings) but your choice, if you set $30 to 255 for some reason, you will have to modify Vectric post to suit : Look at the Power Variable Adapting a post-processor for Lasers
     
  22. ca. 280

    ca. 280 New
    Builder

    Joined:
    Aug 16, 2015
    Messages:
    74
    Likes Received:
    8
    My machine stopped in the middle of executing a program. Error message I get:
    PORT ERROR: Writing to COM port(GetOverLappingResult): Unknown error code 433.
    Could someone interpret this for me??
     
  23. Giarc

    Giarc OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Jan 24, 2015
    Messages:
    3,008
    Likes Received:
    1,676
    Has it happened before?

    Most likely caused by the computer/laptop disconnecting the usb port, a bad usb cable/loose connection or electromagnetic interference (EMI). Did you remember to do docs:blackbox-x32:install-windows-selective-suspend [OpenBuilds Documentation]
     
  24. ca. 280

    ca. 280 New
    Builder

    Joined:
    Aug 16, 2015
    Messages:
    74
    Likes Received:
    8
  25. GS76

    GS76 Well-Known
    Builder

    Joined:
    Mar 22, 2020
    Messages:
    151
    Likes Received:
    33
    To whom it may concern:

    I had a strange event occur. Please take a look at the image attached.

    I was making small slow consistent movements in the Z-direction.

    I then clicked on one of the lines in the serial/log console and the next thing I knew it did a jog move in the Y-direction. See below.

    Why would this happen? I am quite sure the mouse didn't move to go over the +/- Y jogging! What is particularly interesting is it did a positive and negative movement.

    Do you know if this behaviour has been seen before?

    I must make sure I have a G-code program that I stop and start rather than trying to run this manually!

    Thanks again for the support.

    Regards,

    Gary
     

    Attached Files:

  26. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    14,928
    Likes Received:
    4,292
    Misclicked? Touched keyboard arrow? If PC has a touchscreen accidental touch event?
     
  27. GS76

    GS76 Well-Known
    Builder

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

    I got such a fright, I shut it down, I will test it.

    Thanks again.
     
  28. GS76

    GS76 Well-Known
    Builder

    Joined:
    Mar 22, 2020
    Messages:
    151
    Likes Received:
    33
    Is it possible to change the shortcuts for the jogging etc?

    I messed up a job hitting the down-arrow on the keyboard... My bad!

    Thanks again for the great software and controller.
     
  29. Misterg

    Misterg Veteran
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 27, 2022
    Messages:
    351
    Likes Received:
    273
    Yes - go to 'Wizards and Tools' then 'Customize Keyboard Shortcuts'

    (I did exactly the same thing - well broke a tool, anyway.)

    WaT.png
     
  30. GS76

    GS76 Well-Known
    Builder

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

    You are a scholar and a gentleman.
     

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