#linuxcnc Logs

Dec 03 2023

#linuxcnc Calendar

01:40 AM Deejay: moin
04:44 AM lcnc-relay: <travis_farmer (@_discord_731083529441640538:jauriarts.org)> Morning 🙂
04:51 AM JT-Cave: morning
06:10 AM Tom_L: morning
06:24 AM Tom_L: 28°F High 50°F
06:34 AM JT-Cave: 44°F High: 57\°F
06:54 AM JT-Cave: rooster just crowed
07:41 AM onceloved: How to turn off this prompt
07:41 AM onceloved: Unexpected realtime delay on task 0 with period 1000000,
07:41 AM onceloved: This message will only be displayed once per session,
07:41 AM onceloved: Run latency test and resolve before continuing,
07:41 AM onceloved: I just use the parallel port as io and don't connect the motor
07:54 AM onceloved: I use ethercat for the three axes, and the handwheel wiring is connected from the parallel port.
07:55 AM jpa-: that delay is occurring on the 1kHz motion thread, so it will affect your ethercat usage also
08:01 AM onceloved: I added a few extra zeros '=D
08:04 AM jpa-: so it is on the base thread instead? at what frequency?
08:05 AM onceloved: BASE_PERIOD = 200000
08:05 AM jpa-: the message doesn't match that
08:07 AM onceloved: 1000000 is just a copy of someone else’s. Mine is 200000.
08:07 AM jpa-: ok
08:07 AM jpa-: do you really need the base thread at all?
08:08 AM onceloved: The handwheel needs to be connected to the parallel port
08:09 AM onceloved: 200000 is just enough to shake the handwheel without missing a step
08:22 AM jpa-: seems like there is no way currently to disable the message
08:24 AM jpa-: you may want to check halshow parameters base-thread.tmax and servo-thread.tmax to see how big the latency is
08:24 AM jpa-: it could be large enough to mess up motion also, as difference between 0.2 ms and 1 ms is not that huge
08:24 AM onceloved: https://github.com/LinuxCNC/linuxcnc/blob/master/src/rtapi/uspace_rtapi_app.cc  Changing line 938 to 1 and recompiling should work.
08:25 AM jpa-: yeah
08:25 AM jpa-: or you could hide it in your GUI
08:25 AM jpa-: i'd recommend fixing it though :)
08:26 AM jpa-: or at least checking that it is not ridicuously long - it only warns once, after that things just go wrong and are harder to debug what happened
08:26 AM onceloved: base-thread 30 microseconds servo-thread less than 10 microseconds
08:26 AM onceloved: I can't compile source code ;(
08:26 AM jpa-: hmm i may have said wrong parameter, i meant maximum interval..
08:29 AM onceloved: After testing for more than a day, servo-thread is always lower than 10 microseconds.
08:29 AM jpa-: where are you taking that value from?
08:31 AM onceloved: latency
08:31 AM jpa-: latency test, when run separately?
08:32 AM onceloved: yes
08:32 AM jpa-: the HAL stuff you include when running linuxcnc normally can cause extra latency, which is why i suggested to check in halshow after you get the message
08:32 AM jpa-: even though tmax apparently only shows time taken by HAL components and not any latency incurred by outside causes
08:33 AM jpa-: if in halshow the tmax is larger than period, you should check the tmax of each component to see what is causing it
08:34 AM onceloved: I put addf parport.0.read base-thread and
08:34 AM onceloved: Addf parport.0.write base-thread to servo-thread will not appear that prompt, but shaking the hand wheel will lose the step
08:35 AM jpa-: you could consider using some interface card for the handwheel instead of relying on parallel port
08:35 AM jpa-: but the fact that you get good numbers when using latency test, suggests that it may be something in your HAL configuration that is taking unexpectedly long
12:35 PM -!- #linuxcnc mode set to +v by ChanServ
01:39 PM Tom_itx is now known as Tom_L
02:01 PM -!- #linuxcnc mode set to +v by ChanServ
03:21 PM perry_j1987: afternoon all
04:06 PM perry_j1987: whats everyone up to
04:06 PM JT-Shop: watching Leo
04:18 PM perry_j1987: whats that
04:18 PM JT-Shop: https://www.youtube.com/watch?v=4FhTu3aGM60&list=PLB00JHoTw1TeX82Qw8hoFLRJI89Us_jMw&pp=iAQB
04:23 PM perry_j1987: that is quite a project
04:23 PM JT-Shop: yup
04:23 PM perry_j1987: not a good sign when your ripping chunks of wood with bare hands lol
04:24 PM * roycroft is busy trying to clone a website from a proprietary platform to a standard platform
04:24 PM JT-Shop: I've watched it several times
04:24 PM JT-Shop: that sounds like fun
04:24 PM Tom_L: what would be considered a good torture test to induce a joint following error?
04:24 PM perry_j1987: hey I found this in one of my boxes found one of these in my boxes here http://www.vistacnc.com/manual_download/iMach3%20Pendant.pdf apparently it originally had a custom parallel port /db9 pci card to run it
04:24 PM Tom_L: running all axis at max feed?
04:24 PM JT-Shop: G0
04:25 PM roycroft: it's driving me to drink
04:25 PM JT-Shop: cheers
04:26 PM Tom_L: https://www.youtube.com/watch?v=pOLsLrPLbUg&t=20s
04:26 PM Tom_L: i did that but not at max (210ipm) yet
04:26 PM Tom_L: and added cw ccw then cw arcs at the end
04:26 PM JT-Shop: stepper?
04:27 PM Tom_L: i'm thinking it's better but wanted to make sure i was testing right
04:27 PM Tom_L: yes
04:27 PM Tom_L: i've lowered the max_accel a bit
04:27 PM JT-Shop: a good stepper test is the rapid back and forth then measure the final position
04:27 PM Tom_L: i didn't know if loading all the axis at once made a difference
04:27 PM Tom_L: with the planner
04:28 PM JT-Shop: not with lost steps
04:28 PM Tom_L: or if that had anything to do with it
04:28 PM JT-Shop: the planner is faster than your drives
04:28 PM Tom_L: is joint following error lost steps?
04:28 PM JT-Shop: nope
04:28 PM Tom_L: i don't think i'm losing steps so wasn't testing for that
04:28 PM Tom_L: just random joint following error once in a while
04:29 PM Tom_L: but it is better than it was i think
04:29 PM JT-Shop: http://linuxcnc.org/docs/stable/html/config/stepper-diagnostics.html#_error_messages
04:31 PM Tom_L: wasn't aware of that page
04:31 PM Tom_L: i'm pretty sure MAX_ACCELERATION was too high
04:31 PM JT-Shop: I wrote that page
04:31 PM Tom_L: :)
04:31 PM Tom_L: imagine that
04:32 PM JT-Shop: with help from Peter I bet
04:32 PM Tom_L: accel seems to be working but wanted to make sure i was testing right
04:32 PM Tom_L: haven't had an error since i lowered it yet
04:35 PM Tom_L: is leo looking for more funding?
04:35 PM Tom_L: i didn't watch that one i posted entirely
04:37 PM Tom_L: i'll edit this test with all G00. wasn't about to turn it loose without trying it first
04:44 PM JT-Shop: leo no, he did it once for Darlene and Ralaul
04:49 PM JT-Shop: https://youtu.be/vbUyt4nJlNs?list=PLB00JHoTw1TeX82Qw8hoFLRJI89Us_jMw&t=526
04:50 PM JT-Shop: fancy tap handle
04:52 PM Tom_L: better than mine
04:52 PM JT-Shop: mine too
04:52 PM JT-Shop: never seen one like that
04:52 PM Tom_L: i ran the test using G0 a couple times with no errors
04:52 PM Tom_L: is it a ratchet?
04:52 PM Tom_L: ooo it is
04:53 PM Tom_L: mine are both general
04:53 PM JT-Shop: mine are T shaped and I think general as well
04:53 PM Tom_L: yeah
04:54 PM Unterhaus_ is now known as Unterhausen
04:54 PM Unterhausen: just got a severe thunderstorm warning, but it looks like it will miss us
04:54 PM Tom_L: i think i'll lower the accel a tiny bit more and cut some metal next
04:55 PM Tom_L: sounds like the wind is picking up here
04:57 PM perry_j1987: hmm 3 minutes shy of 5 oclock still good enough to crack a beer
04:58 PM * roycroft curses at dotster.com
04:58 PM roycroft: i have a host with a ttl of 30 minutes on the dns record
04:58 PM roycroft: 5 hours after changing it, dotster (the dns provider) are still returning the old ip
04:59 PM * JT-Shop has his beer at 3 o'clock because it's 5 o'clock somewhere
04:59 PM roycroft: it is always beer-o-clock somewhere
05:01 PM perry_j1987: thats a good idea heh
05:02 PM perry_j1987: would you guys bother with this thing? https://www.vistacnc.com/manual_download/v3.3/vc-p1a_linuxCNC.zip
05:02 PM perry_j1987: http://www.vistacnc.com/manual_download/iMach3%20Pendant.pdf this i mean
05:07 PM perry_j1987: its got db9 connector on it but does not look to be serial to me
05:08 PM perry_j1987: cnc pendant has a pinout as follows. pin 1: 5v, 2 MPG-a, 3 MPG-b, 4 OEM Trig #11, 5 GND, 6 #12, 7 #13, 8 #14, 9 #15.
05:13 PM perry_j1987: man i always know exactly how to kill the room
05:14 PM * JT-Shop just finished tucking the hens in and reading them a bedtime story... chicken little
05:21 PM Tom_L: of course
05:22 PM JT-Shop: we are going to a xmas dinner with friend from the club for the first time since we moved here
05:22 PM JT-Shop: friends
05:22 PM Tom_L: nice
05:24 PM Tom_L: i was looking at your plasma config
05:24 PM JT-Shop: I thought it was pretty cool to be invited by them after the Vetts on the River event
05:24 PM Tom_L: there's quite a variation of accel on the different axis
05:24 PM JT-Shop: oh crap...
05:24 PM JT-Shop: x and y should be the same but z not so much
05:25 PM Tom_L: yeah that's what it wsa
05:25 PM Tom_L: was
05:25 PM JT-Shop: z doesn't have to move much
05:25 PM JT-Shop: so it's an acme screw
05:26 PM Tom_L: mine are set a little lower than your z
05:26 PM Tom_L: and i made my stepgen_maxaccel 2x the max_accel
05:26 PM JT-Shop: yeah the max accel needs to be higher
05:27 PM Tom_L: stepgen one does
05:28 PM Tom_L: i'm betting you used geckos on that too
05:28 PM Tom_L: 203v
05:30 PM JT-Shop: I go for my annual prostate exam tomorrow what a PIA
05:30 PM Tom_L: literally
05:30 PM JT-Shop: yup 203v is bullet proof
05:30 PM Tom_L: i don't remember anything about mine. fell asleep and woke up and it was over
05:31 PM Tom_L: err no that was the other end
05:31 PM JT-Shop: it's pretty quick a psa test and a quick test to see if any lumps or bumps
05:31 PM Tom_L: one of my friends had laser surgery? i think for his
05:32 PM Tom_L: printed a special cup for it
05:32 PM Tom_L: that was quite a while back iirc
05:33 PM Tom_L: mmm was it laser or radiation.. it's all kinda foggy now
05:33 PM JT-Shop: https://youtu.be/T99XCJJDGLU?list=PLB00JHoTw1TeX82Qw8hoFLRJI89Us_jMw&t=1289
05:34 PM JT-Shop: here's your sign it don't get better with age
05:34 PM Tom_L: they don't tell you that ahead of time either
05:35 PM JT-Shop: even it they told you when you were young you wouldn't listen lol
05:36 PM Tom_L: i wake up every so often with a new pain of some sort
05:36 PM Tom_L: but
05:36 PM Tom_L: at least i wake up
05:36 PM JT-Shop: that's the important part
05:39 PM Tom_L: wonder what that keel weighs
05:40 PM JT-Shop: iirc 8 metric tons
05:40 PM Tom_L: watch yer toes
05:40 PM JT-Shop: it's pretty amazing to watch the pour
05:41 PM Tom_L: ahh this is just the sand part
05:41 PM Tom_L: i think i saw the lead the other day
05:41 PM Tom_L: what do they coat the sand with?
05:42 PM JT-Shop: some kind of sealer
05:43 PM JT-Shop: I think Doug said mold wash
05:44 PM Tom_L: probably helps keep it from cracking when the lead gets poured
05:44 PM JT-Shop: Doug said it keeps the lead from penetrating the sand
05:44 PM Tom_L: oh
05:45 PM * JT-Shop calls it a night
05:45 PM Tom_L: later
05:45 PM JT-Shop: am
05:45 PM Tom_L: i'm gonna wait a day or so to run a metal test
05:46 PM Tom_L: things are goin too good to spoil it now
06:31 PM Connor: Setting up a rack based ATC. I would like to set it up so that the soft limits prevent the ability for the rack to be crashed into, but need to over ride the limits during tool change or tool height setting operation. Is this possible ?
06:36 PM Tom_L: not that i know of but it always seems that linuxcnc has a way to do things
06:37 PM Tom_L: once the ini is read, the soft limits are set and i'm not sure if you can change those without a restart
06:37 PM Connor: Is there a way to toggle limit override ?
06:37 PM Connor: for the duration of the tool change op?
06:37 PM Tom_L: unless you did some sort of a 'world' offset in the toolchange routine
06:37 PM Tom_L: then set it back
06:38 PM Tom_L: shift offset
06:38 PM Tom_L: idk about that
06:38 PM -!- #linuxcnc mode set to +v by ChanServ
06:41 PM Tom_L: https://www.forum.linuxcnc.org/38-general-linuxcnc-questions/40863-deactivate-override-limits
06:41 PM Tom_L: this has mostly to do with being stopped on a limit but
06:41 PM Tom_L: maybe you could disable that IO during a toolchange then reactivate it
06:42 PM Tom_L: mmm, that's not an io but a soft limit... maybe that wouldn't work
06:44 PM Tom_L: http://linuxcnc.org/docs/html/man/man9/moveoff.9.html
06:44 PM Tom_L: worth a look maybe
08:30 PM XXCoder: extreme make, they finally wear mask for painting. last video they used powder coat without any mask. ouch
08:33 PM chetanpm: https://forum.linuxcnc.org/27-driver-boards/50814-mesa-7i77-support-for-absolute-linear-encoder?start=10:I got help from PCW on linuxcnc forum to get a custom 7i77 firmware to make the RS-422 smart serial port on it to take signals from an absolute linear encoder with BISS protocol. Can anyone guide me through configuring the HAL file to enable that.
08:34 PM Connor: Tom_L: Looks like I can alter the soft limits using this.. ini.y.max_limit I can do that via setting the pin value.
08:34 PM Connor: either via halcmd, or probably a python call.
09:00 PM chetanpm: https://forum.linuxcnc.org/27-driver-boards/50814-mesa-7i77-support-for-absolute-linear-encoder?start=10 I got help from PCW on linuxcnc forum to get a custom 7i77 firmware to make the RS-422 smart serial port on it to take signals from an absolute linear encoder with BISS protocol. Can anyone guide me through configuring the HAL file to enable that.
09:02 PM chetanpm: I assumed the new firmware is read in pncconf and the option to select encoder input option on smart serial port but it doesn't.
09:17 PM Tom_L: Connor, lemme know how it goes
09:22 PM Tom_L: chetanpm, dunno if this will help or not: https://forum.linuxcnc.org/10-advanced-configuration/25497-absolute-encoder-questions-ssi-via-5i25?start=12
09:23 PM Tom_L: https://forum.linuxcnc.org/27-driver-boards/38343-question-to-biss-ssi-protocol
09:23 PM Tom_L: chetanpm, you're likely gonna have to ask pcw--home
09:25 PM Tom_L: it will be some config = line but i don't know the syntax for biss
09:26 PM Tom_L: man the hostmot2 driver docs... they may have more info than the website
09:27 PM chetanpm: Tom_L I guess there is a ton of reading for today. I'll ask if I cannot figure it out. Thanks :)