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

    jginvc New
    Builder

    Joined:
    Feb 22, 2023
    Messages:
    12
    Likes Received:
    0
    Weird because I tried to post a response and got a page that said I couldn’t post because I was blocked and I needed to email the admin of the site to find out why and there was no email address. But when I posted here it was ok. Strange.
     
  2. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,193
    Likes Received:
    4,346
    Next time it happens, grab a screenshot (we use CloudFlare Anti-spam, but not "blocking" people per-se, it looks at behaviour). Pulled up your log and you switched public IPs in the last 24 hours sometime.
     
    jginvc likes this.
  3. jginvc

    jginvc New
    Builder

    Joined:
    Feb 22, 2023
    Messages:
    12
    Likes Received:
    0
    Anyway, I guess I will just have to wait until I am healed up from my back surgery enough to spend the hours figuring out why I am having connection issues with the most recent Ubuntu Linux after a certain CONTROL release. I just can’t do that right now. So I’ll revert back to the older version so I can at least run some simple jobs until then.
     
  4. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,193
    Likes Received:
    4,346
    Lets continue that discussion in your thread at USB Connection Error when the time comes :) easier to track a conversation in one thread especially after some time passed, nice to have it all together. Hope you feel better soon.
     
  5. Sword

    Sword New
    Builder

    Joined:
    Apr 1, 2023
    Messages:
    22
    Likes Received:
    2
    After rebuilding and setting up a smaIl cnc router for a customer, I picked up a BBX32 for myself, just for tinkering with it and OBcontrol. I've been messing around with Linux and trying OBcontrol on various distributions/installs, and after getting the user permissions set for the port, things seem to be working well. One issue that I haven't figured out though, is that when attempting a firmware upgrade, the port immediately closes (message in console) and nothing happens after that. Reconnecting is needed after that, and it does so just fine.

    This has been the norm on any distribution, currently with a fresh Arch install. Wondering if there's some package that is not installed that is needed. I did install Python and dependencies etc. at one point, but no change.

    Just to note, a firmware update does work through Win10.

    Scott
     
  6. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,193
    Likes Received:
    4,346
  7. Sword

    Sword New
    Builder

    Joined:
    Apr 1, 2023
    Messages:
    22
    Likes Received:
    2
    Forgot to mention that I'm using the appimage with appimage launcher.

    Not sure what to make of the output, but looks like a read-only issue and more.

    Code:
    [scott@archlinux Applications]$ ./OpenBuildsCONTROL-1.0.370_5765f5328ee30a5ecd51391329958e8d.AppImage DEBUGCONTROL=true
    [1300:0615/220008.445159:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1300:0615/220008.445761:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1300:0615/220008.446156:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1300:0615/220008.446323:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1300:0615/220008.446487:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1300:0615/220008.446648:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1300:0615/220008.446810:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1300:0615/220008.446981:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1300:0615/220008.447147:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1300:0615/220008.447505:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1300:0615/220008.448196:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1300:0615/220008.448481:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1300:0615/220008.448791:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1300:0615/220008.449005:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1300:0615/220008.449207:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1300:0615/220008.449435:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1300:0615/220008.449642:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1300:0615/220008.449846:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1300:0615/220008.450057:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1300:0615/220008.450255:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1300:0615/220008.450460:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1300:0615/220008.450663:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1300:0615/220008.450863:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1300:0615/220008.451071:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1300:0615/220008.451272:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1300:0615/220008.451462:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1300:0615/220008.451651:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1300:0615/220008.451836:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1300:0615/220008.452040:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1300:0615/220008.452237:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1300:0615/220008.452433:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1300:0615/220008.452629:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1300:0615/220008.452816:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1300:0615/220008.453003:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1300:0615/220008.453203:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1300:0615/220008.453388:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1300:0615/220008.453571:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1300:0615/220008.453799:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1300:0615/220008.453990:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1300:0615/220008.454179:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    statusCode: 200
    connect Connecting to /dev/ttyUSB0 via usb
    {"port":"/dev/ttyUSB0","file":"grblhal-grbl3axis.bin","erase":false,"customImg":false} null 4
    {"port":"/dev/ttyUSB0","file":"grblhal-grbl3axis.bin","erase":false,"customImg":false}
    Flashing BlackBoxX32 on /dev/ttyUSB0 with file: /tmp/.mount_OpenBu1OYtVR/resources/app.asar.unpacked/grblhal-grbl3axis.bin
    Error: EROFS: read-only file system, chmod '/tmp/.mount_OpenBu1OYtVR/resources/app.asar.unpacked/esptool.py'
        at Object.chmodSync (node:fs:1888:3)
        at flashGrblHal (/tmp/.mount_OpenBu1OYtVR/resources/app.asar/index.js:3489:8)
        at Socket.<anonymous> (/tmp/.mount_OpenBu1OYtVR/resources/app.asar/index.js:992:5)
        at Socket.emit (node:events:513:28)
        at Socket.emitUntyped (/tmp/.mount_OpenBu1OYtVR/resources/app.asar/node_modules/socket.io/dist/typed-events.js:69:22)
        at /tmp/.mount_OpenBu1OYtVR/resources/app.asar/node_modules/socket.io/dist/socket.js:703:39
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      errno: -30,
      syscall: 'chmod',
      code: 'EROFS',
      path: '/tmp/.mount_OpenBu1OYtVR/resources/app.asar.unpacked/esptool.py'
    }
    
    
    
     
  8. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,193
    Likes Received:
    4,346
    Try the DEB
     
  9. Sword

    Sword New
    Builder

    Joined:
    Apr 1, 2023
    Messages:
    22
    Likes Received:
    2
    A fair amount of hoops to jump through to get a DEB installed on Arch, but got it. Basically the same output though.

    Guessing this line towards the end of the attached code is key....
    Error: EPERM: operation not permitted, chmod '/opt/OpenBuildsCONTROL/resources/app.asar.unpacked/esptool.py'

    Code:
     [scott@archlinux applications]$ openbuildscontrol DEBUGCONTROL=true
    [1367:0616/075755.772147:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1367:0616/075755.772627:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1367:0616/075755.772891:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1367:0616/075755.773151:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1367:0616/075755.773406:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1367:0616/075755.773641:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1367:0616/075755.773967:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1367:0616/075755.774225:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1367:0616/075755.774481:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1367:0616/075755.774754:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1367:0616/075755.775109:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1367:0616/075755.775374:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1367:0616/075755.775665:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1367:0616/075755.775937:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1367:0616/075755.776227:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1367:0616/075755.776513:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1367:0616/075755.776786:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1367:0616/075755.777052:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1367:0616/075755.777300:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1367:0616/075755.777567:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1367:0616/075755.777821:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1367:0616/075755.778063:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1367:0616/075755.778301:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1367:0616/075755.778542:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1367:0616/075755.778814:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1367:0616/075755.779060:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1367:0616/075755.779302:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1367:0616/075755.779585:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1367:0616/075755.779836:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1367:0616/075755.780077:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1367:0616/075755.780302:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1367:0616/075755.780543:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1367:0616/075755.780788:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1367:0616/075755.781033:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1367:0616/075755.781285:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1367:0616/075755.781527:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1367:0616/075755.781767:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1367:0616/075755.782018:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1367:0616/075755.782255:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    [1367:0616/075755.782494:ERROR:gbm_wrapper.cc(255)] Failed to export buffer to dma_buf: No such file or directory (2)
    statusCode: 200
    connect Connecting to /dev/ttyUSB0 via usb
    {"port":"/dev/ttyUSB0","file":"grblhal-grbl3axis.bin","erase":false,"customImg":false} null 4
    {"port":"/dev/ttyUSB0","file":"grblhal-grbl3axis.bin","erase":false,"customImg":false}
    Flashing BlackBoxX32 on /dev/ttyUSB0 with file: /opt/OpenBuildsCONTROL/resources/app.asar.unpacked/grblhal-grbl3axis.bin
    Error: EPERM: operation not permitted, chmod '/opt/OpenBuildsCONTROL/resources/app.asar.unpacked/esptool.py'
        at Object.chmodSync (node:fs:1888:3)
        at flashGrblHal (/opt/OpenBuildsCONTROL/resources/app.asar/index.js:3489:8)
        at Socket.<anonymous> (/opt/OpenBuildsCONTROL/resources/app.asar/index.js:992:5)
        at Socket.emit (node:events:513:28)
        at Socket.emitUntyped (/opt/OpenBuildsCONTROL/resources/app.asar/node_modules/socket.io/dist/typed-events.js:69:22)
        at /opt/OpenBuildsCONTROL/resources/app.asar/node_modules/socket.io/dist/socket.js:703:39
        at process.processTicksAndRejections (node:internal/process/task_queues:77:11) {
      errno: -1,
      syscall: 'chmod',
      code: 'EPERM',
      path: '/opt/OpenBuildsCONTROL/resources/app.asar.unpacked/esptool.py'
    }
    
    
     
  10. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,193
    Likes Received:
    4,346
    Will have to dig in, we do try to chmod (add executable permissions) to esptool.py, but we are being denied there for some reason. It used to work, so will need to dig in. Use Windows for now for firmware update
    Perhaps you can give permissions to the install directory so your user account can work (writable) with the files?
     
  11. Sword

    Sword New
    Builder

    Joined:
    Apr 1, 2023
    Messages:
    22
    Likes Received:
    2
    Tried changing permissions, not sure if I did it right. /opt/OpenBuildsCONTROL and all subs were set to rwx for all, but no change.
     
  12. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,193
    Likes Received:
    4,346
    Thanks
    Ticket already open, dev team will investigate in due time. Thanks for the bug report
     
  13. robotopera

    Builder

    Joined:
    Jul 10, 2023
    Messages:
    1
    Likes Received:
    0
    How do I disable the advertisement splash screen in control and on the interface? I love that both tell me to buy the device they are currently attached to...
     
  14. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,193
    Likes Received:
    4,346
    Glad you already have them. Those aren't "ads" but just the normal startup splash screens. They change from time to time with seasonal greetings, news, etc
     
    David the swarfer likes this.
  15. JustinTime

    JustinTime Veteran
    Builder

    Joined:
    Dec 18, 2013
    Messages:
    784
    Likes Received:
    259
    Yesterday I was using the probe and when I was finished with the probe I got distracted and forgot to click the "OK" on the warning to remove the probe. I moved the axes and when I looked at the monitor to my surprise the warning was still there.
    Should I NOT be able to move the axis until the warning was acted on?
     
  16. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,193
    Likes Received:
    4,346
    We'd prefer you confirm you did remove the clip yes. Insistently :) safety issue after all
     
  17. JustinTime

    JustinTime Veteran
    Builder

    Joined:
    Dec 18, 2013
    Messages:
    784
    Likes Received:
    259
    I agree, but should I NOT be able to move the axes until I confirmed?

    BTW, I wish there was also a warning to put the clip ON before activating the probe! Don't ask me why I say this! :cold::cold: Oh well...at least the bit was not expensive. :)
     
    Giarc 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,193
    Likes Received:
    4,346
    Will have to look into what the code does someday, if its critical
     
  19. AdamD

    AdamD New
    Builder

    Joined:
    Aug 14, 2023
    Messages:
    4
    Likes Received:
    0
    Hi

    Perhaps somebody could help out a complete struggling newbie!

    I have just finished installing a BlkBx x32 on an old Mach 3 cnc router and have just started configuring using OB Control.

    All axis are moving correctly and as expected.

    Limit switches are fitted at X - left (min), Y - front (min) Z - top (max).

    Homing cycle works as expected i.e Z moves to the top, the X moves to left Y moves to front - all with a 5mm pull off.

    However, once I try to jog the machine I immediately get an alarm saying that soft limits will be exceeded. Max travel has been set at X = 465mm and Y = 900mm.

    When I check the machine coordinates it reads x = -459.99mm and y = -894.99mm (presumably for the 5mm pull off).

    I am assuming once the machine has been homed these machine coordinates should read 0,0,0? As do the G54 work coordinates?

    If I press the reset button on the BlkBx x32 it shows the machine coordinates at 0,0,0 - if I 'Home All' again it reverts back to above.

    A little knowledge is a dangerous thing and I'm sure it's an easy fix when you know what you're doing!

    Any help would be greatly appreciated!

    Cheers

    Can provide serial log if needed.
     
  20. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,193
    Likes Received:
    4,346
    Please provide a Grbl Settings backup for review


    Should be $23=3 so lets see if the Grbl Settings backup agrees
     
  21. AdamD

    AdamD New
    Builder

    Joined:
    Aug 14, 2023
    Messages:
    4
    Likes Received:
    0
    Hi Peter

    Thanks for the help!

    Yep $23 =3

    Opening log is as follows:

    [15:05:04] [ connect ] PORT INFO: Port is now open: COM4 - Attempting to detect Firmware

    [15:05:04] [ connect ] Checking for firmware on COM4

    [15:05:04] [ connect ] Detecting Firmware: Method 1 (Autoreset)

    [15:05:04] [ ] ok

    [15:05:04] [ connect ] Detecting Firmware: Method 2 (Ctrl+X)

    [15:05:04] [ ] GrblHAL 1.1f ['$' or '$HELP' for help]

    [15:05:07] [ $$ ] $0=10.0 ;Step pulse time, microseconds

    [15:05:07] [ $$ ] $1=255 ;Step idle delay, milliseconds

    [15:05:07] [ $$ ] $2=0 ;Step pulse invert, mask

    [15:05:07] [ $$ ] $3=0 ;Step direction invert, mask

    [15:05:07] [ $$ ] $4=0 ;Invert step enable pin, boolean

    [15:05:07] [ $$ ] $5=7 ;Invert limit pins, boolean/mask

    [15:05:07] [ $$ ] $6=1 ;Invert probe pin, boolean

    [15:05:07] [ $$ ] $8=0 ;Ganged axes direction invert as bitfield

    [15:05:07] [ $$ ] $9=1 ;PWM Spindle as bitfield where setting bit 0 enables the rest

    [15:05:07] [ $$ ] $10=511 ;Status report options, mask

    [15:05:07] [ $$ ] $11=0.010 ;Junction deviation, millimeters

    [15:05:07] [ $$ ] $12=0.002 ;Arc tolerance, millimeters

    [15:05:07] [ $$ ] $13=0 ;Report in inches, boolean

    [15:05:07] [ $$ ] $14=0 ;Limit pins invert, mask

    [15:05:07] [ $$ ] $15=0 ;Coolant pins invert, mask

    [15:05:07] [ $$ ] $16=0 ;Spindle pins invert, mask

    [15:05:07] [ $$ ] $17=0 ;Control pins pullup disable, mask

    [15:05:07] [ $$ ] $18=0 ;Limit pins pullup disable, mask

    [15:05:07] [ $$ ] $19=0 ;Probe pin pullup disable, boolean

    [15:05:07] [ $$ ] $20=0 ;Soft limits enable, boolean

    [15:05:07] [ $$ ] $21=1 ;Hard limits enable, boolean

    [15:05:07] [ $$ ] $22=1 ;Homing cycle enable, boolean (Grbl) / mask (GrblHAL)

    [15:05:07] [ $$ ] $23=3 ;Homing direction invert, mask

    [15:05:07] [ $$ ] $24=100.0 ;Homing locate feed rate, mm/min

    [15:05:07] [ $$ ] $25=600.0 ;Homing search seek rate, mm/min

    [15:05:07] [ $$ ] $26=250 ;Homing switch debounce delay, milliseconds

    [15:05:07] [ $$ ] $27=5.000 ;Homing switch pull-off distance, millimeters

    [15:05:07] [ $$ ] $28=0.100 ;G73 retract distance, in mm

    [15:05:07] [ $$ ] $29=0.0 ;Step pulse delay (ms)

    [15:05:07] [ $$ ] $30=1000.000 ;Maximum spindle speed, RPM

    [15:05:07] [ $$ ] $31=0.000 ;Minimum spindle speed, RPM

    [15:05:07] [ $$ ] $32=0 ;Laser-mode enable, boolean

    [15:05:07] [ $$ ] $33=5000.0 ;Spindle PWM frequency

    [15:05:07] [ $$ ] $34=0.0 ;Spindle off Value

    [15:05:07] [ $$ ] $35=0.0 ;Spindle min value

    [15:05:07] [ $$ ] $36=100.0 ;Spindle max value

    [15:05:07] [ $$ ] $37=0 ;Stepper deenergize mask

    [15:05:07] [ $$ ] $39=1 ;Enable printable realtime command characters, boolean

    [15:05:07] [ $$ ] $40=0 ;Apply soft limits for jog commands, boolean

    [15:05:07] [ $$ ] $41=0 ;Parking cycle as bitfield where setting bit 0 enables the rest

    [15:05:07] [ $$ ] $42=2 ;Parking axis

    [15:05:07] [ $$ ] $43=1 ;Homing passes

    [15:05:07] [ $$ ] $44=4 ;Homing cycle 1

    [15:05:07] [ $$ ] $45=3 ;Homing cycle 2

    [15:05:07] [ $$ ] $46=0 ;Homing cycle 3

    [15:05:07] [ $$ ] $56=5.0 ;Parking pull-out distance in mm

    [15:05:07] [ $$ ] $57=100.0 ;Parking pull-out rate in mm/min

    [15:05:07] [ $$ ] $58=-5.0 ;Parking target in mm

    [15:05:07] [ $$ ] $59=500.0 ;Parking fast rate in mm/min

    [15:05:07] [ $$ ] $60=0 ;Restore overrides

    [15:05:07] [ $$ ] $61=0 ;Safety door options as bitfield

    [15:05:07] [ $$ ] $62=0 ;Sleep Enable

    [15:05:07] [ $$ ] $63=3 ;Feed Hold Actions

    [15:05:07] [ $$ ] $64=0 ;Force Init Alarm

    [15:05:07] [ $$ ] $65=0 ;Require homing sequence to be executed at startup

    [15:05:07] [ $$ ] $70=7 ;Network Services

    [15:05:07] [ $$ ] $73=1 ;Wifi Mode

    [15:05:07] [ $$ ] $74=xxxxxxxx ;Wifi network SSID

    [15:05:07] [ $$ ] $75=xxxxxx ;Wifi network PSK

    [15:05:07] [ $$ ] $100=64.160 ;X-axis steps per millimeter

    [15:05:07] [ $$ ] $101=64.120 ;Y-axis steps per millimeter

    [15:05:07] [ $$ ] $102=798.400 ;Z-axis steps per millimeter

    [15:05:07] [ $$ ] $110=2500.000 ;X-axis maximum rate, mm/min

    [15:05:07] [ $$ ] $111=4000.000 ;Y-axis maximum rate, mm/min

    [15:05:07] [ $$ ] $112=1500.000 ;Z-axis maximum rate, mm/min

    [15:05:07] [ $$ ] $120=150.000 ;X-axis acceleration, mm/sec^2

    [15:05:07] [ $$ ] $121=150.000 ;Y-axis acceleration, mm/sec^2

    [15:05:07] [ $$ ] $122=150.000 ;Z-axis acceleration, mm/sec^2

    [15:05:07] [ $$ ] $130=465.000 ;X-axis maximum travel, millimeters

    [15:05:07] [ $$ ] $131=900.000 ;Y-axis maximum travel, millimeters

    [15:05:07] [ $$ ] $132=92.000 ;Z-axis maximum travel, millimeters

    [15:05:07] [ $$ ] $320=grblHAL ;Hostname, max: 64

    [15:05:07] [ $$ ] $322=192.168.5.1 ;IP Address

    [15:05:07] [ $$ ] $323=192.168.5.1 ;Gateway

    [15:05:07] [ $$ ] $324=255.255.255.0 ;Netmask

    [15:05:07] [ $$ ] $325=23 ;Telnet port

    [15:05:07] [ $$ ] $326=80 ;HTTP port

    [15:05:07] [ $$ ] $327=81 ;Websocket port

    [15:05:07] [ $$ ] $341=0 ;Tool Change Mode

    [15:05:07] [ $$ ] $342=30.0 ;Tool Change probing distance

    [15:05:07] [ $$ ] $343=25.0 ;Tool Change Locate Feed rate

    [15:05:07] [ $$ ] $344=200.0 ;Tool Change Search Seek rate

    [15:05:07] [ $$ ] $345=200.0 ;Tool Change Probe Pull Off rate

    [15:05:07] [ $$ ] $346=1 ;Restore position after M6 as boolean

    [15:05:07] [ $$ ] $370=0 ;Invert I/O Port Inputs (mask)

    [15:05:07] [ $$ ] $384=0 ;Disable G92 Persistence

    [15:05:07] [ $$ ] $392=4.0 ;Spindle on delay in s

    [15:05:07] [ $$ ] $393=1.0 ;Coolant on delay in s

    [15:05:07] [ $$ ] $396=30 ;WebUI timeout in minutes

    [15:05:07] [ $$ ] $397=0 ;WebUI auto report interval in milliseconds

    [15:05:07] [ $$ ] $398=35 ;Planner buffer blocks

    [15:05:07] [ $$ ] $481=0 ;Autoreport interval in ms

    [15:05:07] [ $$ ] ok

    [15:05:07] [ $I ] [VER:1.1f.20230501:leadmachine1010]

    [15:05:07] [ $I ] [OPT:VNSL+2,35,1024,3,0]

    [15:05:07] [ $I ] [AXS:3:XYZ]

    [15:05:07] [ $I ] [NEWOPT:ENUMS,RT+,HOME,REBOOT,TC,SED,RTC,WIFI,SD]

    [15:05:07] [ $I ] [FIRMWARE:grblHAL]

    [15:05:07] [ $I ] [NVS STORAGE:*FLASH]

    [15:05:07] [ $I ] [DRIVER:ESP32]

    [15:05:07] [ $I ] [DRIVER VERSION:230501]

    [15:05:07] [ $I ] [DRIVER OPTIONS:4.3.1]

    [15:05:07] [ $I ] [BOARD:BlackBox X32]

    [15:05:07] [ $I ] [AUX IO:1,0,0,0]

    [15:05:07] [ $I ] [WIFI MAC:94:b5:55:1a:90:94]

    [15:05:07] [ $I ] [IP:192.168.1.164]

    [15:05:07] [ $I ] [PLUGIN:WebUI v0.17]

    [15:05:07] [ $I ] [PLUGIN:SDCARD v1.09]

    [15:05:07] [ $I ] ok

    [15:05:07] [ $G ] [GC:G0 G54 G17 G21 G90 G94 G49 G98 G50 M5 M9 T0 F0 S0.]

    [15:05:07] [ $G ] ok

    [15:05:08] [ connect ] Firmware Detected: grbl version 1.1f on COM4

    Hope this makes sense to you.

    Many thanks.

    Adam
     
  22. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,193
    Likes Received:
    4,346
    Front Left should be far-negative (Read through Frequently Asked Questions ) - axis maximas = 0.
    G54 is whereever it was last set. Re-established with homing, but always a movable origin. Use a Probe or Jog+SetZero buttons to tell the machine where the stock is.

    Correct, after a reset it's not established where it has, you have to Home first.

    Not seeing anything obvious in the Grbl Settings (though log format is harder to check through than a Backup from the Grbl Settings tab)
    Other than that Soft Limits is disabled
    Lets check
    1) Re-enable Soft Limits
    2) Reboot the BlackBox (Reset button on front panel)
    3) Home the machine
    4) Jot down MPos values and post with the log at (6)
    5) Execute a jog move
    6) and then let's see the log entry of the move (to see what commands where generated and sent)

    CONTROL calculates allowable soft-limit moves using a combination of Max Travel and current MPos value
     
  23. AdamD

    AdamD New
    Builder

    Joined:
    Aug 14, 2023
    Messages:
    4
    Likes Received:
    0
    Hi Peter
    So, I have:

    1) Re-enable Soft Limits
    2) Reboot BlackBox using reset button
    3) homed the machine using 'Home All'
    4) Positions as follows:
    X Machine: -459.99mm / X Work: -459.99mm
    Y Machine: -894.99mm / Y Work: -894.99mm
    Z Machine: -5.00mm / Z Work: -5.00mm
    5) Execute continuous jog move Y+
    6) Log entry as follows:
    [18:40:10] [ ] error: 15 - Jog target exceeds machine travel. Command ignored. [ $J=G91 G21 Y893.990 F4000 ]

    [18:40:10] [ ERROR ] error: 15 - Jog target exceeds machine travel. Command ignored. [ $J=G91 G21 Y893.990 F4000 ]

    [18:40:10] [ $J=G91 G21 Y893.990 F4000 ] error:15

    [18:40:54] [ ] GrblHAL 1.1f ['$' or '$HELP' for help]

    [18:40:55] [ ] ok

    Hope this helps!

    IMG_4100-1.JPG
     
  24. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,193
    Likes Received:
    4,346
    That looks correct, calculated move is less than available machine travel (G91 Y893.990 when you are at -894.99mm will end you up at -1mm - ie just before trigger point of endstop if you forget to lift off the jog button) The firmware complains that move exceeds it (but the math differs). There hasn't been changes to Soft Limits calc in ages, so let me just double check with @terjeio if there is anything grblHAL does differently than how grbl used to do it
     
  25. dJOS_500

    dJOS_500 Journeyman
    Builder

    Joined:
    Jul 16, 2022
    Messages:
    322
    Likes Received:
    130
    I have the same issue on my MKS DLC32. I have turned off soft limits because they don’t work with continuous jog, incremental jog works fine.
     
  26. terjeio

    terjeio Well-Known
    Builder

    Joined:
    Oct 18, 2020
    Messages:
    60
    Likes Received:
    61
    I've recently changed the limits handling in grblHAL to allow plugin code to constrain motion. When doing that I subtracted pulloff from max travel in addition to adding it to min, this since grblHAL supports both min and max limit switch inputs. Perhaps not a good idea? It also seems that Control has an issue when calculating the travel distance, it uses a two digit fraction in metric mode (same as displayed in the DRO) when all three digits reported from the controller should be used?
    An immediate workaround is to let the controller constrain jog commands, enabled by setting $40=1.
     
  27. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,193
    Likes Received:
    4,346
    Thanks, will add the Pull Off distance to the calculation.
     
  28. Geoffrey "Tiny" Turner

    Builder

    Joined:
    Oct 15, 2022
    Messages:
    3
    Likes Received:
    0
    Hi

    I have the openbuilds blackbox controller running on windows 10 laptop, been running fine since I had it, until today, it just will not connect to my laptop, I have reinstalled drivers, reinstalled software, turned everything off (laptop, controller by the switch, 24 power supply to the controller) I have tried to other usb leads it will just not connect. Could it be the usb on the controller itself, if so how do I go about fixing it, not had this more than a year
     
  29. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    15,193
    Likes Received:
    4,346
    Check out docs:blackbox:faq-usb-connection-failed [OpenBuilds Documentation]
     
  30. Geoffrey "Tiny" Turner

    Builder

    Joined:
    Oct 15, 2022
    Messages:
    3
    Likes Received:
    0

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