#linuxcnc Logs

Jan 10 2025

#linuxcnc Calendar

01:41 AM lcnc-relay: <vibram@> hello
01:57 AM lcnc-relay: <vibram@> I think I know the answer but the latest thread is from 2022, maybe there is something new
01:57 AM lcnc-relay: <vibram@> I have a physical button to call a subroutine (ngc file)
01:57 AM lcnc-relay: <vibram@> is there a way to have a prompt or anything else to be able to enter value when I call the subroutine ?
02:00 AM lcnc-relay: <meisterdippel@> moin
02:04 AM lcnc-relay: <vibram@> OK thank you, i will check
02:04 AM lcnc-relay: <vibram@> i will try one thing before is to call the macro from andypugh with a push button but didn't managed to make it work yet
04:00 AM memleak: Tom_L, if you disable docs in the mainline tree, it always errors out. i had to rip docs out and pull the error out as well for it to work.
04:01 AM memleak: if you want the easy way but the long way, just allow it to build docs from the mainline tree
04:15 AM memleak: can you post the error to make sure it's the error i'm thinking about?
09:24 AM lcnc-relay: <andypugh@> It will be and2.ko on rtai, and2.so on preempt. And probably in /usr/lib/linuxcnc on Debian.
09:50 AM -!- #linuxcnc mode set to +v by ChanServ
10:15 AM lcnc-relay: <schoch_@> andypugh@ ping
10:52 AM lcnc-relay: <andypugh@> Huh? What?
11:14 AM lcnc-relay: <schoch_@> no sound, sry for delay. I'm wondering if you've tested lathemacros on wayland. I get all sorts of errors until I click on the cycles tab in axis, then they go away.
11:15 AM lcnc-relay: <schoch_@> also, wondering why I can't mpg jog after a macro runs
11:15 AM lcnc-relay: <voiditswarranty@> Morning folks! I'm writing a userspace module to make a kind of semi-auto surface grinder thing similar to the hydraulic grinders in c++ and I'm having trouble figuring out how to access Status and Error shared memory. I found this https://github.com/LinuxCNC/linuxcnc/blob/master/src/emc/usr_intf/shcom.cc but the corresponding shcom.hh doesn't exist on my system, I suspect it's used internally to build linuxcnc itself or...
11:15 AM lcnc-relay: ... something? I grabbed a copy of it anyway, and made changes to make it almost work, but making it to work when loaded via loadusr is a pain (got it fully working if launched by hand after linuxcnc is running, and -w doesn't change that). I suspect if loaded via loadusr I need to have it wait until the whole system is up and running but how to check that is not clear to me. "RCS_STAT_CHANNEL(emcFormat, "emcStatus", "xemc", nml_file);" gives...
11:16 AM lcnc-relay: ... me a segfault I haven't looked into closer yet if my module is launched by loadusr instead of manually in another process.
11:16 AM lcnc-relay: Are there any examples of the correct way to use nmi commands and poll EMC Status and Error? Ultimately I need to execute gcode (MDI is fine) without running a program in response to hal changes, and checking to see if the machine is in a good state and idle first.
11:16 AM lcnc-relay: <voiditswarranty@> schoch_@: check the machine mode, it needs to be "manual" to jog iirc
11:16 AM lcnc-relay: <voiditswarranty@> * iirc. Not "automatic" or "mdi"
11:17 AM lcnc-relay: <schoch_@> voiditswarranty@ any reason not to use python?
11:17 AM lcnc-relay: <schoch_@> I think c.ready() waits for you
11:18 AM lcnc-relay: <schoch_@> at least i'm not using -W for my pendant component and it seems to do the right thing
11:18 AM lcnc-relay: <voiditswarranty@> gstat's polling loop keeps the process from terminating when linuxcnc quits, and is intercepting the KeyboardInterrupt exception. and other reasons I forget right now
11:19 AM lcnc-relay: <schoch_@> also, my observation is that the python stuff is pretty resiliant to error states so it may make dev easier.
11:19 AM lcnc-relay: <schoch_@> from my reading many are not using gstat
11:19 AM lcnc-relay: <voiditswarranty@> it also doesn't access shared memory the same way
11:19 AM lcnc-relay: <schoch_@> i'm using linuxcnc module and the stat object with poll()
11:20 AM lcnc-relay: <schoch_@> what are you trying to get at?
11:21 AM lcnc-relay: <voiditswarranty@> there clearly are C or C++ modules out there, just looking for an example to point me in the right direction
11:21 AM lcnc-relay: <voiditswarranty@> the difference in behaviour depending on how it's starting is confusing me
11:22 AM lcnc-relay: <schoch_@> "starting"?
11:22 AM lcnc-relay: <voiditswarranty@> if I don't start it via loadusr, but start it manually aftert linuxcnc is up and running, it works fine.
11:23 AM lcnc-relay: <voiditswarranty@> I'd rather not make a launcher script to manage that
11:23 AM lcnc-relay: <schoch_@> are you starting with or without -W, and what about twopass?
11:23 AM lcnc-relay: <voiditswarranty@> I have tried all combinations
11:24 AM lcnc-relay: <schoch_@> i havn't seen that in python, .comp, or c
11:24 AM lcnc-relay: <voiditswarranty@> the C/C++ api is not well documented so I thought I'd ask here
11:24 AM lcnc-relay: <schoch_@> what status do you need?
11:25 AM lcnc-relay: <schoch_@> also, as a side note, meisterdippel@ 's patter of stubbing out the module and then dynamically loading is money if you haven't seen it. saves you tons of halcompile --installs
11:25 AM lcnc-relay: <schoch_@> also, as a side note, meisterdippel@ 's patter of stubbing out the module and then dynamically loading is money if you haven't seen it. saves you tons of halcompile --installs
11:26 AM lcnc-relay: <schoch_@> * pattern/
11:26 AM lcnc-relay: <schoch_@> pattern rather
11:27 AM lcnc-relay: <schoch_@> maybe you need extra_setup like this: https://github.com/wezhunter/ESP32_LinuxCNC_MotionController_RealTime/blob/main/LinuxCNC%20driver/esp32udp.comp#L58
11:42 AM lcnc-relay: <voiditswarranty@> seems to be duplicated code between emc/usr_intf/halui.cc and emc/usr_intf/shcom.cc, and almost nothing includes shcom.hh, I wonder if shcom is deprecated
11:47 AM roycroft: well the rain is back, but it's light rain, and after today it's supposed to be dry for at least a week
11:56 AM lcnc-relay: <voiditswarranty@> ah this seems to be reasonable, but they again re-implement something everyone else does pretty much the same way. Sounds like we need a common c++ api for the RCS/NMI basics stuff.
11:56 AM lcnc-relay: https://github.com/LinuxCNC/linuxcnc/blob/master/src/emc/usr_intf/axis/extensions/emcmodule.cc
12:09 PM Unterhaus_ is now known as Unterhausen
12:10 PM Unterhausen: Had a pvc drain pipe joint let go, I guess I should have used primer.
01:08 PM lcnc-relay: <skunkworks8841@> Don't make yourself a potato gun.. 😉
01:12 PM * Tom_L fires a spud missle toward skunkworks
01:46 PM lcnc-relay: <andypugh@> schoch_@ Well, at the moment I have my lathe running on Bookworm and the latest ISO, with the lathemacros. But that upgrade has made the system pretty much unsable. It's an old DN2800MT motherboard that I suspect wasn't 100% 64-bit ready. LinuxCNC realtime is fine, but the UI response (and any buttons handled in user space) is awful. Like 2 seconds to register the cycle start and cycle stop buttons.
01:46 PM lcnc-relay: <schoch_@> i'm using bookworm + an old x1 carbon
01:47 PM lcnc-relay: <andypugh@> But I am not seeing lots of wayland errors, as you report.
01:47 PM lcnc-relay: I have built a new controller PC (see https://forum.linuxcnc.org/18-computer/54979-new-pc-build-asrock-n100dc ) but it's been too cold to go into the workshop to install it.
01:48 PM lcnc-relay: <andypugh@> So I don't know how the new PC will work with the lathe macros. (though I guess I could set up a sim config and find out)
01:48 PM lcnc-relay: <schoch_@> I also was wondering why you must hit enter prior to hitting the start button for the values to register, this bit me a bunch of times learning how to use it.
01:49 PM lcnc-relay: <andypugh@> That's a Glade thing, beyond my control. Are you using a touchscreen?
01:49 PM lcnc-relay: <schoch_@> no touchscreen
01:50 PM lcnc-relay: <andypugh@> Pity, it works better with a touchscreen in many ways. You get unit conversion (including fractions) for example, built into the date-entry widget.
01:51 PM lcnc-relay: <andypugh@> * data-entry
01:51 PM lcnc-relay: <schoch_@> sorry to pester you, another thing was: i get a k must be greater than j, I was guessing I'm expected to be x + the thread max diameter, but I just used g76 and didn't really mess with it. i took a peek at the o-code and it looks like threading is using g95!? what is the expectation for outside threads?
01:52 PM lcnc-relay: <schoch_@> nm on the g95 question, i see the g76 in there.
01:53 PM lcnc-relay: <andypugh@> I have only used threads once with the new version. (I was on an old, old, version) and I was a bit concerned that it seemed to not work as well as it used to. Too-deep initial pass. It's something I ought to look at.
01:54 PM lcnc-relay: <schoch_@> but are you supposed to be a specific distance from x major diameter to start?
01:54 PM lcnc-relay: <schoch_@> or anything > x major diameter
01:59 PM Tom_L: andypugh_, keep us up to date how the new MB performs
02:01 PM lcnc-relay: <andypugh@> Sorry, was comparing code. For some reason the J-number changed from 0.2 to 1.0. I don't know why, but I don't think that's a good idea. (even if it was me that did it...)
02:03 PM lcnc-relay: <andypugh@> I would suggest changing J in lines 39 and 52 to be 0.2, then see how it goes.
02:03 PM lcnc-relay: <andypugh@> (this would address your k greater than j thing too)
02:03 PM lcnc-relay: <schoch_@> ok, i'll try that. thanks!
02:04 PM lcnc-relay: <andypugh@> Maybe it should be something like (total_depth / 4)
02:04 PM lcnc-relay: <Lcvette> memleak: Qtpyvcp requires preempt rt
02:05 PM lcnc-relay: <andypugh@> The last thread I cut was 1mm pitch, so a 1mm initial depth wasn't great
02:05 PM lcnc-relay: <schoch_@> lol
02:06 PM -!- #linuxcnc mode set to +v by ChanServ
02:06 PM lcnc-relay: <andypugh@> Lcvette: Despite memleak being the RTAI dude, his Gentoo image is running preempt-rt
02:15 PM lcnc-relay: <skunkworks8841@> that doesn't seem right...
02:21 PM lcnc-relay: <andypugh@> I asked the question "For the Gentoo image, it's using a heavily optimized 6.12 PREEMPT_RT kernel."
02:27 PM lcnc-relay: <rs> something seems to corrupt shared memory on memleak's image
02:28 PM lcnc-relay: <rs> somebody that can reproduce the error has to examine that in a debugger, i'm out of guesses
02:29 PM lcnc-relay: <vibram@> https://forum.linuxcnc.org/media/kunena/attachments/723/Screenshot.png
02:30 PM lcnc-relay: <vibram@> Hey andypugh@ sorry for the arrassment, but I really would like to use your lathe macro
02:30 PM lcnc-relay: <vibram@> Do you think there is a way to bind a physical button directly to a specific tab
02:32 PM lcnc-relay: <rs> memleak: are you NTULINUX on github? i don't think it's a compiler issue, that would affect other modules, and you said when running halrun on cmd line, it is possible to load and2 component
02:32 PM Tom_L: rs, he is
02:34 PM lcnc-relay: <rs> i suspected some initialization problem of count and names variables but that seems not to be the case
02:38 PM lcnc-relay: <andypugh@> He is a man of many names. Alex, NTUlinux, Neo The User, memleak
02:38 PM lcnc-relay: <andypugh@> * Alec,
02:39 PM lcnc-relay: <andypugh@> vibram@ I am not sure what you mean? You want to have a physical button switch to macro tabs?
02:44 PM lcnc-relay: <vibram@> I would like a physical button that get me to the thread tab of your lathe macro
02:44 PM lcnc-relay: <vibram@> Another one for facing tab and so on
02:44 PM lcnc-relay: <vibram@> Because I retrofit a cnc conversational. Lathe with a panel
02:45 PM lcnc-relay: <vibram@> That has physical buttons dedicated to operations like you programed on your macro tab
02:47 PM Unterhausen: 10 day forecast says it's not going to be above freezing unless it's going to rain
02:59 PM Rab: Similar conditions here, hovering above freezing with periodic rain. But tomorrow through next week looks pretty nice.
03:02 PM roycroft: the rain has tapered off here, and we should have lows hovering just above freezing, for the most part, over the next week
03:03 PM roycroft: the snow line was really low here a couple days ago
03:03 PM roycroft: like almost to the edge of town
03:03 PM roycroft: it's gone back up again, though
03:04 PM roycroft: https://tripcheck.com/RoadCams/cams/WillamettePass_pid658.jpg?rand=1736542528165
03:04 PM roycroft: looks like some fresh snow in the pass, though
03:05 PM roycroft: https://tripcheck.com/RoadCams/cams/ORE58%20at%20Salt%20Creek%20Tunnel%20WB_pid3021.JPG?rand=1736542588230
03:05 PM roycroft: but not in the tunnel, which is about 350m lower
03:06 PM Rab: Tom_L, you posted a pic of the spindle motor on your blue mill. I may have asked you this before, but where did you get the little square cartridge spindle itself? Is it an off-the-shelf Taig/etc item?
03:08 PM lcnc-relay: <thorhian@> Is real time RS-485 communication possible with a mesa card these days?
03:09 PM Tom_L: Rab, that's a stock sherline spindle
03:09 PM Tom_L: i robbed it off my old sherline when i built the mill
03:09 PM Tom_L: not great but it does what i need
03:10 PM Tom_L: i had too many holders to not use it
03:23 PM lcnc-relay: <vibram@> I would like a physical button that get me to the thread tab of your lathe macro andypugh@ let me know if you find a way 😉
03:24 PM Tom_L: Rab, taig head might be a good way to go since it takes er collets
03:24 PM lcnc-relay: <vibram@> I would like a physical button that get me to the thread tab of your lathe macro
03:24 PM lcnc-relay: <vibram@> andypugh@ let me know if you find a way 😉
03:59 PM Rab: Tom_L, thanks!
04:01 PM Rab: Gotta run, but I had a followup question: ever had reservations about putting 1kw through the spindle with a cogged belt? I guess if the spindle fails, you can replace the bearings or upgrade...
04:02 PM Unterhausen: I have a full set of moore electric spindles that I don't know how to use https://mooretool.com/jig-grinder-parts-and-service/grinding-spindles/
04:04 PM Tom_L: Rab, not at all, 15mm belt works super and the spindle seems to handle anything the rest of the mill can
04:04 PM lcnc-relay: <voiditswarranty@> I stuck 1/2hp into a taig spindle for YEARS, hasn't shown any signs of problems and the tiny v-belts actually drive that, I was surprised. Given that I own a chinese spindle with singificantly smaller bearings and it's rated for 1kw, I imagine the spindle is totally fine
04:04 PM Tom_L: i used to burn the v belts up quite often
04:05 PM Tom_L: that's why i went with the timing belts
04:05 PM Tom_L: when i had the sherline running
04:07 PM lcnc-relay: <voiditswarranty@> I've recently discovered that XL timing belts are way more available here in the cold north than GT3/GT5 stuff, which I find weird as heck. Super easy to make pullies for though.
04:07 PM Tom_L: i was testing some cutters with it but it did fine: https://www.youtube.com/watch?v=trzO8H6tKW8
04:08 PM Tom_L: the test was more about the cutters than the spindle for me
04:08 PM lcnc-relay: <voiditswarranty@> I should rig my taig lathe head as a high speed spindle on my mill
04:19 PM Tom_L: iirc mine are GT3
04:26 PM xxcoder: wow theres 16 gb rpi5 now
04:27 PM xxcoder: 120 dollar
04:28 PM lcnc-relay: <skunkworks8841@> saw that.
04:31 PM xxcoder: cool. I wonder if its plenty for me lol
04:31 PM xxcoder: not much of gamer for quite a while now
04:32 PM lcnc-relay: <voiditswarranty@> currently running an rpi5 8gb as my linuxcnc machine, I like it quite a bit
04:32 PM xxcoder: was wondering about using it as main pc
04:33 PM lcnc-relay: <voiditswarranty@> that reminds me, I need to upstream my riocore changes for the rpi5
04:33 PM lcnc-relay: <voiditswarranty@> yeah it'd probably do great. it's significantly faster than the 4. I recommend springing for an NVME hat for it so you can put a proper SSD in there
04:35 PM xxcoder: good idea
04:37 PM lcnc-relay: <voiditswarranty@> the only thing I dislike is the micro-display port connectors, but eh, adapters are everywhere. Just a little on the fragile side. Finally USB-C for power though, the 4 was always hungry from the usb's standard 2.5A
04:38 PM lcnc-relay: <voiditswarranty@> my linuxcnc rig has a connector soldered to the 5v pins on the GPIO header and I supply power with a proper switching power supply rather than a usb wall wart
04:39 PM lcnc-relay: <voiditswarranty@> I have this 10" usb touch screen thing that pairs well with it as long as the monitor is powered up before the pi is
04:39 PM lcnc-relay: https://www.amazon.ca/gp/product/B0CDPYL1PL/
04:40 PM lcnc-relay: <voiditswarranty@> * is. The pi is easily bolted to the back of it.
04:40 PM xxcoder: if I go for it, I would use my good montiors
04:40 PM rdtsc: voiditswarranty, I have the serial pins tapped off the 1.5in ribbon cable (to 7c80) to detect "on" status for a power latch... soon changing that to an Rpi 5V usb power detection (because USB is turned off at power-off.)
04:41 PM lcnc-relay: <voiditswarranty@> I've been using an old reconditioned Lenovo T480 as my main coding machine these days, plugged into my good monitors. I think I paid $200 for it.
04:42 PM lcnc-relay: <voiditswarranty@> rdtsc: I had a pi3 with a few supercapacitors and a simple opamp circuit on the power rail, when power was lost, once voltage dropped below a certain point, it would trigger the shutdown. Kept from corrupting an old bad flash card I was using.
04:42 PM lcnc-relay: <skunkworks8841@> I have been runing the rpi3 for a machine control for years now. It just works
04:42 PM lcnc-relay: <voiditswarranty@> +input
04:42 PM rdtsc: would like to move to an rpi5, but rp1....
04:43 PM lcnc-relay: <skunkworks8841@> (it took a bit of 'figuring it out')
04:43 PM lcnc-relay: <skunkworks8841@> oops - I mean a rpi4
04:43 PM lcnc-relay: <skunkworks8841@> never had a 3
04:44 PM xxcoder: lol https://www.jeffgeerling.com/blog/2024/use-external-gpu-on-raspberry-pi-5-4k-gaming
04:44 PM lcnc-relay: <voiditswarranty@> heh the RP1 took some figuring out, but I've got the riocore flashrom script converted over to it: https://github.com/digiexchris/6x11-sg-grinder-linuxcnc-config/blob/main/riocoreconfig/spiflash.py
04:44 PM lcnc-relay: <voiditswarranty@> I have spi and gpio doing their things now. The documentation is HORRRIIBBLLEE for anything RPI5
04:45 PM lcnc-relay: <voiditswarranty@> totally fast enough to run Axis gui with full plot though, was worth it for me
04:45 PM Tom_L: it's new what do you expect
04:45 PM lcnc-relay: <voiditswarranty@> not that new! and poking GPIO is kinda a common thing...
04:46 PM lcnc-relay: <skunkworks8841@> the gpio with linuxcnc and rpi5 is pretty nice
04:46 PM lcnc-relay: <voiditswarranty@> over 2 years, that's decades in software development time
04:47 PM rdtsc: think I'll wait until Rpi5 + LinuxCNC is a solid thing... learned my lesson from 2.9.1pre0 up to 2.9.3 (finally works reliably)
04:47 PM lcnc-relay: <voiditswarranty@> what isn't stable right now? I haven't run into anything weird
04:47 PM * rdtsc my main machine is Arch... everything is unstable
04:47 PM lcnc-relay: <voiditswarranty@> haha
04:48 PM lcnc-relay: <voiditswarranty@> I've got openbsd on one laptop, everything is so stable nothing new works!
04:48 PM lcnc-relay: <skunkworks8841@> I have run some pretty crazy code/hal with rpi4 with no issues (once I figured out the time sync issue)
04:49 PM rdtsc: rpi4 is a beast... just looking for more frames/sec on a touchscreen
04:49 PM lcnc-relay: <voiditswarranty@> that's the only reason I upgraded
04:49 PM lcnc-relay: <skunkworks8841@> https://www.youtube.com/watch?v=RDKaFJmB254
04:49 PM rdtsc: lcnc 2.9.3 works great... just nit-picking about 15fps versus 45fps. :)
04:50 PM rdtsc: it's been a long road though... up to lcnc 2.9.3 was not an easy nor smooth road
04:52 PM rdtsc: one of these days I'll post my power solution to https://github.com/mj1911/my-linuxcnc but only after it is tried-and-true
04:53 PM lcnc-relay: <voiditswarranty@> skunkworks8841@: wow fascinating. the last time I was elbow deep in an ntpd it was in an unrelated server making sure it slewed time instead of a big jump
04:54 PM lcnc-relay: <voiditswarranty@> had an intermittent issue with time related HMAC verification
04:54 PM lcnc-relay: <skunkworks8841@> I pulled my hair out. I never saw this at my house which had better internet.
04:55 PM lcnc-relay: <voiditswarranty@> I'm just gonna turn it off on my cnc machines, I don't care if it's 19.32234 hours out from my watch
04:55 PM lcnc-relay: <voiditswarranty@> I didn't even set timezone
04:55 PM lcnc-relay: <skunkworks8841@> I finally figured out he centurytel dsl dropped out so much - that the time change with timesyncd was too harch
04:55 PM lcnc-relay: <skunkworks8841@> harsh
04:57 PM lcnc-relay: <voiditswarranty@> does this mean that EMC is tracking error vs clock time rather than timer ticks?
04:58 PM lcnc-relay: <voiditswarranty@> +just because there's an RTC doesn't mean we have to use it...
04:58 PM lcnc-relay: <skunkworks8841@> that is beyond my pay grade
04:58 PM lcnc-relay: <voiditswarranty@> my pay for this stuff is negative 😄
04:59 PM rdtsc: waaaay negative here :)
04:59 PM lcnc-relay: <voiditswarranty@> ooorrr, I wonder if the time update in a realtime system blocks for too long
05:03 PM lcnc-relay: <voiditswarranty@> lots of good info in that video and comments, thanks for posting that
05:06 PM lcnc-relay: <voiditswarranty@> someone is attempting to fix it but review is taking a long time
05:06 PM lcnc-relay: https://github.com/systemd/systemd/pull/14406
05:08 PM lcnc-relay: <skunkworks8841@> the pi has been doing stuff like this (spinlde synced motion) with no issues
05:08 PM lcnc-relay: <skunkworks8841@> https://www.youtube.com/watch?v=qMLz4kWoAEI
05:09 PM lcnc-relay: <voiditswarranty@> I guess another option is running an ntp server on the same network
05:23 PM roycroft: what is running a local ntp server going to fix?
05:34 PM lcnc-relay: <thorhian@> andypugh@ I was wondering if you or someone knew if using this (https://forum.linuxcnc.org/29-forum-announcements/48842-new-realtime-modbus-driver-for-mesa-cards) would allow me to hook up my spindle servo drive to my 7C81 via RS485/modbus?
06:22 PM lcnc-relay: <andypugh@> thorhian@ It ought to, if the VFD is modbus (The HuanYang ones are not real modbus)
06:27 PM lcnc-relay: <andypugh@> I have run a VFD with it (I don't recall if I actually connected a motor).
06:29 PM lcnc-relay: <andypugh@> You might need a special firmware to put a PktUART on one of the RS485 connectors, as by defaut I think that they are SmartSerial
06:36 PM lcnc-relay: <andypugh@> thorhian@ Looking at the available bitfiles, package PIN_7I88_1PKTD_57 has both PktUART and SmartSerial.
06:37 PM lcnc-relay: <thorhian@> andypugh@: It is not HuanYang. It’s a servo drive, not just a plain VFD. It’s an older tech Chinese drive though. Hopefully it’s compliant enough to Modbus.
06:38 PM lcnc-relay: <andypugh@> ie, flash the 7c81_7i88_1pktd.bit firnware and see what yoiu get 🙂
06:38 PM lcnc-relay: <andypugh@> What firmware are you currently using?
06:41 PM Unterhausen: I'm starting to think my moore spindles are meant to be cooled with cutting coolant
06:44 PM lcnc-relay: <big_kevin420@> why would they do that
06:44 PM lcnc-relay: <thorhian@> It’s been a while, and I don’t have the Pi or cards (7c81 and 7i76) on hand. I believe it was a precompiled firmware. I’ll have to get the electrical box out of storage.
06:44 PM lcnc-relay: <big_kevin420@> lol moore is located in bridgeport ct
06:46 PM lcnc-relay: <andypugh@> thorhian@ Looking at the VH~D file, it looks like the PktUART is actually on three of the pins of a 25-pin header rather than on an RJ45.
06:46 PM lcnc-relay: I think you might need to ask on the forum where PCW might see it.
06:46 PM lcnc-relay: <andypugh@> * VHD
06:47 PM lcnc-relay: <andypugh@> (the bitfiles and VHD source files are all here. The source is a zip in a subfolder of the zip...) http://www.mesanet.com/software/parallel/7c81.zip
07:13 PM lcnc-relay: <skunkworks8841@> how realtime is the actual drive's modbus?
07:14 PM lcnc-relay: <skunkworks8841@> modbus has always been slow compared to say - analog control from a mesa card. Has it always been the computer side modbus?
07:28 PM memleak: Lcvette, qtpyvcp uses Qt and is kernel-independent
07:29 PM memleak: rs, i appreciate the help!
07:30 PM memleak: i can't imagine why probe basic or something similar, which is just a GUI would be tied to a specific real-time kernel API
07:34 PM memleak: rs, I had tom check his and2.so library and it looks like the same as mine
07:44 PM Tom_L: memleak, andy made a comment about that
07:44 PM Tom_L: <andypugh@> It will be and2.ko on rtai, and2.so on preempt. And probably in /usr/lib/linuxcnc on Debian.
07:50 PM memleak: hey Tom_L just curious, what do you have against people with depression?
07:50 PM Tom_L: did i say i did?
07:51 PM memleak: your comments are quite brash.. i don't know why you're so nice to me and shit on others.
07:51 PM Tom_L: such as?
07:51 PM memleak: travis farmer..
07:52 PM Tom_L: i didn't say anything about him
07:52 PM Tom_L: that i'm aware of
07:53 PM Tom_L: that was random...
07:54 PM memleak: "this server used to be so friendly... then yesterday, i was in a severely depressive state, and after Tom_L cast me aside like a piece of trash, i had to go immediately to the hospital into suicide watch... i think he needs to seriously work on his personal skills, as he has spent far too much time relating to his machines..."
07:55 PM Tom_L: i don't recall that incident but i was likely busy or trying to help someone
07:57 PM Tom_L: checking my logs for context
07:58 PM Tom_L: i don't recall him directing any comments toward me that required an answer
07:59 PM Tom_L: looks like i was helping jdh
08:00 PM Tom_L: jesus christ what has this fucking channel turned into
08:01 PM lcnc-relay: <connor_9220@> When was this? _boggle_
08:02 PM lcnc-relay: <captainhindsight_.@> channel of humans?
08:02 PM jdh: Tom_L: I ordered some of these today: https://www.usdigital.com/products/accessories/interfaces/ics/ls7183n/?q=LS7183N
08:03 PM lcnc-relay: <skunkworks8841@> @irc_liberachat_tom_l:jauriarts.org: probably this. There is no winning..
08:03 PM jdh: with one of these: https://www.ondrivesus.com/in-line-gearboxes/in-line-spur-gear/xjhd51-4 and a normal quad 3000 ppr encoder, should be ok.
08:04 PM jdh: also emailed dynapar and someone else about just making me some new 750 count cw/ccw encoders.
08:05 PM lcnc-relay: <captainhindsight_.@> not everyone was a victim of abuse as a child, relax it's not your channel
08:07 PM xxcoder: tom left
08:12 PM bjorkintosh: goodness. drah mah in cnc?? of all channels??? c'mon!
08:12 PM bjorkintosh: this isn't a hospital or a support group, I'm sorry.
08:12 PM bjorkintosh: there are far better options than that.
08:14 PM lcnc-relay: <captainhindsight_.@> hello Mr Framer
08:14 PM memleak: i'm worried if i say anything, i'll chase bjorkintosh out of here too.
08:14 PM lcnc-relay: <captainhindsight_.@> no worries
08:14 PM memleak: then only people with any humanity left in them will remain. which probably isn't so bad,
08:16 PM -!- #linuxcnc mode set to +v by ChanServ
08:17 PM Tom_L: memleak, i don't think what you said to me was appropriate if you look back in context
08:17 PM Tom_L: at the time i was helping jdh find fwd / rev for an encoder
08:17 PM Tom_L: at best it could have been handled via pm
08:18 PM Tom_L: makes me look like an ass and all i'm trying to do here is help ppl with linuxcnc
08:18 PM lcnc-relay: <captainhindsight_.@> no worries
08:18 PM roycroft: simmah down, folks
08:18 PM roycroft: it's all good
08:18 PM roycroft: we're all friends
08:19 PM Tom_L: jt left the other day because it was getting so far off topic here
08:19 PM xxcoder: this channel do get off topic pretty lot of time
08:20 PM jdh: encoders are kind of iffy for topical
08:20 PM xxcoder: if very strict it should be purely linuxcnc
08:20 PM xxcoder: not even cnc in general
08:20 PM roycroft: i think going a bit off topic is ok as long as it's not interfering with any on-topic discussions
08:20 PM jdh: but, seemed like something pcw or andypugh would know offhand
08:20 PM Tom_L: if you can't handle social media you shouldn't put yourself out there
08:21 PM roycroft: discussing one's mental health is, in my view, not appropriate for a medium like irc
08:21 PM roycroft: i do not say that because i don't care about people
08:21 PM Tom_L: i care as well but there is a time and place for everything
08:22 PM roycroft: i say that because it's something very personal, and really can't be understood well unless one either knows the person well or is physically with the person
08:22 PM roycroft: there's too much chance of miscommunication on irc
08:22 PM lcnc-relay: <captainhindsight_.@> just ignore it
08:23 PM * roycroft tends to do so
08:23 PM Tom_L: i plan to but don't like being attacked for something i didn't do
08:24 PM roycroft: and you shouldn't be attacked like that
08:24 PM lcnc-relay: <captainhindsight_.@> vive la neurodiversity!
08:24 PM Tom_L: not sure why i was singled out when there were a good 80+ others that could reply
08:25 PM lcnc-relay: <captainhindsight_.@> viva even
08:25 PM roycroft: the problem is that behind the keyboard and the screen it's hard to tell if a person is unable to respond well or is just being callous
08:26 PM xxcoder: way I look, silence is not agreement, nor disagree
08:26 PM roycroft: silence is golden
08:26 PM roycroft: but our eyes still see
08:26 PM xxcoder: I didnt say much because well im shit on relationships and personal stuff
08:27 PM xxcoder: so I wouldnt have said anything even during that time (I was asleep then)
08:27 PM Tom_L: one channel would purge the channel once a year to weed out lurkers forcing them to do 'something'
08:28 PM Tom_L: not saying i agree with that but it did get response
08:29 PM roycroft: i got the boards for my window casing milled up today, other than the fillet
08:29 PM roycroft: and i haven't decided yet whether i'll add a cap to it
08:29 PM roycroft: i'm trying to make my house look like it was not built in the 1980s
08:30 PM xxcoder: very modern
08:30 PM roycroft: so i'm installing craftsman style window casing in the window in my studio as a test
08:30 PM roycroft: if i like it i'll replicate it in the rest of the house
08:31 PM roycroft: i've been trying to get as much done on that during the week this week as possible, as tomorrow i will be working on the pickup
08:31 PM roycroft: i thought about installing the axle shaft this afternoon after work, but it was raining lightly, and tomorrow there is not supposed to be any rain
08:32 PM lcnc-relay: <skunkworks8841@> lol - I think I have a 400hz 3 phase airplane generator.
08:32 PM roycroft: i really want to get working on that little cnc router too, but until the window casing is done in the studio there's not really any room to work on it
08:32 PM xxcoder: I see its predicted to snow on next friday. doubt it
08:32 PM lcnc-relay: <skunkworks8841@> where the heck did that come from..
08:32 PM roycroft: probably an aeroplane?
08:32 PM xxcoder: plane?
08:32 PM lcnc-relay: <skunkworks8841@> lol
08:32 PM lcnc-relay: <skunkworks8841@> yes
08:32 PM lcnc-relay: <skunkworks8841@> but - how did dad get it?
08:33 PM * roycroft wonder if skunkworks is off to play the grand piano
08:33 PM xxcoder: plane robbery
08:33 PM xxcoder: honestly possibly scrap?
08:33 PM lcnc-relay: <skunkworks8841@> must have been - so random
08:42 PM roycroft: it's almost time to make pizza
08:42 PM xxcoder: just had chicken patties with swiss cheese, "mexican style" cheese, and sourdough bun
08:49 PM lcnc-relay: <thorhian@> skunkworks8841@: No, I’ve been using analog, but I might try and use modbus over Mesa to try and control it. If nothing else, I can get extra data from the drive. I also need to check if it has Step/Dir signaling and seeing how viable that is (I’ve heard of it being done before).
08:50 PM lcnc-relay: <thorhian@> I wouldn’t mind being able to see the current being consumed.
08:53 PM lcnc-relay: <skunkworks8841@> Ah . Makes sense
08:54 PM Tom_L: make a load meter for it like alot of cncs have
08:54 PM xxcoder: yeah thats always good
08:57 PM xxcoder: I did want to have 0~10v analog display after I finished with PID, so I could see how hard its spinning
08:57 PM xxcoder: ie if it applies more voltage when cutting in order to retain rpm
08:58 PM xxcoder: torque meter is also so nice, but only found on expensive machines
08:59 PM xxcoder: directly seeing stress on frame from cutting sideforce
08:59 PM lcnc-relay: <captainhindsight_.@> in my current industry they just throw out 60% of the parts since that is how many don't meet spec
09:00 PM xxcoder: insane
09:00 PM lcnc-relay: <thorhian@> Tom_L: Yeah, if I can at least the current from the drive, I could display the load in the UI. I want to see if I can do more over modbus though.
09:00 PM xxcoder: shop I worked at, its only qyite few
09:01 PM Tom_L: you probably can however the analog drive you're using is pretty reliable
09:01 PM Tom_L: some use analog for spindle control and modbus for data
09:01 PM Tom_L: i've not tried modbus
09:02 PM lcnc-relay: <captainhindsight_.@> xxcoder: they send over a tech or two every two hours @$150/hour for many months to reset something vs just spend few $k to really fix it
09:02 PM lcnc-relay: <captainhindsight_.@> since math is hard
09:02 PM xxcoder: higher one time vs cheap many times
09:02 PM xxcoder: latter costs more but hey number look low
09:03 PM lcnc-relay: <captainhindsight_.@> penny wise but pound foolish
09:13 PM roycroft: xxcoder: the drives for that router are not branded, but they look like leadshines. do you recall if that is what they are?
09:17 PM xxcoder: lemme see if I still have info
09:17 PM roycroft: thanks
09:17 PM roycroft: and no rush
09:17 PM roycroft: i'm just starting to take inventory of what i have so i can figure out what i need
09:19 PM roycroft: and now we have rain in the forecast for tomorrow morning
09:19 PM roycroft: looks like until mid-morning
09:19 PM xxcoder: sadly link is dead. "3Axis Nema23 Stepping Motor 110N cm 3 0A 4wire Board TB6560 Power for CMC Mill | eBay"
09:19 PM xxcoder: old title
09:19 PM roycroft: so i probably won't start work on the pickup until late morning
09:19 PM xxcoder: cmc lol just noticed
09:21 PM roycroft: that it's a tb6560 should help
09:21 PM xxcoder: nah its not
09:21 PM xxcoder: whst you have is 3x tb6600
09:21 PM lcnc-relay: <skunkworks8841@> I am using the stmbl drive over smart serial. It is pretty awesome.
09:21 PM roycroft: ok
09:22 PM lcnc-relay: <skunkworks8841@> (for a spindle)
09:22 PM xxcoder: I still have tb6560 somewhere lol forgot to include it
09:22 PM roycroft: yes, i see that
09:22 PM Tom_L: skunkworks, did that project ever come out with rev2 with the new chips?
09:22 PM xxcoder: it was really bad, tb6600 worked far better
09:22 PM roycroft: https://www.makerguides.com/tb6600-stepper-motor-driver-arduino-tutorial/
09:22 PM roycroft: that picture looks exactly like what i have
09:23 PM lcnc-relay: <skunkworks8841@> I don't think so...
09:23 PM lcnc-relay: <unterhausen@> big_kevin420@: there is a tubing connector on my spindles and I found that a different motorizes spindle is limited to 30000 rpm dry
09:23 PM lcnc-relay: <unterhausen@> pdf warning https://mooretool.com/pdf/F-1757%20Rev.%20D%20-%20MTC%20ATC.pdf
09:23 PM roycroft: i don't think i can use much larger motors than what are on the machine already with those drivers
09:23 PM roycroft: but i may not need larger motors
09:23 PM xxcoder: yeah though you can use LONGER one
09:24 PM xxcoder: but need more power driver
09:24 PM roycroft: yeah
09:24 PM roycroft: those drives max out at 3.5a
09:24 PM xxcoder: which was exactly what you said. yay for my reading skills
09:24 PM roycroft: and the drives are set at 2.5a now
09:24 PM Tom_L: gecko drivers are hard to beat
09:24 PM roycroft: yes, and i have some
09:25 PM xxcoder: yeah though hes planning to use it to bootstrip big router, as well as simple engrave stuff
09:25 PM roycroft: but if the ones that came with this router will work i'd like to use them, at least for now
09:25 PM xxcoder: so hardly worth more money
09:25 PM roycroft: right
09:25 PM xxcoder: even when got free
09:25 PM roycroft: i don't want to invest $350 in gecko drives for the machine if i can help it
09:26 PM roycroft: but if these don't work out i have the gecko drives, and i can worry about replacing them later
09:27 PM roycroft: my understanding is that the big advantage of gecko drives is that they're pretty much bullet-proof
09:27 PM xxcoder: can swap em back to tb6600 for engraving after done with cnc parts too
09:27 PM roycroft: you can abuse them and they keep working
09:27 PM Tom_L: 203v are
09:27 PM roycroft: while the leadshine type drives are rather fragile
09:27 PM Tom_L: those have extra protection built in
09:27 PM Tom_L: 80v 7? A
09:28 PM roycroft: yes
09:28 PM roycroft: mine are g201x and those are the voltage and current specs for them
09:28 PM Tom_L: most drivers are lower voltage
09:29 PM Tom_L: but nowdays they have digital versions
09:29 PM roycroft: the ones that came with the router max out at 42v
09:29 PM Tom_L: and likely wouldn't support that for an extended period
09:30 PM roycroft: i have a 24v power supply for the thing
09:30 PM Tom_L: i guess leadshine are good, i've never tried them
09:30 PM roycroft: i'll start with that
09:30 PM roycroft: i have a spare 48v power supply as well, but that's beyond the drivers' specs
09:30 PM Tom_L: higher you go the better response you'll get
09:30 PM Tom_L: mine are at 48v
09:31 PM roycroft: the immediate goal is to get it working
09:31 PM Tom_L: right
09:31 PM roycroft: a secondary goal is to get it performing well
09:31 PM roycroft: and i am patient, so if it's slow that will be ok
09:31 PM roycroft: for now, at least
09:34 PM roycroft: if i get the machine working well, it will be really useful
09:34 PM xxcoder: hope so :)
09:34 PM roycroft: i have a foil stamping machine for doing foil embossing on leather and the like
09:35 PM roycroft: it is heated, so i can't 3d print stamps for it
09:36 PM roycroft: i'll need to make them out of some metal - magnesium is pretty commonly used, but brass would work too
09:36 PM roycroft: i should be able to make those quite easily with that machine
09:37 PM roycroft: what's funny is that we talked for a year or so about the book scanner and delta printer, and i am quite happy to have both, but the baby router, which was a last-minute toss-in thing, is what i'm actually most interested in at the moment
09:38 PM xxcoder: lol fun how life goes isnt it
09:38 PM xxcoder: I just didnt want to work on selling it
09:38 PM roycroft: yeah, i get that
09:38 PM roycroft: i've donated a lot of stuff that i was going to sell
09:39 PM roycroft: i had enough going on that i valued my time more than the money i'd have gotten
09:39 PM roycroft: o
09:39 PM roycroft: i'm still donating stuff for that reason - i'm planning on taking a car load of stuff down to st. vincent de paul this weekend
10:03 PM roycroft: finally, pizza is in the oven
10:03 PM roycroft: i forgot that i needed caramelized onions for tonight's pizza, and that added an hour to the prep time
10:03 PM xxcoder: doh lol
10:03 PM roycroft: i usually caramalize them while the dough is rising
10:04 PM roycroft: i'm really hungry - not a good night for dinner to be late
10:06 PM xxcoder: lol little bit late dinner for me too. I normally start cooking at 5 pm, but today I didnt notice till 5:36 and cooked then. not as late as yours but yeah]
10:07 PM roycroft: aah, the drivers are not leadshine
10:08 PM roycroft: they are usongshine
10:08 PM roycroft: https://www.amazon.com/dp/B07HHS14VQ
10:09 PM xxcoder: lol did they even exist back then?
10:10 PM roycroft: no idea
10:10 PM roycroft: they are leadshine knock-offs
10:10 PM roycroft: and there are probably a zillion brands of them
10:10 PM roycroft: all made in the same factory
10:10 PM xxcoder: I bought very cheap electrics kit from ebay. come with steppers tb6560 and psu for those
10:10 PM roycroft: or all harvested from the leadshine dumpster :)
10:10 PM xxcoder: likely
10:11 PM xxcoder: tb6600 I dont remember where I bought em from. probably aliexpress
10:11 PM roycroft: they should be ok, as long as i feed them well
10:12 PM roycroft: finally, the pizza is out of the oven
10:12 PM xxcoder: and going into my stomach
10:13 PM xxcoder: ;)
10:13 PM roycroft: i no longer fear starving to death
10:13 PM * roycroft looks at his belly and determines that there is no reason to fear starvation any time soon
10:29 PM xxcoder: im probably fine for year or two
10:29 PM xxcoder: I want to buy a tricycle so I can exercise. I keep delaying
10:32 PM roycroft: i have an exercycle, and i used to use it regularly, but it's kind of blocked in by some boxes and has been since i moved here
10:32 PM roycroft: lately i've been dealing with at least one box of stuff per day, and the house is finally starting to come together
10:33 PM roycroft: i should probably work in the area where the exercycle lives, so i can start using it again
10:33 PM Unterhausen: starvation isn't a problem for me, but you need water every 13 days or it's fatal
10:34 PM roycroft: tha uisge-beatha agam
10:34 PM roycroft: uisge-beatha is whisky
10:35 PM roycroft: in gaelic, uisge is water, and beatha means "of life"
10:35 PM lcnc-relay: <unterhausen@> how long can you survive on a diet of only whiskey? I'm sure people have tried
10:36 PM roycroft: whiskey? i wouldn't last a day, because i'd find it undrinkable
10:36 PM roycroft: but whisky, that's another story
10:37 PM roycroft: i should imagine that if it was one's only source of water, one would probably be very drunk for quite a while, and then that would not even be enough water