#linuxcnc Logs
Feb 17 2024
#linuxcnc Calendar
01:08 AM Deejay: moin
01:23 AM lcnc-relay: <TurBoss> morning
04:18 AM Tom_L: morning
04:41 AM fdarling: how many people here on IRC have experience developing realtime components in C rather than using the .comp meta-compiler?
05:35 AM JT-Cave: morning
06:26 AM JT-Cave: https://github.com/LinuxCNC/linuxcnc/pull/2789
07:16 AM jpa-: fdarling: .comp is still just C even though the meta-compiler adds some boilerplate
07:16 AM fdarling: I know, I've done it before, but there are a lot of undocumented specifics
07:34 AM lcnc-relay: <satiowadahc#0> Using ethercat slave cards I use C components, or if I have more than one statemachine I want to run I use C
07:35 AM lcnc-relay: <satiowadahc#0> Had an automatic screw feeder that had to independent logic operations. One to fill the tray and one to actually send screws on request
07:37 AM lcnc-relay: <satiowadahc#0> I find it weird that status is so reliant on Joints. Axis should be what the UI is more interested in for DRO and what not
07:53 AM Tom_L: 15°F high 40°F
08:20 AM JT-Cave: 25°F Sunny High: 37°F
08:52 AM Tom_L: jet works on rpi4
09:05 AM JT-Cave: cool
09:14 AM Tom_L: can't find a linuxcnc install for armhf
09:17 AM JT-Cave: I'm betting my crickets will all be dead when they arrive after spending a few nights in St louis
10:29 AM bjorkintosh: Crickets?
10:29 AM bjorkintosh: for the chickens?
10:35 AM * roycroft knew the crime rate in st louis was high, but did not think that crickets are afraid to walk the streets there
10:38 AM lcnc-relay: <JT (@jt-shop:matrix.org)> Yup for the chickens
11:01 AM pcw-home: You spoil you chickens like we spoil our sheep (we buy them tortilla chips as a treat)
11:33 AM fdarling: pcw-home: I am working on some PacketUART code, and have some questions for you...
11:34 AM fdarling: pcw-home: I saw this FIXME in pktuart.c "FIXME: decide how to work out that the data has all been transferred"
11:35 AM fdarling: pcw-home: indeed, with the current abstraction in LinuxCNC, it seems you can only know that the read is complete by zeroing the target array and then checking to see if at least the first entry is non-zero. I am not sure if HostMot2 would ever legitimately report a zero size packet (maybe because it only had UART errors?)
11:36 AM fdarling: pcw-home: but a more serious problem is that I don't know how I can tell when a frame data read completes, and there is no way to tell from the destination array of data because the data is arbitrary
11:37 AM fdarling: pcw-home: the issue comes from the fact that the abstraction layers are handling the queued reads which ultimately build a read request packet, but there is no callback to know when a response packet is parsed and the read data is copied into the target buffer
11:38 AM fdarling: in this case, we need an acknowledge that the read finished somehow
11:38 AM fdarling: any ideas about this?
11:52 AM pcw-home: Framing is time dependent, when a rx frame times out, the packet size is pushed into the receive count FIFO
11:52 AM pcw-home: so you know how many bytes are in each RX packet
11:55 AM fdarling: pcw-home: is it possible for there to be zero size frames put into the FIFO?
11:56 AM pcw-home: no
11:56 AM fdarling: pcw-home: are you aware of any way I can tell when the HostMot2 driver successfully performs the read I queue?
11:57 AM fdarling: pcw-home: if the driver persistently tries to read multiple times despite lost packets, maybe I could monitor a "response count" somewhere?
11:58 AM fdarling: I am considering doing a cookie read after the data read into a dummy buffer just so I know stuff has been updated X-D
11:59 AM pcw-home: Actually Ive always though the ethernet driver should always do a cookie read as the last thing to debug/detect alignment errors
12:00 PM pcw-home: (not that I have ever seen any)
12:19 PM fdarling: pcw-home: is there a way to access the LLIO API from a realtime component that is outside of the LinuxCNC build tree?
12:19 PM fdarling: (hostmot2.h seems to be unavailable...)
12:23 PM pcw-home: Do you mean what's needed to build the driver without the rest of LinuxCNC?
12:30 PM fdarling: pcw-home: I want to have access to poke at hostmot2 from a realtime component, but without build built from inside the LinuxCNC source tree
12:32 PM pcw-home: If you are not using LinuxCNC and hal, it might be easier to just do the low level accesses directly (just steal some of the driver code or even mesaflash code)
12:33 PM fdarling: pcw-home: I am using LinuxCNC, but I am inside of a realtime component
12:43 PM pcw-home: I dont know of any that do this directly, mesa-modbus is a real time component but it accesses pktuart.c which has low level I/O
12:43 PM pcw-home: maybe just an include issue
12:47 PM pcw-home: There's a issue with ordering as the low level I/O functions must be called from the main read and write hal functions, not at some arbitrary component function time
01:34 PM lcnc-relay: <big_kevin420> https://jauriarts.org/_matrix/media/v1/download/jauriarts.org/sqFOQiPlEgHuWDXWwYZYniYx
01:35 PM lcnc-relay: <big_kevin420> i am loving this translation, i think that was a different kind of standoff
02:02 PM JT-Shop: hmm mail is usually here before noon on sat but today it's 2pm and no mail yet...
02:05 PM JT-Shop: pcw-home, I forwarded an email about a strange problem a chap is having with a 7i73
02:14 PM pcw-home: Those sound like the expected results since inputs 0..7 are floating (meaning they will have indeterminate states unless tied high or low and will he affected by nearby pins due to capacitive coupling )
02:14 PM JT-Shop: ok, thanks
02:15 PM pcw-home: 8..15 have pullups so have a defined state (high) when unconnected
02:15 PM * JT-Shop takes notes
02:50 PM JT-Woodshop: now my crickets have been rescheduled to next delivery day... they are lost I think
02:51 PM XXCoder: doh
02:51 PM Tom_L: never rely on a cricket for directions
02:51 PM XXCoder: nor chickens as deliver people
02:55 PM JT-Woodshop: Your item was returned to the Post Office for address verification on February 17, 2024 at 2:31 pm in POPLAR BLUFF, MO 63901 because of an incomplete address. Your item will go out for delivery on the next delivery day if the address can be verified.
03:01 PM JT-Shop: the crickets left MS on the 12th... I really doubt they are alive at this point
03:50 PM JT-Woodshop: and the post office is closed monday so the dead crickets might arrive tuesday :(
03:51 PM XXCoder: :( sucks
03:52 PM JT-Woodshop: yup, however Josh's Frogs guaranties live delivery so they will replace them
03:53 PM JT-Woodshop: steamer is fired up...
03:54 PM JT-Woodshop: I put too much water in so it's taking a while to get up to boiling
03:54 PM JT-Woodshop: https://www.youtube.com/watch?v=F5jdkUj7N8c
04:23 PM Tom_L: what are you making?
04:23 PM XXCoder: bendy wood I guess
04:24 PM JT-Woodshop: bologna rack
05:02 PM JT-Shop: bending went well
05:02 PM * JT-Shop calls it a day
05:03 PM XXCoder: awesome!
05:32 PM jdh: anyone have thoughts on running a water cooled 1500w spindle with no water
05:32 PM Loetmichel: jdh: as long as you can touch it barehanded: all well.
05:34 PM JT-Cave: Tom_L, I came up with a clever way to update the status labels...
05:34 PM roycroft: https://www.alibaba.com/product-detail/High-quality-Machine-coolant-pump-13L_60219478005.html
05:34 PM roycroft: there you go
05:35 PM jdh: way too much space
05:35 PM Loetmichel: https://www.youtube.com/watch?v=lm-kpV2Msn0 <- my setup. Nowadays with a car heater core as radiator on the right lower corner of the box.
05:36 PM Loetmichel: (and as seen in that Video: i often forget the cooolant pump myself ;)
05:36 PM XXCoder: yeah car people already did a lot of science and calculations on heater cores
05:36 PM roycroft: if it's only for occasional use you can just run tap water through it from a nearby sink, and then blow it out with compressed air when you're done to dry of the inside
05:36 PM XXCoder: so its great for cooling
05:39 PM roycroft: or you can move to northern norway, build an ice cave, and operate your water-cooled spindle inside the ice cave without coolant
05:40 PM jdh: Loetmichel: do you have stock drivers in the chinese black control box one?
05:40 PM roycroft: the ambient temperature will keep it cool enough
05:40 PM Loetmichel: yep
05:40 PM Loetmichel: until recently
05:40 PM Loetmichel: had to replace them twice now.
05:40 PM Loetmichel: already ordered upgrades and a new PSU, still waiting for a new breakout board though
05:41 PM Loetmichel: Funny enough the 11 year old with the blue box has the same TB6560 drivers inside, hadnt failed in even more years.
05:44 PM JT-Cave: https://www.youtube.com/watch?v=ANT51wUMqvg
05:54 PM XXCoder: does it take a lot of force, or is it just being careful
05:56 PM XXCoder: if you had printer you might be able to make custom pads for clamps
05:56 PM XXCoder: angled
05:57 PM XXCoder: overbending to get nice corners. interesting@
06:46 PM Tom_L: JT-Cave, how's that?
06:48 PM Unterhaus_ is now known as Unterhausen
06:53 PM Unterhausen: I have a coolant pump, I should rehabilitate it a little
06:54 PM XXCoder: so it has some criminal history eh
06:54 PM Unterhausen: it looks like you might get an infection if you got too close
06:54 PM XXCoder: ouch heh
06:54 PM XXCoder: lot biofilm?
06:54 PM Unterhausen: don't recall what machine it came from, probably a Moore Jig bore
06:55 PM Unterhausen: one of my previous employers had some really clapped out jig bore grinders
06:56 PM roycroft: dave stanton is done with teh you tube
06:56 PM roycroft: i've been following him off and on for about ten years, ever since i first heard about the stanton bench (of which i've made two)
06:56 PM roycroft: i rarely watch his show these days, but i was out in the shop and turned it on, and saw that it's his last show
06:59 PM Unterhausen: it's the new trend, quitting youtube
06:59 PM Unterhausen: one of the channels I follow just got demonitized for no reason
06:59 PM roycroft: i'd have to start a channel first to do that
06:59 PM roycroft: if i want to be trendy, am i too late to start one?
06:59 PM XXCoder: yeah saw a couple. tom ended his channel
07:00 PM Unterhausen: I have a very mediocre channel
07:00 PM roycroft: does the channel have to run for a certain period of time before quitting?
07:00 PM XXCoder: youtube quitting any% speedrun
07:00 PM roycroft: dave's kind of a hack, and i disagree with him about a lot of stuff
07:00 PM Unterhausen: probably have to get one of those tacky youtube award things
07:00 PM roycroft: but he designed a good bench, and he's entertaining
07:01 PM Unterhausen: the world would be better off if I deleted all my videos
07:01 PM roycroft: no it wouldn't
07:01 PM roycroft: it would not change at all
07:01 PM roycroft: because google would still have them all
07:01 PM XXCoder: looked at channel and dont see any quitting video?
07:01 PM roycroft: it's impossible to remove something from the internet
07:02 PM Unterhausen: the google ai would be better if they deleted my videos in its training
07:02 PM roycroft: https://www.youtube.com/watch?v=YfJ0uLaxdpg
07:02 PM roycroft: his show is still running
07:02 PM XXCoder: "
07:02 PM XXCoder: Thankyou to all who have been regularly tuning into my weekly stream. I am not leaving youtube, I am recharging my creativity and will bring how to and tool review videos as well as projects for you to watch.There has been way too much on my plate lately and I found myself shuffling things around without actually getting anything done. "
07:02 PM XXCoder: yeah looks like
07:03 PM roycroft: he's leaving youtube
07:03 PM roycroft: "i'm not leaving youtube, i am recharging ..." means "i am leaving youtube"
07:03 PM XXCoder: ok
07:03 PM roycroft: i'll give him the benefit of the doubt though
07:03 PM roycroft: he's been doing a show every sunday morning for a decade or so
07:04 PM roycroft: perhaps he really will do other things on youtube, but it just done with the weekly grind
07:04 PM roycroft: i think, though, that he's going to get used to not doing the show really fast
07:04 PM roycroft: and that will make it harder to do other things
07:05 PM roycroft: he's also dying his hair dark - it used to be totally grey
07:05 PM roycroft: i think he's going through his midlife crisis a bit late
07:05 PM XXCoder: time for bike and/or speedy car
07:06 PM Unterhausen: all of my videos are about how much of a hack you can be and still do reasonable work
07:06 PM roycroft: or chickens? :)
07:06 PM XXCoder: :)
07:07 PM roycroft: so i'm thinking about making an offer on the house i saw today
07:07 PM XXCoder: I wonder what mine would be like lol. since I have zero interest in bikes or speedy cars
07:07 PM roycroft: the property is smaller, the shop is smaller, but the house is bigger, and if i buy it i'll be able to build a second shop building right away
07:08 PM roycroft: it's out of town though - in the foothills, about 45 minutes from eugene
07:08 PM roycroft: it's a tough decision
07:08 PM roycroft: i'd like to get out of town, but not that far out of town
07:09 PM roycroft: i have a large property here, but zoning laws and city bureaucracy make it very difficult to build another shop on my current property
07:09 PM roycroft: and i still have the problem of transients trying to camp in my yard
07:09 PM Unterhausen: I wish my mother had gotten a house out of town
07:09 PM roycroft: there are zero unhoused people in the town where i'm considering moving
07:09 PM roycroft: on the other hand, i would be one of a handful of not-maga people living there
07:10 PM roycroft: but i can keep my politics to myself
07:11 PM Unterhausen: I was a poll observer in a rural precinct near me, and they were all very protective of their pet democrat
07:11 PM roycroft: i'm not a democrat
07:11 PM roycroft: nor maga
07:11 PM roycroft: but to maga, anything not maga is communist
07:12 PM Unterhausen: you must be an anarchist then
07:19 PM roycroft: not in the least
07:20 PM roycroft: i'm just not confused
07:20 PM roycroft: :)
07:20 PM XXCoder: I just aren't loyal to anything. I just vote best according for improvement of people lives
07:21 PM Unterhausen: I'm just trying to clean out my junk pile before I die
07:21 PM roycroft: yes, i vote on policy, not tribalism
07:22 PM Loetmichel: Unterhausen: i've given up on that.
07:22 PM roycroft: it just so happens that one of the major political parties consistently have policy positions that are closer to my own than the other
07:22 PM Unterhausen: my brother keeps posting a position on linkedin. I thought he was an okay guy
07:23 PM roycroft: linkedin is ok until you want to be linkedout
07:23 PM XXCoder: hopefull not x rated positions
07:23 PM Unterhausen: Loetmichhel, shouldn't you be sleeping r/n?
07:23 PM Loetmichel: I should move to a smaller flat now that i am divorced... postponed that for almost a year because i cant manage to clean out all the stuff here.
07:23 PM Loetmichel: its sunday
07:23 PM roycroft: i spent the better part of a year trying to get them to delete my account/listing/whatever before i finally ended up just blocking their emails
07:23 PM Loetmichel: i will soon go to bed
07:23 PM Unterhausen: no more stories about your wife?
07:24 PM Unterhausen: I made my profile private and they still send me emails that say I'm not private
07:24 PM Unterhausen: if I wanted work, I should make my profile a lot better, but I just can't
07:25 PM roycroft: if i buy this house, my mortgage payment will almost be low enough that i could retire and live decently on social security
07:25 PM Loetmichel: Unterhausen: well, i am still waiting for the papers from the court, but yeah, the divorce is basically done since december
07:26 PM roycroft: and if i can wait 3 more years i would definitely be able to do so
07:26 PM roycroft: that's my goal - to be able to live decently off ss
07:26 PM roycroft: then anything i do for revenue is just gravy money, and if i don't feel like doing it i don't have to
07:26 PM Unterhausen: I'm trying to convince my wife that she needs to keep working, so I can feel better about retiring
07:27 PM Unterhausen: I'm essentially retired right now, but I don't really feel great about it
07:27 PM * roycroft is going to feel great about retiring whenever the time comes, unless the time is forced upon him early
07:28 PM XXCoder: retired also, way too early but oh well
07:29 PM XXCoder: I'd have never imanaged id be forced into retirement at 48
07:29 PM Unterhausen: if my daughter gets on disability, things will be better
07:29 PM Unterhausen: she should, but who knows?
07:30 PM XXCoder: my bro is being forced to retirement also. covid made his ms much, much worse
07:30 PM XXCoder: hes 52
07:30 PM Unterhausen: I would probably still be working, but my boss panicked due to covid and here we are
07:30 PM Unterhausen: but I'm retirement age
07:31 PM roycroft: 52 is too young for forced retirement
07:31 PM XXCoder: imange it for me. 48
07:31 PM roycroft: yeah, way way too young
07:31 PM XXCoder: he has it much worse, but yeah I cant work
07:32 PM roycroft: not only do you have to wait 14 years for minimal social security benefits, all that time not working reduces your benefits
07:32 PM XXCoder: orginal plan was he retire at 55, have 5 or 6 years of trips before he is too disabled by ms
07:33 PM Unterhausen: 52 is not that young to be disabled by ms
07:40 PM XXCoder: I read about that new ms and parkenson treatement using nanoparticles of gold
07:40 PM XXCoder: I wonder if it actually works
11:21 PM firephoto__ is now known as firephoto_