#linuxcnc Logs
Nov 25 2023
#linuxcnc Calendar
12:37 AM mrec: I seem to have several small issues with the latest linuxcnc version..
12:49 AM mrec: reloading files doesn't work in Axis, tool table doesn't exist anymore
12:49 AM mrec: Requested tool N not found in the tool table ...
01:11 AM mrec: ok the git repository was broke when I pulled it last time
01:11 AM mrec: I just updated it and it's okay again
01:41 AM Deejay: moin
01:54 AM mrec: those recent updates don't seem to be good
01:54 AM mrec: M0 also doesn't work properly anymore here
01:55 AM mrec: once issued linuxcnc behaves like dead again
01:56 AM mrec: tool changing doesn't work anymore
01:56 AM mrec: it just hangs
01:58 AM mrec: why the hell did that get updated?! it all worked before
01:58 AM mrec: first the tool table support was broke - that got fixed again
01:59 AM mrec: but tool changing just hangs now
02:07 AM mrec: maybe some issue with a script ... still checking
02:47 AM mrec: ok everything's better actually. seems like the python integration changed somewhat that things are interpreted a little bit different now
02:47 AM mrec: possibly in a different order
03:08 AM Contract_Pilot: Hope eveyone had a great thanksgiving to the ones that celebrate.
03:11 AM Contract_Pilot: pcw check this bodged cap and solder splatter on the 470uf 25V cap. Talk at $1000 Solder station JBC Quality LOL
03:11 AM Contract_Pilot: https://www.stevenrhine.com/wp-content/uploads/2023/09/JBC-Tools-DDE-1C-FIrmware-Issue-Replacement-PCB-Bodged-Capacitor-scaled.jpg
03:12 AM Contract_Pilot: The Jiz... https://www.stevenrhine.com/wp-content/uploads/2023/10/JBC-DDE-1C-Teardown-Solder-Splatter-scaled.jpg
03:13 AM Contract_Pilot: My 5.8K Mistake going to JBC
04:28 AM mrec: seems like the Mechatronika assembly staff moved on to JBC
04:30 AM mrec: blob:https://snipboard.io/bd25ecd7-822d-4dce-bee9-952800467247
04:30 AM mrec: https://i.snipboard.io/PNrKw2.jpg
04:30 AM mrec: the second one...
04:30 AM mrec: staging camera of a pick and place machine .. and that's already the production version of it other customers reported the same
04:42 AM Contract_Pilot: Yea, QC these days.
04:43 AM Contract_Pilot: https://www.stevenrhine.com/wp-content/uploads/2023/09/JBC-Craig-Morris-Text-November-21st-DDE-1C-Display-Replacements.jpg
04:44 AM Contract_Pilot: https://www.stevenrhine.com/wp-content/uploads/2023/09/JBC-DDE-1C-Factory-Photo-Test-Units-Inconsistant-Displays.jpg
04:46 AM Contract_Pilot: Very Annoying. https://www.stevenrhine.com/wp-content/uploads/2023/09/JBC-Washed-Out-Display.jpg
04:55 AM mrec: are you a reseller?
04:56 AM JT-Cave: morning
04:58 AM Tom_L: morning
05:08 AM Contract_Pilot: No... end user.
05:39 AM lcnc-relay: <sodakaustik> mornin
06:50 AM JT-Cave: rooster just crowed
09:44 AM JT-Cave: Tom_L, just solved a real interesting problem that drove me nuts for the last day or so
09:44 AM JT-Cave: https://forum.linuxcnc.org/41-guis/50779-python-user-interface-error#286460
09:46 AM Tom_L: heh
09:46 AM Tom_L: lcnc docs are wrong?
09:47 AM Tom_L: i keep getting joint following errors on the mill now. nothing has changed but they seem to be getting worse
09:49 AM Tom_L: for a long time it ran just fine
09:51 AM JT-Shop: well the are a bit misleading for sure for that tidbit
09:52 AM Tom_L: never tried interfacing anything to lcnc so i've no idea
09:54 AM JT-Shop: http://linuxcnc.org/docs/stable/html/config/python-interface.html#python:reading-ini-values
09:55 AM JT-Shop: what drove me nuts was that code worked if I started an axis sim then ran my gui
09:55 AM JT-Shop: but not if my gui was installed and started by the ini file
10:00 AM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> https://jauriarts.org/_matrix/media/v1/download/jauriarts.org/ybOCzwWJGmYQrRpeIqDoBdHw
10:00 AM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> Hello š, so Iām trying to make work index homing on 7i95T and delta b2 servo. Jogging works, but homing does not detect index signal. I would like to start with correct firmware: so which one should I use? Thanks in advance for helping me out
10:03 AM Tom_L: just started snowing
10:04 AM Tom_L: radar agrees
10:06 AM JT-Shop: unless you're doing something odd the default firmware is the one to use
10:07 AM JT-Shop: it's possible that mesact might make a working configuration for you
10:07 AM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> I already tried and the basic jogging works
10:08 AM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> However if I check index homing in homing tab and try to home X axis, it does not detect index pulse and it backs out from limit switch without stopping
10:10 AM JT-Cave: that's a configuration or wiring issue and has nothing to do with the firmware
10:11 AM JT-Cave: there is only a few firmware files for the 7i95t and they do stuff like add a pwm and some other weird stuff
10:16 AM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> https://jauriarts.org/_matrix/media/v1/download/jauriarts.org/hAFmRRybUkOdXtPgUSTDnivN
10:16 AM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> https://jauriarts.org/_matrix/media/v1/download/jauriarts.org/WXGLSlQpnBLreEnPnrHxEQYZ
10:16 AM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> Som Im on the default firmware:
10:17 AM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> So could I share hal and ini now?
10:19 AM Tom_L: paste.debian.net
10:20 AM Tom_L: yes
10:23 AM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> ini: https://paste.debian.net/1299221/
10:24 AM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> hal: https://paste.debian.net/1299222/
10:24 AM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> io.hal https://paste.debian.net/1299223/ (probably not necessary)
10:24 AM roycroft: that lcnc-relay is rather annoying
10:25 AM roycroft: if it could shorten the @_discord part it would be much less so
10:26 AM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> * ini: https://paste.debian.net/hidden/0e434de0/
10:28 AM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> motion enable does not work straight from the config, but I anticipated, that alarm signal should be conneted to joint.N.amp-fault-in and servo enable should be connected to joint.N.amp-enable-out
10:30 AM pcw-home: If you are not using encoder feedback, but are homing to index with a step/dir system, you must use firmware with step/dir index and connect index-enable to stepgen index enable rather than encoder index enable
10:33 AM solarwind: A bird got into the workshop
10:33 AM solarwind: my cat was chasing it all night. I thought she was just being a silly kitty.
10:34 AM solarwind: But then when I woke up, I heard tweets and flapping wings. It's jumping/flying from one truss to the next. I don't think my cat is ever going to catch it like that.
10:35 AM solarwind: It's too cold to leave the door open so I guess I have a pet bird now
10:35 AM JT-Cave: hmm I see the 7i95T has a couple of new firmware
10:36 AM JT-Cave: pcw-home, what is 7i95t_sdid.bin?
10:38 AM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> i can use encoder feedback, i am open to your suggestions
10:38 AM solarwind: Why does homing even need an index signal?
10:39 AM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> index homing is very precise
10:39 AM solarwind: should be able to do it purely on A/B quadrature outputs without the Z
10:39 AM solarwind: it's no more precise than A/B only
10:40 AM Tom_L: solarwind, it's another way to do homing
10:40 AM solarwind: the B2 servo drive outputs incremental quadrature signals, so the mesa card can track that just fine
10:40 AM solarwind: Tom_L YOU'RE another way to do homing
10:40 AM solarwind: Tom_L when I get lost, I look for your beautiful face in the stars
10:41 AM pcw-home: 7i95t_sdid.bin is firmware with step/dir index
10:41 AM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> John, should I try 7i95t_sdid.bin?
10:43 AM pcw-home: If you are not using encoder feedback but want homing to index in a step/dir system you would need firmware with step/dir index support
10:43 AM pcw-home: (the hal file also needs to use the stepgen index rather than the encoder index)
10:44 AM solarwind: Yeah I've never found the Z pulse to be of any use whatsoever
10:44 AM solarwind: it's completely fucking useless
10:44 AM solarwind: if i'm counting quadrature signals, then I already know my exact absolute position since power on
10:45 AM pcw-home: It give the ability to home more precisely
10:45 AM solarwind: pcw-home how??
10:45 AM pcw-home: since with quadrature you have no absolute position information
10:45 AM solarwind: that makes no sense, the Z pulse is the same resolution as the quadrature period
10:46 AM solarwind: yeah absolute position != precision
10:46 AM pcw-home: but you have only relative positions so no home
10:46 AM solarwind: index doesn't give home, it just gives you one pulse per rotation, no?
10:47 AM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> exactly
10:47 AM pcw-home: Yes in conjunction with a home switch it gives you a precision home location
10:47 AM solarwind: or can the Delta B2 drives be configured to give you a Z pulse on actual home position?
10:47 AM solarwind: pcw-home that makes no sense as to why it's more precise than counting quadrature signals
10:47 AM solarwind: it's exactly as precise, no more, no less
10:48 AM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> its for homing when you have machine powered off
10:48 AM pcw-home: Yes but quadrature by it self is relative
10:48 AM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> so that you get more consistent homing when you shut the machine off
10:48 AM solarwind: if you have machine powered off and someone bumps the table, you can lose more than one revolution, no?
10:48 AM solarwind: maybe I'm just used to my leadshine drives that have absolute encoders and battery backup so you always have actual absolute position
10:49 AM pcw-home: makes no difference
10:49 AM solarwind: pcw-home how is that possible? if you turn off your machine and I rotate the ballscrew 10 times, your homing information is useless
10:49 AM JT-Cave: on my CHNC and BP I have home switches and home to index so touch the switch first then move to index
10:49 AM pcw-home: If you do not have absolute feedback to LinuxCNC, homing to index gives you the same precision
10:50 AM solarwind: oh, in combination with the switches after full homing routine
10:51 AM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> however !solarwind! i am curious what you mentioned, if its possible to track position of axis when you have servo disabled (lets say you move it by hand) - to avoid need of re-homing
10:51 AM pcw-home: solarwind: Yes, not all systems have absolute encoders
10:51 AM solarwind: ah my bad
10:51 AM JT-Cave: so I assume 7i95t_5abobd.bit puts the 5 axis bob on the P1?
10:51 AM solarwind: zmrdko, Leadshine EL7 drives have battery backed encoders as standard
10:51 AM solarwind: and they're the same price or cheaper than Delta B2, and much better specs
10:52 AM solarwind: that is, they have the backup battery in the encoder cable assembly, so it's impossible to lose servo position even when the system is powered off
10:52 AM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> i know, but im on relative encoders..
10:53 AM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> thats why Im trying to figure out index homing
10:53 AM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> so should I try 7i95t_sdid.bin?
10:56 AM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> Should I use encoder feedback or not? According to hal file i am using feedback from stepgen:
10:56 AM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> net joint-0-pos-fb <= hm2_[MESA](BOARD).0.stepgen.00.position-fb
10:57 AM pcw-home: JT-Cave: yes
10:58 AM JT-Cave: thanks, updating the description files and pin files
11:00 AM JT-Cave: zmrdko, I just updated the 7i95t firmware repo so if you download it again you'll get the latest firmware
11:01 AM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> Update using mesaCT?
11:01 AM JT-Cave: yup just have the 7i95t selected and download firmware
11:01 AM pcw-home: lcnc-relay: You can home to index with a step/dir system using the sdid firmware and chagin the hal file to use the stepgen index rather than the encoder index
11:01 AM JT-Cave: the encoder feedback may not be correct
11:02 AM JT-Cave: and I've added that firmware
11:02 AM JT-Cave: to mesact
11:03 AM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> ok, I see now updated description: 6 Axes of Step and Direction with Index
11:04 AM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> flashed sdid
11:06 AM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> https://jauriarts.org/_matrix/media/v1/download/jauriarts.org/UqwgnSboBhQivzegbTtknuxo
11:10 AM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> # Joint 0 Axis X
11:11 AM JT-Cave: chickens are taken care of time to check the fires
11:27 AM pcw-home: Fires?
11:44 AM roycroft: matt cremona's video today is pretty cool - he's using a yeti portable cnc router
11:44 AM roycroft: it has some really neat features
11:44 AM roycroft: https://www.youtube.com/watch?v=4Q8Fh59qD6Y
11:59 AM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> I can get index pulse by hand:
11:59 AM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> So wiring is good
11:59 AM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> Do I need to assign input-index pin to something in hal?
01:29 PM Unterhaus_ is now known as Unterhausen
01:37 PM JT-Shop: zmrdko with your configuration running open a terminal and do halcmd show all > 7i95t-pins.txt and post the text file
01:39 PM Roguish: saw a corvette yesterday. license plate: EZ 2 SPD
01:39 PM JT-Woodshop: lol
01:40 PM JT-Woodshop: a local has HER CRVT
01:44 PM JT-Shop: did you see the car and driver 0-150-0 video
01:48 PM JT-Shop: https://www.caranddriver.com/reviews/a45765297/0-150-0-mph-speed-test-2023/
02:01 PM lcnc-relay: <JT (@jt-shop:matrix.org)> https://matrix.org/_matrix/media/v1/download/matrix.org/UFkwCgzehnSBFfNbUjxQJcnV
02:25 PM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> Thanks John, I advanced a little. I get index signal now, however I get strange behaviour after finding index position:
02:27 PM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> After finding index it moves back away from index position. (HOME_OFFSET is 0). It basically moves back to a position where the homing started
02:34 PM lcnc-relay: <unterhausen> that's a known condition, but I don't know what the fix is
02:36 PM JT-Shop: what did you do to get it to home to stepgen index?
02:37 PM JT-Shop: iirc after home emc backs off the home switch but not sure about home to stepgen index
02:37 PM lcnc-relay: <unterhausen> home to stepgen index has a problem with this, I am starting to remember
02:45 PM * JT-Shop thinks he might not sell the Brown & Sharpe 612 surface grinder as I'm fixing to use it
02:54 PM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> John, I added the last line to hal file:
02:54 PM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> # joint-0 enable chain
02:55 PM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> Looked like a reasonable thing to do according to manual
03:03 PM JT-Shop: post your hal file again
03:10 PM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> https://paste.debian.net/hidden/3d726ef3/
03:10 PM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> i only mess with joint 0
03:11 PM JT-Shop: ok
03:12 PM JT-Shop: so you swapped out stepgen for encoder feedback is all?
03:13 PM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> Im still on stepgen feedback afaik
03:13 PM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> Encoder position is commented out
03:14 PM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> https://jauriarts.org/_matrix/media/v1/download/jauriarts.org/ZwSYgDIFGtfcgrUjPOIvLOeZ
03:17 PM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> At position 35.089 home/limit switch is triggered. That resets DRO to 0. Going oposite direction -2.223 index position is tripped. That makes DRO jump to 35.022 and go back to 0
03:18 PM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> * At position 37.089 home/limit switch is triggered. That resets DRO to 0. Going oposite direction -2.223 index position is tripped. That makes DRO jump to 35.022 and go back to 0
03:36 PM pcw-home: what is index-enable connected to in the hal file?
03:39 PM JT-Shop: # joint-0 enable chain
03:39 PM JT-Shop: net joint-0-index-enable <=> pid.x.index-enable
03:39 PM JT-Shop: net joint-0-index-enable <=> joint.0.index-enable
03:39 PM JT-Shop: net joint-0-index-enable <=> hm2_[MESA](BOARD).0.encoder.00.index-enable
03:39 PM JT-Shop: still connected to encoder
03:59 PM * JT-Shop takes 5 before doing the final welding on the hollywood rack repair
04:54 PM roycroft: i'm doing some engraving with my shaper origin today
04:55 PM roycroft: on a shop fixture, but just for practice, not to be all fancy
04:56 PM roycroft: it was fine doing outlines with an engraving cutter
04:56 PM roycroft: but i just picked up a 1/16" diameter cutter so i can do some solid lettering
04:56 PM roycroft: i'll see if i can avoid breaking it
04:56 PM roycroft: or, rather, if the origin will prevent me from breaking it
04:59 PM roycroft: if this works, maybe i'll try a 1/32" cutter next
05:01 PM Tom_L: still snowing
05:01 PM XXCoder: went out with just shirt here. nice and cool
05:10 PM roycroft: it's nowhere near snowing here, but we had a hard frost last night (-4), and it's pretty cool today (8)
05:29 PM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> So is it a bug, John?
05:30 PM JT-Shop: it?
05:34 PM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> I mean this. The unreasonable move after homing
05:35 PM JT-Shop: do you still have index-enable connected to encoder?
05:35 PM JT-Shop: read back a bit
05:43 PM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> Yes, its still connected
05:44 PM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> I have just googled what unterhausen (@_discord_769703934390304789:jauriarts.org) wrote and I think this is it:
05:44 PM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> https://forum.linuxcnc.org/10-advanced-configuration/29102-using-an-index-pulse-with-stepgen
05:44 PM JT-Shop: I assume from Peter's comment that it should be connected to stepgen
05:46 PM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> Let me try
05:46 PM JT-Shop: time for me to call it a day
05:52 PM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> https://jauriarts.org/_matrix/media/v1/download/jauriarts.org/OzeUkkqwNSVaiAUMmZozvqdJ
05:52 PM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> And it works!!
05:53 PM lcnc-relay: <zmrdko (@_discord_397707718582075420:jauriarts.org)> Thanks a million!!
06:25 PM roycroft: so what i like about doing epoxy fills is that the epoxy sands cleanly
06:25 PM roycroft: sanding ca glue gums up the abrasive sheet almost immediately
06:25 PM roycroft: epoxy sands pretty much like wood
06:25 PM -!- #linuxcnc mode set to +v by ChanServ
07:25 PM CaptHindsight: ca = Cyanoacrylate ?
07:26 PM roycroft: yes
09:13 PM roycroft: the engraving went realy well btw, but i was doing it in mdf, so that was probably as easy as it gets
09:14 PM roycroft: the origin in auto mode was moving faster than i was moving it manually, but the cutter was just fine
09:47 PM Tom_L: 6-8" snow so far today
10:34 PM roycroft: it's just cold here
10:34 PM roycroft: it's down to freezing now
10:35 PM XXCoder: should be freezing here also. and fog
11:10 PM roycroft: yes, it's fog season here too
11:58 PM CaptHindsight: <1 in. snow expected (2.5cm)