#linuxcnc Logs

Aug 12 2024

#linuxcnc Calendar

04:20 AM JT-Cave: morning
04:36 AM Tom_L: morning
05:03 AM Deejay: hi
05:11 AM lcnc-relay: <Travis Farmer> Morning
07:25 AM rdtsc-wk: Mornin'. JT, maybe add that Qt Designer can be started from the terminal with `designer &'. Many LCNC users will already have a terminal open for testing LCNC. https://www.gnipsel.com/linuxcnc/flexgui/designer.html#installing-the-qt-designer
07:32 AM JT-Cave: what does the ampersand do?
07:33 AM rdtsc-wk: spawns it as a separate process, giving the prompt back to the user
07:33 AM JT-Cave: cool
07:34 AM JT-Cave: designer-qt6 installs but is not in the path so it's a pain to use
07:35 AM JT-Cave: you have to start it with /usr/lib/qt6/bin/designer
07:35 AM JT-Cave: there is one issue using designer 5 with bold fonts
07:38 AM rdtsc-wk: hmm, could add that to the system path via adding this to the end of ~/.bashrc: export PATH="$PATH":'/usr/lib/qt6/bin' and then restart or do a source ~/.bashrc
07:44 AM JT-Cave: https://bugs.launchpad.net/ubuntu/+source/qtchooser/+bug/1964763
07:45 AM rdtsc-wk: wow a major bug, >2 years ago, with no resolution
07:45 AM JT-Cave: yup it sucks
07:46 AM rdtsc-wk: qt5 designer it is, lol
07:47 AM JT-Cave: the only issue I know of is bold fonts with qt5 designer
07:47 AM JT-Cave: https://stackoverflow.com/questions/78572115/bold-qlabel-font-with-pyqt6-from-ui-file
07:48 AM JT-Cave: https://bugreports.qt.io/browse/QTBUG-126087
07:50 AM rdtsc-wk: I think there's some major differences in Qt 6.x which are not fully back-ported. Installed a tool called xxdiff and got a very weird locale error. Researching it, lots of other users are seeing the error but only on Qt 6.7.x
07:51 AM rdtsc-wk: 5 seems like the way to go, lol
07:51 AM rdtsc-wk: bugs = squashed
07:53 AM Tom_L: just enough moisture to settle the dust here
07:54 AM JT-Cave: light rain when I got to the highway so I just came home
08:01 AM rdtsc-wk: mornin Tom. Past two mornings have been crisp here - 60F - i'll take it after the weeks of 90's+
11:42 AM JT-Cave: https://pasteboard.co/HTG390lUnQat.png
11:46 AM JT-Cave: https://pasteboard.co/ocXTjaQaZ6CG.png
11:48 AM JT-Cave: https://pasteboard.co/7YQht33anq7p.png
12:01 PM lcnc-relay: <skunkworks8841> neat!
12:16 PM Tom_L: cool
12:19 PM Tom_L: i started one but dunno how to hook to python or code it
12:19 PM Tom_L: was messin last night with it
12:20 PM Tom_L: did a spreadsheet with them
12:22 PM JT-Shop: yup I got your spreadsheet
12:22 PM Tom_L: oh
12:23 PM JT-Shop: all you have to do is drag and drop a widget or frame and give it the secret name and you have a fsc
12:23 PM JT-Shop: nap...
12:23 PM Tom_L: https://www.makino.com/resources/content-library/videos/archive/mag-3-5-axis-horizontal-machining-of-a-deep-pocket-at-300-cu-in-in-an-aluminum-aerospace-part/188
12:23 PM Tom_L: cnc pron
12:23 PM Tom_L: what 175hp spindle will do
12:25 PM lcnc-relay: <skunkworks8841> and a very solid machine...
12:25 PM Tom_L: that's what my kid runs
12:26 PM Tom_L: a 4 cnc workcell
12:26 PM Tom_L: that one may not be an 'EX'
12:26 PM lcnc-relay: <skunkworks8841> certainly don't want to coolant to shut off...
12:26 PM Tom_L: no
12:26 PM lcnc-relay: <skunkworks8841> lol.. Hmm - that sounds different..
12:27 PM lcnc-relay: <skunkworks8841> checks to find a molten pile of aluminum on the table.
12:29 PM Tom_L: they do run some dry
12:29 PM Tom_L: https://www.youtube.com/watch?v=aKZTawM5y9k
12:29 PM Tom_L: short
12:34 PM Tom_L: https://www.youtube.com/watch?v=x_wUjIuWY8k
12:34 PM Tom_L: sales pitch
12:35 PM Tom_L: shows the size of the fixture plates
12:35 PM Tom_L: there's 20 on his cell
12:43 PM Tom_L: JT-Shop, will be even cooler when i get to try it !
01:27 PM -!- #linuxcnc mode set to +v by ChanServ
02:04 PM lcnc-relay: <JT> ...
02:10 PM * rdtsc-wk raises one eyebrow...
02:16 PM xxcoder: seems people donated enough money to keep millenium machine going
02:16 PM xxcoder: thats awesome
02:35 PM lcnc-relay: <Bea Nance> hi ya'll! i am about to embark on reverse-engineering the protocol for a J3 mitsubishi servo motor (HF-KP053) - i've been doing some searching and it looks like maybe fdarling#0 has already done this? sorry for the ping.
02:37 PM lcnc-relay: <bwnance> oh, that pinged forest in the discord. sorry! i'm gonna hop off of the matrix client if the bridge works ok, then.
02:38 PM lcnc-relay: <bwnance> oh, it looks like i maybe should have looked further into that conversation - https://www.cncwiki.org/index.php?title=Mitsubishi_OSE104_Serial_Encoders#Protocol
02:39 PM lcnc-relay: <bwnance> i don't think that will necessarily be directly portable, but at the very least, they probably use similar protocols.
02:55 PM mrec: bwnance: do you plan to wire up the encoder directly with linuxcnc?
02:55 PM lcnc-relay: <bwnance> no, this is a project that's fairly unrelated to linuxCNC, but this seemed to be where the knowledge around thee encoders is
02:55 PM lcnc-relay: <bwnance> * these
02:56 PM xxcoder: its good to go where people who know is at :D
02:57 PM mrec: I'm only working on the MDS-B2 series at the moment
02:59 PM Tom_L: JT-Shop, i updated the spreadsheet a bit
03:00 PM Tom_L: so you basically have 2 methods. chipload or feedrate
03:00 PM Tom_L: i base most of mine off chip load
03:00 PM Tom_L: mine meaning my cutter feeds
03:00 PM lcnc-relay: <bwnance> i'm specifically working on a translation board to interface one of these mitsubishi servo encoders with a tmc4671 driver (for 3d printing, primarily)
03:02 PM mrec: the osa104 should have the firmware on an eeprom
03:02 PM mrec: you might download and decode it
03:02 PM lcnc-relay: <bwnance> my encoder is a PE014B
03:17 PM lcnc-relay: <bwnance> but yeah, looks like i have an eeprom
03:17 PM mrec: I have an OSA104, but I only replaced it because the one installed in the machine was unstable.
03:17 PM mrec: probably I did not clean it good enough, I cleaned it 3 times after each time cleaning I reinstalled it it was okay for a day but then again .. the table crashed against the Z axis cover the first time
03:17 PM lcnc-relay: <bwnance> yeah. so my other option that i do have working, was ripping out the encoder on the servo and replacing it with something else - the mt6835 magnetic encoder has been working for now. but given that these are 18 bit encoders, it would be really nice to use them 😅
03:17 PM mrec: the second time it crashed against the bearings at the front, I just replaced it with a new part afterwards and never had those issues anymore
03:17 PM lcnc-relay: <bwnance> yeah, i have one taken out that is now most likely not gonna go back in due to dirt
03:39 PM rdtsc-wk: @mrec unsure what brand encoder is in yours, but I've seen Heidenhain declare certain runs defective from OEM
03:40 PM rdtsc-wk: Had seven Ultract motors with Heidenhain encoders, all were bad... technically they worked fine, just their signal level was on the verge of not-being-detected, which caused them to conk out occasionally
03:41 PM mrec: Mitsubishi OSA104
03:41 PM mrec: they worked after cleaning them for some time (but that was usually after the crash) it could also be an issue with the supercap
03:41 PM mrec: that device is 20 years+ old and the encoder disc was foggy as well
03:42 PM mrec: I cleaned 3 encoders with isopropyl alcohol, 2 worked, one was unreliable the fault came back a few days later
03:42 PM mrec: after swapping the Y axis encoder it went back to normal - long term.
03:43 PM rdtsc-wk: seeing some on eBay for about $200
03:49 PM bjorkint0sh: nuts! so cool! https://www.youtube.com/shorts/hwtbnejYC0A
03:53 PM JT-Shop: prob only last 15 minutes even with a big battery
03:55 PM mrec: I got it fro 100$
03:55 PM mrec: for*
03:55 PM mrec: close to everything on ebay is overpriced scam
03:56 PM mrec: (Mitsubishi related)
03:59 PM Tom_L: JT-Shop, i updated the spreadsheet a bit
03:59 PM JT-Shop: link?
04:00 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/
04:00 PM Tom_L: so you basically have 2 methods. chipload or feedrate
04:01 PM JT-Shop: isn't that what was in the last one?
04:01 PM Tom_L: yes but i combined the SFM
04:01 PM JT-Shop: ah ok missed that
04:01 PM Tom_L: you just add diameter to each one
04:01 PM Tom_L: a little simpler
04:02 PM Tom_L: if you leave diam blank you get a zero divide error and i dunno how python handles that
04:03 PM Tom_L: think i'll get a bday steak tonight
04:03 PM JT-Shop: dia and flutes only need to be in one place
04:04 PM bjorkint0sh: JT-Shop: but it's perfect for showing off at parties when everyone is standing around holding a rapidly warming beer, half bored, and then you bring that out.
04:04 PM bjorkint0sh: everyone will want to be your friend.
04:04 PM bjorkint0sh: everyone will want a go!
04:05 PM Tom_L: jt, that's true
04:06 PM JT-Shop: and rpm
04:09 PM Tom_L: i wasn't sure how to do the formulas so it was an either/or for feed/chipload
04:09 PM Tom_L: my cad will adjust no matter what input you change
04:10 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/tooldata2.jpg
04:13 PM Tom_L: IPM updates IPT and vise versa
04:13 PM Tom_L: on the fly
04:31 PM Tom_L: JT-Shop, take a look at feedcalc2
04:36 PM Tom_L: i kinda like that layout
04:37 PM Tom_L: unless you can figure out how to get them to update each other
04:45 PM mozmck: I'm looking to do communications through a mesa board to a custom board, and trying to figure out the best method. Anyone know the strengths/weaknesses of (D)BSPI vs pktuart vs smart-serial?
07:40 PM pcw-home: mozmck: real time? Local or distant?
08:05 PM lcnc-relay: <skunkworks8841> mozmck: !
10:05 PM roycroft: i got about 1/3 of my garden tool shed built today
10:05 PM roycroft: enough that if it gets a bit breezy it won't be damaged
10:06 PM xxcoder: nice
10:06 PM * roycroft hasn't built one of those metal shed kits in decades, and had forgotten how they don't go together as easily as one would anticipate
10:06 PM roycroft: but about 5 minutes into assembly i remembered :)
10:07 PM roycroft: so i changed it from a two afternoon project to a three afternoon project
10:07 PM roycroft: but yeah, it will be nice when it's done
10:07 PM roycroft: i have some lawn and garden stuff in my shop, and i'd like to get it out of there
11:12 PM NoSpark_: is there a way to label a hardware pin in the hal, and still use it in another net?
11:23 PM NoSpark_ is now known as nospark
11:23 PM lcnc-relay: <satiowadahc> Alias
11:23 PM nospark: wow, how have I managed to use lcnc for over a decade, and not seen this?!?!
11:23 PM lcnc-relay: <satiowadahc> https://linuxcnc.org/docs/html/man/man1/halcmd.1.html#COMMANDS