#linuxcnc Logs

Apr 27 2023

#linuxcnc Calendar

12:13 AM -!- #linuxcnc mode set to +v by ChanServ
12:58 AM Deejay: moin
01:07 AM randy: morning
01:14 AM Deejay: hey randy
01:24 AM srk_ is now known as srk
02:58 AM travis_farmer[m]: Morning ☕️
03:04 AM -!- #linuxcnc mode set to +v by ChanServ
04:10 AM Bushman: morning everyone ;)
04:11 AM Bushman: i'm strugling a little with my WHB pendant and HAL for it...
04:12 AM Bushman: i had to change the PC i was using for this machine and after installing fresh OS i've tried to re-use my old config
04:14 AM Bushman: the converter did something to the files and as expected i had many errors... i stared with commenting out all the failing lines and rebuilt the custom.hal file by hand
04:14 AM Bushman: i'm at a stage where almost everything works as before except one thing...
04:15 AM Bushman: the feed override/step size knob does not change the feed override when in continous mode
04:16 AM Bushman: it behaves as if it was changing the speed in the continous mode but the effect is somewhat faint
04:16 AM Bushman: can i ask one of you guys to help me fix it?
04:24 AM Bushman: this is my current custom.hal
04:24 AM Bushman: https://paste.debian.net/hidden/8f103867/
04:25 AM Bushman: and this is the list of pins/signals exposed by the driver
04:25 AM Bushman: https://paste.debian.net/hidden/701e873a/
04:47 AM Tom_L: morning
04:48 AM Tom_L: Bushman, there are several places in the .ini to set feed settings
04:51 AM Tom_L: i'm not exactly sure how they all interact but [DISPLAY] has some [TRAJ] has a few more and your [AXIS] and [JOINT] sections do as well. i'd double check those and see if that helps any
04:51 AM Bushman: those haven't changed
04:52 AM Tom_L: is this just on the pendant?
04:52 AM Bushman: what have changed is the version of LCNC and driver for the pendant
04:52 AM Bushman: yes, this issue relates only to the pendant
04:52 AM Tom_L: you may have to go look at the pendant comp and possibly find the limit there
04:53 AM Tom_L: i've never used one of those pendants but do recall something going on with them
04:53 AM Bushman: in the past the feedrate/step knob did different things depending on wether you were in continous mode or step mode
04:53 AM Tom_L: can you compare the source from the old/new comps?
04:54 AM Bushman: yes. and other than axis went from 0123 to xyza not much have changed that i can tell
04:54 AM Tom_L: i do know for a while one of those didn't work but thought it got fixed
04:55 AM Tom_L: check for changed names etc
04:55 AM Bushman: yea, it's much easier to get it going now that it's in the main branch
04:55 AM Tom_L: i know spindle and axis / joint had some edits to a new ini
04:56 AM Bushman: i've checked all the nets, i can't find ANYTHING that would relate to this behaviour in new OR old config
04:56 AM Bushman: the ini works fine. the machine definiton didn't change and everything works ok
04:56 AM Tom_L: i'm not really giving educated answers but tossing some ideas out..
04:56 AM Bushman: i apreciate that
04:57 AM Bushman: i realy do.
04:57 AM Bushman: sometimes is just takes someone to bouce some ideas off of
04:57 AM Tom_L: or check the lcnc version changelog. that may indicate something
04:58 AM Bushman: hmm
04:59 AM Bushman: lemme see if the driver has a changelog
05:00 AM Tom_L: i do recall someone having a similar issue
05:01 AM rmu: Bushman: look at values of *feed-override* in halshow
05:01 AM rmu: look if they change and how with different knob positions and if it makes sense
05:02 AM Tom_L: which comp is it? the 04 or 06 comp?
05:03 AM Tom_L: i know the 06 one didn't work but think it got fixed
05:03 AM Bushman: the component is 06
05:03 AM Tom_L: that may be the culprit
05:03 AM Bushman: xhc-whb04b-6
05:03 AM Tom_L: right
05:03 AM Bushman: if that's what you mean
05:03 AM Tom_L: yes
05:04 AM Bushman: it was working for me bac in 2.7 with some tweaking
05:04 AM Bushman: haven't changed anything since i've got it working back then
05:05 AM Tom_L: right, i think someone did some work on that comp iirc
05:07 AM Bushman: it works out of the box now.
05:07 AM Bushman: just not as it used to
05:07 AM Bushman: :D
05:07 AM Tom_L: i don't see it listed in the 2.7 docs
05:07 AM Bushman: because it wasn't in the main trunk
05:08 AM Bushman: it was a side project back then :P
05:08 AM Tom_L: i'd check the source
05:08 AM Bushman: well, i was wondering if maybe i could just "fake it"
05:08 AM Bushman: i have all the pins i need to write some logic. i just don't know how yet
05:08 AM Tom_L: not sure without affecting something else
05:09 AM Bushman: let's say i'd need this scenario:
05:09 AM Tom_L: if you can find the source for both it may become obvious
05:10 AM Bushman: if 'continous mode' and positive edge 'feed_override_10%' then set 'somewhere_feed_override" to 10%
05:11 AM Bushman: there's like 6 positions on the knob/dial
05:11 AM Tom_L: put duct tape over the ones that don't work :)
05:12 AM Bushman: maybe i could just brute force it with some hal commands?
05:12 AM Tom_L: maybe. i haven't been down that dark road yet
05:12 AM Bushman: Tom_L: lol, i can't. all of them work. they just don't do what i want (yet)
05:13 AM Tom_L: anyway.. i think you know where to look now
05:13 AM Bushman: rmu: the feed override in hal configuration do show changes when i use the feed+/- buttons, but not when i turn the knob
05:14 AM Bushman: right know the knob does two things
05:14 AM Bushman: one: in step mode it changes the step size value
05:14 AM Bushman: that's OK
05:14 AM Bushman: two: in continous mode, it changes the speed (sort of but not really) of the MPG
05:15 AM Bushman: that's not OK as i want it to change the feed override
05:15 AM Bushman: as it used to
05:16 AM Bushman: even if i find this change in the code, it won't help me cause i don't plan on forking it and doing my own driver :D
05:16 AM Bushman: BTW this pendant has 3 modes
05:16 AM Bushman: MPG, STEP, CONT
05:16 AM Bushman: it boots in MPG
05:17 AM Bushman: and when in MPG mode the main wheel changes the feed override LOL
05:17 AM Bushman: there's a setting for that in the driver
05:17 AM Bushman: https://linuxcnc.org/docs/2.8/html/man/man1/xhc-whb04b-6.1.html
05:17 AM Bushman: but
05:18 AM Bushman: i have no idea how to go back to MPG mode after i leave it
05:18 AM Bushman: XD
05:20 AM Bushman: hal bit out whb.halui.feed.selected-2
05:20 AM Bushman: hal bit out whb.halui.feed.selected-5
05:20 AM Bushman: hal bit out whb.halui.feed.selected-10
05:20 AM Bushman: hal bit out whb.halui.feed.selected-30
05:20 AM Bushman: hal bit out whb.halui.feed.selected-60
05:20 AM Bushman: hal bit out whb.halui.feed.selected-100
05:20 AM Bushman: hal bit out whb.halui.feed.selected-lead
05:20 AM Bushman: hal bit out whb.halui.feed.selected-mpg-feed
05:20 AM Bushman: hal bit out whb.halui.feed.selected-continuous
05:20 AM Bushman: hal bit out whb.halui.feed.selected-step
05:20 AM Bushman: those are all the pins... i don't know how to get the mpg-feed pin to go high :P
05:21 AM Bushman: (all as in all related to this knob and modes)
05:53 AM JT-Cave: morning
07:25 AM Tom_L: 51F & Overcast
07:30 AM Tom_L: looks like JT may be getting wet soon
07:30 AM travis_farmer[m]: 34F, and i will be getting wet this afternoon
08:00 AM travis_farmer[m]: Hmmm, thermometer just updated to 41F... that was fast
08:01 AM TurBoss: hello 🙂
08:01 AM Tom_L: hi TurBoss
08:01 AM TurBoss: 23º c 😛
08:02 AM travis_farmer[m]: show off 🤪
08:03 AM TurBoss: 74F looks like loot of degrees
08:06 AM Unterhaus__: 74F is 533.67R if you want more degrees
08:07 AM TurBoss: lol
08:07 AM JT-Cave: 55°F ATM
08:07 AM JT-Cave: yo TurBoss
08:07 AM Unterhaus__: sorry for the unnecessary precision
08:07 AM TurBoss: 😄
08:07 AM TurBoss: JT-Cave: could not figure the joints vs ini
08:07 AM TurBoss: ☹️
08:08 AM TurBoss: spent little time
08:08 AM JT-Cave: I'm still looking at it
08:08 AM Unterhaus__ is now known as Unterhausen
08:09 AM TurBoss: so we mus loop for each axis then loop again for each joint in that axes...
08:09 AM TurBoss: easy to say..·
08:10 AM JT-Cave: lol
08:10 AM JT-Cave: I "think" I have a plan...
08:56 AM skunkworks[m]: the alignment feels really good. very happy with it.
08:57 AM skunkworks[m]: still have to convert the 3d printed bits to aluminum.
08:57 AM skunkworks[m]: I thought the Z axis was a tight fit..
08:59 AM Tom_L: might give the belt a little more clearance
09:01 AM skunkworks[m]: no.
09:01 AM Tom_L: 2 trucks delivered for 'add ons'
09:01 AM skunkworks[m]: a sheet of card stock slides in between there..
09:01 AM skunkworks[m]: more than enough clearance.. lol
09:01 AM Tom_L: heh
09:02 AM Tom_L: looked like pretty thin cardboard
09:03 AM JT-Cave: don't see any heavy stuff on radar so just a light rainy day
09:06 AM skunkworks: it was sprinkling earlier here.. I think it is supposed to rain
09:06 AM skunkworks: off and on
09:10 AM Tom_L: JT-Cave, i think the phone is set for remote login now. unless the dynamic ip changes it should be good
09:10 AM Tom_L: i hadn't updated it since switching routers
09:13 AM boozeman4562[m]: Hmm seems like Mesact do not add lines for limit switches to hal? Or it is just me. Testinä with limit switches and i have to figure out a lot of things.
09:14 AM boozeman4562[m]: Ahaa in the io.hal
09:17 AM Tom_L: that would be a good place for them :)
09:29 AM boozeman4562[m]: there's something weird with my setup now. Using in0 and in1 with pnp nc proximity sensors. limit joint0 minus and limit joint0 plus (I assume that is X-asis home and max travel limits (No matter what to choose (joint0-3 limit plus, minus both. They act like chain by default? Both limit's lids the same "leds" in hal configuration. I have to read more about this. The previous machine has one no-chain per joints (XY and UV) with micro
09:29 AM boozeman4562[m]: switches. Now I want to make homing at the minus side of the cutter XV and YU synced.
09:55 AM JT-Shop: windblows 10 is the worst pos software I've ever attempted to use
09:56 AM JT-Shop: stamps says printer is off line but I can print a test page...
09:56 AM boozeman4562[m]: All 8 limit switches wit individual lines. Maybe I can put all far end estops to same input
09:56 AM boozeman4562[m]: s/wit/with/
09:56 AM boozeman4562[m]: * All 8 limit switches with individual input lines. Maybe I can put all far end estops to same input
10:14 AM pere: <URL: https://www.softwaremaxims.com/blog/not-a-supplier > is an interesting point of view. :)
10:19 AM roycroft: the problem, pere, is that there's little real competition in the software supply chain, because there's little standardization any more
10:19 AM roycroft: someone writes a library that does something useful, and coders start using that library
10:19 AM roycroft: then someone else comes along and says "oh, that library does useful stuff, but i can do it better"
10:20 AM roycroft: and instead of just improving the library, they write a new one that is completely incompatible with the original one
10:22 AM roycroft: focusing on apis would be nice, because then multiple projects could code to the api, and if a library disappears or has a security or performance issue, it should be relatively straightforward to just drop in a different library that performs the same, or similar, functionality
10:23 AM roycroft: but the so-called "f"oss folks prefer a wild west atmosphere, where they know better than anyone else how to do things, and prefer to test their method via shoot-outs rather than collaborating with others
10:23 AM roycroft: that's my reaction to that point of view :)
10:33 AM tiwake: some of them...
10:34 AM roycroft: not all of them
10:34 AM roycroft: and perhaps not a majority of them, but a significant number of them
10:34 AM tiwake: it was more true back when slackware was popular
10:35 AM roycroft: otherwise, why would there be 17,624 forks of debian? :)
10:35 AM tiwake: meh, there is only like 15 that anyone does anything with
10:35 AM roycroft: there should be about zero
10:36 AM roycroft: anyway, my overall point is that defining standard interfaces would be good
10:36 AM roycroft: go back to the old black box model
10:37 AM roycroft: define what goes in, define what goes out, and then anyone can do the magic inside the box any way they want
10:37 AM tiwake: nothing wrong with a few debian forks for running on embedded systems, such as the raspberrypi, cellphones, watches, routers...
10:37 AM roycroft: when an average software projects uses dozens if not hundreds or thousands of third-party libraries, it's the only say way to do it
10:38 AM roycroft: but it's a mad, mad world we live in
10:39 AM tiwake: with more centeralization, the answer is obviously more wild west
10:40 AM rmu: survival of the fittest software
10:40 AM rmu: no fun in coding with/for bad apis
11:26 AM roycroft: yay~
11:26 AM roycroft: !
11:26 AM roycroft: i have vacation scheduled for the week of May 8th!
11:26 AM roycroft: i usually take a week off in april, but it was so cool and wet this april that i decided to wait
11:39 AM * Tom_L wonders where roycroft plans to go
11:39 AM Tom_L: to the wood shed?
11:40 AM Tom_L: JT-Shop, there have been a few very close runners up to win10 in that regard
11:59 AM roycroft: my spring vacation is always a staycation
11:59 AM roycroft: i get the gardens opened up, and usually work on a shop project
11:59 AM roycroft: i might head to the coast for a day trip if the weather is nice
12:00 PM roycroft: or make a day trip to portland if i feel like spending money i can't afford to spend
12:09 PM JT-Shop: nap time here
12:33 PM roguish[m]: just closed the garage door. used to do it to keep the heat in, now it's to keep the heat out..... forecast to be 90F today..
12:56 PM skunkworks: weird world we live in when I just ssh'ed into my windows pc...
01:08 PM JT-Cave: I've never tried that
01:19 PM roycroft: with recent versions of windows one can install "linux extensions" or something like that
01:19 PM roycroft: i've done it, and some things are useful
01:20 PM roycroft: but underneath it's still windows and it's still weird
01:20 PM skunkworks: yep
01:20 PM roycroft: having commands like find and grep and awk is nice, though
01:21 PM roycroft: windows depends too much on "click" and "pray" and "show me the way to do it, bill"
01:21 PM * JT-Shop just drilled a #60 hole in the ca bottle nozzle
01:21 PM skunkworks: I didn't install the linux extentions - just the openssh server windows has.
01:22 PM roycroft: i like firing up windows, clicking on the icon for the app i need to use, using the app, and then shutting down windows as soon as i'm done
01:22 PM skunkworks: I do that.. Except it is the windows VM - launch it - use it for what I need - shut it down.
01:23 PM roycroft: i don't even like doing basic housekeeping stuff like backups
01:23 PM roycroft: i just use a nas for all data storage
01:23 PM roycroft: and if something happens to the windows vm, i clone another one
01:23 PM * roycroft thinks it's about lunch time
01:25 PM * JT-Shop had popcorn for lunch
01:26 PM JT-Shop: https://youtu.be/243oW7EDWzU?t=401 interesting machine
01:30 PM roycroft: diesel is $3.56 today in junction city, which is only 10 miles north of here
01:30 PM * roycroft fueled up
01:31 PM roycroft: iirc it was $5.60 the last time i fueled, at the same filling station
01:52 PM pere: who here is interested in joining a linuxcnc workshop in Norway, 10-15 minutes drive from the main airport?
01:53 PM pere: Most likely date is 16th of June.
02:01 PM JT-Shop: roycroft, what kind of plane is this https://youtu.be/HT8U818Sqls?t=347
02:05 PM Rhine_Labs: Sup...
02:07 PM CaptHindsight[m]: pere: post that question on the ML for better results
02:12 PM bjorkintosh: a filling station?
02:12 PM bjorkintosh: Gas station!
02:22 PM JT-Shop: roycroft, another shot of that planer https://youtu.be/HT8U818Sqls?t=1466
02:32 PM bjorkintosh: https://www.flux.ai/p Your new hardware design tool. Now with an AI teammate.
02:36 PM CaptHindsight[m]: good luck with that
02:37 PM roycroft: it's a chisel plane
02:37 PM roycroft: i have a nice one from lie-nielsen
02:38 PM roycroft: https://www.lie-nielsen.com/products/chisel-plane?path=special-purpose-tools&node=4076
02:39 PM roycroft: i don't use it that much but when i need to grab it, nothing else will do the job as well
02:40 PM roycroft: bjorkintosh: my pickup burns diesel, not gasoline
02:41 PM roycroft: a gas station has gas
02:41 PM roycroft: a filling station has gasoline, diesel, and usually propane
02:59 PM CaptHindsight[m]: refined petroleum products dispensary
03:00 PM roycroft: when i was young they were commonly referred to as filling stations
03:00 PM roycroft: but this was when full service was the norm, and when many stations' attendants wore little caps and bow ties
03:00 PM roycroft: all that has gone by the wayside now
03:00 PM roycroft: along with the name 'filling station', i suppose
03:00 PM CaptHindsight[m]: what do they wear now?
03:01 PM roycroft: casual clothing, generally
03:01 PM roycroft: some filling stations have their workers in safety jumpsuits
03:01 PM CaptHindsight[m]: I tend to use self serve to avoid the interaction with the employee trapped inside
03:02 PM roycroft: i'm so glad i don't have to fuel my vehicle myself
03:03 PM roycroft: i much prefer sitting in the cab and listening to music while someone else stands outside and tends the pump
03:03 PM roycroft: sadly, that may be changing
03:03 PM * roycroft shakes his fist at gen-z, collectively
03:03 PM roycroft: young people today don't want to work, so the filling stations can't find enough attendants
03:04 PM roycroft: and as a result, our state legislature are considering allowing self-serve
03:04 PM CaptHindsight[m]: that would require me to trust the employee to not scratch the paint around the filler and properly replace the cap
03:05 PM CaptHindsight[m]: I'm sure they will work if you pay them enough
03:05 PM CaptHindsight[m]: like most people
03:05 PM * roycroft suggests capthindsight not move to oregon, at least not for a bit
03:05 PM roycroft: you'd have to drive to washington, idaho, nevada, or california to fuel your vehicle
03:06 PM CaptHindsight[m]: maybe if Oregon was in another country
03:07 PM roycroft: were that we were
03:07 PM roycroft: sometimes it would be nice
03:07 PM roycroft: i'd consider joining canada, if they would have us
03:08 PM roycroft: in fact, i have a proposal
03:08 PM roycroft: the us would trade oregon and washington to canada for alberta and saskatchewan
03:27 PM tiwake: well, I think I'm done making programs for now, time to put in tool blocks
04:09 PM JT-Shop: thanks roycroft
04:20 PM roycroft: i would not say it's a must-have plane, jt-shop, but it is very useful
04:20 PM roycroft: especially for cleaning up glue lines
04:20 PM JT-Shop: looked like it can be useful but not every day
04:21 PM roycroft: i set the blade just above the surface, and take off most of the glue bead, then use a cabinet scraper for final clean-up
04:31 PM * Tom_L whet's JT-Shop's appetite a bit: http://tom-itx.no-ip.biz:81/~webpage/temp/trucks/23_C8.jpg
04:31 PM Tom_L: only one on the floor
04:32 PM JT-Shop: wrong color :)
04:32 PM Tom_L: yeah
04:32 PM Tom_L: that one was like 118.
04:33 PM JT-Shop: yup it has a custom interior
04:33 PM JT-Shop: prob a Z51 too
04:33 PM Tom_L: i personally didn't like it
04:33 PM JT-Shop: was that the msrp
04:33 PM Tom_L: yeah
04:34 PM Tom_L: they didn't have any allocated but said they'd be glad to put me on the list
04:34 PM JT-Shop: cars like that are why I never liked them until I saw the Elkhart Lake Blue one
04:34 PM Tom_L: i like the blue
04:36 PM JT-Shop: we were at Lowes a couple of years ago and one parked near us and the wife asked me what it was... I had to get out and go look it was so ugly lol
04:36 PM Tom_L: heh
04:38 PM roycroft: i was at the home depot today, and some guy parked next to me and started giving me grief
04:38 PM roycroft: our home depot has tiny parking slots that are for compact cars and smaller
04:39 PM * Tom_L thinks grief follows roycroft
04:39 PM roycroft: i had to use the trailer parking area because otherwise my pickup would have stuck out halfway into the road
04:39 PM roycroft: this guy was in a little honda with a tiny 4x6 trailer
04:39 PM roycroft: he told me i couldn't park there because it was for trailers only
04:40 PM Tom_L: did he work there?
04:40 PM roycroft: i pointed out to him that my pickup was almost as long as his car + trailer
04:40 PM roycroft: no
04:40 PM Tom_L: tell him to mind his business
04:40 PM roycroft: that didn't seem to matter to him
04:40 PM roycroft: i just walked away from him after that
04:40 PM Tom_L: he had a piece to say and was gonna say it anyway
04:40 PM roycroft: and for the record, there were plenty of other trailer spaces
04:41 PM roycroft: and i was only there for 5 minutes
04:44 PM roycroft: i could have done what most pickups seem to do - pull into the loading area, park there, and then shop for an hour before buying a couple things
04:48 PM XXCoder: geez. its not disability parking, its not reserved
04:50 PM roycroft: the trailer part is also in the "pro" parking area
04:51 PM roycroft: i am a registered "pro" with them
04:51 PM roycroft: which has mostly to do with credit card terms and discounts/promos
04:51 PM roycroft: i doubt mr honda is a "pro"
04:51 PM roycroft: so arguably i had more of a right to be there than him
05:34 PM Unterhaus_: considering most of the pros around here are hacks, I don't really respect their parking spaces. But the local hd has plenty of parking spaces including in the pro area
05:35 PM Unterhaus_: no hd employee is going to say not to park in one of their loading spots, although one of the hacks made a comment about me once
08:20 PM Tom_L: pretty cool open house at one of the kid's work
08:45 PM roycroft: i got my laser enclosure parts cut out again today
08:45 PM roycroft: this time the fit, and are thinner and lighter
08:47 PM roycroft: what doesn't fit are any of my shorts - i have to shed my winter weight, and fast
08:47 PM roycroft: it was bloody hot breaking down mdf
09:48 PM Tom_L: spandex :)
10:06 PM roycroft: i'm not going there
10:07 PM Tom_L: heh
10:10 PM Tom_L: got to visit the HVAC engineering test lab torture chambers this evening... pretty cool
10:12 PM Tom_L: well the whole test facility but that's the area the kid works
10:15 PM roycroft: that sounds like fun
10:15 PM Tom_L: -40 - +125F and beyond
10:16 PM Tom_L: or any other enviromental condition
10:17 PM Tom_L: it was fun for me because i'm so used to seeing cnc machines etc this was something new
10:18 PM * roycroft likes new things
10:36 PM Tom_L: ok, server all cleaned out
10:36 PM Tom_L: wasn't too dusty..
10:53 PM Tom_L: .
11:01 PM Tom_L: seems having a bad credit report pays off now. https://www.newsweek.com/biden-raises-costs-homebuyers-good-credit-help-risky-borrowers-1795700