#linuxcnc Logs

Sep 17 2022

#linuxcnc Calendar

12:36 AM roycroft: well that was down to the wire
12:45 AM roycroft: due to database and other issues, i was just now able to finally print 5000+ mailing labels for the ballots that are being mailed on monday
12:45 AM roycroft: first thing tomorrow morning i have to take them to the facility where i'll have teams of folks stuffing ballots and adding the labels
12:45 AM roycroft: at least i was not up into the middle of the night doing this
12:45 AM XXCoder: nice
12:45 AM roycroft: yeah
12:45 AM XXCoder: congats on your victory
12:45 AM roycroft: my plan was to print them a week ago
12:45 AM XXCoder: late victory still is victory ;)
12:45 AM roycroft: i have to depend on other people for some of this work
12:45 AM roycroft: so i give myself extra lead time
01:04 AM roycroft: i got my 8" vise moved into the fabrication shop and it's sitting on a bench now
01:04 AM roycroft: it's in fairly good shape
01:05 AM roycroft: the handle and the end of the screw are chrome plated, though, and the plating is getting corroded
01:05 AM roycroft: i'm not sure what to do about that
01:05 AM roycroft: i won't rechrome it, that's for sure
01:07 AM XXCoder: unless its getting rusty its inlikely to be a problem
01:07 AM roycroft: it is getting rusty
01:07 AM XXCoder: nickel plate?
01:08 AM roycroft: ideally that's what i'd do
01:08 AM XXCoder: dont need to be pretty just stop rust
01:08 AM roycroft: remove the chrome, get the parts nice and smooth, and nickel plate
01:10 AM XXCoder: thats minium for nicer looking yeah
01:11 AM roycroft: it's a vise
01:11 AM roycroft: it's going to get beat on
01:11 AM roycroft: but as long as i'm cleaning it up i might as well make it look nice
01:11 AM XXCoder: true
01:12 AM roycroft: it needs new jaws
01:13 AM roycroft: i'm thinking that if i get some hardenable steel, like pieces of leaf springs, i can heat it up to bright red hot, sandwich a piece of expanded metal in between two pieces of the hot steel, and press the sandwich in a hydraulic press
01:14 AM roycroft: that should put some nice grooves in the jaws, and i could then harden them
01:14 AM roycroft: i think they would be pretty grippy
01:14 AM Deejay: moin
01:14 AM roycroft: hello
01:15 AM XXCoder: interesting
03:59 AM -!- #linuxcnc mode set to +v by ChanServ
03:59 AM -!- #linuxcnc mode set to +v by ChanServ
04:46 AM JT-Cave: morning
06:16 AM Tom_L: morning
06:59 AM Tom_L: 73F
06:59 AM Tom_L: hi 94
07:11 AM JT-Cave: 61F but summer is back tomorrow
07:12 AM JT-Cave: it looks like mesact reports back the correct lcnc version on the rpi but man that img is configured with terrible defaults
07:13 AM JT-Cave: I need to see if I can get the pcie nic to work or else I have to start from scratch on this pc again
07:23 AM Tom_L: you like the img ehh?
07:28 AM -!- #linuxcnc mode set to +v by ChanServ
10:32 AM -!- #linuxcnc mode set to +v by ChanServ
10:40 AM JT-Cave: well there's nothing wrong with the hardware I can ping the 7i96 when I use a different drive with debian 13 so my os is hosed I assume
12:20 PM Tom_L: JT-Cave, main pc or rpi?
12:36 PM CaptHindsight[m]: https://www.aliexpress.com/item/1005002787516485.html handy
12:37 PM CaptHindsight[m]: $13
12:37 PM Tom_L: not bad but the disk is exposed
12:37 PM Tom_L: heds enclose them
12:38 PM Tom_L: that fine, dust could be an issue
12:41 PM Tom_L: mmm HP used to have them, now it's broadcom
12:42 PM Tom_L: wouldn't take much to print a cover for it though
12:42 PM CaptHindsight[m]: sure this for DIYing your own motor optical encoders
12:42 PM Tom_L: 3x cheaper than heds too
12:43 PM CaptHindsight[m]: sincos incremental search on aliexpress returns many results for "adult diapers"
12:44 PM Tom_L: what determines a basic set over a complete set?
12:47 PM CaptHindsight[m]: maybe fullset comes with diaper
12:48 PM CaptHindsight[m]: Complete set= circuit board + code board + wire back cover pressure wire board
12:48 PM CaptHindsight[m]: Basic = circuit board + code board
12:49 PM Tom_L: wonder if that's a plastic wheel
12:50 PM CaptHindsight[m]: that is not a bad idea
12:50 PM CaptHindsight[m]: save a buck
12:51 PM Tom_L: what's that?
12:52 PM CaptHindsight[m]: polymer encoder disk vs glass
12:52 PM Tom_L: ahh
12:52 PM Tom_L: my heds are SS
12:52 PM CaptHindsight[m]: printed by inkjet
12:53 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/maxbot/image006.jpg
12:53 PM Tom_L: i'm not sure what the inner slots are for
12:54 PM CaptHindsight[m]: maybe index
12:57 PM CaptHindsight[m]: I was searching for low cost optical absolute encoders
12:58 PM CaptHindsight[m]: I think that I will have to make them
12:58 PM Tom_L: enclosed with shaft or open?
12:58 PM Tom_L: lookin for the pdf for the one on my spindle
01:02 PM Tom_L: https://www.chip1stop.com/ARE/en/view/dispDetail/DispDetail?partId=NEMI-0000009
01:02 PM Tom_L: ~3/4" diameter
01:04 PM Tom_L: you probably want something shaft mountable
01:07 PM Tom_L: mine were off surplus medical equipment or i'd have done something else
01:08 PM Tom_L: https://www.nemicon.co.jp/en/
01:42 PM JT-Shop: Tom_L, the new main dev pc
01:45 PM boozeman[m]: I am wondering some enable stuff with 7i96s. I want to use F2 for the machine enable. The drivers working in differential mode, so enable pin is high when enabled. So I have to invert joint-enable signals or use external relay to set low to high. Does anybody make any sense what I am telling here? 😄
01:45 PM JT-Shop: boozeman[m], btw you can invert the outputs in mesact now
01:46 PM boozeman[m]: I will install new version and try it
01:46 PM JT-Shop: sometimes an external relay makes sense
01:47 PM JT-Shop: I didn't change the version so just file > download deb and reinstall
01:49 PM JT-Shop: hopefully no problems, I could not test until I reload the os on my dev pc
01:53 PM boozeman[m]: heh i was close when fooling around with hal file. latest version of Mesact save my day. I can now invert that output easily. Thanks
01:55 PM JT-Shop: yw, thanks for the suggestion
02:01 PM boozeman[m]: btw is there any reference for what _d, _dt, _dpl, etc means on hostmot2 firmware
02:14 PM JT-Shop: that's a good question for pcw-home
02:20 PM pcw-home: d usually means DPLL pl means for plasma
02:31 PM JT-Shop: what is different for plasma?
02:49 PM pcw-home: The encoder input (normally A,B,Z) changes to A0,A1,A2 to allow multiple THCAD inputs
02:49 PM pcw-home: (since the THCAd only needs an "A" input)
02:49 PM JT-Shop: ok
03:15 PM Tom_L: JT-Shop, time to build a deb yet?
03:37 PM JT-Shop: aye
03:37 PM JT-Shop: then I'll make a new release
03:42 PM Tom_L: i noticed someone made a pull request'
03:42 PM Tom_L: should i wait and add that as well?
03:42 PM JT-Cave: let me look
03:42 PM Tom_L: hansu
03:43 PM JT-Cave: why does he do multiple things on one pull request...
03:43 PM Tom_L: haha
03:43 PM Tom_L: i'm lucky to get one in
03:44 PM Tom_L: what does the password thing change?
03:46 PM JT-Cave: not much just puts dots instead of what you type which is silly are you in a mall working on your cnc machineA
03:46 PM Tom_L: heh
03:46 PM Tom_L: shows merged.. now how do i update ?
03:47 PM JT-Cave: git pull --rebase
03:48 PM Tom_L: says i'm up to date
03:48 PM Tom_L: but i just did that before you merged those
03:48 PM JT-Cave: now I have to figure out how to make hidden passwords optional because it's dumb to hide them in this context IMHO
03:48 PM Tom_L: just add an eyeball next to it :)
03:48 PM Tom_L: simple
03:48 PM JT-Cave: are those changes in your repo?
03:49 PM Tom_L: i'm not sure
03:49 PM JT-Cave: then you have to code the eyeball...
03:49 PM Tom_L: there it finally shows me behind
03:49 PM Tom_L: ok i'll build
03:49 PM JT-Cave: it's takes a minute or three to filter down
03:49 PM Tom_L: i figured
03:49 PM JT-Cave: ok I'll spoil the chickens
03:51 PM Tom_L: building armhf first
04:30 PM -!- #linuxcnc mode set to +v by ChanServ
04:38 PM Tom_L: JT-Cave, http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/mesact/mesact_error.png
04:38 PM Tom_L: brought to you by 'scrot'
04:39 PM Tom_L: scrot -s will capture a window on rpi
04:43 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/mesact/mesact_error_1.png
04:49 PM Tom_L: on bookworm arm64
04:49 PM JT-Shop: what does apt-cache policy linuxcnc-uspace return?
04:49 PM -!- #linuxcnc mode set to +v by ChanServ
04:50 PM Tom_dev: linuxcnc-uspace:
04:50 PM Tom_dev: Installed: 2.9.0~pre0+git20220402.2500863908-4
04:50 PM Tom_dev: Candidate: 2.9.0~pre0+git20220906.02744cdef6-1
04:50 PM Tom_dev: Version table:
04:50 PM Tom_dev: 2.9.0~pre0+git20220906.02744cdef6-1 500
04:50 PM Tom_dev: 500 http://deb.debian.org/debian bookworm/main arm64 Packages
04:50 PM Tom_dev: *** 2.9.0~pre0+git20220402.2500863908-4 100
04:50 PM Tom_dev: 100 /var/lib/dpkg/status
04:50 PM Tom_L: i notice space ahead of "Installed"
04:52 PM Tom_L: armhf is ok but i'll wait to push it to keep them both the same
05:02 PM JT-Cave: might want to build both again, I just pushed what I think is a better way to get the version out
05:03 PM * JT-Cave heads to the shop
05:04 PM Tom_L: ok i'll try this one first
05:05 PM JT-Shop: ok
05:10 PM XXCoder: new this old tony
05:10 PM XXCoder: so new its not auto captioned yet
05:15 PM CloudEvil: In short, he has found a way of making aged alumionium parts.
05:15 PM XXCoder: spooilers lol
05:16 PM Tom_L: aged as in tempered?
05:22 PM Tom_L: JT-Shop, http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/mesact/mesact_error.png
05:22 PM Tom_L: finally!
05:22 PM CloudEvil: Tom_L: More making it look like you'd buried it for five years.
05:22 PM JT-Shop: yippie
05:23 PM Tom_L: i'll push that and rebuild armhf
05:23 PM JT-Shop: thanks
05:23 PM JT-Shop: I'll build a amd64 deb and push that
05:25 PM JT-Shop: now I can move on to reinstalling debian 13 and all the other stuff I've already installed again... gotta remember how I made the 2TB drive part of the file structure so it shows up in the file manager...
05:26 PM Tom_L: JT-Shop, there is KDE partition manager
05:26 PM Tom_L: i looked at it but did little so far
05:30 PM * Tom_L takes a steak break
05:30 PM JT-Shop: ok
05:30 PM JT-Shop: shrimp and grits here
05:31 PM Tom_L: it's gotta build anyway
05:44 PM Tom_L: how do i get rid of old pulls from my local pc to my fork?
05:44 PM Tom_L: i'm sure you don't want them
05:45 PM JT-Cave: when you pull it writes over the files that you have
05:45 PM JT-Cave: not sure what you mean by old pulls?
05:46 PM Tom_L: my pull to you is showing 4 files thoug
05:46 PM JT-Cave: screenshot?
05:47 PM Tom_L: yeah hang on
05:48 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/mesact/pull_request.png
05:48 PM Tom_L: the bottom 2 are the only ones that are good
05:49 PM JT-Cave: the merge is prob if you did a git pull?
05:49 PM Tom_L: on yours yes
05:49 PM Tom_L: to get the latest changes you did
05:49 PM JT-Cave: it shows 2 additions and 2 deletions so that's good
05:50 PM Tom_L: send it...
05:50 PM JT-Cave: yup
05:54 PM Tom_L: how do i mark it 'ready for review'?
05:54 PM Tom_L: it won't let me make a request until that is signed off
05:55 PM JT-Cave: are you in your repo?
05:55 PM Tom_L: it keeps sending me to yours
05:55 PM Tom_L: i am right now
05:56 PM JT-Cave: you clicked new pull request?
05:56 PM Tom_L: yeah
05:56 PM Tom_L: says i'm 4 ahead of yours
05:57 PM Tom_L: i click on open pull request and it takes me to your site
05:57 PM JT-Cave: then click on create pull request
05:57 PM Tom_L: says it cannot be merged until marked ready for review
05:58 PM Tom_L: one sec
05:58 PM JT-Cave: do you have a .gitignore file?
05:58 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/mesact/pull_request1.png
06:00 PM JT-Cave: you have some files in mesact/debian/files that are not ignored
06:00 PM Tom_L: i have the .gitigmore file
06:01 PM JT-Cave: what is in mesact/debian/files?
06:02 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/mesact/debian_files.png
06:03 PM JT-Cave: no the actual file called files
06:03 PM -!- #linuxcnc mode set to +v by ChanServ
06:03 PM Tom_dev: mesact_0.7.2_amd64.buildinfo utils optional
06:03 PM Tom_dev: mesact_0.7.2_amd64.deb utils optional
06:04 PM JT-Cave: hmm that's what I have
06:04 PM JT-Cave: I should not push generated files...
06:05 PM JT-Cave: do a git pull --rebase and see if that goes away
06:05 PM JT-Cave: any way time for me to cook
06:05 PM Tom_L: how do i do that on the git copy?
06:06 PM Tom_L: not local i presume..
06:11 PM Tom_L: i think i can get it now
06:13 PM Tom_L: had to discard my changes then go from there
06:31 PM JT-Cave: ok
06:31 PM Tom_L: working on the 2nd one then i'll push
06:47 PM Tom_L: finally...
06:49 PM * Tom_L finishes some coffee cake and calls it a day
07:58 PM XXCoder: yay fun abom
08:09 PM * roycroft just got back from stuffing ballots
08:09 PM XXCoder: ihoh staffing ballots is illegal
08:09 PM XXCoder: ;)
08:09 PM XXCoder: *stuffing
08:10 PM roycroft: not in this case
08:10 PM XXCoder: yeah lol
08:10 PM roycroft: anyway, i've been gone all day doing that
08:11 PM XXCoder: abom today is good one
08:11 PM roycroft: we're about 75% done, so tomorrow should be a shorter day
08:11 PM XXCoder: blondihack too
08:11 PM roycroft: i'm about to make dinner, but i'll settle in and watch those two channels later tonight
08:11 PM roycroft: i'm watching dave stanton live right now
08:17 PM XXCoder: I found my ballscrews
08:17 PM XXCoder: leftover from orginal plan. wonder if anyone would buy em
08:50 PM Tom_L: what size?
08:56 PM XXCoder: errm
08:56 PM XXCoder: 12mm?
08:56 PM XXCoder: all is 12mm, 2 different lengths. SBR is all different diameters. starting with 20 I think 16 then 12 for z
08:57 PM XXCoder: (3 ballscrews, 2 lengths, one fairly short)
09:01 PM roycroft: i may need some 12mm ball screws at some point in the nearish future, xxcoder
09:02 PM roycroft: i think you know that "near future" can become extended for me, so don't hold on to them for me
09:02 PM XXCoder: if I remember right you need longer ones and isnt your router larger than that? or plan different machine?
09:02 PM roycroft: but when i have designs ready that need them i'll talk to you before ordering
09:02 PM XXCoder: lemme look again a second
09:02 PM roycroft: i have both a router and a milling machine to do eventually
09:03 PM XXCoder: 3 ballscrews RM1605 300 600 600mm with 3 Nuts BK BF12
09:03 PM XXCoder: yeah 2 600mm and one 300
09:04 PM XXCoder: SBRs is Linear Rail SBR12 16 20 6 Supported Rails 12BLOCKS
09:04 PM XXCoder: lengths I think is 600mm for longer (20 and 16) and only 300 for 12mm rail
09:08 PM roycroft: i don't know if i'll be able to use any of those
09:09 PM roycroft: and for the router, certainly not - the only axis of the router that could possibly use them is the z axis, and i already have the ball screw for that
09:09 PM roycroft: but when i do my mill/drill conversion, it's possible i might be able to use some of what you have
09:11 PM XXCoder: ahh ok
09:12 PM XXCoder: well it'll be a while for me anyway. my goal is finish clearing out stuff I dont need by a year
09:12 PM roycroft: the mill/drill conversion has been in my queue for about a decade now, and it's still not up near the top of the queue
09:13 PM roycroft: i have plenty of shop projects for at least the next several months already
09:14 PM roycroft: so all i'll say for now is that i'll do that design some day
09:14 PM Tom_L: can you interrogate a device with it's mac addr remotely?
09:14 PM Tom_L: find out what it is
09:14 PM roycroft: and when i do, i'll remember to ask you if you have anything i can use before i buy parts elsewhere
09:15 PM roycroft: arp hostname
09:15 PM roycroft: but only if it's on your local network
09:15 PM Tom_L: linux terminal?
09:15 PM roycroft: yes
09:15 PM XXCoder: roy no problem
09:15 PM Tom_L: hostname or ip?
09:15 PM roycroft: or arp ip.address
09:16 PM XXCoder: im probably selling it for less than half price even though essentally never used, because it wasnt maintanced and would need some
09:16 PM Tom_L: must not have that installed
09:18 PM roycroft: hmm, arp should be part of any os installation that does networking
09:18 PM Tom_L: doesn't tell me any more than my router does
09:18 PM roycroft: it's in /usr/sbin
09:18 PM Tom_L: i installed it
09:18 PM Tom_L: arp-scan
09:18 PM Tom_L: can't figure out what a device is...
09:19 PM roycroft: apt -y install net-tools
09:19 PM roycroft: maybe
09:19 PM roycroft: i think that's the package that has arp
09:19 PM roycroft: $ /sbin/arp 192.168.0.50
09:19 PM roycroft: Address HWtype HWaddress Flags Mask Iface
09:19 PM roycroft: that's what arp will return, if you have it installed and the host is on the local network
09:20 PM roycroft: oh, it did not paste the result
09:20 PM roycroft: 192.168.0.50 ether 00:25:90:2a:f1:b0 C ens18
09:20 PM roycroft: there
09:20 PM Tom_L: i got similar but still can't figure out what device it is
09:20 PM Tom_L: i'll keep looking
09:20 PM Tom_L: process of elimination
09:21 PM Tom_L: id label is foxcon
09:21 PM Tom_L: Hon Hai
09:21 PM Tom_L: no clue
09:23 PM Tom_L: i think i figured it out
09:25 PM Tom_L: yep
09:55 PM skunkworks: andypugh[m]: hey - couple questions. I assume the lost tooth encoder mode needs to be running above a certain speed for it to work correctly?
09:56 PM skunkworks: (if I set the index enable to true - it gets set to false instantly when I start to turn it.
09:57 PM skunkworks: I just hav to rig up something to turn the spindle - guess I could mount the spindle motor.
10:11 PM Tom_L: the old motorola 68332 quadrature had a mode like that
10:12 PM Tom_L: not sure how it worked but after a certain point it would count index pulses
10:13 PM Tom_L: it was also a phase shift quadrature
10:14 PM Tom_L: https://www.nxp.com/docs/en/data-sheet/MC68332TS.pdf
10:14 PM Tom_L: 5.1.11
10:16 PM Tom_L: you'd use an xor chip on one channel to feed the phase for the rest
10:18 PM Tom_L: also 5.2.6 of the same pdf FQD mode
10:20 PM Tom_L: skunkworks, i'd venture a guess andy's works in a similar manner
10:22 PM Tom_L: i guess it didn't count index but rather dropped one of the AB channels