#linuxcnc Logs

Apr 29 2024

#linuxcnc Calendar

12:00 AM mrec: those japanese who wrote this homing stuff are braindead
12:33 AM Deejay: moin
12:33 AM jpa-: mrec: some controllers move in other direction if the home switch is stuck in "on" position; smart systems have some limit like maximum 10 mm and stop if the home switch doesn't react
12:46 AM mrec: I removed X / Z endstops because they aren't good so I just tested it with Y (where the endstops are still good) and it runs against the endstops and triggers an alert
12:46 AM mrec: homing with linuxcnc is very clear
12:46 AM mrec: and it's documented in a way someone can understand but mitsubishi should be more than ashamed with what they have there
12:47 AM mrec: eg. there are incremental encoders installed
12:47 AM mrec: how comes after restarting the system reports machine position 0/0/0 .. that shouldn't be it can read the incremental encoder any time
12:47 AM mrec: the incremental position on the encoder is battery backed
12:48 AM mrec: that makes 2 absolute nonsense things about the Meldas system now the battery and the homing integration
01:10 AM jpa-: is the battery working?
01:11 AM jpa-: i had one system where i replaced the backup battery and it still would lose position; turned out the battery contacts had corroded just enough to break contact (apparently due to fumes, because there was no visible battery leakage)
01:13 AM mrec: ya the battery is ok settings are all there after restarting
01:13 AM mrec: I start to hate this machine for that nonsense documentation
01:13 AM mrec: reading thousands of pages and yet still they aren't able to document homing properly
01:21 AM mrec: no homing no automatic tool changer. Mitsubishi told us they will send us another homing documen
01:21 AM mrec: maybe now it's the time to capture the X/Y/Z lines and move it to linuxcnc
02:04 AM -!- #linuxcnc mode set to +v by ChanServ
04:30 AM Tom_L: morning
04:30 AM Tom_L: mrec, fun times?
04:32 AM Tom_L: JT-Cave, if you add column parameters to TOOL_EDITOR in the ini, it crashes lcnc when you try to edit the tool table
04:34 AM Tom_L: TOOL_EDITOR = tooledit (with no parameters) is ok
04:35 AM Tom_L: JT-Cave, http://paste.debian.net/1315461/
04:36 AM Tom_L: using flexgui on real hardware
04:36 AM Tom_L: starts up with axis & same config except display changes
04:39 AM Tom_L: path issue?
05:03 AM lcnc-relay: <travis_farmer> Morning
05:07 AM mrec: I figured out my issues
05:07 AM mrec: dead Y switch, I toggled the IO manually in the cabin (just for testing)
05:08 AM mrec: X/Y I cleaned but did not install, another issue is the corrupted backup from the manufacturer, I need to fix some values in it (no big deal)
05:08 AM mrec: X/Z I mean
05:08 AM mrec: Y is not cleaned yet
05:08 AM mrec: Y is exactly below the crosstable it seems
05:10 AM mrec: and then... I get this one https://s3.amazonaws.com/i.snag.gy/2SvElG.jpg
05:10 AM mrec: Spindle cooled unit alarm ... thank you meldas :-(
05:15 AM JT-Cave: morning
05:16 AM JT-Cave: File "/home/cnc/linuxcnc/configs/NEW_MILL/./remap.py", line 3, in <module>
05:16 AM JT-Cave: from stdglue import *
05:16 AM JT-Cave: ModuleNotFoundError: No module named 'stdglue'
06:14 AM JT-Cave: Sweet Pea died last night... down to 4 hens now
06:54 AM Tom_L: the stdglue thing is there though
06:54 AM Tom_L: sry to hear about your pets
06:57 AM Tom_L: not sure if line 37 is a clue or not
06:59 AM JT-Cave: 37 seems normal to me
06:59 AM JT-Cave: she was 6 years and 8 months old
07:00 AM Tom_L: within their normal lifespan?
07:01 AM Tom_L: wasn't sure about 37 since flex started on 36
07:09 AM Tom_L: stdglue resides in the remap_lib folder under nc_files
07:11 AM Tom_L: python-stdglue folder
07:14 AM Tom_L: in a bit i'll set up the 7i80 to run on the amd as well. ^^ was on the rpi since i was setting it up to test on the mill
07:23 AM JT-Cave: yup chickens live up to 10 years sometimes
07:24 AM Tom_L: we are pet less now
07:24 AM JT-Cave: we still have the 3 cats but Oreo is getting pretty old
07:24 AM Tom_L: put the beagle down right before the trip
07:25 AM Tom_L: when they were young: http://tom-itx.no-ip.biz:81/~webpage/temp/misc/puppy2.jpg
07:26 AM Tom_L: italina greyhound & beagle
07:26 AM Tom_L: sp...
07:26 AM Tom_L: still half asleep
07:33 AM Tom_L: ok eth set up for 7i80 on the amd
07:33 AM JT-Cave: the Cinnamon Queens are 4 years old today and I only have 3 left of the original 12
07:34 AM Tom_L: copying the configs over now so they're the same
08:04 AM Tom_L: i _get_ to go on a kindergarten fieldtrip here in a bit :)
08:05 AM Tom_L: for what i didn't post of the config it's here: http://tom-itx.no-ip.biz:81/~webpage/cnc/configs/NEW_MILL_SHOP_2.8.4/
08:06 AM Tom_L: the only changes were the 7i80 driver & flex ui
08:07 AM Tom_L: that last post has both xyz and xyza configs
08:07 AM Tom_L: i can do more checking later on
08:16 AM JT-Cave: ok
08:17 AM Tom_L: the configs should be ok though
08:30 AM Tom_L: line 3 says: from stdglue import *
08:37 AM -!- #linuxcnc mode set to +v by ChanServ
08:38 AM Tom_dev: [PYTHON]
08:38 AM Tom_dev: PATH_APPEND= /home/tom/linuxcnc/nc_files/remap_lib/python-stdglue/
08:38 AM lcnc-relay: <turboss> ^
08:39 AM Tom_dev: gets me here: http://paste.debian.net/1315501/
08:39 AM lcnc-relay: <turboss> i was about to say that
08:39 AM Tom_dev: ln 207
08:40 AM Tom_dev: net spindle-rpm => pyvcp.spindle-speed pyvcp.spindle-speed1
08:40 AM Tom_dev: 5 in the hal file
08:42 AM Tom_dev: # spindle-rpm connects in postgui.hal
08:42 AM Tom_dev: net spindle-rpm <= abs.1.out
08:42 AM Tom_dev: main hal file
08:42 AM Tom_dev: for spindle rpm display iirc
08:43 AM Tom_dev: is the pyvcp pannel interferring with flex?
08:43 AM Tom_dev: since it's in axis but not in flex
08:44 AM Tom_dev: maybe all the postgui.hal needs to go?
08:44 AM Tom_dev: all the pyvcp widgets wouldn't be there in flex
08:44 AM mrec: does anyone have experience with oil chillers for spindles?
08:44 AM mrec: I wonder which price range I have to expect in that area
08:45 AM lcnc-relay: <travis_farmer> if pyvcp is not loaded, the pins are missing. sounds like you need to do some commenting out
08:45 AM lcnc-relay: <zincboy_ca_on> New or used?
08:45 AM Tom_dev: $200 - $6000?
08:46 AM Tom_dev: https://www.amazon.com/AH0608TL-CA-hydraulic-machine-industrial-exchanger/dp/B09X9BMY9C
08:46 AM Tom_dev: https://eisenm.com/products/spindle-oil-cooler-oil-chiller-for-cnc-12000-btu-habor-hbo-750psa-220v-3ph
08:48 AM Tom_dev: a copper coil in a bucket of ice water is practically free
08:48 AM Tom_dev: http://tom-itx.no-ip.biz:81/~webpage/cnc/Mill_Steel/Assembly/spindle_cooler/Cooler3.jpg
08:48 AM Tom_dev: http://tom-itx.no-ip.biz:81/~webpage/cnc/Mill_Steel/Assembly/spindle_cooler/Cooler5.jpg
08:49 AM Tom_dev: getto but it did work fantastic
08:49 AM Tom_dev: i've since moved on...
08:51 AM lcnc-relay: <zincboy_ca_on> I have been putting one together for my mill. I am using one of the ebay/amazon water chillers into a plate style heat exchanger. Then a hydraulic pump to circulate the oil through the heat exchanger and head. Total cost was about $1200. Much cheaper than I had found any other solution.
08:52 AM Tom_dev: JT-Cave, i commented out POSTGUI_HALFILE = postgui.hal and flex started up
08:52 AM Tom_dev: so none of the pyvcp stuff can be used which makes sense
08:53 AM Tom_dev: copied tom.ui over to the new_mill folder and it comes up
08:54 AM mrec: the one which is there doesn't work, maybe it needs to be refilled but I have no idea because there's .. no documentation and no pdfs online
08:54 AM Tom_dev: JT-Cave, it should be obvious but you might make a note somewhere for exhisting configs to not use any pyvcp stuff
08:55 AM mrec: https://storage.keepital.com/public/company/sg/y/a/yamaris-machinery-pte-ltd/images/product/spindle-oil-cooler/spindle-oil-cooler.jpg
08:56 AM Tom_dev: JT-Cave, so since i have no home switches on the test bench, flex behaves the same as axis to that point
08:56 AM markus is now known as mrec
09:02 AM mrec: there's one input on the meldas system, when I try to trigger an ATC function the chiller triggers that input and the meldas/mitsubishi system shuts down the entire chiller and raises an emergency error
09:05 AM JT-Cave: is pyvcp causing an error?
09:05 AM Tom_L: seems so
09:06 AM Tom_L: well the widgets aren't there in flex
09:06 AM Tom_L: the pyvcp ones
09:06 AM Tom_L: commenting out postgui.hal fixed that issue
09:06 AM Tom_L: and most of that is pyvcp.something
09:07 AM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/configs/NEW_MILL_SHOP_2.8.4/postgui.hal
09:08 AM Tom_L: flex lacks mdi-command button capability
09:08 AM Tom_L: which is in the postgui
09:09 AM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/screenshots/Current_Linuxcnc_Axis_screen.png
09:09 AM JT-Shop: pyvcp may not be possible with flex, I've not tested it
09:10 AM JT-Shop: pyvcp has to embed itself into the gui
09:10 AM Tom_L: well it all can be duplicated in flex i think
09:10 AM Tom_L: in some form or other
09:14 AM Tom_L: an rpm digital display would be adequate for the spedometer
09:14 AM Tom_L: qtpy had lcd or led digits
09:16 AM JT-Shop: do you mean pyvcp?
09:16 AM Tom_L: flex
09:17 AM Tom_L: i like to watch the cycle times etc
09:17 AM lcnc-relay: <travis_farmer> no speedometer in flex? 😦
09:19 AM Tom_L: JT-Cave, maybe you could hook into postgui for signals the user can add
09:19 AM Tom_L: similar to pyvcp
09:20 AM Tom_L: they just need to know the widget name and add a signal to it
09:28 AM JT-Shop: that's what the hal buttons are for
09:28 AM * JT-Shop goes to town
09:29 AM Tom_L: haven't run across those yet
09:30 AM JT-Shop: https://gnipsel.com/linuxcnc/flexgui/hal.html
09:30 AM Tom_L: seems empty atm
09:30 AM JT-Shop: looks like I need to add a bit to that page...
09:30 AM Tom_L: also maybe some display widgets there
09:31 AM Tom_L: for things like spindle speed, time etc
09:31 AM JT-Shop: display widgets?
09:31 AM JT-Shop: don't have anything like that
09:31 AM JT-Shop: just the labels
09:31 AM Tom_L: shut down the pc or i'd show you
09:31 AM Tom_L: lcd led widgets i saw
09:31 AM Tom_L: gotta go to a field trip...
09:31 AM Tom_L: bbl
09:33 AM Tom_L: similar to a textlabel
10:16 AM lcnc-relay: <satiowadahc#0> Morning
10:16 AM lcnc-relay: <satiowadahc#0> Was there documentation somewhere on troubleshooting mesa loosing connection?
11:24 AM lcnc-relay: <satiowadahc#0> Ethernet
11:25 AM lcnc-relay: <roguish> satiowadahc#0: are you asking about ethernet connection loss? or IO connection losses.?
11:27 AM lcnc-relay: <roguish> Mesa has some recommendations on ethernet connection for its cards. can't remember exactly where. some has to do specifically with intel chips. and static ip, rather than dhcp
11:27 AM lcnc-relay: <roguish> try searching through the forum too
11:29 AM lcnc-relay: <roguish> or send an email to tech at Mesanet . com for assistance.
11:29 AM lcnc-relay: <satiowadahc#0> Ethernet connect loss
11:30 AM lcnc-relay: <roguish> try a little google search foo........
11:31 AM lcnc-relay: <satiowadahc#0> Hm2_7i96s error finishing read!
11:31 AM lcnc-relay: <satiowadahc#0> Tried reducing servo period, irq coalesce, different cables, packet sniffing
11:31 AM lcnc-relay: <satiowadahc#0> Different kernels. Haven't tried rtai yet
11:32 AM lcnc-relay: <satiowadahc#0> Can't get it to compile
11:32 AM lcnc-relay: <roguish> if you see either JT or PCW here, ask them
11:32 AM lcnc-relay: <roguish> JT is pretty up on that kind of stuff. and PCW is the man.
11:35 AM lcnc-relay: <satiowadahc#0> I'm more an ethercat person.
11:51 AM lcnc-relay: <roguish> if it's ethercat problems, good luck. post in the forum.. you can usually get some good advice there
11:51 AM rdtsc2: saw one person with ethernet issues.  ended up being ethernet power saving mode
11:52 AM rdtsc2: gotta disable that in the NIC
11:53 AM rdtsc2: same if using a switch or router with that feature
12:04 PM lcnc-relay: <perry_j1987> hows it going
12:12 PM Unterhaus_ is now known as Unterhausen
12:12 PM Unterhausen: signing up for medicare, and I was on the last step of filling out the form when the session timed out
12:13 PM Unterhausen: I told them they should delete the form and sue for their money back
12:27 PM CaptHindsight: sounds about right
12:28 PM CaptHindsight: medicare scammers take too long to complete the forms, that why it's a timed session
12:29 PM Unterhausen: it shouldn't time out while you are typing though
12:29 PM CaptHindsight: really broken crap, isn't it
12:30 PM Unterhausen: finally got it done. May have been some anguished screaming the 3rd time it happened
12:30 PM Unterhausen: scared the dogs
12:30 PM CaptHindsight: can't get medicare IF you type too slowly, feature not bug
12:30 PM Unterhausen: it's for old people though
12:30 PM CaptHindsight: SNAFU
12:30 PM Unterhausen: I almost gave up and scheduled an in-person appointment
12:33 PM CaptHindsight: lots of guberment sites work that way, they are timed and log you out in the middle
12:34 PM Unterhausen: VA site worked okay, as I recall
12:47 PM roycroft: jt - are you about?
01:00 PM JT-Cave: https://pasteboard.co/ObFcw90tVcEq.png
01:01 PM JT-Cave: am now
01:01 PM * JT-Cave heads to the machine shop
01:05 PM roycroft: i am about to get back to my electrical work, and some of the old work has short wires
01:05 PM roycroft: i've used wire nuts for splices in the past, but don't like them
01:06 PM roycroft: i found a newer product - wago splice connectors
01:06 PM roycroft: are you familiar with them and if so, do you like them?
01:07 PM JT-Shop: are you talking about the wago spring connectors?
01:08 PM roycroft: the lever clamp ones
01:08 PM roycroft: they are clear with orange levers
01:08 PM roycroft: https://www.wago.com/us/discover-wire-and-splicing-connectors
01:08 PM JT-Shop: I've only used them for testing stuff, they were designed for making connections on railroad engines due the vibrations
01:08 PM roycroft: they get good reviews
01:09 PM JT-Shop: they do not let go!
01:09 PM roycroft: that's what i want
01:09 PM roycroft: tenacious connections!
01:09 PM XXCoder: interesting
01:09 PM JT-Shop: https://www.menards.com/main/p-2654092911167686.htm?utm_source=google&utm_medium=organic-shopping&utm_content=3647330&utm_campaign=WAGO
01:10 PM * roycroft doesn't want any fires in his house
01:10 PM JT-Shop: they are a bit pricey for the larger ones
01:10 PM roycroft: i think i'lll get some
01:10 PM XXCoder: its perment?
01:10 PM roycroft: yes, they are more expensive than wire nuts, but less expensive than rebuilding the house
01:10 PM roycroft: they can be reused
01:11 PM roycroft: both the wires and the connectors
01:11 PM JT-Shop: https://www.supplyhog.com/c/electrical/electrical-connectors-tape-terminals/wire-connectors-splices/p/3m-performance-plus-wire-connector
01:11 PM roycroft: wire nuts are designed for one-time use
01:11 PM XXCoder: interesting, though once inside wall I doubt it would be accessed again lol
01:11 PM JT-Shop: 3-m is the only good wire nut, been using the for a long time even on electric motors
01:11 PM roycroft: and wires that are connected with wire nuts cannot be disconnected and reconnected many times
01:11 PM JT-Shop: 3M can
01:12 PM roycroft: the wires are still weakened on repeated use of wire nuts - the nuts dig in every time, and in a different place
01:12 PM JT-Shop: 3M Performance Plus Wire Connector
01:12 PM roycroft: not that i'm planning on doing repeated splicing
01:13 PM roycroft: i actually may redo the wiring once, but that would be to replace the current 14ga wires with 12ga
01:13 PM JT-Shop: cut the bad off
01:13 PM roycroft: yes, if you have enough room
01:13 PM roycroft: i'm already dealing with short wires
01:13 PM JT-Shop: that sucks
01:13 PM roycroft: some of them don't extend outside the box at all
01:13 PM Tom_L: JT-Shop, cool
01:13 PM JT-Shop: outside the box? a junction box or switch box?
01:13 PM roycroft: by code they have to be at least 6" long where they emerge from the sheath, and extend 3" outside the box
01:14 PM Tom_L: :)
01:14 PM roycroft: any box, by code
01:14 PM roycroft: any box up to 8" at the longest measurement (diagonal)
01:15 PM Tom_L: JT-Shop, what's the display tied to?
01:15 PM roycroft: so it's pigtail time for the receptacle and switch boxes that have short wires
01:15 PM * roycroft gets to painting
01:15 PM JT-Shop: I pigtail out every switch and receptacle box and never connect more than one wire to a terminal
01:16 PM roycroft: i may end up doing that
01:16 PM JT-Shop: and I use 3M wire nuts :)
01:17 PM roycroft: although with back wire receptacles it's not as much of an issue as with side wire receptacles
01:17 PM roycroft: not having to make and manage a bunch of j-bends means an easier life
01:17 PM JT-Shop: I never continue a circuit through a device it's just asking for trouble
01:18 PM roycroft: i would agree, generally, although i might make one exception, even if i were inclined to pigtail
01:19 PM roycroft: that would be where a gfci circuit is needed, and it's not convenient or possible to install a gfci breaker in the panel
01:19 PM roycroft: in that case, the first receptacle from the panel needs to be gfci, and pass-through
01:19 PM roycroft: i prefer gfci breakers, though
01:20 PM roycroft: i also prefer not splicing inside a service panel (although i'll do so when there is no other choice)
01:20 PM roycroft: so if installing a gfci breaker in the panel means a splice, i prefer to install a gfci receptacle at the beginning of the run instead
01:21 PM roycroft: and the reason i prefer not to splice inside a panel is that panels can get rather crowded, and splices take up extra space
01:21 PM roycroft: simple as that
01:21 PM roycroft: it's not unsafe, or less safe than a splice in a junction box or switch/receptacle box
01:30 PM * JT-Shop has seen some really crappy wiring jobs in the past
01:55 PM lcnc-relay: <travis_farmer> finaly got PFsense setup on my network... that had a bit of a learning curve to get going...
02:01 PM JT-Shop: what is that?
02:07 PM lcnc-relay: <skunkworks8841> it is a firewall
02:24 PM lcnc-relay: <travis_farmer> and Suricata has been added to it 🙂
02:24 PM lcnc-relay: <travis_farmer> (an IDS, Intrusion Detection System)
02:29 PM Connor: I asked this late last night, but, no response.. So, I'll ask again: Any idea how to synchronize a spindle movement with drawbar actuation? The drawbar pulls the holder up about .125" an inch, but, no mater what I do, I can't match the Z spindle with it.. I think it's because as I do more and more testing, the PSI drops down, it takes a bit longer for the drawbar to work..
02:31 PM CaptHindsight: " I can't match the Z spindle with it.." please elaborate Connor
02:31 PM lcnc-relay: <zincboy_ca_on> You would need some type of feedback to know where the tool holder is. With that you could link it in HAL to either the Z axis offset or the Z position command value using a component.
02:32 PM Connor: I need to synchronize the spindle movement the draw bar open/close. Because the drawbar moves the holder in / out about .125"
02:32 PM lcnc-relay: <zincboy_ca_on> Most system handle this by having mechanical compliance in the Z position of the tool holder in the tool change mechanism.
02:33 PM Connor: It works.. and the forks do have compliance..
02:33 PM JT-Shop: on my CHNC I just program the Z axis to move when I open and close the collet
02:33 PM Connor: I was just hoping to have less movement.
02:35 PM lcnc-relay: <zincboy_ca_on> If you really want to, you need a sensor that measures the position of the tool holder relative to the spindle nose. You can use that position info to adjust the Z position.
02:36 PM Connor: I shouldn't need all that.. I just need a way to time it better.
02:37 PM Connor: G53 M63 P #<_ini[ATC_PINS]ATC_OPEN> G01 Z #<_ini[ATC]FIRSTPOCKET_Z> F#<_ini[ATC]DROPSPEEDZ>
02:37 PM Connor: That's the command to close the draw bar while lowering the Z at the same time..
02:38 PM Connor: Maybe I need to tweak the Z speed more.
02:38 PM lcnc-relay: <zincboy_ca_on> LOL. No. You just said that you are getting variation based on uncontrolled values (PSI). How will you compensate for that without feedback?
02:39 PM Connor: That's a conjecture on my part, and I hope that goes away once we get on the larger air compressor system.
02:40 PM Connor: Because, the current unit is maxed out at 120 psi and charges around 90, the larger one will run at 140 or so, and charge well before it gets to 120
02:41 PM lcnc-relay: <zincboy_ca_on> What is your regulator set to? That should remove any variation unless the compressor is dropping below the setpoint.
02:42 PM Connor: It's dropping below the set point. Regulator is set to 120psi, it charges at 90-psi. It's a small compressor.
02:44 PM Connor: 21 gallon maybe?
02:44 PM lcnc-relay: <zincboy_ca_on> That isn't a regulator. That is the compressor cycle limit. You should have a regulator before the machine that is set to something below the compressor minimum. I would use 80 PSI for a compressor that cycles at 90 to avoid drop outs when waiting for to refill.
02:44 PM Connor: Draw bar requires 92 - 120
02:45 PM JT-Shop: can't make a silk purse from a sows ear...
02:45 PM Connor: Again, I'm not sure it's the air pressure or just a timing issue..
02:45 PM lcnc-relay: <zincboy_ca_on> That compressor doesn't meet the minimum spec for the drawbar.
02:48 PM lcnc-relay: <zincboy_ca_on> In my shop, the compressor cycles between 145 and 125psi. The master regulator on the mill is set to 100psi with various lower pressures tapped off that. With that I see a steady 100psi no matter the compressor pressure.
02:48 PM JT-Shop: same here I have a 150 psi compressor
02:59 PM Connor: We have a large compressor, can go up to 175psi. We're going to regulate it down to 140 PSI, and run it through a air dryer, (max PSI is 140), run that over to a secondary cascade tank (It's an old air compressor tank with max rating of 150psi
02:59 PM Connor: and tie into that with a 3 or 4 stage regulator/filter/dryer set at 120PSI for the machine
03:00 PM Connor: that'll give us 80 gallons + 60 gallons capacity.. at 120psi steady.. Will be using it for all shop air including the plasma CNC.
03:01 PM lcnc-relay: <zincboy_ca_on> If it is one of those air over hydraulic units, I found there was a fair bit of variation in tool release time depending on how "stuck" the tool holder was in the spindle. It was enough that it was noticeable, maybe around +/-200ms or so? The problem still is that there is no way for the system to know where the tool holder is without some sort of sensor. My mill has a hydraulic tool change arm and the Z axis does not move...
03:01 PM lcnc-relay: ... during tool change.
03:02 PM Connor: Strictly air. ISO30 with pullstud
03:03 PM rdtsc2 is now known as rdtsc_wk
03:11 PM rdtsc_wk: PFsense is a firewall software I think
03:11 PM lcnc-relay: <travis_farmer> yes, a very good one 🙂
03:32 PM Tom_L: ok the next problem running the rpi on the mill is i need to find a HDMI to DB adapter
03:32 PM Tom_L: can't remember how i did that the last time
03:33 PM lcnc-relay: <travis_farmer> i have one
03:34 PM lcnc-relay: <travis_farmer> https://www.ebay.com/itm/115856533096 only mine is white
03:35 PM CaptHindsight: no need for racism
03:35 PM Tom_L: https://www.youtube.com/watch?v=g0OLIth_cOI
03:35 PM * Tom_L watches that again for a clue
03:35 PM Tom_L: now where the hell is that adapter....
03:36 PM Tom_L: haven't the foggiest clue atm
03:36 PM Tom_L: but i must have one
03:39 PM Tom_L: well... imagine that... i put it in the rpi box
03:40 PM lcnc-relay: <travis_farmer> lol
03:44 PM * Tom_L goes to copy all the .var settings etc from the mill
03:46 PM JT-Cave: https://pasteboard.co/Ec3neV6RkvVH.png
03:53 PM Tom_L: where did you create the pin?
03:53 PM Tom_L: and what is the lcd connected to?
03:54 PM Tom_L: how hard would it be to dual purpose a few of the textlabels with the lcdnumber ones so it could be an either or choice
03:55 PM Tom_L: ie: spindle speed, feed etc. things you would like to see at a glance while running a program
03:55 PM Tom_L: not necessarily stats
03:56 PM JT-Shop: lcd is connected to the spindle commanded speed
03:57 PM XXCoder: LOL https://youtu.be/MG4PPkCyJig
03:57 PM XXCoder: fancy robotics
03:57 PM Tom_L: so like spindle_speed_0_lcd would be the same as spindle_speed_0_lb
03:57 PM Tom_L: or whatever they're named now
03:57 PM JT-Shop: yup
03:57 PM Tom_L: awesome
03:57 PM Tom_L: gives more choices
03:58 PM Tom_L: i suppose you can change the font on the textlabels too for the same effect
03:58 PM JT-Shop: https://gnipsel.com/linuxcnc/flexgui/hal.html
03:58 PM Tom_L: cool
03:58 PM JT-Shop: still need to take a screen shot to show the properties
03:58 PM Tom_L: i'm hoping to get a hardware test run in this evening
03:58 PM JT-Shop: cool
03:59 PM Tom_L: barring any interruptions
04:00 PM Tom_L: those hal pins... what about MDI_COMMAND buttons?
04:01 PM Tom_L: like you set in the ini file
04:01 PM JT-Shop: you just connect the pin to the mdi command I assume
04:01 PM JT-Shop: like normal
04:01 PM Tom_L: idk... i'm just thinking ahead
04:02 PM Tom_L: trying to find all my wires to connect the rpi out there
04:02 PM Tom_L: and make sure all the files are copied over
04:02 PM JT-Shop: MDI_COMMAND = G53 G0 X0 Y0 Z0 - An MDI command can be executed by using halui.mdi-command-00. Increment the number for each command listed in the [HALUI] section.
04:03 PM JT-Shop: so in your postgui hal file you connect the mdi command to the pushbutton
04:03 PM lcnc-relay: <roguish> JT-Shop: is there a way to watch following error? like a simple number. there is a hal pin for each axis
04:03 PM lcnc-relay: <roguish> I know it's weird, but I like to see the following error of each axis real time
04:03 PM JT-Shop: you can use hal scope or hal meter
04:04 PM lcnc-relay: <roguish> and the axis velocity
04:04 PM lcnc-relay: <roguish> I mean in flex ?
04:04 PM lcnc-relay: <roguish> is there a widget of some kind to tie to a hal pin?
04:05 PM JT-Shop: yes there are status items for each joint
04:05 PM JT-Shop: https://gnipsel.com/linuxcnc/flexgui/labels.html#joint-status
04:06 PM lcnc-relay: <roguish> I see joint_ferror_current_n_lb
04:08 PM Tom_L: good... cause i'll forget
04:09 PM lcnc-relay: <roguish> JT-Shop: i'll try a .deb in a while. in a sim
04:09 PM JT-Shop: cool
04:09 PM Tom_L: roguish, there are rpi debs now too
04:10 PM lcnc-relay: <roguish> I only like pecan pie
04:10 PM JT-Shop: note that hal buttons will not have the correct component name if you have axis running and start flex from a terminal
04:10 PM lcnc-relay: <roguish> my sis makes a really good one.
04:11 PM Tom_L: JT-Shop, right
04:11 PM JT-Shop: that's because I have to use random names each time you start flex when testing in a terminal
04:12 PM JT-Shop: you can't create a componet if it exists lol
04:12 PM lcnc-relay: <roguish> is there a pre-made gui? for a simple 3 axes mill, like your BP
04:13 PM JT-Shop: in the samples yes
04:13 PM Tom_L: xyz xyzh and tom
04:13 PM Tom_L: i think those are the most complete
04:13 PM Tom_L: xyzh has homing
04:14 PM JT-Shop: to be accurate xyzh has home all
04:14 PM Tom_L: oh
04:14 PM Tom_L: i don't think i've run xyz yet
04:14 PM JT-Shop: xyz does not have the home sequence so home all is disabled
04:20 PM JT-Shop: actually the home sequence for each joint on xyz is not there
04:25 PM Tom_L: ok spare 5v wired up for the 7i80
04:26 PM * Tom_L should check to make sure the firmware matches but is pretty sure it does
04:26 PM lcnc-relay: <travis_farmer> https://jauriarts.org/_matrix/media/v3/download/jauriarts.org/qKGjRqkDUHOxNfrEYUnyOwlX/Screenshot_2024-04-29_at_17-19-16_Overview_Home_Assistant.png
04:26 PM lcnc-relay: <travis_farmer> i think Flex needs the LCARS theme... like i have on my install of HomeAssistant 😉
04:26 PM JT-Shop: you can do that if you want
04:27 PM Tom_L: yeah, it's flex-able
04:27 PM JT-Shop: :)
04:27 PM lcnc-relay: <travis_farmer> lol, i was mostly poking fun 😉
04:27 PM JT-Shop: but you can do that if that's what you want your gui to look like
04:27 PM Tom_L: hey now this is no laughing matter... serious buziness goin on here
04:28 PM Tom_L: i was kinda surprised how quick some came up with gui already and it's not even past alpha stage
04:29 PM JT-Shop: it's close enough to be in the beta stage now
04:30 PM lcnc-relay: <travis_farmer> by the time i can afford a dev laptop for Linux, it will be far more advanced
04:31 PM XXCoder: lcars lcnc when?
04:33 PM lcnc-relay: <roguish> JT-Shop: om. simple thing here. running xyz.ini. the gui top line is "File Machine Progams Help"
04:34 PM lcnc-relay: <roguish> a minor spelling problem in Progams
04:34 PM lcnc-relay: <roguish> not ragging on it. just letting ya know
04:35 PM JT-Shop: thanks
04:38 PM -!- #linuxcnc mode set to +v by ChanServ
04:39 PM Tom_dev: how do i change rights on the parallel port? i have to sudo mesaflash but it still doesn't read it
04:39 PM XXCoder: umm isnt it serial user something?
04:39 PM Tom_dev: i checked and it's the right address.. 0x0378
04:39 PM XXCoder: sorry my memory is very vague
04:39 PM JT-Shop: I think you have be in some group
04:39 PM JT-Shop: I forget what group you need to be in
04:39 PM XXCoder: yes group but yeah cant remember name really
04:40 PM Tom_dev: funny, the mill runs but i can't see anything with mesaflash
04:40 PM Tom_dev: sudo mesaflash --device 7i90 --epp --addr 0x378 --readhmid
04:41 PM Tom_dev: but it doesn't find the board
04:41 PM JT-Shop: https://unix.stackexchange.com/questions/376151/how-to-make-the-parallel-port-to-work
04:41 PM Tom_dev: i think i'll take a chance on the firmware, i'm pretty sure it's the same
04:42 PM lcnc-relay: <roguish> JT-Shop: looks pretty good. just went through a few of your examples, including tom.ini
04:42 PM Tom_dev: and the interweb is slow as molasses out here
04:42 PM XXCoder: ah yes lp
04:42 PM lcnc-relay: <roguish> well, I hear a nap calling.....
04:43 PM JT-Shop: you better listen
04:43 PM Tom_dev: You need root privileges (or setuid root) to access EPP hardware
04:43 PM Tom_dev: i set adduser tom lp
04:43 PM JT-Shop: same with pci
04:44 PM Tom_dev: it's a port on the mb
04:44 PM JT-Shop: you need to sudo mesaflash for pci
04:44 PM Tom_dev: even on the mb?
04:44 PM JT-Shop: yup
04:44 PM Tom_dev: well, it's not finding it anyway
04:44 PM Tom_dev: but it runs
04:45 PM JT-Shop: that's why mesact asks for your password if you want to flash a 5/6i25
04:45 PM Tom_dev: never been down that road yet
04:47 PM Tom_dev: well i got better things to do...
05:02 PM JT-Shop: than play with mesaflash?
05:09 PM Tom_L: trying to get some results here
05:09 PM Tom_L: i looked at a vhd file and it looks pretty close to the rpi mesaflash output
05:13 PM * Tom_L steals a kbd from the neighbor cause the shop pc is ps2 plug
05:17 PM XXCoder: 🚓
05:18 PM Centurion_Dan1 is now known as Centurion_Dan
05:43 PM Tom_L: well that didn't go as well as expected
05:44 PM JT-Shop: what?
05:44 PM Tom_L: latency is bad on the rpi
05:44 PM JT-Shop: ouch
05:44 PM Tom_L: i haven't done any tuning on it at all
05:44 PM Tom_L: but
05:44 PM Tom_L: flex did come up and power up the mill
05:44 PM JT-Shop: nice
05:45 PM Tom_L: tried to home but the steppers didn't like the timing at all
05:45 PM Tom_L: i think it may be more sluggish than axis though
05:45 PM Tom_L: i had both configs side by side
05:46 PM Tom_L: and axis would at least try to home
05:46 PM JT-Shop: well that sucks
05:46 PM Tom_L: it does
05:46 PM JT-Shop: axis updates every 100ms and I'm using 10ms
05:47 PM Tom_L: yeah on that, i dunno what the difference are specifically but running side by side you could tell a difference in performance
05:47 PM Tom_L: some not alot
05:47 PM JT-Shop: performance in what?
05:47 PM Tom_L: axis at least tried to home the axis but that's as far as i got on either gui
05:48 PM Tom_L: i know my config is set up for a different pc too and would probably need to be retuned
05:48 PM Tom_L: but it was a quick test
05:48 PM JT-Shop: when you click home it's all emc after that
05:48 PM Tom_L: yeah
05:49 PM Tom_L: they were running identical configs except for the gui and removing the postgui stuff
05:53 PM Centurion_Dan1 is now known as Centurion_Dan
06:02 PM Tom_L: if i had another box i have a mb i could use out there for tests
06:09 PM rdtsc_away is now known as rdtsc
06:14 PM * JT-Shop calls it a night
06:14 PM Tom_L: yeah me too
07:17 PM Hyoomin: Hrm, hang on. I want to rotate and move in the horizontal plane. So X and Y should be in the same plane I'm trying to move in.
07:18 PM Tom_L: XY is G17
07:19 PM Tom_L: http://linuxcnc.org/docs/stable/html/gcode/g-code.html#gcode:g17-g19.1
07:19 PM Hyoomin: Is the piece still going to rotate if I'm moving X, Y, and A? Or do I need to rotate in B or C?
07:19 PM Tom_L: rotaries vary
07:20 PM Hyoomin: Has more to do with the tools themselves, then?
07:20 PM Tom_L: generally X is associated with A
07:20 PM Tom_L: the control
07:20 PM Hyoomin: Ah.
07:20 PM Tom_L: and say if you had a cradle rotary or a head rotary or one like i have
07:20 PM Hyoomin: So I'd presumably want C, since it is associated with Z, but it depends on the exact configuration.
07:20 PM Tom_L: many mills have 2-3 axis rotary heads
07:21 PM Tom_L: if your cad cam matches the machine, you're golden
07:22 PM Hyoomin: Since, if I'm varying both C, AND X and Y, I'm varying the radius, and thus, feedrate, over the move, how do I handle the issue of feedrate?
07:23 PM Tom_L: some cad programs will only index others are full rotary
07:23 PM Tom_L: look at my program
07:23 PM Hyoomin: Yeah, I need full rotary here.
07:23 PM Hyoomin: Honestly, I tried, but the page won't load. ^_^;
07:24 PM Tom_L: the feed as far as i know ends up being degrees/min even for the xyz if a is involved
07:24 PM Tom_L: i'll pastebin it
07:25 PM Tom_L: http://paste.debian.net/1315594/
07:25 PM Tom_L: follow the video with the file
07:25 PM lcnc-relay: <skunkworks8841> inverse time?
07:25 PM Tom_L: i dunno
07:25 PM Tom_L: i know initially mine was wrong
07:25 PM Hyoomin: Is there maybe some g-code for relating the center of rotation to the X & Y origin, and automatically correcting feed rate accordingly?
07:26 PM Tom_L: switching to degrees helped it alot
07:26 PM Tom_L: lathes use that type of feed i think
07:26 PM Tom_L: surface speed
07:26 PM lcnc-relay: <skunkworks8841> I know with linuxcnc - inverse time seems to work better.. but I don't do much rotary yet
07:26 PM Tom_L: i forgot what it was though
07:27 PM Tom_L: skunkworks, i was mostly using what my cad cam will put out
07:27 PM Tom_L: it only does wrapped rotary
07:27 PM Tom_L: it's older than dirt
07:28 PM lcnc-relay: <skunkworks8841> right
07:28 PM Hyoomin: Gotta break for dinner. I'll be back, though.
07:28 PM Tom_L: that program in YT looks like this in cad: http://tom-itx.no-ip.biz:81/~webpage/cnc/rotary/mount/Rotary_unwrapped.jpg
07:29 PM Tom_L: unwrapped
07:29 PM lcnc-relay: <skunkworks8841> I think someone made a utility - that converts it to inverse time
07:29 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/rotary/mount/Rotary_wrapped.jpg
07:29 PM Tom_L: then you wrap it in cad and that's what it looks like
07:29 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/rotary/mount/Rotary_wrapped_2.jpg
07:30 PM Tom_L: err that's the actual one i ran
07:30 PM Tom_L: wanted some reverse moves in it to see the result
07:30 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/rotary/mount/Rotary_unwrapped_2.jpg
07:30 PM Tom_L: unwrapped
07:32 PM Tom_L: http://linuxcnc.org/docs/stable/html/gcode/other-code.html
07:32 PM Tom_L: i haven't done much with those
09:09 PM Tom_L: skunkworks, any ideas how to adjust the config on a rpi running bookworm instead of some raspi os?
09:11 PM rdtsc is now known as rdtsc_away
09:16 PM lcnc-relay: <turboss> this one ? https://www.scorchworks.com/Gcoderipper/gcoderipper.html
09:33 PM roycroft: so i had a fun day
09:34 PM roycroft: i took the day off to work on the new house
09:35 PM roycroft: i got a lot done, but when i finished painting i went out the back door to clean thepainting supplies
09:36 PM roycroft: i slipped on the steps, fell onto the ground, and broke my arm and bruised two ribs
09:36 PM roycroft: i just got home from the er ashort while ago
09:36 PM XXCoder: ouch! careful man
09:36 PM roycroft: and i need surgery to repair the fracture
09:37 PM roycroft: i thought i was being careful
09:38 PM roycroft: and i was planning on adding anti-slip pads to the steps
09:38 PM roycroft: but obviously haven't gotten there yet
09:38 PM roycroft: this is really going to slow down the move
09:39 PM XXCoder: no crap
09:39 PM XXCoder: hopefully hospital bills wont be too bad
09:39 PM roycroft: i likely won't be able to lift more than 1kg with my left arm for months
09:40 PM XXCoder: maybe try some isomorphic exercise that dont load on bone
09:40 PM XXCoder: to keep strength
09:40 PM roycroft: the hosputal stuff should mostly be covered
09:40 PM XXCoder: thats good
09:41 PM roycroft: i'll be talking to the orthopedic center tomorrow or wednesday
09:41 PM roycroft: i'll have amuch better idea what to expect after that
09:43 PM roycroft: apparently ther are multiple bone fragments, and the er folks said i'll likely need a plate screwed to the bone to hold it in place while it repairs itself
09:45 PM Tom_L: we get brittle as we age... be careful
09:46 PM roycroft: driving for an hour and a half to the hospital with a freshly broken arm and no pain killers was a unique experience that i do not want to ever repeat
09:46 PM roycroft: *nod*
09:47 PM XXCoder: man that reminded me of that time I was fine as I drove to work, but got sicker and sicker. by time I arrived I was really sick
09:47 PM roycroft: i think that evev 10 years ago i probably would not have broken it
09:47 PM XXCoder: told boss I cant work, and man was drive back really bad. I had to use arm and window to hold my head up as I leaned on door as I drove home. it was 30 min drive
09:48 PM roycroft: i'm learning to lower my expectations of what my body can do
09:48 PM Tom_L: my brain is slowly catching up with my body
09:48 PM Tom_L: you don't realize you can't until you can't
09:49 PM roycroft: they sent me home with a bunch of oxycodone
09:49 PM roycroft: i hope tylenol is enough
09:49 PM XXCoder: at 48 my expections on what I can do is extremely low now
09:50 PM XXCoder: I had to go food shopping today, and I was extremely tired in brain by end of it. too much visual wobbling assulting my brain
09:50 PM roycroft: i'm not a masichist, but i also don't want to be an opioid addict
09:50 PM XXCoder: then I had to drive home with that
09:51 PM roycroft: the break was just by my wrist
09:51 PM Tom_L: they cast it or just brace it for now?
09:51 PM roycroft: before they splinted it they realigned it
09:52 PM Tom_L: bet that was an enjoyable experience
09:53 PM XXCoder: he already said he isnt masochist. ;)
09:53 PM roycroft: they suspended 5 chinese finger pulls on arod, stuck my fingers in then, then slowly added weights to my arm
09:54 PM roycroft: they got up to 10kg, and left my arm suspended like that for a half hour
09:55 PM roycroft: that actually worked really well, but it took all my strength to not shout any colorful metaphors during the procedure
09:57 PM Tom_L: good you didn't break any ribs
09:57 PM roycroft: all in all i feel kind of lucky
09:58 PM roycroft: it could have gone a lot worse
09:58 PM XXCoder: only broke rib once, by rowing too hard in dragon rowboat
09:58 PM XXCoder: it wasnt fun
09:58 PM roycroft: and the prognosis is that i'll make a full recovery
09:58 PM XXCoder: I was out of race due to that, and after couple months of llearning and exercising on boat too
09:58 PM roycroft: with no loss of function
09:59 PM Tom_L: just a big painful setback
09:59 PM roycroft: yes
09:59 PM roycroft: moving house with a broken arm will be very difficult
10:00 PM roycroft: moving my shop almost impossible
10:00 PM Tom_L: maybe you'd better hire some help
10:00 PM lcnc-relay: <xxcodery> https://jauriarts.org/_matrix/media/v3/download/jauriarts.org/dfRxcxhFCrcTuseFomlQnRXf/344893506_186997354278186_1161926021107261804_n.png
10:00 PM lcnc-relay: <xxcodery> if curious, heres image of 4 of those dragon boats
10:00 PM roycroft: that's what i'm thinking
10:00 PM Tom_L: competent if you can find it
10:01 PM roycroft: cool boats
10:01 PM XXCoder: it is. you should attend race in least once.
10:02 PM XXCoder: its free public
10:02 PM XXCoder: forming a team and stuff is part that would need money. that or buying food and snackage there of course lol
10:05 PM XXCoder: seem this year it is june 10 2024
10:06 PM XXCoder: lol! seems today is first day of dragon boat training and training
10:06 PM XXCoder: what a timing
10:06 PM roycroft: roycroft.us/Dragon_Gate_Snow.jpeg
10:06 PM roycroft: the public entrance to the fair
10:07 PM roycroft: not during fair, of course
10:08 PM XXCoder: I see holy symbol of zelda
10:08 PM XXCoder: joking aside, interesting
10:10 PM roycroft: the gate was originally built in the mid-80's
10:10 PM roycroft: it burned down a few years ago and was rebuilt
10:11 PM XXCoder: theres interesting cermany whatever its spelling, "eyeing the dragon" or something. they use special paint on eyes of dragon boats
10:11 PM XXCoder: my memory is bit vague, been a decade
10:11 PM XXCoder: ah yes eye dotting
10:11 PM roycroft: did you see there's a new nerdforge video?
10:12 PM XXCoder: https://youtu.be/tX0cE5sd0SM
10:13 PM roycroft: cool
10:16 PM XXCoder: I dont have nerdforge as sub but lemme look
10:16 PM XXCoder: pc that makes coffee?
10:17 PM roycroft: she mayes
10:17 PM roycroft: yes, rather
10:17 PM XXCoder: ok. yeah I tried watch some videos a while ago, just not my style
10:18 PM roycroft: i can see that
10:20 PM roycroft: anyway, prior to the exciting events of the day, i got the studio walls in primer
10:20 PM XXCoder: nice!
10:20 PM roycroft: and they turned out great - i actually did adecent job with the sheet rock repair
10:21 PM roycroft: it's not perfect, but pretty good
10:21 PM roycroft: and most of the repaired areas will be hidden anyway
10:26 PM Hyoomin: O.K., back...
10:32 PM XXCoder: welcome back
10:34 PM Hyoomin: So... for a G1 move, if the workpiece is being linearly cut with a motion of rate A, and the workpiece is being rotated into the cutter with a tangential rate B, then the actual feedrate would be A + B = C; but do I have to work backwards from C to find A and B to set the corresponding linear feed rate and relevant rotation rate, or will the
10:34 PM Hyoomin: intended feed rate be respected in spite of the combination of linear motion and tangential motion from rotation?
10:36 PM Hyoomin: Can I just set the total feed rate, and it will figure out how much linear and how much rotation on its own?
11:04 PM flyback: https://www.youtube.com/watch?v=adLz2Gj239s
11:13 PM Hyoomin: Neat.