#linuxcnc Logs
Jan 06 2025
#linuxcnc Calendar
01:31 AM Deejay: moin
03:15 AM lcnc-relay: <meisterdippel@> moin
03:35 AM lcnc-relay: <TurBoss> good morning
03:43 AM lcnc-relay: <captainhindsight_.@> Howdy
04:15 AM lcnc-relay: <oddname_skane@> thar we go, spindle cooling up and running aswell
04:30 AM lcnc-relay: <oddname_skane@> I really should seal up the compartmant and do some shavings 😄
04:34 AM -!- #linuxcnc mode set to +v by ChanServ
04:49 AM lcnc-relay: <vibram@> hello
04:49 AM Tom_L: morning
05:08 AM test33: Hi guys, I have a EL2809 up and running, I can turn on and off any led using halshow. Now I'm stuck trying to figure out how to turn it on programmatically, as an exercise for example blink led 1 but I'm completely lost
05:20 AM JT-Cave: in Flex GUI you just add a HAL button or checkbox and connect it in the postgui.hal file
06:23 AM JT-Cave: https://youtu.be/zTotWedOjwg
07:00 AM JT-Cave: https://youtu.be/xwDYLHcl_hg
07:59 AM lcnc-relay: <oddname_skane@> am I wrong if I recall seeing AlexmagToast here? 🙂
07:59 AM Tom_L: never seen that nick myself
08:01 AM lcnc-relay: <oddname_skane@> Might not have been here then
08:06 AM lcnc-relay: <travis_farmer@> AlexmagToast is here, but currently offline on Discord
08:09 AM JT-Cave: https://forum.linuxcnc.org/41-guis/51580-flexible-gui?start=60
09:13 AM lcnc-relay: <oddname_skane@> cool 🙂
09:14 AM lcnc-relay: <oddname_skane@> then I did see him!
09:20 AM JT-Woodshop is now known as C3
09:20 AM C3 is now known as C3-Shop
11:45 AM roycroft: sunny and cool here for the forseeable future
11:45 AM roycroft: that will be nice after the deluge we've had over these past couple weeks
11:52 AM lcnc-relay: <oddname_skane@> suddenly i cant home Z... yeeey....
11:52 AM lcnc-relay: <oddname_skane@> I can see on the mesa it triggers!
12:05 PM bjorkintosh: so is something disconnected, oddname?
12:08 PM lcnc-relay: <oddname_skane@> i have control of the machine, and mesa show it triggers so nothing should be disconnected
12:13 PM bjorkintosh: mystery. why then wouldn't it respond?
12:14 PM lcnc-relay: <oddname_skane@> I have not clue!
12:15 PM lcnc-relay: <oddname_skane@> just tries to go past the trigger and errors out, (closed loop)
12:15 PM lcnc-relay: <oddname_skane@> not that I need a Z home really
12:16 PM lcnc-relay: <oddname_skane@> will use a toolsetter when I get the ATC on
12:19 PM lcnc-relay: <oddname_skane@> alexmagtoast@ hey there mate, all well I hope 😄 I have wee Q about your arduino connect, it says it cant find serial, but I have installed python3 serial since I couldnt get python serial. What am I missing? 🙂
12:21 PM lcnc-relay: <oddname_skane@> bjorkintosh: even halmeter shows true when triggered so it is indeed working
12:28 PM lcnc-relay: <oddname_skane@> any ideas why Z just tries to create a path on its own despite triggering home? 🙂
12:29 PM lcnc-relay: <oddname_skane@> hmm it home to 0, set to home towards positive, but ends up going to -infinity...
12:29 PM lcnc-relay: <oddname_skane@> * at 0, set to home towards positive, but ends up going to -infinity... that is strange too
12:30 PM Tom_L: typo somewhere
12:30 PM lcnc-relay: <oddname_skane@> weird thing is I havent edited any conf since it started acting up
12:30 PM Tom_L: home vars set wrong in the ini
12:34 PM Tom_L: do you back off the home switch after it touches it?
12:35 PM lcnc-relay: <oddname_skane@> indeed
12:36 PM lcnc-relay: <oddname_skane@> it should
12:36 PM lcnc-relay: <oddname_skane@> but now it keeps driving
12:36 PM Tom_L: HOME = 0.000
12:36 PM Tom_L: HOME_OFFSET = 0.050
12:36 PM Tom_L: HOME_SEARCH_VEL = 2.50 HOME_LATCH_VEL = -0.20
12:36 PM Tom_L: HOME_USE_INDEX = NO
12:36 PM Tom_L: HOME_IGNORE_LIMITS = YES
12:36 PM Tom_L: HOME_SEQUENCE = 1
12:36 PM Tom_L: one of mine
12:36 PM lcnc-relay: <oddname_skane@> *.ini
12:36 PM lcnc-relay: <oddname_skane@> ?
12:37 PM Tom_L: yep
12:37 PM Tom_L: that happened to be x but not much difference
12:37 PM lcnc-relay: <oddname_skane@> mins ie more basic, pncconf default
12:37 PM lcnc-relay: <oddname_skane@> * is
12:38 PM Tom_L: never used pncconf
12:38 PM lcnc-relay: <oddname_skane@> HOME = 0.000
12:38 PM lcnc-relay: HOME_OFFSET = 0.000000
12:38 PM lcnc-relay: HOME_SEARCH_VEL = 8.333333
12:38 PM lcnc-relay: HOME_LATCH_VEL = 1.000000
12:38 PM lcnc-relay: ... long message truncated: https://jauriarts.org/_heisenbridge/media/jauriarts.org/qOjpcyfofwjtaBhqmXCUirGk/X_h8Kf7Se00 (7 lines)
12:38 PM lcnc-relay: <oddname_skane@> or yeah it doesnt back off a bit
12:38 PM lcnc-relay: <oddname_skane@> but it worked before
12:39 PM lcnc-relay: <oddname_skane@> guessing offset is the slight amount to back off?
12:40 PM lcnc-relay: <oddname_skane@> If i want to remove the Z limi temp to test things, what should I comment out?
12:43 PM Tom_L: change home offset to some small number
12:44 PM Tom_L: change home_latch_velocity to negative
12:44 PM Tom_L: enough to back off the switch
12:45 PM Tom_L: latch velocity is generally opposite search velocity so it can back off the switch
12:47 PM Tom_L: i don't think mine is using home_final_vel
12:47 PM Tom_L: just search & latch velocity
12:47 PM lcnc-relay: <oddname_skane@> HOME_LATCH_VEL = -1.000000 like this?
12:48 PM Tom_L: yes
12:48 PM lcnc-relay: <oddname_skane@> how can a velocity be negative?
12:48 PM Tom_L: goes the other direction
12:49 PM Tom_L: HOME_LATCH_VEL = 0.0 - Homing velocity in machine units per second to the home switch latch position. Sign denotes direction of travel.
12:49 PM Tom_L: http://linuxcnc.org/docs/stable/html/config/ini-config.html
12:49 PM Tom_L: you should do more reading
12:50 PM lcnc-relay: <oddname_skane@> i used pcfconf 😄 I just needed it to work for now 😄
12:50 PM Tom_L: how's that goin?
12:50 PM Tom_L: :)
12:50 PM lcnc-relay: <oddname_skane@> why it started acting up for no reason is the mystery tghough
12:50 PM lcnc-relay: <oddname_skane@> * though
12:50 PM lcnc-relay: <oddname_skane@> worked wonders til a couple of minutes ago
12:51 PM Tom_L: set home_offset to .050 or something
12:51 PM lcnc-relay: <oddname_skane@> well the settings now allmost ruined the switch 😄
12:51 PM Tom_L: then latch velocity will move that much in the opposite direction
12:51 PM lcnc-relay: <oddname_skane@> didnt stop at all , super duper weird
12:51 PM Tom_L: you trigger the switch with your finger to test and have the other finger on estop :)
12:52 PM Tom_L: until you know what it does
12:52 PM Tom_L: or break a few switches
12:52 PM lcnc-relay: <oddname_skane@> cheapo ones 🙂
12:53 PM lcnc-relay: <oddname_skane@> 1or2, 5-10 doesnt matter
12:53 PM lcnc-relay: <oddname_skane@> wasnt planning on putting one on Z
12:54 PM -!- #linuxcnc mode set to +v by ChanServ
12:55 PM Tom_L: must be nap time
12:56 PM roycroft: my seal installer tool and new seal are allegedly out for delivery today
12:56 PM Tom_L: awesome
12:56 PM Tom_L: headed back to portland?
12:57 PM roycroft: which means they may be at least temporarily in town
12:57 PM roycroft: i won't know until the end of the day whether they're headed back to portland or not
12:58 PM lcnc-relay: <oddname_skane@> well I found the issue
12:58 PM lcnc-relay: <oddname_skane@> pressing up and down, Z just goes the same way 😄
12:58 PM Tom_L: i knew you would
12:58 PM lcnc-relay: <oddname_skane@> what does it mean though
12:58 PM bjorkintosh: it means that you need to tell down to go down
12:58 PM Tom_L: something is wrong
12:59 PM bjorkintosh: and up to go the other way.
12:59 PM bjorkintosh: basically, you plumbed hot to hot, and hot to cold. so you only get hot.
12:59 PM lcnc-relay: <oddname_skane@> that something is wrong is a given, but what? 😄
12:59 PM Tom_L: keep digging
12:59 PM Tom_L: you will find it
12:59 PM Tom_L: hard to diagnose the invisible from a distance
12:59 PM bjorkintosh: right.
01:00 PM * roycroft wants to get the mini-router going soon
01:00 PM Tom_L: trust me on the home bit though
01:00 PM bjorkintosh: tplink?
01:00 PM roycroft: while i'm waiting for paint/plaster/etc to dry on my other projects i'll spend some time on that
01:00 PM roycroft: i think motion control is all i need to do at first
01:01 PM roycroft: since i don't have a power supply for the spindle yet
01:01 PM roycroft: i should have everything else i need
01:02 PM lcnc-relay: <oddname_skane@> could it be as simple as a bad cable?
01:03 PM Tom_L: could be about anything
01:04 PM Tom_L: stepper?
01:04 PM Tom_L: is the dir wire connected?
01:04 PM Tom_L: watch hal show for that
01:04 PM lcnc-relay: <alexmagtoast@> Hi, did you sort out the serial issue? oddname_skane@
01:05 PM lcnc-relay: <oddname_skane@> nope, another issued decided to say hello but since you are here now
01:05 PM lcnc-relay: <oddname_skane@> guessing its a version thing for that serial-module?
01:06 PM lcnc-relay: <oddname_skane@> pythong 3.11 installed
01:06 PM lcnc-relay: <oddname_skane@> * python
01:07 PM lcnc-relay: <alexmagtoast@> Did you install python serial?
01:08 PM lcnc-relay: <oddname_skane@> E :Unable to locate package python-serial
01:11 PM lcnc-relay: <oddname_skane@> so that is the issue, if not installed of course it wont work 🙂
01:12 PM lcnc-relay: <alexmagtoast@> I am currently busy, i'll check it later
01:12 PM lcnc-relay: <oddname_skane@> 👍 no hurries 🙂
01:12 PM lcnc-relay: <oddname_skane@> thanks is forehand
01:15 PM test: still me with the EL2809 up and running, I used Rodw guide to install the ethercat devices, now I need to have an output on the 2809 to turn a light on when the machine is turned on/turned off on the GUI, at page 246 of the manual I found "motion.enable - (bit, in)" what is the syntax and steps to do it? or where can I find a guide? I can't find
01:15 PM test: any info
01:16 PM lcnc-relay: <oddname_skane@> alexmagtoast@: did it
01:16 PM lcnc-relay: <oddname_skane@> python3-serial did the trick, now I can see arduino in pins
01:18 PM lcnc-relay: <oddname_skane@> and they work, then I have just one more tiny Q
01:18 PM lcnc-relay: <oddname_skane@> how do I tell the code which pin is for the adressable led?
01:39 PM lcnc-relay: <oddname_skane@> pretty sure Z-axis is lack of dir signal
01:42 PM lcnc-relay: <oddname_skane@> recall having similar issues with the old grbl-board
02:50 PM rdtsc-w: Beckhoff EL2809 = some pretty esoteric bit of kit... for HAL syntax, see: https://linuxcnc.org/docs/html/hal/basic-hal.html
03:32 PM JT-Shop: wow I wrote that
03:41 PM Tom_L: no surprise there
04:48 PM lcnc-relay: <skunkworks8841@> JT-Shop: traumatic? 😉
04:49 PM JT-Shop: ?
04:51 PM lcnc-relay: <skunkworks8841@> writing the basic-hal.. Writing any kind of manuals is traumatic for me
04:52 PM JT-Shop: I was on a mission lol
04:53 PM rdtsc-w: JT is mission:possible
04:53 PM xxcoder: the doc wars
04:57 PM rdtsc-w: Oh crikey... https://www.youtube.com/shorts/ZTwlGIELlJ4
04:59 PM xxcoder: interesting
05:00 PM lcnc-relay: <skunkworks8841@> lol - I remeber a show on public television on robots? maybe computers? but at the end - there was a robot doing work then promply unplugs itself..
05:00 PM lcnc-relay: <skunkworks8841@> my time frame seems to be around the late 80's but who knows.
05:01 PM xxcoder: it knew it would work so much so it "failed" byunplugging ;)
05:17 PM roycroft: and my tool was just received by the eugene sorting center, so it will be going to portland tonight
05:17 PM roycroft: i guess the local delivery person couldn't be bothered to drop it off today
05:18 PM * roycroft does have something coming from fedex today, and based on past history fully expects it to be delivered
05:26 PM * JT-Shop got his bacon delivered by ups today
05:30 PM Tom_L: maybe you should request fedex shipping
05:32 PM JT-Shop: me?
05:32 PM Tom_L: no
05:32 PM Tom_L: roy seems to have better luck with them
05:32 PM JT-Shop: I think roycroft has no luck with shipping
05:32 PM roycroft: were that i could
05:33 PM roycroft: fedex is fine, jt-shop
05:33 PM Tom_L: it it warn't for bad luck he would have none
05:33 PM JT-Shop: lol
05:33 PM roycroft: it's usps that don't get around to it, and ups that think my invisible dog is going to kill them if they step onto my property
05:34 PM roycroft: i guess the invisible dog has an invisible leash that lets the dog get to the fence gate, but no further
05:34 PM JT-Shop: I had a ups driver that started dropping my packages at the end of the driveway
05:34 PM lcnc-relay: <skunkworks8841@> same
05:35 PM lcnc-relay: <skunkworks8841@> sometimes in the mailbox.. sometimes now
05:35 PM lcnc-relay: <skunkworks8841@> not
05:35 PM JT-Shop: he said my driveway was too grown over and might damage his truck
05:35 PM roycroft: putting it in the mailbox would be a federal offense punishable by a fine of $10,000 and ten years in jail
05:35 PM lcnc-relay: <skunkworks8841@> right!? that is what I thought
05:35 PM roycroft: unless it had a stamp on it
05:35 PM lcnc-relay: <skunkworks8841@> amazon does it too
05:36 PM roycroft: but even then i don't think they can legally do it unless they are usps contractors or employees
05:36 PM lcnc-relay: <skunkworks8841@> I think I have delivery emails that say - put in customers mailbox
05:37 PM Tom_L: get one and paint it to look like a brown truck with the logo n all
05:38 PM roycroft: if you do that make sure you keep both the front doors open at all times and be sure to wear shorts in the winter
05:38 PM roycroft: brown shorts, of course
05:39 PM JT-Shop: https://youtu.be/XzfPeJcDQx0?t=196
05:40 PM JT-Shop: I've not seen an offset like that for a router
05:42 PM Tom_L: https://www.homedepot.com/p/Milwaukee-Compact-Router-Offset-Base-48-10-5602/311595564?source=shoppingads&locale=en-US&gQT=1
05:42 PM Tom_L: makita makes one too
05:42 PM JT-Shop: I wonder how that works
05:42 PM Tom_L: gears?
05:44 PM JT-Shop: going to add some reamers noodles to the chicken soup tomorrow
05:44 PM Tom_L: found some ehh
05:44 PM Tom_L: may need some more broth
05:44 PM JT-Shop: kroger had them on the bottom shelf
05:45 PM Tom_L: seems like they're always hidden
05:45 PM Tom_L: walmart move them around
05:46 PM Tom_L: had leftover breadbowl soup for lunch and leftover beef stew atm
05:46 PM JT-Shop: I'm having leftover shrimp and noodles
05:47 PM JT-Shop: with garlic bread
05:47 PM Tom_L: now i may walk across the street and visit the newborn & mom
05:48 PM JT-Shop: that's handy when you can just cross the street to visit
05:48 PM Tom_L: when she moved from Ga she wanted to be close to help since there's really nobody here but us
05:53 PM * JT-Shop calls it a day
06:18 PM roycroft: and fedex just arrived, as expected
06:41 PM xxcoder: nice
06:41 PM xxcoder: hows router rebuild going
07:12 PM lcnc-relay: <skunkworks8841@> powered up the mazak again to charge the batteries..
07:27 PM synfinatic: anyone know of a reasonably priced digital dial indicator gauge capable of 10Hz or better output? Ideally serial and not some proprietary driver or windows only?
07:33 PM Tom_L: cheap means china good means us or japanese
07:33 PM Tom_L: mitutoyo probably has one
07:37 PM Tom_L: brown & Sharp or starrett as well
07:40 PM Tom_L: https://www.travers.com/product/tesa-brown-sharpe-599-1033-12-dial-drop-indicator-57-017-377
07:40 PM Tom_L: unavailable..
07:41 PM synfinatic: mitutoyo wants $600+ and then another $50 for a cable
07:41 PM Tom_L: they are widley used in the machine industry too.. for good reason
07:42 PM Tom_L: starrett equivalent is probably more
07:45 PM Tom_L: 1k for absolute
07:45 PM Tom_L: https://www.higherprecision.com/products/indicators/mitutoyo-543-561a-digimatic-indicator-id-h-high-accuracy-and-high-functional-type-0-30_4mm-range-8mm-stem-model-id-h530
07:46 PM synfinatic: lol. i only really need 0.001" precision
07:46 PM Tom_L: go get a chinese knockoff then
07:47 PM synfinatic: looked on ali and can't find anything useful. everything I find is the stupid "press button on the box" cheap crap, and not serial out
07:48 PM Tom_L: why do you need serial out?
07:48 PM Tom_L: https://www.tequipment.net/Mitutoyo/543-782/Digital-Indicators/?gQT=1
07:49 PM Tom_L: aparently that one has SPC out
07:49 PM Tom_L: only IP42
07:49 PM Tom_L: my mics are IP65
07:50 PM synfinatic: plan is to write it into a microcontroller like arduino thing. also need to wire in a rotary encoder for position/etc. not actually used in CNC so no coolant/need for real IPXX rating
07:50 PM Tom_L: what about glass scales?
07:51 PM synfinatic: honestly i have no idea what SPC is... is that going to give me 10Hz or better?
07:51 PM synfinatic: nope, needs to be a dial indicator since that's the tool it needs to mount into. there's a force pack which converts lbs of force into distance
07:52 PM Tom_L: https://www.mitutoyo.com/webinar/spc-in-3-steps/
07:52 PM synfinatic: neat. watching now :)
07:53 PM Tom_L: https://www.mscdirect.com/product/details/15628902
07:53 PM Tom_L: more than you want to spend
07:54 PM synfinatic: oh... yeah, a $800 software for $200 tool is a no go. not for this hack at least.
07:54 PM synfinatic: i can buy a fully automated turn key commercial solution for about $1200
07:56 PM Tom_L: https://www.judgetool.com/products/mitutoyo-spc-data-cables-for-digital-indicators/37905%7C37908_965014/
07:57 PM Tom_L: http://www.matronics.com/cncscale/DiagramRev2.pdf
07:57 PM Tom_L: probably more what you're looking for
07:59 PM synfinatic: oh. $200 + $75 for a cable and a simple protocol... that's in the realm of "reasonably priced"
08:00 PM synfinatic: and someone already did some of the work: https://newscrewdriver.com/2020/09/22/arduino-interface-for-mitutoyo-spc-data-port/
08:00 PM synfinatic: Thank you Tom_L. this has been most helpful!
08:00 PM Tom_L: that's why we're here
08:04 PM Tom_L: https://www.instructables.com/Interfacing-a-Digital-Micrometer-to-a-Microcontrol/
08:04 PM Tom_L: you probably saw that then
08:17 PM synfinatic: huh. finding a 1" gauge for < $500 was hard. but I don't care about the shape so this will work: https://us.misumi-ec.com/vona2/detail/223300522368/?HissuCode=575-123
08:18 PM Tom_L: probably a differrent protocol too
08:18 PM synfinatic: nope, all SPC. just most of them are 0.5/12.5mm
08:19 PM Tom_L: the instructables link looked pretty thorough
08:20 PM synfinatic: yeah, this is well beaten path it seems. now I just need to figure out how to design a mount for the encoder to measure the rotation of my handle so I can plot distance vs. force.
08:55 PM xxcoder: tom I just finished the other freecad video. nice one indeed. some stuff im not familiar with, like shapebinder
11:34 PM mrec: did anyone here do some gear cutting / especially hobbing?
11:36 PM mrec: I successfully hobbed gears with LinuxCNC, that's not an issue. Gear cutting more or less aligns itself it seems.