#linuxcnc Logs

Jul 20 2024

#linuxcnc Calendar

03:34 AM Deejay: moin
03:52 AM -!- #linuxcnc mode set to +v by ChanServ
04:03 AM -!- #linuxcnc mode set to +v by ChanServ
04:24 AM -!- #linuxcnc mode set to +v by ChanServ
04:25 AM JT-Cave: morning
04:45 AM Tom_L: morning
04:59 AM Tom_L: PR #108 up but 2.1.5 mesact shows 2.1.4 when you build
05:01 AM Tom_L: #43 flexgui up as well
05:20 AM JT-Cave: yup had a snafu with mesact and had to clone again then forgot to update the changelog
05:44 AM * JT-Cave is burning daylight
05:57 AM -!- #linuxcnc mode set to +v by ChanServ
07:09 AM lcnc-relay: <vibram> Hello
07:10 AM lcnc-relay: <vibram> Another question regarding my wiring. I don't want to mess with it because I use expensive stuff
07:10 AM lcnc-relay: <vibram> Ma spindle drive is a Yaskawa A1000
07:11 AM lcnc-relay: <vibram> https://jauriarts.org/_matrix/media/v3/download/jauriarts.org/cLJKnGuLUqkBNsywsXmTDmOg/image.png
07:11 AM lcnc-relay: <vibram> Here are the 2 wiring options
07:11 AM lcnc-relay: <vibram> I have a Mesa 7i96S
07:12 AM lcnc-relay: <vibram> I think both wiring option are OK with my pins SPINDLE+ and SPINDLE-
07:12 AM lcnc-relay: <vibram> but what about the resistor ?
07:13 AM lcnc-relay: <vibram> Because I don't use a potentiometer, and the Whiper should be my pin SPINDLE OUT
08:41 AM Tom_L: vibram, the left diagram is a symbol for a pot with a 2k value https://randomnerdtutorials.com/electronics-basics-how-a-potentiometer-works/
08:42 AM Tom_L: TB2-23 is the wiper
09:17 AM Tom_L: light shower earlier.. 69°F, hi 83°F
09:23 AM lcnc-relay: <vibram> I know this is potentiometer but isn't it the same principle on the mesa with the 3 pins?
09:24 AM Tom_L: yup
09:25 AM lcnc-relay: <vibram> But the supply is - 10.5 to 10.5v
09:26 AM Tom_L: TB2-22 -> analog gnd, TB2-24 -> +10v TB2-23 -> analog in A1
09:26 AM lcnc-relay: <vibram> And mesa is up to 20v, maybe I will damage the board
09:26 AM Tom_L: it's a 10v swing floating between 0 - 20v
09:27 AM lcnc-relay: <vibram> I have - 10.5v available also
09:27 AM Tom_L: or maybe between -10v - +10v.... i forget what the docs say specifically
09:27 AM Tom_L: check the voltage with a meter
09:27 AM lcnc-relay: <vibram> In order to have - 10 to +10
09:27 AM Tom_L: i'd use the 0 - 10v one
09:27 AM Tom_L: left diagram
09:28 AM lcnc-relay: <vibram> Oh OK
09:28 AM lcnc-relay: <vibram> So I need to add wire for the rotation choice
09:29 AM Tom_L: fwd rev?
09:29 AM lcnc-relay: <vibram> And do I need a extra resistor of 2k to mimic the potentiom6?
09:29 AM Tom_L: likely so
09:29 AM lcnc-relay: <vibram> Yes
09:29 AM lcnc-relay: <vibram> This is the advantage of - /+10v
09:29 AM Tom_L: shouldn't but if it _is_ 10.5v you might ask pcw first
09:30 AM lcnc-relay: <vibram> Agree
09:30 AM Tom_L: the disadvantage of the -10 +10 is the part on the mesa card won't do a 20v swing
09:30 AM Tom_L: 10v
09:30 AM lcnc-relay: <skunkworks8841> I would think you could use the same wiring with the left side for the +/- 10 froom mesa
09:31 AM lcnc-relay: <skunkworks8841> oh - doesn't the spindle analog output do +/-10v?
09:31 AM Tom_L: not those
09:31 AM lcnc-relay: <skunkworks8841> it has been a while
09:31 AM lcnc-relay: <skunkworks8841> ok
09:31 AM Tom_L: mine 7i47s only does 10v swing
09:31 AM Tom_L: some of the others do a 20v swing
09:31 AM lcnc-relay: <skunkworks8841> I think on the k&t an matsuura I used one of the servo analog channels to run the spindle
09:32 AM Tom_L: i don't know which cards have the -10 - +10v
09:32 AM Tom_L: that isn't one of them
09:33 AM lcnc-relay: <skunkworks8841> ether way - use the left side wiring 😉
09:33 AM Tom_L: i would
09:33 AM Tom_L: he's just worried about adding a wire for fwd/rev
09:35 AM lcnc-relay: <vibram> I though the available swing was between spindle - and spindle?
09:35 AM Tom_L: he may find out he needs an ena wire too but it's not shown there
09:35 AM Tom_L: no
09:35 AM lcnc-relay: <vibram> I will do so
09:38 AM Tom_L: set the drive settings according to the chart there
09:38 AM Tom_L: H3-01=0
09:56 AM pcw--home: Are you sure there is no direction input possible? that would be much simpler
10:10 AM lcnc-relay: <vibram> Of course there is 2 pins for direction
10:10 AM lcnc-relay: <vibram> Possible
10:11 AM lcnc-relay: <vibram> So you have the same advice? Left wiring and 2 pins for direction
10:12 AM pcw--home: Either DIR/ENA or FOR/REV
10:13 AM lcnc-relay: <vibram> I have for /Rev
10:14 AM lcnc-relay: <vibram> https://jauriarts.org/_matrix/media/v3/download/jauriarts.org/PuoHdZkpARkQWhEdAASjprDR/Screenshot_2024-07-20-17-07-48-922_com.google.android.apps.docs.jpg
10:14 AM lcnc-relay: <vibram> S1 and S2
11:46 AM Tom_L: JT-Cave, #109 for mesact, #44 for flexgui
12:10 PM JT-Cave: left my phone on the tonneau cover and spend a few hours looking for it in places it might have fallen off finally looked online and verizon showed me the last location
12:10 PM JT-Cave: found my cover but not the phone... cover is broken...
12:13 PM Tom_L: :/
12:22 PM pcw--home: no GPS?
12:23 PM JT-Cave: it has GPS but I think the phone is very broken
12:23 PM pcw--home: Found Catherines phone with GPS last time she lost it
12:23 PM Tom_L: S10 wasm
12:23 PM Tom_L: wasn't it?
12:23 PM pcw--home: yeah may have been run over :-(
12:27 PM JT-Shop: looking at the cover the point of impact is clear and the corner is folded over from the impact
12:28 PM JT-Shop: I would still like to find the phone and recover the SD and SIM
12:28 PM pcw--home: How far could it be from the cover?
12:29 PM Tom_L: were you at mach2 at the time?
12:29 PM Tom_L: could be a ways...
12:29 PM JT-Shop: the median is mowed but the side is not so the grass is quite tall
12:29 PM JT-Shop: I would think it would be withing 50' of the cover...
12:29 PM Tom_L: yeah
12:30 PM JT-Shop: in the Ridgeline coming home from my ride
12:30 PM Tom_L: ahh
12:30 PM pcw--home: That's quite a bit in tall grass
12:30 PM Tom_L: wasn't with you on the ride and fell off?
12:31 PM JT-Shop: no, I left it on the tonneau cover at the back of the truck
12:32 PM JT-Shop: if it fell off while riding then the music would stop
12:33 PM Tom_L: k
12:34 PM lcnc-relay: <Travis Farmer> could be the phone is embedded in the front of the car that was following...
12:39 PM JT-Shop: interesting and scary that verizon can tell me the exact location the phone was last connected
12:40 PM lcnc-relay: <Travis Farmer> scary indeed
12:40 PM Tom_L: ever been woke up with an amber alert? i'm sure they monitor alot more than we know
12:40 PM JT-Shop: looking at the map closely I have a better idea where to search
12:40 PM JT-Shop: yup I'm sure
12:41 PM JT-Shop: oh and flex has a merge problem...
12:41 PM Tom_L: merge?
12:41 PM Tom_L: the deb?
12:41 PM Tom_L: i built both just after you updated this morning
12:42 PM Tom_L: headin out.. lemme know if i need to rebuild
02:06 PM Tom_L: JT-Shop, see if #4 fixed it
02:06 PM Tom_L: #45
05:38 PM JT-Cave: Tom_L, yea that fixed it
05:40 PM Tom_L: working on the dark theme rpi ui to run the mill for a test
05:40 PM JT-Cave: cool
05:41 PM Tom_L: had to get all the configs right
05:41 PM JT-Cave: I'm working on sorting out stylesheet loading
05:41 PM JT-Cave: one thing about touch screen is hover is not used but I "think" pressed, checked etc should be used
05:41 PM Tom_L: this is under the 'new' RTAI but somewhat waiting for the 2.9.3 / 2.9.4 fix
05:42 PM Tom_L: some gcode bug (lathe i think)
05:48 PM * JT-Shop calls it a night and hopes that phone hunting is successful in the morning
05:55 PM Tom_L: you takin hers to help locate it?
06:39 PM sinned69159 is now known as sinned6915
06:57 PM Tom_L: ok, ran thru my test program on RTAI 5.4.279 with flexgui using this ui: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/File.png
06:57 PM Tom_L: works great
06:58 PM Tom_L: waiting for 2.9.3 or 2.9.4 release to test next
06:58 PM Tom_L: whichever has the gcode fix
10:09 PM lcnc-relay: <ffffrf> hey yall - i am trying to program my limit switches to act as both limit and home switches. I was reading in linuxcnc to edit the INI to ignore limit switches while homing and home one axis at a time. I am working on the HAL portion and I wanted to ask yall: is this the correct way to code this in HAL (limit switches are input 0 and input 1 on my mesa 7i96s): net x-home-switch <= hm2_7i96s.0.gpio.000.in
10:09 PM lcnc-relay: net x-home-switch => axis.0.home-sw-in
10:09 PM lcnc-relay: net x-limit-switch => axis.0.neg-lim-sw-in
10:09 PM lcnc-relay: net x-limit-switch => axis.0.pos-lim-sw-in
10:09 PM lcnc-relay: net z-home-switch <= hm2_7i96s.0.gpio.001.in
10:09 PM lcnc-relay: net z-home-switch => axis.2.home-sw-in
10:09 PM lcnc-relay: net z-limit-switch => axis.2.neg-lim-sw-in
10:09 PM lcnc-relay: net z-limit-switch => axis.2.pos-lim-sw-in
10:11 PM lcnc-relay: <ffffrf> i do have rge switches wired properly as limit switches already so at this point is just adding home function to them
10:45 PM lcnc-relay: <ffffrf> wait pncconf has a shared function nvm lol
10:55 PM Tom_L: use paste.debian.net
11:09 PM roycroft: the smoke disappeared after lunch today, but we have a red sky and red sun to the west tonight