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

    Builder

    Joined:
    Sep 16, 2017
    Messages:
    79
    Likes Received:
    18
    Dialout group fixed it. Thanks!
     
    Peter Van Der Walt likes this.
  2. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    3,056
    Likes Received:
    1,299
    Sweet! Yeah Linux permissions, the best thing there is (secure) but easy to overlook.
     
  3. Batcrave

    Batcrave Journeyman
    Builder

    Joined:
    Apr 20, 2018
    Messages:
    231
    Likes Received:
    115
    I just made a local .desktop pointing at the (huge, but gracefully resized) .png I found in the AppImage -we'll see how it holds up after the next update, or if anything needs fancier fixing.

    I'm still a little puzzled by where the .deb's image actually is, though - as the only file on the system matching the Icon= line in the .desktop file seems to be the binary itself... or is that "binary" something weird - like the AppImage archive with a squash'd file system hiding inside it - that linux understands how to pull an icon out of, even if I don't?


    -Bats
    (I'm a little puzzled by lots of things, though... and more every time I make the mistake of turning on the news)
     
  4. Batcrave

    Batcrave Journeyman
    Builder

    Joined:
    Apr 20, 2018
    Messages:
    231
    Likes Received:
    115
    I'm hardly wedded to xfce - it's just the thing LinuxCNC happened to dump on their Debian install package, and, as I heard someone describe it quite eloquently once, "I want to spend my time using my PC, not making it work" (never mind making it work like some 93% a pie chart seems to think it should).

    But wow... I remember when Afterstep was the hot new thing & Enlightenment was the ultimate in flashy.

    I feel old.

    But now there are two of us! Strength in numbers, baby! :p

    I'll see if I can take a poke at it - although at first glance it looks like making use of that link is going to require figuring out how electron builder works in the first place, so it probably won't be a quick answer.


    -Bats
    (wait... but what if I want to use my software rather than "making it work"? now I'm all confused again...)
     
    David the swarfer likes this.
  5. Batcrave

    Batcrave Journeyman
    Builder

    Joined:
    Apr 20, 2018
    Messages:
    231
    Likes Received:
    115
    You're gong to regret saying that when I finally get around to dumping the whole list there :p

    I agree, it shouldn't (after all, that's what I keep whining about)... and yet it does. This is the stdout (and just a little stderr) from a run of *.207 where I launch, click "Not right now", then close the window & quit the app :

    [email protected]:~/OpenBuildsCONTROL$ ./OpenBuildsCONTROL-1.0.207.AppImage
    Starting OpenBuilds CONTROL v1.0.207
    Local User Data: /home/bats/.config/OpenBuildsCONTROL
    Command Line Arguments for Electron: Set OK
    https: listening on:10.0.0.212:3001
    http: listening on:10.0.0.212:3000
    Fontconfig warning: "/etc/fonts/fonts.conf", line 100: unknown element "blank"
    Created Uploads Temp Directory
    Checking for update
    Found version 1.0.215 (url: OpenBuildsCONTROL-1.0.215.AppImage)
    {"version":"1.0.215","files":[{"url":"OpenBuildsCONTROL-1.0.215.AppImage","sha512":"RSkJcHjwCa5IoERFjYns/RrsnM4vEgs52Hg/Mriwf5M1rBrFEp+HVftfND/7xBmbjRpk8D/CsQflwlM8ybGo+w==","size":100396018,"blockMapSize":105478}],"path":"OpenBuildsCONTROL-1.0.215.AppImage","sha512":"RSkJcHjwCa5IoERFjYns/RrsnM4vEgs52Hg/Mriwf5M1rBrFEp+HVftfND/7xBmbjRpk8D/CsQflwlM8ybGo+w==","releaseDate":"2020-03-20T14:13:08.565Z","releaseName":"v1.0.215","releaseNotes":""}
    Downloading update from OpenBuildsCONTROL-1.0.215.AppImage
    updater cache dir: /home/bats/.cache/openbuildscontrol-updater
    Cached update file doesn't exist, directory for cached update will be cleaned
    jcoaC2XHS01kxOeYX3atjgko duplicated in blockmap (same size), it doesn't lead to broken differential downloader, just corresponding block will be skipped)
    oypxBdLHAOvlbVxZm4C9vbkA duplicated in blockmap (same size), it doesn't lead to broken differential downloader, just corresponding block will be skipped)
    File has 4751 changed blocks
    [
    {
    "kind": 0,
    "start": 0,
    "end": 159006
    },
    {
    "kind": 1,
    "start": 159006,
    "end": 70653605
    },
    {
    "kind": 0,
    "start": 60568607,
    "end": 60674518
    },
    {
    "kind": 1,
    "start": 70759516,
    "end": 89048373
    },
    {
    "kind": 0,
    "start": 78622382,
    "end": 78717127
    },
    {
    "kind": 1,
    "start": 89143118,
    "end": 89314963
    },
    {
    "kind": 0,
    "start": 78888941,
    "end": 78930951
    },
    {
    "kind": 0,
    "start": 78622382,
    "end": 78655150
    },
    {
    "kind": 1,
    "start": 89389741,
    "end": 89960676
    },
    {
    "kind": 0,
    "start": 79534583,
    "end": 79623003
    },
    {
    "kind": 1,
    "start": 90049096,
    "end": 90230240
    },
    {
    "kind": 0,
    "start": 79804146,
    "end": 79895767
    },
    {
    "kind": 1,
    "start": 90321861,
    "end": 90623783
    },
    {
    "kind": 0,
    "start": 80197705,
    "end": 80282618
    },
    {
    "kind": 1,
    "start": 90708696,
    "end": 95428197
    },
    {
    "kind": 0,
    "start": 85467641,
    "end": 85499603
    },
    {
    "kind": 1,
    "start": 95460159,
    "end": 99849139
    },
    {
    "kind": 0,
    "start": 103487987,
    "end": 103729241
    },
    {
    "kind": 1,
    "start": 100090393,
    "end": 100290536
    }
    ]
    Full: 98,042.99 KB, To download: 96,990.16 KB (99%)
    Differential download: https://github.com/OpenBuilds/OpenB...d/v1.0.215/OpenBuildsCONTROL-1.0.215.AppImage
    download range: bytes=159006-70653604
    Redirect to https://github-production-release-a...37859794/6becbd00-6ac5-11ea-8d27-4317ba000d2e
    download range: bytes=70759516-89048372
    download range: bytes=89143118-89314962
    download range: bytes=89389741-89960675
    download range: bytes=90049096-90230239
    download range: bytes=90321861-90623782
    download range: bytes=90708696-95428196
    download range: bytes=95460159-99849138
    download range: bytes=100090393-100290535
    New version 1.0.215 has been downloaded to /home/bats/.cache/openbuildscontrol-updater/pending/OpenBuildsCONTROL-1.0.215.AppImage
    exit
    Auto install update on quit
    Install: isSilent: true, isForceRunAfter: false

    [email protected]:~/OpenBuildsCONTROL$
    ...after which the OpenBuildsCONTROL-1.0.207.AppImage file has been replaced by OpenBuildsCONTROL-1.0.215.AppImage .

    This is (obviously) the AppImage version - I haven't done much update testing on the .deb (both because it's a little more work than just recopying a file, and, well, because updating it didn't break anything), but I can give it a try if you think it's likely to be different - or matter.

    [edit-from-the-future: I just tested the Windows version before replying to adam.v's question, and the behavior is the same there]

    But would downloading a Win 10 ISO be any easier? :troll:

    What pings? Yikes! I haven't seen something like that since, after gnawing through the insulation, squirrels did something to the top of the conduit on the utility pole, leaving the whole thing open to fill with water whenever it rained. It took Comcast four visits before anyone bothered looking at the pole - and when they did, they got a face full of stagnant water when they popped open the lower end of the conduit. I'd say they deserved it, but the guy who got it was the first one who'd actually made an effort to find the problem.

    Ouch! Guess the US isn't the only country that utterly botched the fiber rollout - but at least we've got the cable monopoly to sodomize us in the absence.


    -Bats
    (a ping without a pong is just screaming into the void... and yet, a pong without a ping is still a pretty good game)
     
    #1145 Batcrave, Mar 23, 2020
    Last edited: Mar 23, 2020
  6. Batcrave

    Batcrave Journeyman
    Builder

    Joined:
    Apr 20, 2018
    Messages:
    231
    Likes Received:
    115
    I don't know whether it's applicable to RPi, but it sounds a lot like what I'm seeing with on debian/xfce. Normally (with the Win & linux AppImage) running the binary pops an icon in the systray/notification area, but with the .deb version, the icon ain't there, and it appears that nothing happens. Launching it a second time - whether from the GUI or from a second terminal (and without killing the first) - will bring up the window.

    -Bats
    (I had some advice on the second part of the problem too... but I figured it wasn't very helpful, seeing as it turned out to be completely wrong)
     
  7. Batcrave

    Batcrave Journeyman
    Builder

    Joined:
    Apr 20, 2018
    Messages:
    231
    Likes Received:
    115
    I want my PC to work the way I tell it to, not the way Microsoft's latest force-fed update wants it to. :p
    I've never been onboard with the whole "software as a service" model, and extending it to an operating system just makes me cringe - even if it weren't for some outstanding questions about privacy or the quality of those updates.

    At the same time, I had a lot of the same feelings after crashing out of the tech world - XP ended up replacing linux as my daily driver, and Win 7 replaced that, to the point where now I find myself resorting to man pages just to use vim... but Microsoft really went [back] off the rails after that. 8 was a mess, and 10 I have too many fundamental objections to to even install. Right now linux only runs on my CNC box (replacing the XP install that ran Mach 3, and in preparation for a potential move to LinuxCNC), but I'm stuck seriously considering a serious move back, even if getting this machine switched over has done absolutely nothing to make me enthusiastic about the prospect.

    Electron builder is so getting fired!


    -Bats
    (retired linux evangelist)
     
  8. Batcrave

    Batcrave Journeyman
    Builder

    Joined:
    Apr 20, 2018
    Messages:
    231
    Likes Received:
    115
    I want my PC to work the way I tell it to, not the way Microsoft's latest force-fed update wants it to. :p
    I've never been onboard with the whole "software as a service" model, and extending it to an operating system just makes me cringe - even if it weren't for some outstanding questions about privacy or the quality of those updates.

    At the same time, I had a lot of the same feelings after crashing out of the tech world - XP ended up replacing linux as my daily driver, and Win 7 replaced that, to the point where now I find myself resorting to man pages just to use vim... but Microsoft really went [back] off the rails after that. 8 was a mess, and 10 I have too many fundamental objections to to even install. Right now linux only runs on my CNC box (replacing the XP install that ran Mach 3, and in preparation for a potential move to LinuxCNC), but I'm stuck seriously considering a serious move back, even if getting this machine switched over has done absolutely nothing to make me enthusiastic about the prospect.

    Electron builder is so getting fired!


    -Bats
    (retired linux evangelist)
     
  9. adam.v

    adam.v New
    Builder

    Joined:
    Mar 23, 2020
    Messages:
    8
    Likes Received:
    3
    I installed the most recent update yesterday for the OpenBuilds Control software and now it won't open. Anyone else having this issue? and any way I can go back to the previous version? Thanks!
     
  10. Batcrave

    Batcrave Journeyman
    Builder

    Joined:
    Apr 20, 2018
    Messages:
    231
    Likes Received:
    115
    What are you running it on, and what exactly is happening? I haven't heard about any trouble with the new Windows version yet, but there've been some minor hiccups with the linux one (as the last few pages of the thread will attest) - at least if you use Debian and/or xfce. Short version (I can expand if it's relevant & you don't want to dig through the past couple days of back & forth) is that the AppImage version is broken on Debian (and presumably at least some Debian-derived distros). The .deb version more or less works, but (at least on xfce and maybe Raspian) the background process doesn't add the icon it's supposed to, so you have to launch it twice to get the window to open.

    You can get the installers for *.207 (before the recent dependency changes) off the git repository here, but it'll still try to update itself when you launch it. If you want to block the update, every time you launch it you'll have to go to the Serial Console tab and hit "Cancel" before the 10 second countdown finishes. Waiting for the popup & clicking "Not right now" will just wait and update it as soon as you quit (it sounds like this is probably unintentional, but it happens on the Windows version and at least one of the two linux versions).


    -Bats
    (something must be broken in this reality... Now I'm the one giving the short version)
     
  11. adam.v

    adam.v New
    Builder

    Joined:
    Mar 23, 2020
    Messages:
    8
    Likes Received:
    3
    Dell XPS 15 laptop, 16GB ram, Windows 7. I have a felling the Windows 7 is part of the issue, but it ran the previous version with no issues.
     
  12. DarkPenguin

    Builder

    Joined:
    Sep 16, 2017
    Messages:
    79
    Likes Received:
    18
    You set it to executable, right?
     
  13. Batcrave

    Batcrave Journeyman
    Builder

    Joined:
    Apr 20, 2018
    Messages:
    231
    Likes Received:
    115
    Oh well, so much for the easy answers... Although the one thing I can tell you is that the only problem I've had with it on Win 7 is that my only machine running 7 is a couple rooms away from the machine. Both *.207 and *.215 have worked & updated fine (if a little too enthusiastically in the latter case).

    What exactly is (or isn't) happening? Is it giving any sort of errors when you try to launch it, or any visible activity at all? And does it show up in the task manager? I get 2-4 different OpenBuildsCONTROL.exe processes in mine.

    One other thing to keep an eye out for is that initially it doesn't (or doesn't always - I had some mixed results with *.207) open a window on launch - it only sticks an icon in the systray (which then promptly hides itself if you miss the initial tooltip) & waits for you to click it to open the UI.

    Speaking of which (hey @Peter Van Der Walt !), is there a particular reason for not opening a window right at the start (maybe coupled with a command-line switch for the people who really want to run entirely headless)? It seems a little more intuitive for desktop/laptop users (who I assume are the primary target), and it might also be a convenient way to side-step troubleshooting the .deb's issue with needing to launch twice when the icon doesn't appear (err... unless that issue turns out to be tied to the one with the menu icon, in which case... ugh...).

    -Bats
    (and I was so looking forward to an easy answer)
     
  14. Batcrave

    Batcrave Journeyman
    Builder

    Joined:
    Apr 20, 2018
    Messages:
    231
    Likes Received:
    115
    I think you'd have to struggle to convince Windows that anything with a .exe isn't executable. It's pretty superficial about that sort of stuff.


    -Bats
    (*waggles fingers at CPU* "This is not the executable you are looking for" CPU: "This is not the... hey! It's got a .exe! I'ma gonna run it anyhow!")
     
  15. Campbellcastle

    Builder

    Joined:
    Jan 9, 2019
    Messages:
    14
    Likes Received:
    1
    I also cannot get this latest version to open. it starts to but just freezes as a transparent box. Running on windows
     
  16. Campbellcastle

    Builder

    Joined:
    Jan 9, 2019
    Messages:
    14
    Likes Received:
    1
    is there anywhere to download earlier versions of openbox? I rolled back to 148 because 215 isnt working for me. but miss alot of the functions in the more recent versions
     
  17. adam.v

    adam.v New
    Builder

    Joined:
    Mar 23, 2020
    Messages:
    8
    Likes Received:
    3
    Yes, it's definitely .exe. Bats, I am getting the same issue as Campbellcastle. Sometimes is goes directly to giving me a transparent box, and sometimes it shows the icon then I click the icon and up pops a transparent box. Yes, it shows up in task manager. I re-downloaded .207 and it worked great. Just ran a job.
     
  18. adam.v

    adam.v New
    Builder

    Joined:
    Mar 23, 2020
    Messages:
    8
    Likes Received:
    3
    This is where Batcrave sent me to before to download .207. I just downloaded the 1.0.207 exe. It booted up immediately when I started it.

    OpenBuilds/OpenBuilds-CONTROL
     
    Peter Van Der Walt likes this.
  19. damian_Poland

    Builder

    Joined:
    Nov 10, 2017
    Messages:
    4
    Likes Received:
    4
    Here is the information we have.
    I have already uninstalled and reinstalled nodes several times according to the instructions below, but the same error always appears.

    curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
    sudo apt-get install -y nodejs
    sudo apt-get install -y npm
    sudo npm install -g [email protected]


    DEBUGCONTROL=true node index.js
    Console Debugging Enabled
    Starting OpenBuilds CONTROL v1.0.216-internal-test
    Error: The module '/home/pi/Desktop/OpenBuilds-CONTROL/node_modules/@serialport/bindings/build/Release/bindings.node'
    was compiled against a different Node.js version using
    NODE_MODULE_VERSION 76. This version of Node.js requires
    NODE_MODULE_VERSION 64. Please try re-compiling or re-installing
    the module (for instance, using `npm rebuild` or `npm install`).
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:718:18)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at bindings (/home/pi/Desktop/OpenBuilds-CONTROL/node_modules/bindings/bindings.js:112:48)
    at Object.<anonymous> (/home/pi/Desktop/OpenBuilds-CONTROL/node_modules/@serialport/bindings/lib/linux.js:2:36)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    { Error: listen EADDRINUSE: address already in use :::3001
    at Server.setupListenHandle [as _listen2] (net.js:1277:14)
    at listenInCluster (net.js:1325:12)
    at Server.listen (net.js:1412:7)
    at Object.<anonymous> (/home/pi/Desktop/OpenBuilds-CONTROL/index.js:55:59)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
    code: 'EADDRINUSE',
    errno: 'EADDRINUSE',
    syscall: 'listen',
    address: '::',
    port: 3001 }
    { Error: listen EADDRINUSE: address already in use 0.0.0.0:3000
    at Server.setupListenHandle [as _listen2] (net.js:1277:14)
    at listenInCluster (net.js:1325:12)
    at doListen (net.js:1458:7)
    at process._tickCallback (internal/process/next_tick.js:63:19)
    code: 'EADDRINUSE',
    errno: 'EADDRINUSE',
    syscall: 'listen',
    address: '0.0.0.0',
    port: 3000 }
     
  20. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    3,056
    Likes Received:
    1,299
    Did you first have a newer version of node, then did the npm install, then downgraded nodejs? :)
    Delete node_modules and rerun npm install

    You are trying to run two instances of node index.js, so the ports 3000/3001 is already in use by the other process. "sudo killall -9 node" to kill them all

    Debug log from a run without other instances might be more interesting - so redo that test on a fresh run
     
    #1159 Peter Van Der Walt, Mar 24, 2020
    Last edited: Mar 25, 2020
  21. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    3,056
    Likes Received:
    1,299
    Alrighty then :) let's log this is as a real bug on git please. I am on leave today :) but will tackle that one tomorrow
     
  22. Batcrave

    Batcrave Journeyman
    Builder

    Joined:
    Apr 20, 2018
    Messages:
    231
    Likes Received:
    115
    I suggest running it twice, you say the problem is that he's already running it twice... Maybe we should compromise and have him only run it one and a half times?


    -Bats
    (bash: killhalf: command not found)
     
  23. Batcrave

    Batcrave Journeyman
    Builder

    Joined:
    Apr 20, 2018
    Messages:
    231
    Likes Received:
    115
    Annnd.... Logged! #118.


    -Bats
    (annnd... somehow I have absolutely nothing to say about that)
     
    Peter Van Der Walt likes this.
  24. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    3,056
    Likes Received:
    1,299
    The Pi Build runs of NodeJS, makes a webserver, local install of Chromium used as UI. No electron, no systray, etc: refer OpenBuilds/OpenBuilds-CONTROL and OpenBuilds/OpenBuilds-CONTROL
     
    #1163 Peter Van Der Walt, Mar 25, 2020
    Last edited: Mar 25, 2020
  25. Batcrave

    Batcrave Journeyman
    Builder

    Joined:
    Apr 20, 2018
    Messages:
    231
    Likes Received:
    115
    I suppose that means no one-and-a-half processes either then. Probably for the best.

    I'd actually be really curious to try playing with it on a Raspi - it'd make for a cute little control box, and it would certainly simplify some cooling issues I've been nervous about on my CNC PC - but I think I've made my life... "interesting" enough with the desktop linux version, that I really don't need to add any more complications.

    Also, my Pi is a first gen (first batch, even) Model B, which I'm sure would expose me to a whole world of issues that were since resolved & features that weren't yet implemented (and did they ever figure out how allow the composite video & analog audio outputs to work simultaneously without horrendous noise?), which makes things even more.... "interesting.

    -Bats
    (and when I say "interesting", I mean a gigantic ****ing pain in the bat. "may you live in interesting times" indeed.)
     
  26. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    3,056
    Likes Received:
    1,299
    Too slow (; Well havent had a Pi4 across my desk yet, but the Pi3 suffers with decent sized jobs, you can disable the 3D viewer in Troubleshooting tab and it helps, but where the fun then (;
    The main reason we don't intend providing any more info/support than OpenBuilds/OpenBuilds-CONTROL is that we simply can't be offering Linux tech support too (; - instructions are there, but you are on your own (;
     
  27. Skip S.

    Skip S. New
    Builder

    Joined:
    Jun 6, 2018
    Messages:
    51
    Likes Received:
    16
    Just updated to the newest build after upgrading from 1.0.918 and my machine now drops connection repeatedly whereas before it was stable like a rock.
    Going back to the old build now..
    Winxp rig, no real updates in like..forever..because this is an exclusive offline cnc box. It never hooks up to the internet, no web browsing etc.
    Not sure if that makes a difference, but I hope to slowly creep up in updates where the touchoff plate comes in. That'll make my setups much handier.
     
  28. Batcrave

    Batcrave Journeyman
    Builder

    Joined:
    Apr 20, 2018
    Messages:
    231
    Likes Received:
    115
    How did you get it to install on XP in the first place? I was in the same situation as you, but when I'd tried to put CONTROL on it, the installer told me to piss off & that it was too good for XP (not having a spare Win 7 key lying around, that's what flipped my CNC box over to linux). Or is the Win 7+ restriction unique to later versions & it was possible to dance around it when updating from an old install? (not that that sounds like a terribly great idea)

    And not that I really want to go back to XP, I suppose - and it's entirely possible that the problems you're seeing are part of the reason they dropped XP support.

    If you're stuck (for whatever reason) with a version without touchplate support, or need to probe in ways the wizard doesn't support, allow me to introduce you to the G38.x series of probe commands.

    A quick, bare bones Z probe could look something like this:

    [Bring your tool down to somewhere less than (in this example) 10mm from your touch plate, and MAKE SURE your plate is connected & working - your tool and plate will both thank you for wasting a little extra time to double-check. Don't ask me how I know. Or how many times]

    Now, in the console:
    Code:
    G21                      (or G20 for inches - make sure the machine's operating in the units you think it is. This can even be stuck in front of the "G38..." bit as one long command)
    G38.2 Z-10 F150          (not a Ford pickup; probes downward at 150mm/min for no more than 10mm & stops on contact)
    G92 Z [plate thickness]   (zeros your Z axis by setting the current position to the thickness of the touchplate)
                              (eg, "G92 Z20" for the nominal thickness of the standard OpenBuilds plate - although it's good to measure yours first)
    
    [edit: clearly I don't understand WCS as well as I thought (which wasn't very well to begin with). While I used to be able to get away G92 on my Mach/Gecko system, it's been causing trouble for me with CONTROL/BlackBox. Instead, try the rather more unwieldy "G10 L20 P1 Z[plate thickness]" as the third line]
    If you want to make the position more accurate, use a lower feed rate in place of the F150. Or, if you're impatient but still want accuracy, you can get a little fancier - probe down quickly(ish - high speed probing gets ugly fast (no pun intended), and can overshoot the mark - which can mark up your plate (pun not entirely intended?), or damage a delicate tool) with the G38.2 line, and then follow it up with something like "G38.4 Z1 F10" (basically the reverse of the earlier line - this one moves the probe away from the plate for 1mm at 10mm/min, and stops as soon as the probe contact breaks), followed by zeroing with G92 as before.

    If you want to get really fancy, with the right plate you can also use G38.x in X & Y for things like locating corners, or the center of circles... but as that gets trickier, I'm going to use the traditional academic copout and say it's "beyond the scope of this document".

    Also, the first couple times you do this, keep your hand by the "OH [​IMG][​IMG][​IMG][​IMG]!" button & do a visual check to make sure your new zero actually looks pretty-[​IMG][​IMG][​IMG][​IMG]-close to zero before actually running anything. Even if you didn't misunderstand or botch something typing it in, it's entirely possible that I botched something explaining it.

    Ok, entirely likely that I botched something. [edit: yup!]

    Once you've got it working the way you want and overcome whatever traps I inadvertently laid for you, you can toss it in a macro (err... if you've got a version with macros - I don't really know when those were introduced... worst case, a notepad doc that you can copy & paste from). You'll only have to change it when you get a new touch plate... or accidentally drive tools into your current one so many [​IMG][​IMG][​IMG][​IMG]ing times you need to re-flatten the top & plug in the new measurements*.


    -Bats
    * unless by some chance you're actually competent, in which case your experience may differ. I wouldn't know, never having been competent myself
     
    #1167 Batcrave, Mar 26, 2020 at 8:32 PM
    Last edited: Mar 27, 2020 at 4:37 PM
  29. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    3,056
    Likes Received:
    1,299
    While this should be unlikely, what specifically does the error log show when it drops?
    What controller is in use here?
     
  30. Skip S.

    Skip S. New
    Builder

    Joined:
    Jun 6, 2018
    Messages:
    51
    Likes Received:
    16
    Ok, so I was mistaken - I was on several boxes during the day and zigged when I should have zagged lol
    The box that runs my Workbee is a Windows 7 platform, not the XP I mistook it to be
    The controller being used is one of the early black box controllers, 385oz-in motors on a (don't hate me) Chinese Workbee 750x750.. It fit the room I had and was the only thing I could afford..
    The problems that I was having was that I would connect the black box, set my piece up, start my spindle and then my machine would drop connection to com port 4. (I didn't write down the error) I tried different ways of hooking things up and it would always drop connection as soon as I turned on my spindle.
    The thing confusing me was that it used to work just fine before the Control update. And now that I have a previous version running, it works just fine again.
    My spindle control cable isn't anywhere near my USB cables or stepper control cables.
    If I can figure out what the problem is I'll happily do what it takes because I'm eager to hook up a z probe and being able to use the XYZ probing function would make things run like silk. I'll try to replicate the error tomorrow (Saturday) by updating again and trying to run it, then I'll post what I get.
     
  31. Peter Van Der Walt

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

    Joined:
    Mar 1, 2017
    Messages:
    3,056
    Likes Received:
    1,299
    VFD spindle? Those things generate a tonne of EMI so that it worked before was maybe just luck, magic, a wire routed a little further away, or similar.
    EMI from spindles are a pain, thats why we recommend a simple Dewalt router instead (simpler, works fine, and doesnt mess with other systems) so plan to mitigate by
    - space VFD and spindle cables far from other electronics (suspect spindle power cable from ceiling, for example)
    - Add ferrite cores to any signal/usb wires
    - route USB far from any power/motor cables
     
    Skip S. likes this.
  32. Skip S.

    Skip S. New
    Builder

    Joined:
    Jun 6, 2018
    Messages:
    51
    Likes Received:
    16
    It came with the machine package so I just went with what I got. You're right though, the spindle is a pain in the kiester..lethal voltage piped though something you have to solder from the get-go to make sure it's grounded plus making sure all the various setting are correct or you get the 'magic smoke'..
    This one dies and I'm going to a router for sure. We just bought a house with an actual shop so I'll be able to set this up like it's meant to be rather than sitting outside on my back porch lol
    Thanks for the info, much appreciated!
     
    #1170 Skip S., Mar 28, 2020 at 11:16 AM
    Last edited: Mar 28, 2020 at 5:44 PM
    Peter Van Der Walt likes this.

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