#linuxcnc Logs

Nov 18 2020

#linuxcnc Calendar

12:00 AM XXCoder: yeah better to know
12:06 AM XXCoder: just be careful, and have small bottle of serilizer for after exit
12:06 AM gloops: well, i thought about it - everyone in the area with symptoms is going through that place lol
12:06 AM gloops: but anyway
01:30 AM Deejay: moin
02:11 AM miss0r: Finally got around to installing the tent: https://imgur.com/a/VNuD3zl
02:16 AM XXCoder: yay your miliary vehicle has tent now
04:29 AM rtce9a85: hello
04:32 AM rtce9a85: im having problem with parrallel port on my desktop, how do i know if driver has been install?
04:37 AM rtce9a85: https://www.aliexpress.com/item/32518666501.html?spm=a2g0s.9042311.0.0.27424c4dWkk2We
04:37 AM rtce9a85: thats board im using
04:37 AM XXCoder: there should be command to list em
04:38 AM XXCoder: lspci to list cards
04:38 AM XXCoder: something else to list ports forgot what it is
04:39 AM XXCoder: oh lspci -v adds more details which includes that
04:42 AM JT-Cave: morning
04:42 AM XXCoder: yo
04:48 AM miss0r2: Hello people. I am trying to install the latest ubuntu LTS server on a lenovo SR650. But apparently I am having issues with the network. it would seem it aquired a network adress from the DHCP server, but it is not able to communicate with the network at all(ping).
04:48 AM miss0r2: At the moment I am connected to its LOM, and that is working without issues
04:49 AM miss0r2: I tried a debian installation just for the fun of it, and it did discover the DHCP server, but; like the ubuntu, does not seem to be able to connect to the network beyond getting an address
04:49 AM miss0r2: Do you guys have any idea what could cause this behaviour?
04:51 AM rs[m]: miss0r2: so you can't ping anything from the machine and you can't ping the machine from the outside?
04:53 AM miss0r2: rs[m]: both
04:54 AM * miss0r2 is starting to wonder if this server should have another NIC installed to even work proberly. Perhaps the LOM is hogging the NIC
04:56 AM rs[m]: does the server set default route? are you on the same network or is there some "topology" involved?
04:56 AM miss0r2: no topology involved. The debian installer told me that it was not able to set default route after getting a DHCP reply.
04:57 AM miss0r2: This part of the network is realy flat, and theres nothing much to it. At the moment I am connected to the same network.
04:57 AM miss0r2: if I force it to use a static IP adress, I am not even able to ping that address.
04:58 AM miss0r2: It will reply with destination unreachable. although I can ping 127.0.0.1
04:58 AM rs[m]: when you ping from the server, does it time out?
04:58 AM miss0r2: yes, unless I ping its own IP adress. Then I get 'unreachable'
04:59 AM rs[m]: is the interface "up"? i.e. has a link?
04:59 AM miss0r2: yes
04:59 AM miss0r2: rephrase
04:59 AM miss0r2: Theres a blinking light going.
04:59 AM rs[m]: so if you ping the ip address from the DHCP server on the server, it should definitely not say "unreachable"
05:00 AM miss0r2: I'll have to look up how to test that without net-tools installed
05:00 AM rs[m]: dmesg usually will show link up/down events
05:00 AM miss0r2: hang on
05:01 AM rs[m]: do you have "ip" command available?
05:02 AM rs[m]: ip link will show if link is up, ip r l will show routes
05:04 AM miss0r2: aha
05:05 AM miss0r2: rs[m]: Apparently ip link only shows the loopback device
05:05 AM miss0r2: I wonder if this is somehow a driver issue. Something is clearly not working as intented
05:06 AM miss0r2: and when it is doing something *this* crazy, I am speculating that it has something to do with sharing that ethernet port with the LOM.
05:06 AM rs[m]: miss0r2: what did you use to find out the dhcp ip address?
05:06 AM miss0r2: ip a
05:06 AM rs[m]: did you try "ip link set <device> ip" ?
05:07 AM rs[m]: if the LOM doesn't have it's own port I suppose it is connected via an internal switch
05:08 AM miss0r2: I did not. But do you think that would matter as it is *down* ? (I will give it a go)
05:08 AM rs[m]: may be something deconfigures the interface after DHCP
05:09 AM rs[m]: stranger things happened
05:10 AM miss0r2: indeed. I need to go dig up the interface. It has now gone completely missing from the ip a list
05:10 AM miss0r2: Only the loopback is showing now.
05:10 AM rs[m]: rmmod'ed the driver module?
05:11 AM miss0r2: I did not
05:12 AM rs[m]: strange. anything in dmesg?
05:13 AM rs[m]: next thing after checking the link I would look at traffic with tcpdump, tshark or wireshark
05:14 AM miss0r2: Indeed
05:14 AM miss0r2: No mentions of anything.
05:14 AM miss0r2: I do get a strange sensation that I might have disabled it messing around in the LOM
05:15 AM miss0r2: it had something about ethernet over USB, and I'm like: "I'm not using that"... Perhaps I was
05:15 AM rs[m]: should show in dmesg
05:15 AM miss0r2: *should*
05:15 AM rs[m]: do you see it in lspci? if it disappeared there you probably disabled it somehow
05:16 AM miss0r2: Will answer the second the server has booted.
05:18 AM rs[m]: hehe. the microsoft fix.
05:20 AM miss0r2: apparently the NIC is showing in lspci
05:20 AM miss0r2: X722
05:21 AM miss0r2: and also in ip link
05:21 AM miss0r2: it had something to do with that ethernet over USB, apparently.
05:22 AM rs[m]: ethernet over usb on a server???
05:22 AM miss0r2: that is the only change I did on this reboot.
05:23 AM miss0r2: and BOOM, network hardware listed again
05:23 AM miss0r2: I am as puzzled as you are.
05:23 AM miss0r2: hopefully more so, in which case you are still of help to me :D
05:24 AM rs[m]: whatever. ping still doesn't work?
05:24 AM miss0r2: nope
05:24 AM rs[m]: that thing is a beast.
05:25 AM rs[m]: again, i would check for link on switch and via ip link, check nw addresses, check iptables, and then try to tcpdump
05:25 AM miss0r2: and if all fails, the windows fix...
05:25 AM miss0r2: :)
05:25 AM miss0r2: (Not realy an option)
05:25 AM miss0r2: Alright. I will get to it. THanks for your help
05:27 AM rs[m]: yw
05:33 AM rs[m]: maybe try current suse or centos, lenovo website doesn't mention ubuntu as being supported
05:39 AM jymmmm: https://certification.ubuntu.com/hardware/201706-25574
05:41 AM jymmmm: miss0r2: ubuntu certified hardware ^^^^
05:49 AM miss0r2: jymmmm: That *sounds* promising... but still no workie :/
05:51 AM Tom_L: morning
05:52 AM miss0r2: morning tom
05:59 AM JT-Cave: morning
06:01 AM Tom_L: 49F hi 70 & windy
06:04 AM JT-Cave: 32°F to 60°F
06:33 AM miss0r2: I am beginning to think this server does not have a network card available to the OS
06:33 AM miss0r2: I think this NIC is only for the LOM
06:43 AM miss0r2: FAK!
06:43 AM miss0r2: That ethernet over USB is the backplane access to the server management. The RJ45 on the back is dedicated to the server management. NO LAN
06:44 AM * miss0r2 is about to piss himself.
06:44 AM miss0r2: I need to go get another card damn fast in a hurry
06:57 AM -!- #linuxcnc mode set to +v by ChanServ
07:10 AM gloops: well thats the covid test done, just wait now see if ive got the plague
07:21 AM JT-Cave: how was it?
07:29 AM rs[m]: miss0r2: if it has only 1 port, it probably is management only
07:30 AM rs[m]: miss0r2: tech specs says "2/4-port 1GbE LOM; 2/4-port 10GbE LOM (Base-T or SFP+); 1x dedicated 1GbE management port"
07:32 AM rs[m]: LOM is "LAN on Motherboard"
07:33 AM rs[m]: it can be configured without any on-board network adapters, but why would one do that
07:37 AM gloops: JT-Cave https://ibb.co/4mnBMvZ
07:38 AM gloops: lol, nothing bad really, you drive in, they give you a pack to self test, park up, when youve done you post it in a box
07:38 AM JT-Cave: drive by testing?
07:38 AM gloops: yeah, there isnt much chance the staff can contimate you
07:38 AM JT-Cave: is that lump on top the end of the swab?
07:39 AM JT-Cave: how long does the results take?
07:39 AM gloops: the swab is inside my nose - only goes in an inch, interesting sensation rotating it for 15 seconds
07:40 AM gloops: they said allow 5 days - usually much quicker though
07:41 AM gloops: ive had it or something a month now anyway so it might not show, at least ill know im not still infectious though
07:42 AM JT-Cave: shower time here gotta get my day moving
07:42 AM gregcnc: haven't you read the latest news, even a negative test isn't enough to not spread it
07:43 AM rs[m]: a negative test predicts the future like a negative pregnancy test
07:43 AM gloops: im not really going anywhere anyway, wife is working though, shes got to isolate until i get result back
07:43 AM rs[m]: once negative -> you are set for life
07:44 AM gregcnc: and a positive is a death certificate
07:44 AM rs[m]: positive is just that, positive. depending on test with a very high probability. but proving a negative is a hard thing to do
07:45 AM gloops: you dont really want this i can tell you lol
07:45 AM rs[m]: no, i don't
07:46 AM gregcnc: nobody wants it
07:50 AM gloops: week 3 is the worst, week 2 was worse than week 1, last though i was getting pankicky, coughing, like as hard as you can, and theres nothing there, but you cant stop it
07:50 AM gloops: last week
07:51 AM gloops: but anyway, i think i survived it, feeling better now
07:51 AM gregcnc: so how do you think you got it?
07:52 AM gloops: wife had it before me, we thought it was just cold, her main symptoms went in about a week, carried on with a bit of coughing but not like mine
07:52 AM gregcnc: how did she get it?
07:53 AM gloops: no idea really, shes been doing all the running around as i was laid up with back injury
07:56 AM gregcnc: our state is tightening everything, a whole month after the numbers started going up, 5 months after masks will stop it....
07:57 AM gloops: yeah, i suppose the best plan is to never let it get out of hand
07:58 AM gregcnc: it was out of hand in Janurary when it was found
07:58 AM gloops: at the start though nobody thought it was real, not seeing dead bodies layed around everywhere, or people coughing
07:59 AM gregcnc: the predictions have been wrong every step of the way
08:00 AM gloops: im 52 and can only remember having one dose of flu that id say was as bad, and even that wasnt as bad in the chest, that must have been 30 years ago
08:00 AM rs[m]: it's not easy to come to grips with numbers. around here, about 0,5% of the population is currently "active". I don't know anybody personally that has it currently, and just 2 persons that contracted it earlier this year. mild symptoms.
08:00 AM gloops: the other symptoms of this arent bad at all, its the chest
08:01 AM gregcnc: In our state they are using a multi test. 100,000 test per day, how many confirmed flu cases so far this year? 5
08:01 AM rs[m]: OTOH my partner works in a hospital, and they are full with covid patients
08:01 AM gregcnc: 5 flu cases since 10/3
08:02 AM gloops: well the flu has been kept back with the distancing i suppose, covid is more infectious
08:03 AM gregcnc: eh enough of that. make parts today or be a bum?
08:04 AM gloops: depends how important the parts are
08:04 AM gloops: im gonna look at my new book
08:05 AM gregcnc: maybe I should raid the stores for TP
08:13 AM miss0r: rs[m]: The computer store I bought it through took my order by phone. and he was realy apologetic.. :)
08:14 AM miss0r: Anyway, the proper dual 1gb port NIC for the server will be here tomorrow
08:14 AM gregcnc: miss0r is it that little Emco you're working on?
08:14 AM rs[m]: what are you doing with this beast?
08:14 AM miss0r: and I was also confused by the LOM... I confused it with LoM (Lights out Manager)
08:14 AM miss0r: rs[m]: Tetris'n stuff :)
08:15 AM rs[m]: testing, tracing isolating?
08:15 AM miss0r: no.. the game :)
08:15 AM gregcnc: oh boy
08:15 AM miss0r: https://i.pinimg.com/originals/6d/38/59/6d38595733c04535529179243847f8d8.jpg
08:16 AM rs[m]: so this kind of tetris https://youtu.be/RfNlhw8FK74 https://youtu.be/_5fUV79LkgY
08:16 AM miss0r: ^refrence to that...
08:16 AM miss0r: Its for a client of mine.
08:16 AM miss0r: they have a faulty server running win 2003 (domain controller and their REALY OLD accounting software).
08:17 AM miss0r: said server is failing. I've replaced most of the capacitors on the motherboard and jerryrigged another NIC on there.
08:18 AM miss0r: but the server is unstable. so I am going to move it to a virtual machine on this new beast, while another company works their magic on another VM i will put on there running win 2019 server. which at some point will also run the updated version of their software
08:18 AM rs[m]: i got myself a threadripper as a server half a year ago. running everything. can even compile chrome in half an hour. but it is completely idle most of the time. but still it was the cheapest non-atom/celeron option with ECC ram
08:18 AM miss0r: Indeed... hehe
08:19 AM miss0r: I run an old Dell 1U rack server. It hosts my website and the occational game server for events with my friends.
08:19 AM miss0r: also; idle 99.96% of the time
08:19 AM rs[m]: my personal stuff runs on an old hpe microserver
08:20 AM miss0r: 14:47:16 up 807 days, 4:30, 2 users, load average: 0.01, 0.08, 0.12
08:20 AM miss0r: okay, so it does a *little* work
08:21 AM rs[m]: mine is only 155 days up/old, and prometheus generates load avg of 0,15
08:22 AM rs[m]: but thats nothing for a 24c/48t machine
08:22 AM miss0r: I just looked at what caused it to use that much CPU. apparently I've had a game server running for quite a while, that I forgot to shut down... :)
08:22 AM miss0r: Now I did
08:23 AM miss0r: lol yeah
08:23 AM miss0r: This is only a 4c/4t machine
08:23 AM miss0r: but still quite adequate for my use
08:23 AM miss0r: also, it is short enough to fit into my not quite full depth rack
08:27 AM miss0r: rs[m]: https://imgur.com/a/3cTLUey
08:27 AM miss0r: I found an old photo of the rack
08:28 AM rs[m]: nice. but the hifi loudspeaker next to it seems strange ;)
08:29 AM miss0r: you see that dangling white console with a switch on it hanging over the rack?
08:29 AM rs[m]: yes
08:29 AM miss0r: That is for activating the 106" projector screen/canvas(what do you call it?) that is a little more to the left
08:30 AM miss0r: all located inside my man-cave.
08:30 AM rs[m]: just wanted to ask if this is a projector canvas control ;)
08:30 AM miss0r: :] I have to make do with what space I've got
08:31 AM miss0r: that little home cinema there has since been upgraded to also include a home build 18" woofer with a 2000watt rms amp in front of it. Realy makes for a realistic machinegun sound.
08:31 AM miss0r: and if you are watching a movie with submarines and depthcharges, you can actualy feel it... and by "it" i mean, the plaster comming off the ceiling
08:34 AM miss0r: this is me building the cabinet: https://imgur.com/a/q3jbRL9
08:35 AM miss0r: (I didn't use a single screw to put it together. I am still quite proud of that :D )
08:36 AM miss0r: https://imgur.com/a/uLHIoQB (apparently the other link didn't work)
08:39 AM JT-Shop: WOW! what is it?
08:40 AM rs[m]: hui, that also is a beast ;)
08:41 AM rs[m]: i built something like that (not my photo) http://bilder.hifi-forum.de/medium/615068/temperance-iii_3022.jpg
08:41 AM miss0r: nice
08:42 AM miss0r: I used to build ALOT of speakers, back when i was running a small mobile disko rental.
08:42 AM rs[m]: the problem is impedance approaches 2 ohms with low frequencies, and it stresses power amps a bit
08:42 AM miss0r: good'ol days :)
08:42 AM miss0r: indeed
08:42 AM miss0r: JT-Shop: The cabinet for my 18" cinema sub
08:43 AM JT-Shop: Nice
08:43 AM rs[m]: bass has a lot of ooomph without being too intrusive, but "heavy" scenese are limited by the poweamp going into protection...
08:44 AM miss0r: Yeah. you'll need an amp with some more headway
08:44 AM miss0r: Mine is limited by my comfort/the build quality of the house
08:45 AM rs[m]: i built the case out of honeycomb-plywood-HPL boards, and used a cheap aluminium "käsefräse" to cut openings for loudspeakers
08:45 AM rs[m]: had a really bad accident, got my thumb into the bit
08:45 AM miss0r: damn
08:45 AM miss0r: that makes a nice tear
08:46 AM rs[m]: yeah, that was not funny. but i learned something.
08:46 AM miss0r: hehe ain't that the way it goes :)
08:46 AM miss0r: I have to run (picking up the kids) See you around. And thanks again for the help earlier
08:47 AM rs[m]: see you
11:40 AM likevinyl is now known as Guest16355
11:42 AM jymmmm: Ok, you gotta watch the video, funny... "Tool warranty" https://www.amazon.com/TEMCo-Hydraulic-Electrical-Terminal-WARRANTY/dp/B0813S6ZT7/
11:48 AM jymmmm: And has anyone used those crimpers before?
11:51 AM Loetmichel: *maan*, i am really addicted to explaining things. 17:30 i was on my way out of the company a coworker asked about glass repair resins for phone screens... 60 min later i explained refractory index, polymer resins, polymer softeners that act as estrogen and half a dozen other things... and misplaced my car keys somewhere along the way to talk with my hands... now its 18:50 and i FINALLY
11:51 AM Loetmichel: arrived home after a 12 minute drive ;)
11:56 AM * jymmmm duct tapes Loetmichel's hands so he doesn't talk so much
11:56 AM jymmmm: Tom_L: 6th photo... https://www.amazon.com/Hydraulic-TH0006-5-Electrical-Terminal-WARRANTY/dp/B00HJXHX1K/
12:02 PM jymmmm: ve7it: !!!
12:08 PM Tom_L: what about it?
12:12 PM jymmmm: Tom_L: wings vs hex
12:14 PM veegee: Guys, I have a serious addiction problem
12:14 PM veegee: https://www.kijiji.ca/v-view-details.html?adId=1535414025
12:14 PM veegee: I can't resist
12:15 PM veegee: I don't know why. Weirdest addiction ever
12:17 PM jymmmm: you are buying a forklift?
12:17 PM veegee: I already have 3
12:17 PM veegee: need to sell one
12:17 PM jymmmm: so you can buy another?
12:17 PM veegee: the thing is, I got them all for such a low price and they're all fully functional
12:18 PM veegee: so I'm hesitant to sell them
12:18 PM veegee: but I can easily sell all of them for at least double the price that I bought them for. I guess I should do that
12:18 PM veegee: I don't have a 13,000 lb capacity one though and that would be super useful
12:21 PM Tom_L: better find a trailer to haul them first
12:25 PM veegee: Already have a guy that does it for a fair price
12:58 PM unterhaus_: I'm not one to talk, just picked up a guitar that needs work
12:58 PM unterhaus_: actually just wanted it to fix is, going to give it away after
01:23 PM FinboySlick: veegee: So long as you don't turn like that guy who loved his car in 'My Strange Addiction'. Fair warning, look up at your own risk.
01:35 PM veegee: FinboySlick I think I know what you're referring to lol
01:35 PM veegee: That's a mental illness for sure
01:37 PM FinboySlick: https://www.youtube.com/watch?v=yS_N_3ekrYs You just reminded me of that bit. Randy is wonderful 'stand-up'.
01:45 PM unterhaus_: I don't think I would have left my spindle motor on all night at 4k as an experiement
01:46 PM unterhaus_: melted water cooling hoses and no water. It was still going though. Gift from the ML
01:48 PM FinboySlick: unterhaus_: Do you think the melting caused the hoses to drain... Or did they run out of water then melt?
01:48 PM unterhaus_: that's a good question. My thought is the melting happened first
01:49 PM unterhaus_: but I guess his tank isn't big enough
01:49 PM unterhaus_: so the water got hot
01:50 PM unterhaus_: it's interesting that the motor doesn't need water after all
01:51 PM FinboySlick: I doubt the water got hot enough to melt the hose though. I'd imagine the hose was in contact with the spindle or some other hot part.
01:51 PM unterhaus_: the motor was hot, he said he could feel it 3 feet away
01:51 PM unterhaus_: and no water on the floor, so it must have been steam
01:52 PM FinboySlick: Wow.
01:52 PM unterhaus_: but you would think that much steam would make the shed smell funny
01:52 PM FinboySlick: Tank was empty?
01:53 PM unterhaus_: he said the tank lost 3 to 4 gallons of water
01:54 PM unterhaus_: "motor still runs whisper quiet"
01:55 PM unterhaus_: pump must not be in the tank because it lost prime. That might have been the first failure
01:55 PM unterhaus_: motor gets hot enough to produce steam, pushes water back through the pump which loses prime
01:57 PM unterhaus_: I thought I lived my life as an example for others of what not to do
01:59 PM unterhaus_: It would be nice to know how long the failure took, because I can see buying one of those cheap spindles
02:13 PM Rab: unterhaus_, what was the power rating of this spindle?
02:47 PM CaptHindsight: veegee: why so many for so low, slow economy?
02:49 PM Rab: Canadian levitation breakthrough.
02:57 PM jymmmm: Well, my 200AH LiFePO4 cells just arrived
03:00 PM Tom_L: nice
03:01 PM jymmmm: 8.5lbs each
03:01 PM jymmmm: surprisingly VERY well packed
03:02 PM roycroft: that's pretty light for that much power
03:02 PM roycroft: what voltage?
03:03 PM jymmmm: roycroft: LiFe so 3.2 nominal * 4 = 12.8
03:03 PM unterhaus_: Rab spindle belongs to Gene
03:03 PM roycroft: nice
03:03 PM roycroft: lead acid would weight 5x as much for 100ah
03:04 PM roycroft: er, 200ah
03:05 PM jymmmm: Yeah, the BMS should be here soon, still need to order cables and crimper
03:06 PM jymmmm: The busbars they provided are awefully thin, flattened 1/2" copper pipe should do nicely
03:07 PM CaptHindsight: jymmmm: no more DIY?
03:07 PM jymmmm: CaptHindsight: rephrase the question please?
03:07 PM CaptHindsight: DIY, no more?
03:08 PM jymmmm: CaptHindsight: Well, I'm not making cells out of coconut shells, so I'm not sure what you mean by DIY? Making the busbars out of copper pipe is DIY
03:08 PM CaptHindsight: off the shelf with minor mods
03:09 PM CaptHindsight: vs system from discrete components
03:10 PM jymmmm: I consider what I'm doing as being DIY *shrug*, just in a more professional manner
03:13 PM jymmmm: Now to take these out to the shop and see if I can top-balance them
03:14 PM CaptHindsight: wasn't referring to the DIY Network version of DIY
03:15 PM CaptHindsight: or involves paste, hot melt, disposable paint brush, q-tips, staple gun, aged animal flesh, etc etc
03:18 PM jymmmm: CaptHindsight: I'm sure there's a joke in there somewhere, just not getting it :)
03:22 PM jymmmm: CaptHindsight: I don't ghetto Fabulous everything :D
03:22 PM CaptHindsight: "now with more bling"
03:22 PM jymmmm: CaptHindsight: Even my "half ass" jobs usually last 5+ years
03:23 PM CaptHindsight: not contesting it
03:36 PM TekniQue: I need some guidance on Mesa ethernet board configuration. I have a 7i92M that supposedly has firmware loaded but no indication of what firmware that may be
03:36 PM TekniQue: and the pncconf dialog for pin assignment is very confusing
03:37 PM TekniQue: to say the least
03:38 PM TekniQue: I get a bunch of pins shown under I/O connector 2, but they have duplicate numbers
03:46 PM jymmmm: 1 of 4 cells... https://i.imgur.com/WYLtE8a.png
03:47 PM jymmmm: Could that fan be a more perfect fit? https://i.imgur.com/qBXYZ60.jpg
03:48 PM unterhaus_: TekniQue, sorry I haven't tried it yet but I think I would try JT's ehternet mesa configurator
03:50 PM TekniQue: hm
03:50 PM TekniQue: where do I find this?
03:50 PM TekniQue: actually it seems my board has no firmware
03:50 PM TekniQue: it does not respond to anything on the default IP address
03:51 PM TekniQue: no ARP response
03:53 PM unterhaus_: you have the jumper set right?
03:53 PM unterhaus_: I have a 7i93, and I think the manual is wrong about address
03:53 PM unterhaus_: it was the first few times I read it
03:53 PM unterhaus_: TekniQue, what IP are you using?
03:54 PM unterhaus_: The 7i92 configurator seems to have gone missing out of JT's github
03:55 PM unterhaus_: https://github.com/jethornton
03:55 PM unterhaus_: https://gnipsel.com/linuxcnc/uspace/
03:57 PM TekniQue: ok the jumper was set to bootp and not "default"
03:58 PM TekniQue: now I get ARP and ping response
03:58 PM TekniQue: but mesaloader.exe does not find it when told to do ethscan
03:59 PM unterhaus_: is mesaloader.exe a windows program?
03:59 PM TekniQue: yes
03:59 PM unterhaus_: windows just helpfully blocking the program from using the network
03:59 PM TekniQue: http://store.mesanet.com/index.php?route=product/product&product_id=302
04:00 PM TekniQue: true
04:00 PM TekniQue: had to allow network access
04:00 PM TekniQue: and now it finds something
04:05 PM -!- #linuxcnc mode set to +v by ChanServ
04:18 PM Tom_L: damn it's windy
04:18 PM XXCoder: great day for wind power!
04:19 PM Tom_L: they spin just fine on a calm day
04:19 PM XXCoder: :)
04:19 PM Tom_L: ~30mph sustained
04:20 PM XXCoder: too bad theres no effective way to have essentally levels of power in windmills
04:22 PM Tom_L: they pitch the blades
04:26 PM XXCoder: ie heavy wind it changes to higher power gen
04:26 PM XXCoder: sorry someone come in delayed me a bit heh
04:27 PM Tom_L: they need to maintain constant rpm i think
04:27 PM Tom_L: for the grid
04:27 PM Tom_L: but then i don't really know how it works
04:27 PM XXCoder: hmm true, though if they built a giant battery of sorts. (theres so many kinds) they could get more power
04:27 PM Tom_L: maybe they go DC back to AC
04:28 PM XXCoder: there was one idea that builds huge tank inside ground, then pressurize air in it with excess power
04:28 PM XXCoder: then let it out to make power in dips
04:28 PM Tom_L: we got em all over the place here
04:29 PM XXCoder: other one uses train and track. excess power moves train upwards
04:29 PM XXCoder: descend to generate power
04:29 PM TekniQue: oh god I hate Python so much
04:29 PM XXCoder: (very big hill and track)
04:30 PM Tom_L: TekniQue, are you using linuxcnc?
04:30 PM TekniQue: at this rate it'll be cheaper for me to buy a Haas than to spend so many hours of my life dealing with Python issues
04:30 PM TekniQue: there's just endless dependency problems
04:30 PM XXCoder: thats why i just grab iso and go
04:30 PM TekniQue: I fix one and two others show their ugly heads
04:30 PM TekniQue: I would but iso has broken Xorg
04:30 PM TekniQue: won't work on my machine
04:31 PM XXCoder: weird how is xorg broken
04:31 PM TekniQue: doesn't recognise my display adaptor
04:32 PM roycroft: a new display adapter or even a new machine may be the cheapest/fastest way to fix the problem
04:32 PM TekniQue: it is a new machine
04:32 PM roycroft: a different new machine :)
04:32 PM TekniQue: and the display adaptor is built into the CPU
04:32 PM roycroft: one that works
04:33 PM _unreal_: working on milling the last of my adapter
04:33 PM _unreal_: adapter Z armature stiffener
04:34 PM unterhaus: there is a fix for the display issue
04:34 PM unterhaus: not really a lcnc issue
04:34 PM TekniQue: no, it's a Debian issue
04:34 PM _unreal_: What kind of milling feed rate might I be able to get milling aluminum with my 1.5kw spindle?
04:35 PM XXCoder: you mean motherboard, not cpu
04:35 PM unterhaus: fix on the forum
04:35 PM TekniQue: because Debian sucks and is 10 years behind the rest of the world
04:35 PM unterhaus: I used mint
04:35 PM unterhaus: with package install
04:35 PM XXCoder: inbuilt do affect cpu usage and latency, i suggest get reasonable good gamer video card supported well by linux
04:36 PM _unreal_: whats the best GPU?
04:36 PM _unreal_: suggested gpu
04:36 PM XXCoder: say around 130 usd to 150
04:36 PM TekniQue: I'm using a small form factor PC with no slots for such things
04:36 PM unterhaus: you built from source instead of using packages?
04:36 PM XXCoder: oh hmm too bad.
04:37 PM TekniQue: yes I built from source because the ISO is broken
04:37 PM unterhaus: I used to do such things but I have no patience for it now
04:37 PM roycroft: debian has its issues
04:37 PM unterhaus: okay, you can install packages instead. Works fine on mint
04:37 PM TekniQue: and I naively thought building linuxcnc would be less of a pain in the ass than building Xorg
04:37 PM roycroft: but to say it sucks and is 10 years behind the times is not correct nor fair
04:38 PM unterhaus: packages, did someone say install using packages?
04:38 PM Tom_L: TekniQue, you saw JT's build site didn't you?
04:38 PM TekniQue: there are no packages provided, only the ISOs
04:38 PM unterhaus: iso's are a side show
04:38 PM TekniQue: Tom_L: I saw a lot of build sites
04:38 PM _unreal_: Thats the thing with that flat screen computer
04:38 PM _unreal_: I dont know if I should even bother trying to load lcnc on it?
04:39 PM Tom_L: https://gnipsel.com/linuxcnc/uspace/index.html
04:39 PM _unreal_: it would give me my "" wide screen "" BUT the computer its self is an all in one
04:39 PM roycroft: its obsession with segregating and discouraging the "non-free" stuff is a political and philosophical issue with which i strongly disagree
04:39 PM unterhaus: it's amazing how much work you are doing to avoid reading the lcnc website
04:39 PM Tom_L: he's got several linux variants there
04:39 PM _unreal_: I dont know that it would be all that good a computer. and its an AMD dual core
04:40 PM Tom_L: unterhaus, it's entertaining
04:40 PM unterhaus: no, it's not
04:40 PM unterhaus: https://forum.linuxcnc.org/9-installing-linuxcnc/39628-linuxcnc-on-linux-mint-20-quick-and-nearly-easy-install
04:41 PM unterhaus: buildbot has built packages for download
04:41 PM TekniQue: I have linuxcnc built and running
04:41 PM unterhaus: what's the python problem then?
04:41 PM Tom_L: so what's the issue then?
04:41 PM TekniQue: trying to use the 7i92 utility now
04:42 PM _unreal_: TekniQue, dont bother with it
04:42 PM TekniQue: and that is another Python nightmare on its own
04:42 PM _unreal_: use the lcnc utility
04:42 PM TekniQue: mnconfig?
04:42 PM _unreal_: the pnconfig
04:42 PM Tom_L: TekniQue, what are you trying to do with the 7i92?
04:42 PM TekniQue: make it control my machine
04:42 PM TekniQue: simple as that
04:43 PM TekniQue: 3 steppers, an on/off spindle and a home input
04:43 PM Tom_L: i have one sitting right here
04:43 PM TekniQue: been working fine off parallel port for 10 years
04:43 PM _unreal_: TekniQue, I used the pnconfig that is part of the lcnc and had no issues getting the 7i96 setup after I figured out a bunch of stuff and help from Tom_L and otheres with areas I didnt understand
04:43 PM _unreal_: but I had endless issues with the 7i96 "util"
04:43 PM TekniQue: pncconf runs but it's asking questions I don't know the answers to
04:43 PM Tom_L: TekniQue, can you communicate with the 7i92?
04:43 PM Tom_L: what ip is it set for?
04:44 PM TekniQue: yes the 7i92 communicates
04:44 PM TekniQue: 192.168.1.121
04:44 PM _unreal_: static?
04:44 PM Tom_L: i would use the alternate ip
04:44 PM _unreal_: 10.10.10.10
04:44 PM Tom_L: 10.10.10.1 ?
04:44 PM Tom_L: i think
04:44 PM Tom_L: maybe it's .10
04:44 PM _unreal_: its 10
04:44 PM TekniQue: why? What difference does it make?
04:44 PM _unreal_: you must set the jumper
04:45 PM _unreal_: if it works it works
04:45 PM Tom_L: is it connected directly to your ethernet card?
04:45 PM TekniQue: yes it's directly connected
04:45 PM Tom_L: that's fine then
04:45 PM _unreal_: but if you use a 192 range number you RISK having DHCP issues
04:45 PM _unreal_: if that computer is also connected to the internet
04:45 PM _unreal_: depending on yoru setup
04:45 PM Tom_L: i just like to move it away from most standard ips
04:45 PM _unreal_: dual nics etc...
04:45 PM TekniQue: not worried about that
04:45 PM unterhaus: I don't think pncconf does mesa ehternet?
04:45 PM _unreal_: :) then fuck it leave it as is
04:46 PM _unreal_: unterhaus, yes
04:46 PM _unreal_: unterhaus, thats what I used to get mine setup
04:46 PM _unreal_: I never got the 7i96 util to fully work
04:46 PM Tom_L: so have you tried the mesaflash utility?
04:46 PM _unreal_: I got it to setup but it just kept having issues in final settings
04:46 PM Tom_L: TekniQue, ^^
04:47 PM unterhaus: what questions does it ask that you don't know the answer to?
04:47 PM _unreal_: pnconfig it worked. then I ran into the @#$%@#$%^@!#%$!Q@#%^@$%&@$%^T!@#%@!#%^&@#%$^&!#@%$!@#^$@$%^*&@$%^!#@$%!#@^ wide scrteen issue
04:47 PM _unreal_: I cant go to the lcnc computer because I'm monitoring my milling job
04:48 PM unterhaus: I was asking Tekni
04:48 PM Tom_L: TekniQue, do you have mesaflash installed?
04:48 PM _unreal_: unterhaus, we are all asking TekniQue lol
04:48 PM TekniQue: yes I have mesaflash
04:49 PM Tom_L: have you tried it to see the pin configuration?
04:49 PM _unreal_: TekniQue, is your 7i96 virgin?
04:49 PM unterhaus: 92
04:49 PM TekniQue: https://i.imgur.com/ydwR0Gx.png
04:49 PM Tom_dev: ./mesaflash --device 7i92 --addr 192.168.1.121 --readhmid
04:49 PM Tom_L: TekniQue, try that
04:50 PM Tom_L: from linux
04:50 PM _unreal_: do you have adapter cards?
04:50 PM Tom_L: not windows
04:50 PM _unreal_: for the 796
04:50 PM _unreal_: for the expansion?
04:51 PM Tom_L: that will give you the bit file configuration
04:51 PM TekniQue: Configuration Name: HOSTMOT2
04:51 PM unterhaus: TekniQue, so you don't know which firmware to load?
04:51 PM TekniQue: yeah no idea
04:51 PM Tom_L: unterhaus, it has one loaded already
04:51 PM TekniQue: none of the available options there make any sense
04:51 PM Tom_L: he ships them with one loaded
04:51 PM _unreal_: TekniQue, is it going to be used for a standard mill?
04:51 PM TekniQue: I don't have a daugther board
04:51 PM _unreal_: xyz"ab"
04:51 PM unterhaus: yeah, I would have to reverse engineer that list
04:51 PM TekniQue: yes just the most basic mill possible
04:51 PM Tom_L: TekniQue, don't use that windows utility
04:51 PM TekniQue: xyz axis, on/off spindle output and home input
04:51 PM _unreal_: then you dont need to touch the firmware
04:52 PM _unreal_: just setup drives
04:52 PM _unreal_: err motors
04:52 PM TekniQue: it's currently running a 10 year old version of linuxcnc on parallel port
04:52 PM unterhaus: I was going to say there is a windows mesaflash
04:52 PM TekniQue: but the machine running it is dying
04:52 PM TekniQue: so I'm working to replace it before it stops booting altogether
04:52 PM _unreal_: TekniQue, standard cnc mill xyz you do NOT need to change the firmware if its a default card 7i96
04:52 PM Tom_L: unterhaus, why bother with windows at all if linuxcnc doesn't run on it?
04:53 PM TekniQue: oh I ran the windows utility because that is the only piece of software linked to on the mesa web site
04:53 PM _unreal_: its going to be just fine for you. all you will need to do is tune the card in the PNCONFIG util from lincnc
04:53 PM _unreal_: and your going to be up and running
04:53 PM TekniQue: mesa web site links to a windows utility to communicate with the board
04:53 PM TekniQue: and makes no mention of a linux variant
04:53 PM Tom_L: TekniQue, run mesaflash from linux like i suggested above
04:53 PM _unreal_: arg.. 37MIN LEFT ON this milling lob
04:53 PM TekniQue: Tom_L: yes and I pasted the output of that
04:54 PM Tom_L: where?
04:54 PM _unreal_: https://i.imgur.com/ydwR0Gx.png
04:54 PM _unreal_: there
04:54 PM Tom_L: nope that's not it
04:54 PM _unreal_: oh
04:54 PM _unreal_: :)
04:54 PM unterhaus: that's pncconf
04:54 PM TekniQue: full output https://pastebin.com/LvCyMxaK
04:54 PM Tom_L: unless you have a good answer... don't
04:54 PM TekniQue: 22:50 < TekniQue> Configuration Name: HOSTMOT2
04:55 PM TekniQue: I guessed that was the important bit
04:55 PM Tom_L: TekniQue, starting at line 90 is your pin configuration
04:55 PM Tom_L: the IO number is listed beside the physical pin
04:55 PM TekniQue: still confused about the pnconfig
04:56 PM TekniQue: it gives me a list of firmwares to choose from
04:56 PM Tom_L: so pin 14 is the pwm for spindle
04:56 PM TekniQue: but none of them are hostmot2
04:56 PM Tom_L: for example
04:56 PM Tom_L: we'll get to that
04:56 PM Tom_L: do you have a config file yet?
04:57 PM Tom_L: i've never used / needed pncconf
04:57 PM TekniQue: I have my old parport config file and am working to build a config that uses the mesa board
04:57 PM TekniQue: but the output from mesaflash is highly useful info
04:57 PM Tom_L: ok so you know what functions the parallel port pins are right?
04:58 PM TekniQue: yes
04:58 PM _unreal_: TekniQue, all you have to do is asign the pins in the pnconfig
04:58 PM Tom_L: you just need to remap the pin functions to what you see in that file
04:58 PM _unreal_: and connect your PAR port header
04:59 PM _unreal_: to those pins on the 7i96 board
04:59 PM _unreal_: with a wire breakout
04:59 PM Tom_L: he's not using a 7i96
04:59 PM _unreal_: ?
04:59 PM Tom_L: he's using a 7i02
04:59 PM Tom_L: 92*
04:59 PM _unreal_: ohhhhhhhhhhhh ?
04:59 PM _unreal_: HE SAID 7I96 BFORE
04:59 PM TekniQue: nope, 92
04:59 PM _unreal_: arg.
05:00 PM _unreal_: well I'm going to go give my daughter a chore. lighting the charoal gril :)
05:00 PM Tom_L: i have one sitting on the desk in front of me
05:00 PM TekniQue: https://pastebin.com/Lg5tS0cF
05:00 PM TekniQue: here's the pinout from my old stepconf file
05:01 PM Tom_L: so you see in the mesaflash list stepgen
05:01 PM TekniQue: but the firmware part of pncconf is still confusing me
05:01 PM TekniQue: yes I see the stepgen outputs
05:02 PM Tom_L: one is step and one is direction
05:02 PM Tom_L: map those to your current wiring
05:02 PM Tom_L: you may have to rewire a few things...
05:02 PM Tom_L: brb
05:04 PM _unreal_: Tom_L, are you lighting a charcoal grill too :)
05:04 PM _unreal_: lol
05:04 PM TekniQue: well the problem is that I can't get anything to line up with the pinout shown by mesaflash
05:04 PM TekniQue: in pncconf
05:04 PM TekniQue: that's the whole problem
05:04 PM TekniQue: pncconf gives me a list of possible configurations but none of them include HOSTMOT2
05:05 PM TekniQue: but rather I get 7i76x2, 7i77_i7i76, 7i77x2 and G540x2
05:07 PM Tom_L: why are you even using pncconf?
05:07 PM Tom_L: why not modify a copy of your exhisting config?
05:07 PM TekniQue: excellent question
05:08 PM TekniQue: because I have no idea how to make my existing config speak to a mesa card
05:08 PM unterhaus: those are all hostmot2 firmwares
05:08 PM TekniQue: and I thought I would generate a config that spoke with the mesa card using pncconf
05:08 PM TekniQue: and then copy the calibration from my old config over to the new config
05:08 PM _unreal_: god I tell ya I love my mini brushless spindle
05:08 PM Tom_dev: pncconf seems too confusing to me
05:08 PM TekniQue: my existing config is for a 10 year old version of LinuxCNC
05:09 PM _unreal_: was SOOOOOO worth the money
05:09 PM _unreal_: Tom_dev, really?
05:09 PM TekniQue: Tom_dev: I'm glad it's just just me
05:09 PM TekniQue: hah
05:09 PM unterhaus: I think you can pick any of those options in pncconf and then look to see if it will let you do what you want
05:09 PM _unreal_: ARG... need to pause the cycle when it gets to a change point and clean the milling job
05:10 PM unterhaus: or figure out how it works and do it manually like Tom is suggesting
05:10 PM TekniQue: I used stepconf to create my existing configuration, 10 years ago
05:10 PM _unreal_: to much aluminum filings
05:10 PM TekniQue: unterhaus: none of them let me do what I want though
05:10 PM unterhaus: what is it that you want?
05:10 PM Tom_dev: TekniQue, for the ethernet card you will load 2 hostmot drivers
05:10 PM TekniQue: they all just put stepgen and i/o on random pins
05:11 PM TekniQue: and they don't align with what pins mesaflash gives me for stepgen, pwm, etc
05:11 PM Tom_dev: loadrt hostmot2
05:11 PM Tom_dev: and
05:11 PM Tom_dev: loadrt hm2_eth
05:11 PM Tom_dev: requires both
05:11 PM Tom_dev: in the ini file
05:11 PM unterhaus: you are getting way ahead talking about hostmot
05:12 PM unterhaus: he needs to know how to map the functions to the pins
05:12 PM Tom_L: TekniQue, i don't think they are random
05:12 PM TekniQue: they are not random, correct
05:12 PM Tom_L: he needs to be able to see the board before he can use them?
05:12 PM _unreal_: in PNCONFIG the pin mapping happens in the XYZ pages
05:12 PM TekniQue: but they don't align with what mesaconf tells me I have
05:13 PM Tom_L: trust mesaconf
05:13 PM Tom_L: err mesaflash
05:13 PM TekniQue: mesaflash yes
05:13 PM Tom_L: it's reading it from the board
05:13 PM TekniQue: exactly
05:13 PM _unreal_: @#%@#$% 20min left
05:13 PM Tom_L: you _can_ change the config but let's not do that right now
05:14 PM TekniQue: I also get a message from pncconf that I have no hostmot2 firmware in /lib/firmware/hm2 and it will use internal firmware data
05:15 PM TekniQue: is this something to be concerned about?
05:15 PM Tom_dev: you can look at my config to get ideas as to what needs changed if you want
05:15 PM Tom_dev: no not that i know of
05:15 PM Tom_dev: you just haven't copied any .bit files to that dir yet
05:15 PM Tom_dev: and right now you don't need them there
05:16 PM Tom_dev: but the config tool is looking there for possible pin configurations
05:17 PM Tom_dev: TekniQue, mind you i'm not running the 7i92 on my mill but i have set up the configs to where i can use an ethernet card on it
05:17 PM Tom_dev: you will see lines commented out dealing with a 7i80 card
05:18 PM Tom_dev: it's also ethernet and should serve to get that part of the config set up
05:18 PM Tom_dev: http://tom-itx.no-ip.biz:81/~webpage/cnc/configs/NEW_MILL_SHOP_2.7/
05:19 PM unterhaus: Tom_dev, the newmill files?
05:19 PM Tom_dev: in the ini, i define the boards and any addressing under the [HOSTMOT2] section
05:19 PM Tom_dev: unterhaus, yes
05:19 PM Tom_dev: in the .hal file is where they get loaded
05:20 PM Tom_dev: with loadrt hostmot2
05:20 PM Tom_dev: and loadrt hm2_eth
05:20 PM Tom_dev: there is alot of stuff in it you won't need
05:21 PM JT-Cave: whew a long day over at last
05:21 PM Tom_dev: JT-Cave, what's the weather like?
05:21 PM Tom_dev: been windy as heck here
05:22 PM JT-Cave: was a bit breezy most of the day but calmed down near sundown so I could burn trash\
05:22 PM JT-Cave: we have snow forecast for Monday lol
05:22 PM Tom_L: if i tried that, i'd set the whole state on fire :)
05:23 PM JT-Cave: that's why I waited till almost sundown
05:23 PM Tom_L: JT-Cave, does pncconf look for bit files in /lib/firmware ?
05:23 PM JT-Cave: stupid neighbors were burning trash once with 20 MPH winds and it got away from them duh
05:24 PM Tom_L: ~30ish sustained here all day
05:24 PM * JT-Cave almost knows how to spell pncconf but not sure about anything else
05:24 PM Tom_L: same here
05:24 PM Tom_L: seems too confusing
05:24 PM _unreal_: god some good wind going on down here in florida
05:24 PM unterhaus: it's nice really
05:24 PM JT-Cave: never used it never needed it way to cornfusing
05:24 PM unterhaus: but I have a much easier configuration
05:24 PM unterhaus: probably someone has used a parport bob before, but failed to document
05:25 PM _unreal_: I found pnconfig 10x more useable then the 7i96. the other one was confusing me
05:25 PM Tom_L: if you were starting out with nothing, maybe but i'd still try to find an exhisting config and modify it before using pncconf
05:26 PM _unreal_: I'll post some photos of what I'm working on
05:26 PM JT-Cave: pncconf does generate a good config if you can get that far, in fact I use Chris's configs to base my configuration tools on
05:27 PM _unreal_: https://drive.google.com/file/d/1QiVG-3oYM0k8G7jLCvv1eaoqVGQh-K_d/view?usp=sharing
05:27 PM _unreal_: Thats my adapter
05:28 PM _unreal_: cutting from scrap
05:28 PM TekniQue: https://pastebin.com/tyB4Yk4f
05:28 PM TekniQue: this is my existing config
05:28 PM _unreal_: That adapter will convert the square Z tubing to the flat 1.5kw spindle for my new cnc machine
05:29 PM Tom_L: TekniQue, both connectors appear to have the same pinouts in the bit file
05:29 PM Tom_L: if you don't use the function, any can be used as GPIO
05:30 PM unterhaus: is the 25 pin mesa pinout compatible with a parport card?
05:31 PM TekniQue: unterhaus: yes that's how they sell it
05:31 PM Tom_L: should be
05:31 PM TekniQue: on the mesa website it says compatible with parallel port pinout
05:31 PM unterhaus: so you just have to hook it up in the hal file
05:31 PM Tom_L: that
05:31 PM Tom_L: that's why i suggested modding his instead of making a new one
05:31 PM unterhaus: someone _must_ have done that before
05:32 PM _unreal_: FINALLY done
05:32 PM unterhaus: yeah, existing might be easiest
05:32 PM Tom_L: TekniQue, also look at my [AXIS] sections
05:33 PM TekniQue: it's not proving easy compared to how easy stepconf is
05:33 PM TekniQue: stepconf actually just works
05:33 PM Tom_L: try whichever seems easiest
05:33 PM Tom_L: doesn't matter to me
05:33 PM unterhaus: you already got what you needed from stepconf
05:33 PM Tom_L: you now know the pin configuration
05:34 PM Tom_L: on the card
05:36 PM Tom_L: my config is a mess to look at because i've tested different things with it from time to time
05:36 PM Tom_L: and left the code commented out for the most part
05:37 PM unterhaus: how does he connect a stepgen to his pin on the bob?
05:39 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/configs/NEW_MILL_SHOP_2.7/new_mill.hal
05:39 PM Tom_L: look at X [0] AXIS
05:39 PM _unreal_: ok drilling the last @#$%#$%3 5 holes and this part is " done "
05:39 PM unterhaus: I lost his mesaflash output
05:39 PM _unreal_: then I can work on mounting my Z on my new big ass mill
05:40 PM Tom_L: https://pastebin.com/LvCyMxaK
05:41 PM TekniQue: hm ok
05:42 PM Tom_L: unterhaus, not everything is shown with the functions but are mapped to the pins shown in the pastebin
05:42 PM Tom_L: the configuration of stepgen is in my axis section
05:43 PM Tom_L: just make sure your step signal from the amp is wired to that pin
05:43 PM Tom_L: same with dir
05:43 PM Tom_L: for ena i think you can use a GPIO pin
05:44 PM Tom_L: in his paste the stepgens are numbered 0..3
05:44 PM Tom_L: and 1 pwmgen
05:44 PM Tom_L: for spindle
05:44 PM unterhaus: I didn't look at it too hard, but the stepgens seem to match already
05:44 PM Tom_L: they probably do. peter is a bright guy :D
05:45 PM unterhaus: I agree
05:45 PM unterhaus: if only we could get him a trip to the fountain of youth
05:45 PM JT-Cave: we all need that
05:45 PM Tom_L: heh
05:45 PM unterhaus: Peter first
05:46 PM unterhaus: in case they run out
05:46 PM JT-Cave: LOL
05:46 PM unterhaus: and then JT
05:46 PM unterhaus: okay, andy fits in there somewhere
05:47 PM JT-Cave: yea Andy for sure
05:47 PM JT-Cave: but he can wait a while...
05:48 PM Tom_L: JT-Cave might need a bucket full.... he's gettin up there ya know :D
05:48 PM JT-Cave: wife retires in 6 weeks
05:48 PM Tom_L: gonna hit the road more?
05:48 PM JT-Cave: not till covid shit is over with lol
05:48 PM Tom_L: well ya
05:49 PM TekniQue: your hal file refers to a lot of parameters that I just don't have in my ini for my axis settings
05:49 PM JT-Cave: yea might back off on chickens a bit and do more traveling when it's safe
05:49 PM Tom_L: TekniQue, you can add them and set them up as needed
05:50 PM Tom_L: alot are defined in the ini and referred to in the [AXIS] section of the hal file
05:50 PM JT-Cave: TekniQue, what are you setting up?
05:50 PM Tom_L: as you probably noticed
05:50 PM Tom_L: JT-Cave, 7i92 from a parport setup
05:51 PM JT-Cave: you could basically use the stepconf config and change the names to match
05:52 PM JT-Cave: unfortunately I've not created a 7i92 configuration tool yet...
05:52 PM Tom_L: well stop clucking around...
05:53 PM JT-Cave: alright mother cluckers
05:53 PM JT-Cave: working on sunrise/sunset LED at the moment
05:53 PM Tom_L: i saw your post the other day
05:58 PM TekniQue: in my ini file I have this for my joint
05:58 PM TekniQue: MAX_ACCELERATION = 15.0
05:58 PM TekniQue: STEPGEN_MAXACCEL = 18.75
05:58 PM TekniQue: what's the difference between the two?
05:59 PM TekniQue: ie why do I have two lines that specify max acceleration
05:59 PM JT-Cave: stepgen need a bit of overhead
05:59 PM unterhaus: Tom_L, is your newmill for a step dir machine?
06:00 PM unterhaus: I don't see where it sets up step and dir pins
06:00 PM unterhaus: I think that would help
06:01 PM unterhaus: okay, I think I have it
06:01 PM unterhaus: that part is already hooked up
06:03 PM unterhaus: so he doesn't need the lines like net xstep => parport.0.pin-02-out
06:04 PM TekniQue: my home proximity sensors are all wired in parallel on pin 10 of the parallel port
06:04 PM TekniQue: and according to mesaflash pin 10 is gpio13
06:05 PM TekniQue: so does this make sense
06:05 PM TekniQue: net all-home <= hm2_[HOSTMOT2](BOARD).0.gpio.013.in
06:05 PM TekniQue: and I have set up a HOSTMOT2 section in the ini
06:06 PM unterhaus: you have to define (board) right?
06:07 PM TekniQue: yes
06:07 PM TekniQue: did that in the ini
06:07 PM TekniQue: but I guess I need to configure the GPIO ports I'm using
06:07 PM TekniQue: at least configure the direction
06:07 PM TekniQue: I see things like this in the hal file from Tom
06:07 PM TekniQue: setp hm2_[HOSTMOT2](BOARD).0.gpio.001.invert_output 0
06:07 PM TekniQue: for invert
06:08 PM TekniQue: but I don't see how to specify that it is an output
06:08 PM TekniQue: according to mesaflash I have a pin that is not configured but available
06:08 PM TekniQue: 1 0 IOPort None
06:09 PM TekniQue: but I want to use that as an output
06:10 PM TekniQue: and also I have this line in hal config
06:10 PM TekniQue: loadrt [HOSTMOT2](DRIVER) ioaddr=[HOSTMOT2](IO_ADDR) config=[HOSTMOT2](CONFIG)
06:11 PM TekniQue: and Tom has this in his ini
06:11 PM TekniQue: #CONFIG="firmware=hm2/7i43-4/SVST2_4_7I47SS.BIT num_encoders=2 num_pwmgens=0 num_stepgens=4 #sserial_port_0=22xxxxxx"
06:11 PM TekniQue: I'm confused what to do there, do I need to specify some file?
06:13 PM unterhaus: pretty sure yours is loaded
06:13 PM TekniQue: right, so why would I need to specify that in the HAL?
06:13 PM unterhaus: I don't think you do
06:13 PM Tom_L: unterhaus, i explained that those pins are mapped in the bit file
06:13 PM Tom_L: you just need the list and wire your signals to them
06:14 PM unterhaus: which question are you answering?
06:14 PM Tom_L: the one where i left above
06:14 PM unterhaus: fair
06:14 PM Tom_L: <unterhaus> I don't see where it sets up step and dir pins
06:14 PM unterhaus: I figured that part out
06:15 PM Tom_L: they are magically hooked up
06:15 PM unterhaus: right, so he needs the lines where the stepgen commands get hooked up,but not anything about pins
06:15 PM Tom_L: TekniQue, that config line is commented out
06:15 PM Tom_L: unterhaus, right
06:16 PM Tom_L: TekniQue, that was one of my test lines i'm not using
06:16 PM unterhaus: parport isn't quite the same
06:16 PM Tom_L: no i know that
06:17 PM Tom_L: TekniQue, the config line i _am_ using is: CONFIG="num_encoders=2 num_stepgens=3 num_pwmgens=1 sserial_port_0=20xxxxxx"
06:17 PM unterhaus: stepgen in parport is a hal component instead of something in the fpga
06:18 PM Tom_L: which tells it how many of what i am using
06:18 PM Tom_L: unterhaus, yup
06:21 PM TekniQue: well I still have pins that are neither inputs nor outputs
06:21 PM TekniQue: and I need to configure those
06:21 PM TekniQue: I need an output to turn my spindle on
06:21 PM TekniQue: and an input for home
06:21 PM TekniQue: I'm sort of figuring out the rest
06:22 PM Tom_L: so find a pin that is unused
06:23 PM TekniQue: yes but how to make the pin an output
06:23 PM TekniQue: or how to make it an input
06:24 PM TekniQue: also, one part of the syntax confuses me in the hal file
06:24 PM TekniQue: net ypos-fb stepgen.1.position-fb => joint.1.motor-pos-fb
06:24 PM TekniQue: does this make ypos-fb an alias of stepgen.1.position-fb and assign the value to joint.1.motor-pos-fb
06:24 PM TekniQue: or what
06:25 PM Tom_L: just a sec
06:26 PM Tom_L: setp hm2_[HOSTMOT2](BOARD).0.gpio.016.is_output 1
06:26 PM Tom_L: setp hm2_[HOSTMOT2](BOARD).0.gpio.016.invert_output 1
06:26 PM Tom_L: s
06:26 PM Tom_L: for example
06:26 PM TekniQue: great
06:26 PM Tom_L: read the hostmot2 section of the help
06:26 PM Tom_L: it will explain it
06:26 PM TekniQue: hmm
06:26 PM TekniQue: what help, the html help?
06:26 PM TekniQue: or a man page
06:26 PM Tom_L: http://linuxcnc.org/docs/2.7/html/
06:26 PM Tom_L: either one
06:27 PM Tom_L: http://linuxcnc.org/docs/2.7/html/drivers/hostmot2.html
06:29 PM TekniQue: in my old hal file I have names like setp hm2_[HOSTMOT2](BOARD).0.gpio.016.is_output 1
06:29 PM TekniQue: err
06:30 PM TekniQue: nevermind
06:30 PM Tom_L: parport related
06:31 PM Tom_L: you will very likely be able to use the same DB25 pins
06:31 PM Tom_L: just find out what io they are
06:32 PM Tom_L: be aware the pins from the 7i92 aren't buffered that i know of
06:32 PM Tom_L: you may want to find an isolation card for it
06:33 PM Tom_L: unless he put buffers on em...
06:33 PM Tom_L: i haven't looked
06:34 PM TekniQue: well I have gotten to the part where it starts up without errors
06:34 PM Tom_L: nice
06:34 PM TekniQue: my control cabinet has optical isolators for everything
06:34 PM TekniQue: so not worried about that
06:34 PM Tom_L: alright
06:36 PM Tom_L: the step parameters will be different going from a parport setup
06:36 PM Tom_L: and depending on what stepper driver you're using mine won't be that close for you either
06:37 PM TekniQue: ok
06:39 PM Tom_L: also on the io pins there are in and out signals for them as you can see if you list hal showpin and expand them
06:39 PM Tom_L: hm2_[HOSTMOT2](BOARD).0.gpio.008.out
06:39 PM Tom_L: for example
06:40 PM Tom_L: hm2_[HOSTMOT2](BOARD).0.gpio.047.in
06:41 PM TekniQue: list hal showpin?
06:41 PM Tom_L: so you can see how to address them
06:41 PM Tom_L: do you have axis up on the display?
06:41 PM TekniQue: yes
06:41 PM Tom_L: i think it's under 'machine'
06:42 PM Tom_L: show configuration or some such thing
06:43 PM TekniQue: I see a HAL configuration dialog
06:43 PM TekniQue: very useful
06:43 PM Tom_L: that will show you your io and all other things
06:44 PM TekniQue: ok
06:44 PM TekniQue: how do I forcefully tell it that I have homed it already
06:44 PM TekniQue: so I can test outputs without hooking the machine up
06:44 PM TekniQue: and test the logic
06:45 PM Tom_L: http://linuxcnc.org/docs/2.7/html/config/ini-config.html
06:45 PM Tom_L: NO_FORCE_HOMING
06:45 PM Tom_L: maybe
06:45 PM Tom_L: = 1
06:46 PM Tom_L: NO_FORCE_HOMING = 1 allows the user to make MDI moves and run programs without homing the machine first.
06:50 PM TekniQue: success
06:51 PM Tom_L: cool
06:52 PM TekniQue: one thing very weird tho
06:52 PM TekniQue: I press the spindle controls in Axis and the spindle output turns on or off
06:53 PM TekniQue: but type M3 F1 into the MDI and nothing happens, but go back to F3 and the spindle control indicates the spindle should be running
06:53 PM TekniQue: but I still have 0V on the pin
06:53 PM TekniQue: ah
06:53 PM Tom_L: now for the tweaking...
06:53 PM TekniQue: error message
06:53 PM TekniQue: Need tool prepared
06:54 PM TekniQue: typed M6 T1 and tried again
06:54 PM TekniQue: still M3 Fxxx gives me no spindle output
06:54 PM TekniQue: but pressing the spindle button in Axis does turn on the spindle
06:55 PM TekniQue: so it seems I'm missing some signal association
06:55 PM TekniQue: motion control to spindle control maybe
06:55 PM TekniQue: weird that Axis still thinks the spindle is on
06:55 PM TekniQue: when it isn't
06:56 PM unterhaus: I don't think lcnc really checks stuff like that unless you set up feedback
06:56 PM unterhaus: and there is a mechanism to check for spindle at speed
06:57 PM Tom_L: check my file for spindle stuff maybe?
06:57 PM Tom_L: i'm not quite sure
06:57 PM Tom_L: although i did some crazy shit with the spindle on mine at one point
06:57 PM Tom_L: might just confuse you
06:58 PM Tom_L: just ignore the stuff that's commented out
06:59 PM Tom_L: i've been working on it lately since i got a new spindle motor
07:02 PM TekniQue: yeah it was all my fault
07:02 PM TekniQue: I wrote M3 Fxxx and not M3 Sxxx
07:02 PM TekniQue: so it thought I had speed of zero
07:02 PM TekniQue: or was asking for speed of zero
07:03 PM TekniQue: M3 S1 and it works
07:05 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/screenshot.png
07:05 PM Tom_L: look thru my files and you can set up a similar side pannel if you want
07:06 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/Current_Linuxcnc_Axis_screen.png
07:06 PM Tom_L: a more current one
07:10 PM XXCoder: not bad
07:11 PM TekniQue: not quite working though
07:11 PM TekniQue: I pressed the home all button
07:11 PM TekniQue: and DRO says Z axis is moving
07:11 PM roycroft: at least it's alive!
07:12 PM XXCoder: ehh i would disable lockout pre-home and test jig to confirm stuff before trying home all for first time
07:13 PM TekniQue: I just did home all to see if I would get steps
07:13 PM TekniQue: and I'm not getting steps
07:13 PM TekniQue: the direction pin went high
07:13 PM TekniQue: but step pin is low and no activity
07:13 PM XXCoder: might be sending signal to wrong pin?
07:15 PM TekniQue: no
07:15 PM TekniQue: scoped all the pins
07:15 PM TekniQue: and none are getting steps
07:15 PM TekniQue: despite the DRO indicating the axis is moving
07:16 PM TekniQue: http://foo.is/woody.ini
07:16 PM TekniQue: http://foo.is/woody.hal
07:16 PM TekniQue: where I'm at right now
07:18 PM Tom_L: what about enable?
07:18 PM TekniQue: missing something
07:18 PM Tom_L: net emcmot.00.enable <= axis.0.amp-enable-out
07:18 PM Tom_L: net emcmot.00.enable => hm2_[HOSTMOT2](BOARD).0.stepgen.00.enable
07:19 PM Tom_L: in my hal
07:19 PM TekniQue: yeah I have this
07:20 PM Tom_L: check thru that section closely
07:20 PM Tom_L: you can also watch pins in that hal configuration tool
07:20 PM TekniQue: but emcmot.00.enable is false
07:20 PM Tom_L: under the 'show' tab
07:21 PM TekniQue: no now it's true
07:21 PM TekniQue: but still no steps
07:21 PM Tom_L: your step timing could be way off from the parallel port setup
07:22 PM Tom_L: probably not the cause but may still need adjusting
07:22 PM TekniQue: I have steplen and stepspace set to 10 thousand
07:23 PM TekniQue: I mean it doesn't sound reasonable that it should generate no steps
07:23 PM Tom_L: the pins may be inverted?
07:23 PM Tom_L: i dunno
07:24 PM Tom_L: STEPLEN = 1600
07:24 PM Tom_L: STEPSPACE = 2000
07:24 PM Tom_L: i'm using gecko drivers
07:24 PM TekniQue: I'm just using stepper motors
07:25 PM Tom_L: so am i
07:25 PM TekniQue: oh I thought when you said gecko that they were servo motors that were pretending to be steppers
07:25 PM TekniQue: I worked on a machine like that a few years ago, hated it
07:25 PM Tom_L: no the stepper drivers are 203v geckos
07:26 PM TekniQue: having to set the PID gains with a screwdriver
07:26 PM TekniQue: and it just wasn't ideal when the guy had two motors driving the X axis running off the same step command from Mach3
07:27 PM TekniQue: ugly setup
07:27 PM Tom_L: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Stepper_Drive_Timing
07:27 PM Tom_L: that might help
07:30 PM TekniQue: I see hm2_yi92.0.stepgen.02.counts counting
07:30 PM TekniQue: but no steps generated
07:31 PM Tom_L: are the drivers enabled?
07:31 PM Tom_L: logic may be reversed
07:31 PM TekniQue: hm2_7i92.0.stepgen.02.control-type is false
07:31 PM TekniQue: .enable is TRUE
07:32 PM Tom_L: most drivers, GND is enable iirc
07:33 PM TekniQue: the direction output works
07:33 PM TekniQue: just don't get any steps
07:40 PM TekniQue: setp hm2_[HOSTMOT2](BOARD).0.stepgen.timer-number 1
07:40 PM TekniQue: I have this from your config
07:41 PM TekniQue: what does it do?
07:41 PM TekniQue: why should this be 1 and not 2 or 0
07:43 PM Tom_L: i'm not sure on that one
07:43 PM Tom_L: i don't see it in the hostmot2 docs
07:44 PM TekniQue: my bad
07:45 PM TekniQue: I am getting steps
07:45 PM Tom_L: i'm not sure about that parameter in either case...
07:45 PM TekniQue: after I power cycled the board I'm getting steps
07:46 PM Tom_L: yeah, any config changes require you restart lcnc
07:46 PM TekniQue: it all seems to work then
07:47 PM TekniQue: grounding the home input is registered by the homing sequence too
07:47 PM TekniQue: so all I need to do now is put the board in a case
07:47 PM TekniQue: and get a gender changer so it will fit my parallel port cable
07:48 PM Tom_L: glad it's working
07:48 PM TekniQue: thank you very much
07:48 PM Tom_L: np
07:51 PM Tom_L: i would consider changing the ip though
07:51 PM Tom_L: the alternate ip is already set by default to 10.10.10.10
07:52 PM Tom_L: you can set up a static ip in that range
07:53 PM TekniQue: makes no difference though, my LAN does not run 192.168.1.x addresses anyway
07:54 PM Tom_L: k
07:55 PM TekniQue: but yes if I was using 192.168.1.x on the LAN it would be a problem
08:20 PM XXCoder: this is fun video so far. the first screws and how it come to be
08:20 PM XXCoder: https://youtu.be/yzMU8rH4PN8
08:22 PM CaptHindsight: how do you capture the youtube url for the ads they make you watch?
08:23 PM Tom_L: i use ublock
08:23 PM CaptHindsight: i don't want to block them
08:23 PM Tom_L: it will list what it blocked
08:23 PM CaptHindsight: I want the URL of their ads to send to others
08:24 PM CaptHindsight: reminds me of late night UHF TV in the 80's and earlier
08:24 PM Tom_L: 17 on that page alone
08:25 PM CaptHindsight: hmm, ublocks wants permissions to: Store unlimited amount of client-side data
08:25 PM CaptHindsight: Access browser activity during navigation
08:25 PM CaptHindsight: Access your data for all websites
08:25 PM CaptHindsight: do all the blockers spy on you in exchange for blocking ads?
08:26 PM Tom_L: pick your evil
08:26 PM CaptHindsight: I don't see one for strippers and whiskey
08:27 PM CaptHindsight: i think all the ad blockers got bought up by the trackers
08:27 PM CaptHindsight: i would not "communism of the 50's" for a short time
08:29 PM CaptHindsight: Khrushchev and Brezhnev were characters
08:30 PM CaptHindsight: Gorbachev is still kicking
08:36 PM CaptHindsight: XXCoder: heh, error https://youtu.be/yzMU8rH4PN8?t=750
08:37 PM CaptHindsight: or was it drawn that way to confuse any that tried to copy the machine?
09:24 PM jesseg: I found out today that antifreeze is intensely sweet tasting. Like Bill Clinton, I didn't swallow. at least I hope LOL. (Was air pressure testing a (cold) system, popped off the cap too quick, and the air pressure cause antifreeze to blast all over - and in my stupidly open mouth.) LOL
09:26 PM roycroft: it is also quite poisonous
09:26 PM roycroft: the traditional stuff with ethylene glycol
09:27 PM roycroft: which is why it should never be dumped or, if spilled, left not cleaned up
09:27 PM CaptHindsight: drink the propylene type
09:27 PM roycroft: it will attract and kill animals
09:27 PM CaptHindsight: makes you poop
09:27 PM roycroft: like you :)
09:28 PM CaptHindsight: if you also get enough water
09:28 PM roycroft: but there are non-toxic coolants now that are as effective as the old stuff
09:29 PM CaptHindsight: https://www.fbcchem.com/products/glycols-glycol-ethers/
09:32 PM XXCoder: CaptHindsight: armerea often drew like that yeah. other one was tank
09:34 PM XXCoder: i cant spell his name heh. huge inventor in greek times
09:37 PM XXCoder: oh yeah tank was https://www.bbc.co.uk/staticarchive/d6b0d3de7bcff78855e788427a3a53ee4db3a60c.jpg by leonardo da vinci
09:37 PM XXCoder: that tank is impossible to run
09:42 PM CaptHindsight: XXCoder: before there were patents they just tried to confuse people
09:42 PM XXCoder: yeah its easy enough to tell "in" people to adjust for changes so it properly works
09:42 PM XXCoder: if it gets stolen sheet will confuse people
09:44 PM XXCoder: of course it could be just illrustion error
09:48 PM CaptHindsight: might be planetary gearboxes
09:49 PM CaptHindsight: and they reverse the rotation
09:49 PM XXCoder: those ius tanks, wheels should move in same direction
09:49 PM XXCoder: it doesnt
09:49 PM CaptHindsight: one set of pinions on the inside and another on the outside
09:49 PM XXCoder: im slightly tempted to make the first screw style but that needs lathe so meh
09:50 PM XXCoder: making them very old way
10:08 PM roycroft: grrr
10:08 PM roycroft: windows is so fripping difficult and tedious to deal with
10:08 PM roycroft: i don't know how anyone can stand to use it all day long
11:51 PM jymmmm: roycroft: Windows is easy, just install linux
11:51 PM roycroft: that's actually what i'm trying to do right now
11:51 PM roycroft: set up a dual boot environment
11:56 PM jymmmm: YOu could run a VM instead