#linuxcnc Logs

Jun 03 2025

#linuxcnc Calendar

12:15 AM lcnc-relay: <meisterdippel@> moin
12:55 AM Deejay: moin
04:38 AM Tom_L: morning
04:48 AM -!- #linuxcnc mode set to +v by ChanServ
04:59 AM lcnc-relay: <z3rni3@> Morning
06:52 AM lcnc-relay: <miniwini@> Moin
07:13 AM rdtsc-w: xxcoder, check out Zamak for casting, https://en.wikipedia.org/wiki/Zamak
08:40 AM lcnc-relay: <Lcvette> who in here use G96 CSS on their lathe?
09:11 AM lcnc-relay: <die_limonade@> I did use it, but the lathe is not operational right now
09:14 AM lcnc-relay: <skunkworks8841@> I have used it.. but currently same...
09:14 AM roycroft: i would use it if i had a cnc lathe
09:15 AM lcnc-relay: <skunkworks8841@> https://www.youtube.com/watch?v=tlEGmAbvuZs
09:17 AM roycroft: (but not all the time)
09:25 AM JT-MShop: I used to use it
09:38 AM lcnc-relay: <Lcvette> i am getting some odd behaviopr, but i assume it is from the sim setup somewhere, just can't find it, anytime the spindle speed tries to go above 1250, it stops displaying speed and just sits at -1250 in the rpm dro
09:38 AM lcnc-relay: <Lcvette> D is set to 2000
09:38 AM lcnc-relay: <Lcvette> so should allow up to 2k
09:39 AM lcnc-relay: <Lcvette> but then i saw any rpm call above 1250 seems to lock the dro to -1250 for some reason
09:39 AM lcnc-relay: <Lcvette> so thinking its configuration issue
09:50 AM rdtsc-w: well, 1250 is 0x4E2 or 0100_1110_0010 binary; acting like anything over that is overflowing something
10:04 AM lcnc-relay: <Lcvette> this is the file for simulated lathe, i don't see anything in there and this seems to be the only file with encoder settings in the sim lathe hal calls
10:04 AM lcnc-relay: <Lcvette> https://github.com/kcjengr/probe_basic/blob/main/configs/probe_basic_lathe/hallib/simulated_lathe.hal
10:04 AM lcnc-relay: <Lcvette> rdtsc-w: ^^^
10:12 AM -!- #linuxcnc mode set to +v by ChanServ
10:13 AM -!- #linuxcnc mode set to +v by ChanServ
10:14 AM -!- #linuxcnc mode set to +v by ChanServ
10:44 AM lcnc-relay: <skunkworks8841@> what speed is your base thread? Could that be limiting it?
10:47 AM lcnc-relay: <skunkworks8841@> (can you run the spindle faster than 1250 in mdi?)
10:54 AM lcnc-relay: <Lcvette> np
10:54 AM lcnc-relay: <Lcvette> no, caps at 1249
10:54 AM lcnc-relay: <Lcvette> at 1250 it turns negative and sits unchanging
11:12 AM JT-MShop: nap time
12:14 PM rdtsc-w: Lcvette, noticed in the file that "setp limit_speed.maxv 500.0 # rpm/second" --> 250% of that is 1250
12:15 PM lcnc-relay: <Lcvette> checking
12:26 PM lcnc-relay: <Lcvette> getting some odd status behavior, not sure if it is normal or not
12:26 PM lcnc-relay: <Lcvette> when running in G96, if i issue a move in x, status updates to G97 mode, but it moves in G96 mode
12:26 PM lcnc-relay: <Lcvette> as expected
12:37 PM roycroft: odd
12:38 PM roycroft: g97/g97 are toggles, and should not change until you explicitly toggle the non-active one
12:38 PM roycroft: which is the movement behavior you are experiencing
12:38 PM roycroft: but the status behavior is bizarre
12:39 PM roycroft: er, g96/g97
12:39 PM roycroft: but you figured out my typo, i'm sure :)
12:39 PM * roycroft just got new keyboard and thinks now would be a good time to swap it in, and hopefully experience fewer missed characters/other typos
12:40 PM -!- #linuxcnc mode set to +v by ChanServ
12:40 PM roycroft: most of my typos i can only blame on myself, though, so please do not expect perfection after the swap
12:40 PM xxcoder: rdtsc-w: interesting
12:45 PM roycroft: well this is better
12:46 PM roycroft: i don't expect my typing to ever be much more perfect than dear leader's phone calls, though
12:46 PM roycroft: but i'll try to do better
12:48 PM lcnc-relay: <Lcvette> roycroft: yeah its wierd. i noticed because i have tied some button display settings to linuxcnc 2 of which are G96 and G97, but it doesn't work as expected because the status channel changing to G97 very odd
12:49 PM roycroft: i really don't think that should be happening
12:50 PM roycroft: but i also know that i'm not qualified at this point to help debug it
01:06 PM rdtsc-w: 2.9.4 or dev version?
01:06 PM lcnc-relay: <skunkworks8841@> I think you are seeing the issue with read-ahead. If you issue a g96 - it is canceled by G97 or spindle off.
01:06 PM lcnc-relay: <skunkworks8841@> so the read-ahead sees the spindle off and changes the active gcodes.
01:08 PM lcnc-relay: <Lcvette> skunkworks8841@: this is in mdi mode
01:08 PM lcnc-relay: <Lcvette> There is no code further down that would change it
01:11 PM lcnc-relay: <Lcvette> rdtsc-w: 2.9.4
01:23 PM roycroft: what i would probably do, if you've not tried this yet, is to go into conversational mode
01:23 PM roycroft: issue the g96, then the x move, and wait
01:23 PM roycroft: see if your g97 sensor indicates
01:24 PM roycroft: if not, then go back to your original code, and single-step until the indicator comes on
01:25 PM roycroft: or do something similar
01:27 PM lcnc-relay: <Lcvette> in my testing, the spindle remains running at the end of motion and subsequent motion moves occur in G96 with spindle rm changing based on the d and s words in the original g96 call, this behavior is as expected but the change in status to G97 is certainly incorrect from my perspective at least.
01:28 PM lcnc-relay: <Lcvette> https://youtu.be/_yNNuBL59BA
01:28 PM lcnc-relay: <Lcvette> video showing the issue
01:33 PM lcnc-relay: <Lcvette> not sure if that is helpful or not?
01:33 PM lcnc-relay: <Lcvette> my thinking is status should display the currently active G/M codes as its a "status" channel
01:34 PM lcnc-relay: <Lcvette> if this is changing because of interperetor run through, i can see that but once it completes and is running live code I would think the live status should follow the active codes
01:44 PM lcnc-relay: <skunkworks8841@> sure - but I don't think active codes are 100%.. I know I have run into it. I think tormach went to great lengths to get that working and that code base didn't make it into linuxcnc - yet
01:45 PM lcnc-relay: <skunkworks8841@> I can't remember what it was called
01:46 PM Tom_shop is now known as Tom_L
01:47 PM lcnc-relay: <skunkworks8841@> State tags!
01:47 PM lcnc-relay: <skunkworks8841@> iirc
01:48 PM Tom_L: do not drive warnings... heavy rain
01:49 PM Tom_L: guess where i've been :)
01:49 PM lcnc-relay: <skunkworks8841@> Really? no driving for heavy rain?
01:49 PM Tom_L: i haven't seen it this heavy in quite a while
01:49 PM xxcoder: hey tom you stole the rains from us!
01:49 PM xxcoder: it was supposed to rain here today but its sunny lol
01:50 PM Tom_L: practically everybody was driving with their flashers on
01:50 PM lcnc-relay: <skunkworks8841@> wow
01:50 PM Tom_L: which i think is more distracting since you can't tell if one might be changing lanes
01:50 PM Tom_L: kids these days...
01:51 PM Tom_L: haven't checked the rain gage yet
01:52 PM Tom_L: well, i should have been home by 11:30 and just now got here
01:53 PM Tom_L: 1:45
01:56 PM lcnc-relay: <Lcvette> skunkworks8841@: interesting, I will take a look. aren't they supposed to release that sort of thing back to linuxcnc being opensource?
01:58 PM roycroft: if they modify the gpl'ed code they need to give it back
01:58 PM roycroft: if they write their own ancillary code it's not required
01:58 PM lcnc-relay: <skunkworks8841@> https://github.com/LinuxCNC/linuxcnc/tree/feature/state-tags-master
01:58 PM lcnc-relay: <skunkworks8841@> I don't know how far along it was. I remember there being issues with it and GUI's or such
01:59 PM Tom_L: i remember hearing talk about state tags...
01:59 PM Tom_L: and then i didn't....
02:01 PM Tom_L: i would go out to the shop and tune some more but i might drown on the way there
02:09 PM lcnc-relay: <skunkworks8841@> lol
02:09 PM Tom_L: hah, rain gage goes to 5" and the float is tipping out of it's container
02:09 PM Tom_L: since this morning
02:09 PM lcnc-relay: <skunkworks8841@> wow
02:11 PM Tom_L: i haven't been by the floodway today but i bet it's filling up
02:11 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/temp/Flood/Flood_canal2.jpg
02:12 PM Tom_L: i've seen it over it's banks maybe 2x since i've lived here
02:12 PM Tom_L: usually that is dry
02:31 PM rdtsc-w: houseboat may be the way to go anymore
02:49 PM JT-Mobile: Yo
03:07 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/temp/Flood/2025/high_water4.jpg
03:09 PM xxcoder: nice boating
03:20 PM xxcoder: aqi went up here a little bit
03:20 PM xxcoder: sucks
03:31 PM xxcoder: ev truck tom?
03:32 PM Tom_L: not a chance in hell
03:32 PM xxcoder: ah wondered with that large display
03:33 PM Tom_L: pretty normal for GM
03:33 PM xxcoder: ok
03:33 PM xxcoder: I hope to have ev evenually
03:33 PM Tom_L: one in the center too
03:34 PM xxcoder: theres couple incoming ones that loks interesting. like talo and slate
03:35 PM Tom_L: as stupid as drivers are today why would i try to save anything for em?
03:35 PM Tom_L: ;)
03:35 PM xxcoder: save what?
03:35 PM Tom_L: the planet
03:35 PM xxcoder: ah well my rationale for getting ev isnt really "save the world" though bit of it is
03:36 PM rdtsc-w: energy must come from somewhere... still using some fossil fuels
03:36 PM xxcoder: depends on where
03:36 PM xxcoder: here depends heavily on dam
03:37 PM Tom_L: just moving the polution to a more concentrated location imo
03:37 PM Tom_L: and keeping the mfg busy
03:37 PM rdtsc-w: would need a lot of home solar panels to support an electric car, although that is inticing
03:38 PM Tom_L: i'll just have one of those windmills stuffed in my back yard
03:38 PM xxcoder: I recently read about new battery tech that massively increases amount of power
03:39 PM xxcoder: if that comes to be, then vehicles can be quite a lot lighter for same range
03:39 PM Tom_L: until i can pull in and fill up in under 5 min like i currently can i'm not interested
03:39 PM Tom_L: and travel the same distance
03:40 PM Tom_L: maybe ok for grandma going to the store on saturday morning
03:41 PM xxcoder: same distance is already here. charging yeah still a thing. 30 min or so
03:41 PM xxcoder: I would be fine, because nearly all my drives is short distance
03:41 PM Tom_L: in this fast paced world who has time and as i understand it, half those charge stations are broke
03:41 PM Tom_L: or vandalized
03:42 PM rdtsc-w: I'd need many solar panels... 30min drive twice a day minimum
03:42 PM xxcoder: it was like that yeah. aging wheels guy did a year later test, and most of problems he ran into, he didnt
03:42 PM Tom_L: i'm sure it's not going away but i'm not ready to jump on board
03:42 PM xxcoder: yeah its always down to personal choice :)
03:43 PM xxcoder: just dont get cybertruck as your first ev truck lol. heard lot of horrors
03:43 PM rdtsc-w: keep hearing about improved batteries and improved solar panels... but production is 10-15yr behind development
03:43 PM xxcoder: yup, if it even gets to prod
03:43 PM xxcoder: battery news is notiously bad on that
03:44 PM xxcoder: https://www.theverge.com/news/665223/gm-lmr-ev-battery-chemistry-range-miles
03:44 PM Tom_L: https://www.youtube.com/watch?v=JqESbJKpUHs
03:44 PM xxcoder: on I talked about
03:45 PM xxcoder: front steel plate is glued on btw lol
03:45 PM Tom_L: not painted either
03:45 PM xxcoder: reminded me of that old movie with scummy used car dealer gluing bumper on
03:45 PM Tom_L: that's what i heard anyway
03:45 PM xxcoder: "isnt that unsafe?" "not for me!"
03:46 PM rdtsc-w: it would be nice, if an EV battery fire were detected, that the whole battery tray was jettisoned away from the vehicle, say behind. Hope nobody was parked behind you lol
03:47 PM Tom_L: fck em, that's what they get for tailgating
03:47 PM xxcoder: most companies batteries is heavily designed against fire
03:47 PM Tom_L: i know fire departments hate teslas
03:47 PM rdtsc-w: still see the occasional one though... and fire-fighting it is dangerous
03:47 PM Tom_L: too hard to get into
03:47 PM Tom_L: and impossible to extinguish
03:48 PM xxcoder: I wont get into back of telsa truck. if it loses power, you literally cant go out.
03:48 PM rdtsc-w: if it was "ejected", might save the vehicle and make extinguishing it easier perhaps
03:48 PM xxcoder: and one of ponental power loss is fire.
03:51 PM lcnc-relay: <meisterdippel@> Panasonic/Rexroth Servo : https://www.youtube.com/shorts/X3PZUS_JLVA
03:54 PM Tom_L: is that ethercat?
03:59 PM lcnc-relay: <meisterdippel@> no, RIO over UDP
04:46 PM lcnc-relay: <skunkworks8841@> Rained pretty good for a bit . Not 4"
04:48 PM Tom_L: well she did want me to fill the bird bath yesterday...
05:04 PM xxcoder: free water even