#linuxcnc Logs

Oct 24 2023

#linuxcnc Calendar

01:48 AM Deejay: moin
04:36 AM Tom_L: morning
04:37 AM Tom_L: JT-Cave, PR #34 ready & mesaflash 3.5 is out
04:37 AM Tom_L: 7i75 suport
04:40 AM Tom_L: 69°F & cloudy
04:59 AM JT-Cave: morning
05:00 AM JT-Cave: 7i75 is just a breakout card
05:01 AM JT-Cave: looks like a rainy weekend here
05:12 AM JT-Cave: the honda dealer that used to work on the bluewing has closed down...
06:32 AM Tom_L: JT-Cave, <pcw--home> Mesaflash can list daughterboard pinouts instead of just connector pinouts
06:32 AM Tom_L: <pcw--home> (so you don't need to look at the daughterboard manual and mesaflash pinout to get terminal block pins)
06:34 AM JT-Cave: nice
06:51 AM Tom_L: i don't think we have a honda dealer here anymore either. i know the yamaha dealer closed since the owner died and i don't think his kid kept it going
06:51 AM Tom_L: that's been quite a few years back
06:52 AM JT-Cave: we have a honda motorcycle dealer here and I took my Bluewing there for tires "once"
06:52 AM JT-Cave: they didn't even know how to mount a tire...
06:53 AM JT-Cave: and they broke a tpms
06:56 AM Tom_L: i knew the service guy at the yamaha place. he used to race model boats with us and his kid raced bikes
06:56 AM Tom_L: he was pretty sharp
07:17 AM JT-Cave: rooster just crowed
09:31 AM * JT-Cave heads to the scrap yard
11:05 AM g0hero: afternoon
12:20 PM * JT-Shop hears a nap calling his name
12:23 PM andypugh: memleak: I will find a way.
12:39 PM lunada: hi. i purchased a 7i92t/7i85/7i83/7i70/7i71 and i'm trying to make a config in the mesa config tool. i did download the firmware and added it to the lib/libmesact folder. however, i does not allow me to select any firmware or verify the boards
12:39 PM lunada: anyone have any ideas? running debian 11 and mesa config tool 2.0.5
12:41 PM lunada: screenshot
01:02 PM lunada: disregard, i had to install mesaflash
01:07 PM Tom_L: lunada, you also have to download the firmware files for the main board
01:08 PM lunada: what is considered the main board? the 7i85?
01:08 PM lunada: i downloaded the 7i92 firmware
01:09 PM Tom_L: you want the 7i92t firmware if the t is the new fpga chip
01:10 PM Tom_L: is it efinix or spartan?
01:10 PM lunada: ok yea i did that
01:11 PM Tom_L: that's alot of boards for one config it seems
01:11 PM lunada: triton chipset
01:11 PM Tom_L: sounds like efinix
01:11 PM lunada: the machine has roughly 32di and 30do
01:11 PM Tom_L: are alot of those sserial?
01:12 PM Tom_L: i don't have them all memorized and don't plan to look
01:12 PM lunada: gantry router with an atc. servo machine. vac pump and dust collection control, etc
01:12 PM lunada: yep
01:13 PM Tom_L: jt may not have all those boards programmed in mesact yet
01:13 PM Tom_L: he's gradually adding them
01:13 PM lunada: i'm retrofitting a router that had an osai control
01:15 PM lunada: only thing i'm not seeing is the 7i83
01:17 PM lunada: but it isnt connected yet. Peter recommended these boards
01:30 PM -!- #linuxcnc mode set to +v by ChanServ
01:32 PM JT-Shop: I've not programmed a 7i83 daughter board to mesact
01:33 PM JT-Shop: and smart serial cards are limited to 1 so you would have to copy and paste one
01:35 PM roycroft: speaking of smart serial cards, i have one ready to drop off at the ups store in a few minutes
01:35 PM JT-Shop: 7i83 == 7i85
01:35 PM JT-Shop: thanks
01:36 PM JT-Shop: well no I have a 7i85 daughter card...
01:38 PM lunada: yea copy paste isnt an issue. my issue now is connecting to the 7i92t, but i literally just plugged it in so i'll do some googling. guessing there's an incorrect port setting or something
01:39 PM JT-Shop: you need to set the motherboard nic to 10.10.10.11
01:39 PM Tom_L: use the alternate setting for the 10.10.10.10 port
01:40 PM JT-Shop: https://gnipsel.com/linuxcnc/debian-11-eth.html
01:40 PM Tom_L: does he use the 192 address on the new boards by default too?
01:41 PM JT-Shop: yup, you need to change a jumper for 10.10.10.10
01:43 PM lunada: i moved the jumpers, and selected that ip
01:43 PM lunada: that's the link i was looking for, thanks
01:44 PM lunada: gonna restart the pc and see if it worked
01:44 PM Tom_L: you can substitute the netmask if you : 10.10.10.11/24 also
01:44 PM Tom_L: same thing
01:45 PM pcw-home: You would need 7i92t_7i85x2d.bin firmware for that configuration
01:48 PM XXCoder: man. jackman channel is still good, but so heavy with adverts
01:59 PM lunada: i'm guessing i should have changed the 7i92t ip to 10.10.10.100 before i switched the pc ip to 10.10.10.11?
02:03 PM Tom_L: probably so yes
02:06 PM john__: no
02:06 PM john__: 10.10.10.10 on the 7i92t
02:13 PM lunada: since i already changed the pc's ip to 10.10.10.11, what should i change it to in order to change the ip to 10.10.10.10 on the 7i92t? 192.168.1.13?
02:21 PM JT-Shop: click on the 7i92t tab in mesact
02:24 PM roycroft: jt - i dropped it off, but didn't realize it has a usps label, not a ups label
02:24 PM roycroft: that's fine, because the still took it, but i couldn't get a receipt and i did not note the tracking number
02:24 PM JT-Shop: did they take it at the ups store?
02:24 PM roycroft: so please check the tracking tomorrow and let me know if it's in the system
02:24 PM roycroft: yes, they did take it
02:24 PM JT-Shop: will do
02:24 PM roycroft: i'd have gone to the post office with it if they hadn't taken it
02:25 PM JT-Shop: thanks
02:25 PM roycroft: thank you
02:25 PM roycroft: this is a deal that benefits us both
02:26 PM roycroft: i've no doubt that i'd have been able to sell the stuff if you weren't interested, but you made it really easy
03:03 PM lunada: the 7i92t tab doesnt answer my question unfortunately. i know what the ip is supposed to be for the 7i92t, but there's no response when i ping it.  jumpers are set correctly. when i try to change the ip with mesaflash, it says 7i92t not detected
03:03 PM JT-Shop: you don't change the ip with mesaflash...
03:04 PM lunada: the ip in the 7i92t?
03:04 PM JT-Shop: W5 Down W6 Up for 10.10.10.10
03:04 PM lunada: i already changed the pc ip to 10.10.10.11
03:04 PM lunada: yea jumpers are correct
03:06 PM lunada: "If you have a Intel Ethernet chip you must disable RX IRQ coalescing in the /etc/network/interfaces file by adding the following to the static IP
03:06 PM lunada: hardware-irq-coalesce-rx-usecs 0"
03:06 PM lunada: i do have intel chips but it didnt take that command
03:07 PM JT-Shop: what does ip a show for the ip address?
03:08 PM JT-Shop: and what do you mean "it didn't take that command"?
03:10 PM lunada: i dont recall exactly what it said but it basically said it didnt work
03:10 PM lunada: hold on ill see if i can figure out how to check the ip again. i'm no a linux guy if it isnt obvious
03:11 PM JT-Shop: did you add it to the fixed ip section of /etc/network/interfaces
03:11 PM JT-Shop: ip a
03:11 PM lunada: https://gnipsel.com/linuxcnc/debian-11-eth.html
03:11 PM lunada: i followed that to a t
03:11 PM lunada: seemed to work except for the intel chipset bit
03:12 PM JT-Shop: did you add the " to the line?
03:15 PM lunada: not sure what you mean
03:15 PM JT-Shop: <lunada> hardware-irq-coalesce-rx-usecs 0"
03:16 PM JT-Shop: there is a " at the end of the line
03:16 PM JT-Shop: is that what you added?
03:16 PM lunada: i copied and pasted what was in the instructions, so no "
03:17 PM JT-Shop: ok just checking
03:17 PM lunada: ohhh i see why you're asking. no, there's no ", i was just quoting the line in the instructions, sorry
03:17 PM JT-Shop: ok np
03:18 PM lunada: there are two lan ports on this pc, not sure if that's screwwing me up
03:19 PM JT-Shop: that sounds like it might be the issue
03:19 PM lunada: i tried both, but stil
03:20 PM JT-Shop: what does nmcli device status show as the connected nic?
03:22 PM lunada: disconnected for both lan ports
03:22 PM JT-Shop: is the 7i92t plugged in and powered up?
03:22 PM lunada: yes
03:24 PM lunada: wait connection 2 is connected.
03:24 PM -!- #linuxcnc mode set to +v by ChanServ
03:24 PM JT-Shop: https://paste.debian.net/ your /etc/network/interfaces
03:24 PM lunada: couldnt see the dark green text
03:24 PM JT-Shop: and nmcli device status
03:26 PM lunada: wait that may be my phone. using it as a hotspot via usb
03:27 PM lunada: paste.debian.net/1296070
03:28 PM lunada: https://paste.debian.net/1296070
03:29 PM JT-Shop: enp1s0 and enp2s0 should be your two nics on the motherboard
03:29 PM JT-Shop: i'll go down into the beer cave in a bit and see what a working 7i92t shows
03:30 PM lunada: yea that's my assumption. it says unavailable for the port connected to the 7i92t
03:32 PM lunada: you had me at beer cave
03:36 PM lunada: nxd23faa8064b8  ethernet  connected                              Wired connection 2
03:36 PM lunada: wlp3s0           wifi      connected                              LUNADA_WIFI
03:36 PM lunada: enp1s0           ethernet  connecting (getting IP configuration)  Wired connection 1
03:36 PM lunada: enp2s0           ethernet  unmanaged                              --
03:36 PM lunada: lo               loopback  unmanaged                              --
03:36 PM lunada: cncrouter@cncrouter:~$
03:37 PM lunada: i think the issue may be that the instructions look like they changed the ip on the 2nd port
03:37 PM lunada: i'll try it again for the 1st port
03:40 PM JT-Cave: https://paste.debian.net/1296071/
03:40 PM JT-Cave: that's with a 7i92t connected and powered up
03:41 PM JT-Cave: https://paste.debian.net/1296072/
03:41 PM JT-Cave: my /etc/network/interfaces
03:41 PM JT-Cave: john@cave:~$ ping 10.10.10.10
03:41 PM JT-Cave: PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.
03:41 PM JT-Cave: 64 bytes from 10.10.10.10: icmp_seq=1 ttl=64 time=0.544 ms
03:43 PM JT-Cave: https://imagebin.ca/v/7euzQwOIoxnM
03:44 PM lunada: cncrouter@cncrouter:~$ hardware-irq-coalesce-rx-usecs 0
03:44 PM lunada: bash: hardware-irq-coalesce-rx-usecs: command not found
03:44 PM lunada: cncrouter@cncrouter:~$
03:46 PM JT-Shop: it's not a bash command
03:49 PM lunada: i entered it as  hardware-irq-coalesce-rx-usecs 0
03:49 PM JT-Shop: entered where?
03:49 PM lunada: in terminal
03:50 PM JT-Shop: it's not a bash command
03:50 PM JT-Shop: see my first paste above
03:56 PM lunada: ok i think i got it. let me reboot and see if it worked
04:04 PM JT-Shop: https://youtu.be/uokVAZ4Tb7A?t=294
04:05 PM XXCoder: man. unsafe https://youtu.be/It2mzbqbkr0
04:09 PM XXCoder: jt man im glad they take safety seriously
04:10 PM JT-Shop: that steam engine is a joke
04:10 PM XXCoder: yeah and llegal. very illegal in uk
04:10 PM JT-Shop: I have to make a steam generator for steaming wood
04:10 PM JT-Shop: why illegal in uk?
04:11 PM XXCoder: no vent
04:11 PM XXCoder: if itsoverpressured its a bomb
04:11 PM XXCoder: he had to bring it in stream shop to have it installed
04:13 PM lunada: https://paste.debian.net/1296078/
04:14 PM JT-Shop: does mesact find the 7i92t?
04:14 PM lunada: no
04:20 PM JT-Shop: enp2s0 looks good do nmcli device status
04:21 PM lunada: is it possible the ip in the 7i92 isnt 10.10.10.10?
04:22 PM JT-Shop: you said earlier you changed the ip with mesaflash... so it might be
04:23 PM lunada: no, i tried but it couldnt find the device
04:27 PM -!- #linuxcnc mode set to +v by ChanServ
04:27 PM Tom_dev: mesaflash --device 7i92t --addr 10.10.10.10 --readhmid
04:27 PM Tom_L: mine is a regular 7i92
04:37 PM lunada: well... i figured it out
04:37 PM lunada: thanks to peter
04:37 PM JT-Shop: and?
04:37 PM lunada: i didnt cycle the power when i moved the jumper
04:37 PM Tom_L: oopsie
04:37 PM lunada: worked fine after that
04:37 PM JT-Shop: I always power off when moving jumpers...
04:38 PM lunada: either way, i had other issues that you guys helped with, so thanks
04:38 PM lunada: yea i'll add that to my list of stuff to do lol
04:38 PM Tom_dev: power cycle or do a --reset
04:38 PM Tom_dev: mesaflash --device 7i92t --addr 10.10.10.10 --reset
04:39 PM lunada: got it, thanks
04:41 PM JT-Shop: I'll add a note to power down then move the jumpers to mesact for the next chap
04:41 PM Tom_dev: :)
04:42 PM lunada: hopefully the rest is fairly straight forward. i'm sure i'm rusty with the hal and ini files since it's been 7 or 8 years since i retrofitted a machine, but it seems to mostly make sense
04:42 PM lunada: tuning the servos and stuff will be fun
04:42 PM Tom_dev: stay close to the estop
04:42 PM lunada: it has fairly new yaskawa drives. ive only messed with old analog drives
04:45 PM lunada: the osai controller used +-10v to control them so i am hoping it isnt much different than what i was used to
04:45 PM Tom_L: you have the analog board for that?
04:45 PM lunada: yea
04:45 PM lunada: 7i83 iirc
04:46 PM lunada: i have another machine here with a 7i77 so i'll copy and paste as much as i can
04:49 PM lunada: that one has a 5i25 i think
04:55 PM solarwind: JT-Shop https://bpa.st/74CQ
04:56 PM JT-Shop: a bit of python...
04:57 PM solarwind: just a basic feeds and speeds calculator
04:57 PM JT-Shop: nice
04:58 PM JT-Shop: what does pint do?
04:58 PM solarwind: wanted to try out the `pint` package which is _really_ nice. All units and dimensions are preserved so you can make sure there aren't any errors
04:58 PM Tom_L: solarwind, use fswizard... it has a good material database
04:59 PM JT-Shop: sometimes writing your own is more fun...
04:59 PM solarwind: `pint` allows you to work with units and quantities
04:59 PM Tom_L: only if i knew python
04:59 PM solarwind: so instead of dealing with raw numbers, it preserves all units through every mathematical operation
05:00 PM JT-Shop: does it use real numbers?
05:00 PM solarwind: You can use whatever number type you want
05:00 PM solarwind: you can use arbitrary precision if you want
05:00 PM solarwind: Tom_L I'll check it out, thanks
05:01 PM JT-Shop: what does pint add to normal calculations?
05:01 PM Tom_L: solarwind, i keep it on my phone
05:02 PM solarwind: Well normally if you want to calculate anything, you have to do all the conversions beforehand, and keep track of the units
05:04 PM solarwind: with pint, you can just do '3 inches' * '2 revolusions/sec' * '2 minutes' .to(metres)
05:05 PM solarwind: so I can just focus on the principle of the calculation instead of worrying about unit conversions and all that
05:05 PM JT-Shop: nice
05:06 PM solarwind: so feed rate = rpm * teeth * chip_load just works
05:06 PM JT-Shop: self.unit: pint.Unit = unit what does the : do?
05:06 PM solarwind: that's a type annotation
05:07 PM JT-Shop: hmm
06:23 PM lunada: so i'm getting this error when i try to build a config in mesa config tool. Joint 0 Analog Min Limit must not be blank (i'm getting it for each joint)
06:24 PM lunada: i'm guessing it's because i don't have a board with analog outputs seelected since the 7i83 isn't in the  config tool yet
06:25 PM lunada: there's no box to enter those values that i can tell
06:25 PM lunada: any way around this?
06:40 PM Tom_L: what ver mesact?
06:40 PM Tom_L: 2.0.5 is the latest
09:17 PM * roycroft wonders how long the latest nominee for speaker will last before dropping out
09:25 PM CaptHindsight: roycroft: silly party or very silly party?
09:26 PM CaptHindsight: MPFC season 4 last episode :(
09:28 PM roycroft: they used to be the very silly party
09:28 PM roycroft: they're turning into the whigs now
09:29 PM roycroft: it's full circle time
11:29 PM solarwind: Anyone have recommendations on scratch resistant safety glasses?
11:29 PM solarwind: I realize that may be an oxymoron
11:30 PM solarwind: but there must be something out there with a slightly harder coating. If I wipe mine with my T shirt, it'll get permanently foggy soon enough
11:38 PM roycroft: i wear prescription glasses, and have safety glasses made with my prescription with glass lenses
11:38 PM roycroft: if you don't wear glasses you can probably go to an optometrist and get some safety glasses with no correction
11:38 PM XXCoder: I just used safety glasses that one can wear with glasses
11:39 PM XXCoder: cheaper.
11:40 PM solarwind: roycroft I didn't know that, thanks! And they're made of glass as opposed to some thermoplastic?
11:51 PM roycroft: mine are
11:51 PM roycroft: there are few labs who make glass lenses these days, but you can find them
11:52 PM roycroft: they are heavy
11:52 PM roycroft: very heavy
11:52 PM roycroft: the impact-resistant glass lenses are much thicker than standard optical correction lenses
11:52 PM roycroft: but they are so clear
11:52 PM roycroft: mine have side shields as well, so i'm pretty well-protected
11:52 PM XXCoder: reminded me of that time I found strach on my glasses. made me think, since it was on front of glass, which was covered by goggle plastic.
11:53 PM XXCoder: somehow chip got in between goggle and glass and made a mark