May 07 2022
12:25 AM TurBoss: https://hackaday.com/2022/03/16/eight-rs232-ports-one-ethernet-port/
01:48 AM XXCoder: pretty cool https://youtu.be/Z668U7W6CCI
02:11 AM Deejay: moin
02:42 AM c101horse8332[m]: moin
03:07 AM Contract_PilotRh: New Tool.. https://www.youtube.com/watch?v=2eye0sjxwTc&t
05:06 AM Tom_L: morning
05:20 AM JT-Cave: morning
05:22 AM Tom_L: how would you launch your config tool from a cmd line?
05:22 AM Tom_L: i didn't know what the main .py was called
05:23 AM JT-Cave: which one?
05:23 AM Tom_L: probably the 7i96? whatever that noob has
05:24 AM JT-Cave: 7i96
05:25 AM JT-Cave: the one that does all cards is mesact
05:25 AM Tom_L: he was from Norway
05:26 AM Tom_L: Tarehjerne1563[m iirc
05:27 AM Tom_L: i'm not sure which one he downloaded
05:27 AM JT-Cave: I have no clue which one he used
05:28 AM JT-Cave: he seemed a bit flakey...
05:30 AM Tom_L: he was just trying to get 1 servo set up and running. i'm not even sure he has a mill/lathe yet
05:31 AM Tom_L: probably just confused
05:31 AM Tarehjerne1563[m: Thanks
05:32 AM Tom_L: so download the mesact one and launch it from a terminal
05:32 AM Tom_L: 'python mesact.py' i think
05:32 AM Tarehjerne1563[m: I could not launch it, idk what its called
05:32 AM JT-Cave: just mesact
05:32 AM Tom_L: he didn't install a gui
05:33 AM JT-Cave: if linuxcnc is installed it's on the CNC menu
05:33 AM Tom_L: ^^
05:33 AM JT-Cave: oh just downloaded it?
05:33 AM Tarehjerne1563[m: And installed it
05:33 AM Tom_L: i'm not sure of his install but he said he used the iso from a usb stick
05:34 AM JT-Cave: it the github repo? or the deb
05:34 AM Tarehjerne1563[m: Deb
05:34 AM JT-Cave: open a terminal and type mesact
05:34 AM Tarehjerne1563[m: Ok let me open øinux
05:35 AM JT-Cave: or look in the menu for Mesa Configuration
05:36 AM Tom_L: the max rpm on the servo was 2500rpm
05:36 AM Tarehjerne1563[m: Yes
05:36 AM Tom_L: i think you may have been helping him figure out the nubers for that
05:37 AM Tom_L: for velocity
05:37 AM Tom_L: i didn't read it all
05:38 AM Tarehjerne1563[m: What should i type in terminal?
05:38 AM JT-Cave: 2500 / 60 * 360 = 14,999.999
05:38 AM Tom_L: Tarehjerne1563[m, mesact
05:38 AM Tarehjerne1563[m: That didnt do anything
05:38 AM Tarehjerne1563[m: Maybe i didnt install it right
05:38 AM JT-Cave: then it's not installed
05:38 AM Tom_L: then you likely don't have that package installed
05:39 AM Tarehjerne1563[m: My last install was:
05:39 AM Tarehjerne1563[m: Sudo apt install gdebi
05:43 AM JT-Cave: next you use gdebi to install mesact by right click on the mesact deb and selecting gdebi
05:45 AM Tarehjerne1563[m: Im a complete noob on linux where would the file be?
05:46 AM JT-Cave: where you downloaded it to
05:46 AM JT-Cave: https://gnipsel.com/mesa/mesact/install.html
05:46 AM Tarehjerne1563[m: I downloaded it by typing
05:46 AM Tarehjerne1563[m: Sudo wget https://….
05:47 AM JT-Cave: did you click on Download the deb?
05:47 AM JT-Cave: don't use sudo for wget
05:47 AM JT-Cave: follow the instruction on the install page I just posted
05:50 AM Tarehjerne1563[m: I pressed install and i dont see anything happenint
05:50 AM Tarehjerne1563[m: s/happenint/happening/
05:51 AM Tarehjerne1563[m: Maybe python didnt install
05:53 AM Tarehjerne1563[m: Where do you people look for info
05:53 AM Tarehjerne1563[m: When i google install python on linuxcnc im met with a bunch of unsolved threads
05:54 AM JT-Cave: python is normally there, open a terminal and type python3
05:55 AM Tarehjerne1563[m: Its there, good
05:55 AM JT-Cave: install on gdebi?
05:55 AM Tarehjerne1563[m: But that package does not install
05:55 AM JT-Cave: is the button disabled
05:55 AM Tarehjerne1563[m: It just closes the window
05:57 AM JT-Cave: https://imagebin.ca/v/6gJeWPPT4Mfp does it look like that?
05:57 AM Tarehjerne1563[m: Yes
05:57 AM Tarehjerne1563[m: And when i click install
05:57 AM Tarehjerne1563[m: It closes
05:59 AM JT-Cave: open a terminal in the directory where the deb is
05:59 AM JT-Cave: type ls to get a list of files
06:00 AM JT-Cave: then sudo gdebi mesact_0.4.3_amd64.deb
06:05 AM Tarehjerne1563[m: File not found
06:07 AM Tarehjerne1563[m: I installed mesaflash just now
06:09 AM JT-Cave: which file not found?
06:09 AM Tarehjerne1563[m: sudo gdebi mesact_0.4.3_amd64.deb
06:09 AM Tarehjerne1563[m: It did not find it
06:09 AM JT-Cave: did you open a terminal in the same directory as the deb?
06:10 AM JT-Cave: type ls to see
06:10 AM Tarehjerne1563[m: I think so? How would i know?
06:10 AM JT-Cave: ls
06:11 AM Tarehjerne1563[m: How would i open a terminal in a directory?
06:12 AM Tarehjerne1563[m: The deb file is called
06:12 AM Tarehjerne1563[m: 7i95_1.1.1_amd64.deb
06:12 AM JT-Cave: that depends on the file manager :(
06:12 AM JT-Cave: different tool
06:13 AM Tarehjerne1563[m: Ok… well i dont totally understand what that means
06:15 AM Tarehjerne1563[m: Oh i see what the issue is
06:15 AM Tarehjerne1563[m: I need python3-certifi
06:15 AM Tarehjerne1563[m: And python3-idna
06:18 AM Tarehjerne1563[m: I still dont see the point of doing this, it works and this doesnt
06:18 AM Tarehjerne1563[m: Is there no way to change the speed of the servo?
06:26 AM Tarehjerne1563[m: I got it installed
06:26 AM Tarehjerne1563[m: How do i now open it?
06:26 AM Tarehjerne1563[m: Get to the gui!
06:26 AM Tarehjerne1563[m: I can still not run mesact
06:28 AM JT-Cave: open a terminal and type in mesact
06:28 AM JT-Cave: https://gnipsel.com/mesa/mesact/install.html
06:30 AM Tarehjerne1563[m: Ok i got it
06:30 AM Tarehjerne1563[m: The gui opened
06:31 AM JT-Cave: yippie
06:31 AM Tarehjerne1563[m: The config work
06:31 AM Tarehjerne1563[m: I want to go fast asf
06:31 AM Tarehjerne1563[m: Max linear velocity
06:31 AM Tarehjerne1563[m: How do i set that higher than 100
06:32 AM Tarehjerne1563[m: Do i need?
06:32 AM Tarehjerne1563[m: And the firmware
06:32 AM Tarehjerne1563[m: Which one do i have…
06:39 AM Tarehjerne1563[m: Oh snap now i cant connect to the board
06:51 AM Tarehjerne1563[m: I used to be able to see my connections in the top right corner but now i cant
06:51 AM Tarehjerne1563[m: Does anyone know what happened?
06:51 AM Tarehjerne1563[m: I still have wifi but no ethernet
07:07 AM Tarehjerne1563[m: I got it fixed with the sbin commands
08:02 AM JT-Cave: Tarehjerne1563[m, I removed the requirement for all in one boards to select a firmware so download the deb and reinstall mesact
08:02 AM JT-Cave: wonderful my $150 servo cable has the wrong molex plug on it
08:02 AM Tarehjerne1563[m: @jt-cave it is installed
08:03 AM Tarehjerne1563[m: Now its configuring it
08:03 AM JT-Cave: the one from 30 minutes ago?
08:03 AM Tarehjerne1563[m: Mesa configuration tool
08:03 AM Tarehjerne1563[m: https://gnipsel.com/mesa/mesact/install.html
08:04 AM JT-Cave: yes, I just pushed a fresh deb 30 minutes ago
08:04 AM JT-Cave: with a minor fix
08:04 AM JT-Cave: or three
08:04 AM Tarehjerne1563[m: What settings should i use for firmware?
08:04 AM Tarehjerne1563[m: I put 7i95d.bit
08:05 AM JT-Cave: if you download the deb again and reinstall you don't have to pick a firmware
08:05 AM Tarehjerne1563[m: How do i do that?
08:05 AM * JT-Cave goes to clean chicken poop
08:06 AM JT-Cave: just download the deb again and install
08:06 AM Tom_L: JT-Cave, you should teach them a new trick
08:07 AM Tarehjerne1563[m: Just this wget https://github.com/jethornton/mesact/raw/master/mesact_0.4.3_amd64.deb again?
08:07 AM Tarehjerne1563[m: And install it?
08:07 AM Tom_L: yup
08:07 AM JT-Cave: yes
08:09 AM Tarehjerne1563[m: And sudo install gdebi
08:09 AM Tom_L: no, you installed that already
08:09 AM Tom_L: that's just a deb tool
08:09 AM Tom_L: for installing the deb
08:10 AM Tarehjerne1563[m: sudo gdebi mesact_0.4.3_amd64.deb
08:11 AM Tarehjerne1563[m: I still have to choose firmware
08:12 AM Tarehjerne1563[m: Is 7i95_d.bit fine?
08:15 AM Tarehjerne1563[m: I’ll just assume its ok
08:15 AM Tarehjerne1563[m: How do i make this generate ini files and hel files?
08:16 AM Tom_L: can't help with the config tool, i've never used it
08:17 AM Tarehjerne1563[m: Its not very well made tbh
08:17 AM Tarehjerne1563[m: Half the window is outside my screen
08:17 AM Tarehjerne1563[m: I have no way to scroll down
08:18 AM Tarehjerne1563[m: Resize doesn’t work
08:18 AM Tom_L: make the terminal bigger?
08:18 AM Tarehjerne1563[m: How do i do that
08:18 AM Tom_L: dunno
08:18 AM Tarehjerne1563[m: How do i exit fullscreen mode?
08:20 AM Tarehjerne1563[m: Step space and step time… i think these are what’s messing with me
08:22 AM JT-Cave: actually when running the tool you can select File Download Deb to get a fresh copy
08:23 AM Tarehjerne1563[m: I mean no disrespect but that’s enough downloads
08:23 AM Tarehjerne1563[m: If it cant do it with all this stuff it will never work
08:23 AM Tarehjerne1563[m: Its just the configuration step
08:23 AM JT-Cave: if you still have to select firmware for 7i95 you didn't install the latest one
08:23 AM Tarehjerne1563[m: Do you know what any of this is?
08:24 AM Tom_L: alot of that was just things your original install didn't install
08:24 AM Tarehjerne1563[m: I installed 0.4.3
08:28 AM Tarehjerne1563[m: Was 0.4.3 not the latest?
08:28 AM Tom_L: looks like it was
08:28 AM Tom_L: did you install it with gdebi?
08:29 AM Tarehjerne1563[m: Yes
08:29 AM Tom_L: you sure?
08:29 AM Tom_L: did it download to the same place as the old one?
08:29 AM Tom_L: it may have renamed it since it was the same name
08:29 AM Tarehjerne1563[m: Yes
08:29 AM Tom_L: check for that
08:30 AM Tarehjerne1563[m: I did this
08:31 AM Tarehjerne1563[m: wget https://github.com/jethornton/mesact/raw/master/mesact_0.4.3_amd64.deb
08:32 AM Tarehjerne1563[m: sudo gdebi mesact_0.4.3_amd64.deb
08:32 AM Tarehjerne1563[m: mesact
08:32 AM Tarehjerne1563[m: Those three
08:32 AM Tom_L: navigate to where the files were downloaded
08:32 AM Tom_L: did wget ask to overwrite a file?
08:33 AM Tarehjerne1563[m: I dont know where they are downloaded
08:33 AM Tom_L: it may have renamed it (2) or something like that
08:33 AM Tarehjerne1563[m: Im doing this through cmd
08:33 AM Tom_L: /user/download
08:33 AM Tom_L: probably
08:33 AM Tarehjerne1563[m: Nothing there
08:33 AM Tom_L: sub user for your home directory
08:33 AM Tom_L: then i don't know where they would be
08:34 AM Tom_L: you would do alot better if you had installed a GUI
08:34 AM JT-Cave: I wasn't saying you need to download again, I was pointing out that the tool has a button to download
08:35 AM Tarehjerne1563[m: Ok i found them, i had a few apperently
08:35 AM Tom_L: JT-Cave, i'm not sure he installed your latest edit
08:35 AM Splat7847[m]: wget would download to the current folder if nothing is specified so where you ran wget from is where it would download to
08:35 AM JT-Cave: yes 0.4.3 is the latest release but I do put bug fixes in it
08:35 AM Tom_L: Tarehjerne1563[m, get rid of all but the latest one
08:35 AM Tarehjerne1563[m: I just did
08:36 AM Tom_L: Splat7847[m], thanks.. i'm not 100% linux savvy either :)
08:36 AM JT-Cave: and if you use the tool to download you get to pick the directory
08:36 AM JT-Cave: if you just open a terminal then it's in the users home directory
08:36 AM Tarehjerne1563[m: I downloaded the new one just now
08:36 AM Tarehjerne1563[m: And I installed it
08:36 AM Tarehjerne1563[m: But i still have to choose firmware
08:37 AM Tarehjerne1563[m: Do i perhaps need to uninstall it?
08:39 AM Splat7847[m]: @Tom_L, it's been my daily driver for a long time.. and I still get lost
08:40 AM Tarehjerne1563[m: If anyone knows…. What is stepgen settings
08:41 AM Tarehjerne1563[m: What is steptime stepspace direction hold direction setup
08:41 AM Tarehjerne1563[m: If anyone would please know
08:43 AM JT-Cave: is your drive listed in the combo box?
08:44 AM GTKplusplus6432[: they are basically the timings for the step/dir signals
08:44 AM Tarehjerne1563[m: Thanks a lot and what do you recon they should be?
08:44 AM GTKplusplus6432[: depends on the drive
08:44 AM Tarehjerne1563[m: This servo has 10000!steps a rev
08:44 AM Tarehjerne1563[m: I think anyways
08:45 AM GTKplusplus6432[: you need to check the datasheet for your drive
08:45 AM GTKplusplus6432[: it will say what timings it expects
08:46 AM * JT-Cave clicks on Download Deb in the tool and saves the file to Downloads then right clicks on the deb and reinstalled the tool then selected 7i95 and Check Config and it does not say I need firmware
08:46 AM JT-Cave: https://imagebin.ca/v/6gKTY79Dg3bk
08:46 AM JT-Cave: does not say I need to select firmware
08:47 AM Tarehjerne1563[m: yes it does
08:47 AM JT-Cave: no it doesn't
08:47 AM Tarehjerne1563[m: firmware select it says
08:47 AM JT-Cave: only if you want to
08:48 AM JT-Cave: press Check Config button to see what it says
08:48 AM Tarehjerne1563[m: how do you make it generate ini files ?
08:48 AM JT-Cave: before Check Config would say you must select firmware for all cards
08:48 AM JT-Cave: Build Config
08:49 AM Tarehjerne1563[m: ok, cheers! i just need to find out what to put a few parameters at
08:49 AM Tarehjerne1563[m: the axes page and i/o page
08:49 AM Tarehjerne1563[m: those are very confusing
08:49 AM JT-Cave: press F1 on any tab for minimal help
08:51 AM Tarehjerne1563[m: my servo manual says "h-speed inputs: differential (600K) and single-ended (200K) pulses. Support pulse input mode: PULS+DIR, A+B, "
08:53 AM GTKplusplus6432[: mmh, there should be a page with actual timings
08:53 AM GTKplusplus6432[: can you send it here?
08:53 AM * Tarehjerne1563[m posted a file: (3261KiB) < https://libera.ems.host/_matrix/media/r0/download/jauriarts.org/ojsvkzvrXrLNutwlXiIsETLz/a6abs_6_2.pdf >
09:00 AM GTKplusplus6432[: and... they don't say how it works, ever
09:00 AM GTKplusplus6432[: nice
09:00 AM GTKplusplus6432[: I'd start with some default values and then slowly lower them until it doesn't work
09:00 AM Tarehjerne1563[m: what are some default ones?
09:00 AM GTKplusplus6432[: 10000 for each value
09:01 AM Tarehjerne1563[m: if i want to rotate at 1000 rpm
09:01 AM Tarehjerne1563[m: and i need 10,000 pulses/rev
09:01 AM GTKplusplus6432[: you don't need to calculate the timings this way
09:01 AM Tarehjerne1563[m: dont i need then 166,666
09:01 AM GTKplusplus6432[: no
09:02 AM GTKplusplus6432[: because step/dir timings are how long a pulse should be, not the timing between the pulses
09:03 AM Tarehjerne1563[m: * then 166,666 pulses / sec
09:03 AM Tarehjerne1563[m: so 0.000006 s width for the entire period
09:03 AM Tarehjerne1563[m: which is 0.000003 on each
09:03 AM Tarehjerne1563[m: thats in sec
09:04 AM Tarehjerne1563[m: 6000 on each
09:04 AM GTKplusplus6432[: 10000ns is a safe default value, you are free to lower it until the drive doesn't recognizes more pulses
09:05 AM GTKplusplus6432[: but since you don't know the proper values for it I'd start with high defaults
09:05 AM Tarehjerne1563[m: Ok
09:06 AM Tarehjerne1563[m: This…
09:06 AM * Tarehjerne1563[m uploaded an image: (5780KiB) < https://libera.ems.host/_matrix/media/r0/download/jauriarts.org/lRUxeVcUhshXIKqcEYqsIvxe/AE4CEB27-5B2E-49BD-B686-6D5492D5C29F.jpg >
09:06 AM Tarehjerne1563[m: What is this
09:07 AM Tarehjerne1563[m: I assume each input refers to the input on my card
09:07 AM * Tarehjerne1563[m uploaded an image: (4978KiB) < https://libera.ems.host/_matrix/media/r0/download/jauriarts.org/RsOyKbhDbEbBuPkjgiBYoyAF/37EC83B3-3BDC-43C7-BD6A-CFE26E65D05E.jpg >
09:13 AM Tarehjerne1563[m: Im still getting all the same errors i did before
09:14 AM Tarehjerne1563[m: GTKplusplus have you done linux before?
09:14 AM GTKplusplus6432[: yeah, my printNC is running on it
09:14 AM GTKplusplus6432[: but I haven't really followed what issues you are having
09:14 AM Tarehjerne1563[m: Oh im just having issues with the configuration
09:15 AM Tarehjerne1563[m: There are a few parameters idk what to set
09:15 AM GTKplusplus6432[: like?
09:15 AM Tarehjerne1563[m: One sec, i’ll open up pnconf as this mesa thing was no good
09:16 AM Tarehjerne1563[m: I want to set up one servo as a spindle
09:16 AM Tarehjerne1563[m: I need it to go to 2500 rpm
09:17 AM Tarehjerne1563[m: And i want to do indexing with it
09:18 AM * Tarehjerne1563[m uploaded an image: (7211KiB) < https://libera.ems.host/_matrix/media/r0/download/jauriarts.org/CwSaARFyBoGdCdYHEiuLucJL/IMG_4838.JPG >
09:18 AM Tarehjerne1563[m: Here im trying to setup my A axis
09:18 AM Tarehjerne1563[m: Max linear velocity doesn’t go very high
09:19 AM Tarehjerne1563[m: Nor max angular
09:23 AM * Tarehjerne1563[m uploaded an image: (7205KiB) < https://libera.ems.host/_matrix/media/r0/download/jauriarts.org/HVtzUzzemuYKGcSDBcrqGexq/IMG_4839.JPG >
09:23 AM Tarehjerne1563[m: I know this is the X axis but stepper scale
09:24 AM Tarehjerne1563[m: Since the manual doesn’t say anything about it
09:24 AM Tarehjerne1563[m: Idk what to put here
09:36 AM Tarehjerne1563[m: I now get “motion enabled after reaching a coordinate soft limit with active external offsets
09:43 AM GTKplusplus6432[: scale is steps per degree
09:43 AM GTKplusplus6432[: * per degree on a rotary axis
09:43 AM Tarehjerne1563[m: Oh
09:43 AM Tarehjerne1563[m: So if i have 10000 steps /rev thats about 27.77777
09:56 AM Tarehjerne1563[m: Finally! Its working properly
09:57 AM Tarehjerne1563[m: I think i’ll do myself a future favor and document everything that went wrong and how to fix it
10:01 AM Tom_L: so it the servo turning?
10:01 AM Tom_L: is
10:14 AM -!- #linuxcnc mode set to +vvvv by tungsten.libera.chat
10:14 AM -!- #linuxcnc mode set to +v by tungsten.libera.chat
10:30 AM Tom_L: and you have nothing set up to do that
10:30 AM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/rue/relaymount.txt
10:30 AM Tom_L: i'm not sure what that is but it will give you the format
10:30 AM Tarehjerne1563[m: I actually just made it work
10:30 AM Tarehjerne1563[m: G90 and …. Then m2
10:30 AM Tarehjerne1563[m: I do not have to home mine
10:30 AM Tarehjerne1563[m: I disabled that
10:31 AM _unreal_: and toying with opening some coconuts for the kid
10:31 AM Tarehjerne1563[m: Oof
10:31 AM Tom_L: not bad
10:31 AM roycroft: there is a foot of fresh snow on that mountain pass i drove over a couple days ago
10:32 AM Tarehjerne1563[m: How do i get a programming software into linux?
10:32 AM roycroft: and we have hail warnings for today here in the valley
10:32 AM Tarehjerne1563[m: Has anyone done vscode?
10:32 AM JT-Shop: even if you didn't use my tool you did make it better by pointing out areas that needed improvement from a newbee standpoint
10:32 AM Tom_L: cad cam has always been an issue with linuxcnc
10:32 AM Tom_L: jt has some basic tools for generating gcode too if you wanna try them
10:33 AM Tom_L: he can tell you all about them :)
10:33 AM JT-Shop: roycroft, I realized the shortcomings of my finger joint jig yesterday
10:33 AM Tarehjerne1563[m: I just want to run some python then i can generate txt files with gcode
10:33 AM roycroft: what's that?
10:33 AM Tarehjerne1563[m: For my purpose its much more convenient
10:33 AM JT-Shop: try and make anything a different thickness and your screwed with tear out
10:33 AM roycroft: aah, yes
10:34 AM roycroft: i like using hardboard backers for that kind of stuff
10:34 AM JT-Shop: the brown hardboard?
10:34 AM roycroft: just little strips that you can tape to the fence, and throw away when you're done
10:34 AM roycroft: yes
10:34 AM roycroft: it's cheap, and you can get a lifetime supply out of one sheet :)
10:34 AM Tarehjerne1563[m: I take it no one has vscode on their linux machine
10:34 AM Tom_L: i doubt it
10:35 AM JT-Shop: john@d10shop:~$ which vscode
10:35 AM JT-Shop: john@d10shop:~$
10:35 AM JT-Shop: anyway an incra i-box jig is on the way
10:35 AM roycroft: when i was cutting dovetails in baltic birch plywood using my leigh jig, i would sandwich the boards between hardboard to prevent tearout front and back
10:35 AM roycroft: you'll need backer boards for the incra jig as well
10:36 AM roycroft: but it looks like a nice jig
10:36 AM roycroft: i have the big incra positioner, so i don't need a box joint specific jig
10:37 AM * roycroft needs to go evict a possum in a few minutes, and then start moving vw engines
10:47 AM Tarehjerne1563[m: I think i got hit by a high energy particle
10:47 AM Tarehjerne1563[m: Or my pc
10:53 AM _unreal_: ok so I'm going to do a dbl bearing setup
10:53 AM Tom_L: 2 roller?
10:54 AM Tom_L: roller & ball?
10:54 AM _unreal_: going to use the needle thrust bearings for the load. and a flanged bearing mounted at the top
10:54 AM _unreal_: for the lateral load from the timing belt
10:55 AM _unreal_: I hate to gear down the Z a lot but I have this really nice compound timing belt / nema23 hardware
10:55 AM _unreal_: it will reallly gear it down a lot.
10:56 AM _unreal_: I'm just guessing but likely 12:1
10:56 AM _unreal_: Wish I had a step/dir bldc servo controller
11:00 AM Tarehjerne1563[m: Like mine haha
11:00 AM Tarehjerne1563[m: You can get them cheap on ebay
11:01 AM _unreal_: I have yet to find a cheap one
11:01 AM _unreal_: Tarehjerne1563[m, I have access to marine sat's
11:01 AM _unreal_: the kind that go on super yachts. they toss them out all the time
11:01 AM _unreal_: the motors are bldc but small
11:01 AM _unreal_: 22 oz/in
11:01 AM _unreal_: nema23
11:01 AM Tarehjerne1563[m: They are not very accurate
11:01 AM _unreal_: but capable of 2500 RPM
11:02 AM Tarehjerne1563[m: Oh I thought you meant servo
11:02 AM _unreal_: they are servos
11:02 AM _unreal_: they have encoders on them
11:02 AM Tarehjerne1563[m: Oh
11:02 AM _unreal_: each motor is like $500 new
11:02 AM _unreal_: I get them free when they toss out the sat.s
11:02 AM _unreal_: those sat's on average are like $30-60k
11:02 AM _unreal_: USD
11:03 AM Tarehjerne1563[m: A Friend of mine has a super yatch the motors on the side are not capable of position or anything like thay
11:03 AM Tarehjerne1563[m: They are motors
11:03 AM _unreal_: on the side?
11:04 AM Tarehjerne1563[m: How do you think they park them lol
11:04 AM _unreal_: I'm talking about these https://th.bing.com/th/id/OIP.4__AbLHqeT_xcyBYDgzv-wHaGM?pid=ImgDet&rs=1
11:04 AM Tarehjerne1563[m: Oh nvm
11:04 AM Tarehjerne1563[m: Im on about something totally different
11:05 AM _unreal_: thought so
11:05 AM Tarehjerne1563[m: They have small motors on the side for fine parking and movement
11:05 AM Tarehjerne1563[m: I thought you meant those
11:06 AM _unreal_: those are called side thrusters
11:06 AM _unreal_: and part of the boatr
11:06 AM _unreal_: boat
11:07 AM _unreal_: I'm talking about the satellite auto tracking systems
11:07 AM Tarehjerne1563[m: Yes, that makes sense then
11:13 AM _unreal_: What I want is to find a controller like the ODRIVE V3.6 that is not $200 USD
11:14 AM _unreal_: if I could find that I could use one of these bldc's I have
11:15 AM _unreal_: problem is that I have the controllers for these motors. but they are configured for something different. ve7it wrote a nice litle arduino script to test the controller and it works. but what I need is a full tuned 32bit controller with encoder feed back.
11:17 AM Tom_L: _unreal_, what's wrong with the one i got?
11:17 AM _unreal_: ?
11:17 AM Tom_L: vfd
11:17 AM _unreal_: thats a spindle control
11:17 AM Tom_L: bldc
11:17 AM _unreal_: I need step/dir
11:19 AM _unreal_: I would rather use one of these bldc's to drive the z axis, with that high gear ratio. would make it very powerful and just a little faster then the rest of the machine for max feed rate
11:50 AM roycroft: my possum squatter decided to move out on its own last night
11:50 AM roycroft: and now, all ingress points to my bus are closed up, and there are four spare vw engines in the bus
11:51 AM roycroft: and it's only 9:30!
11:58 AM GTKplusplus6432[: I use it for ini editing, works fine there
11:58 AM GTKplusplus6432[: haven't noticed any difference with my windows install
11:59 AM Tarehjerne1563[m: GTKplusplus i’ll check later if it installed
12:20 PM henrikssn9861[m]: Vscode works awesome on linux
12:20 PM henrikssn9861[m]: You can also run it in remote mode over SSH if you prefer sitting at your desktop
12:28 PM Tarehjerne1563[m: Very much i do and i want my British friends to have access to it
12:36 PM henrikssn9861[m]: It just needs a working SSH connection
01:03 PM * JT-Shop feels like he's spent thousands of hours of programming for nothing now
01:57 PM * Tarehjerne1563[m sent a from code block: https://libera.ems.host/_matrix/media/r0/download/libera.chat/9f7fc98bf0838e9dde85801ba2015aa65c92da6f
02:43 PM XXCoder: very long restore video https://youtu.be/JsYgvafwxt8
02:44 PM XXCoder: its bit funny to see guy cut very old wood on table thats probably half to quarter wood age
02:45 PM coralgoat: <https://www.linuxcnc.org/> is not working for me. Any one else not able to access the site?
02:45 PM XXCoder: works fine for me
02:45 PM coralgoat: "This site can’t be reached"
02:46 PM coralgoat: "ERR_CONNECTION_TIMED_OUT"
02:46 PM coralgoat: Other sites are working fine.
02:47 PM coralgoat: I will use the wayback machine.
02:48 PM XXCoder: try refresh, it loaded basically instantly for me
02:52 PM coralgoat: XXCoder, I get the same results when I refresh the page.
02:52 PM coralgoat: Wayback machine is good enough for reading documentation and forum threads.
02:53 PM XXCoder: odd. might be caching issues
02:53 PM XXCoder: isp caching
02:57 PM coralgoat: My understanding is that the two main ways of connecting a computer (with Linuxcnc installed) to a CNC machine is through a parallel port cable or an ethernet cable. Are there other common ways of connecting?
02:57 PM XXCoder: certainly those 2 is very common
02:58 PM XXCoder: cant think of other ways honestly, though im sure someone will think of one
02:59 PM coralgoat: I am considering switching to using an ethernet cable for the connection. I have had trouble connecting using a parallel port cable.
03:00 PM XXCoder: yeah? example of problem?
03:00 PM coralgoat: I was looking at this list of mesa suppliers.
03:00 PM coralgoat: http://web.archive.org/web/20210305035802/https://forum.linuxcnc.org/27-driver-boards/34979-mesa-suppliers
03:00 PM XXCoder: mesa is lately hard to get :(
03:00 PM XXCoder: because of one chip
03:01 PM XXCoder: https://mesaus.com/ is owned by JT here I think
03:04 PM coralgoat: I am also having the same problem with <http://mesaus.com/>. "This site can’t be reached" "ERR_CONNECTION_TIMED_OUT"
03:05 PM XXCoder: sounds like you cant access usa servers
03:06 PM XXCoder: be back later, have a chore to do
03:06 PM XXCoder: wile its still sunny
03:07 PM coralgoat: I can access some US sites <https://vid.puffyan.us/feed/popular> for example works.
03:08 PM pcw-home: Not just one chip, most Ethernet chips, most microcontrollers, most FPGAs, most Optocouplers, many power supply chips >50 week lead times
03:10 PM coralgoat: When I search <mesanet.com> for ethernet I get these results.
03:10 PM coralgoat: http://store.mesanet.com/index.php?route=product/search&sort=p.price&order=ASC&search=ethernet
03:12 PM coralgoat: I would like to get a card that is just good enough to control 3 stepper motors and 1 spindle. Where I would have 3 seperate stand alone stepper motor drivers and a spindle driver.
03:15 PM coralgoat: <http://web.archive.org/web/20201112021733/http://wiki.linuxcnc.org/cgi-bin/wiki.pl?LinuxCNC_Supported_Hardware> mentions "Mesa Electronics Anything I/O boards" and has a link to <mesanet.com>.
03:16 PM coralgoat: This is an ethernet Anything I/O board.
03:16 PM coralgoat: http://store.mesanet.com/index.php?route=product/product&product_id=303&search=ethernet&sort=p.price&order=ASC
03:17 PM coralgoat: That the mesanet is showing as in stock.
03:18 PM coralgoat: Would I be able to use this to connect a Linuxcnc computer to with an ethernet cable to this and then connect to it 3 stepper motor drivers and a spindle driver?
03:20 PM CaptainHindsight: bridge down?
03:21 PM CaptHindsight[m]: XXCoder: ^^
03:24 PM coralgoat: CaptHindsight[m], I can see your message and I am using IRC on Libera.
03:25 PM Tom_L: bridge over troubled water?
03:28 PM CaptHindsight[m]: bridge from Matrix to Discord, but not the other way
03:30 PM Tom_L: did the bridge in -devel ever get worked out?
03:30 PM Tom_L: turbo was trying...
03:30 PM Tom_L: the bot is there but maybe not the bridge
03:31 PM CaptHindsight[m]: still in the works
03:31 PM Tom_L: i tried but didn't have enough clout
03:32 PM Tom_L: on the matrix side i think
03:33 PM CaptHindsight[m]: on busy days like today the Matrix bots tend to slow down
03:34 PM Jungleboy: hello
03:34 PM Tom_L: i likely won't use it since there is no 32bit element client
03:34 PM CaptHindsight[m]: Discord has more funding so maybe they have more internets
03:35 PM CaptHindsight[m]: Jungleboy: howdy
03:37 PM Jungleboy: Anybody have knowledge of probe-screen-v2 on lcncver2.8.2
03:39 PM CaptHindsight[m]: this probe screen? https://www.youtube.com/watch?v=lNKpRzyviOQ
03:39 PM Tom_L: no, for tool or part probing?
03:39 PM Jungleboy: Part probing
03:40 PM CaptHindsight[m]: https://github.com/linuxcnc-probe-screen/probe-screen-ng
03:41 PM Tom_L: aside from that here are some probe routines: http://tom-itx.no-ip.biz:81/~webpage/cnc/cradek/
03:43 PM cradek: cool, thanks for preserving those
03:43 PM Jungleboy: Is it advisable to give up on v2 and go with Probe-Screen-NG
03:51 PM CaptHindsight[m]: Jungleboy: take a look at https://www.youtube.com/watch?v=Y4OaXS05ZMQ
03:52 PM CaptHindsight[m]: this is the latest effort
03:53 PM CaptHindsight[m]: https://kcjengr.github.io/probe_basic/quick_start.html
03:54 PM Alicrow-phone: Bought an oscilloscope from MicroCenter today and tested one of the encoders. Seems to be working.
03:58 PM CaptHindsight[m]: Alicrow-phone: having servo issues?
04:00 PM Jungleboy: Got that one(probe_basic) installed with no problems; Prefer simple tab in legacy UI though!
04:05 PM XXCoder: got back from chore
04:05 PM XXCoder: mowing is bad enough, but when youre dizzy and vision wobbling around as you mow?
04:05 PM XXCoder: I took many breaks
04:08 PM XXCoder: coralgoat: resolved your issues?
04:18 PM Alicrow-phone: CaptHindsight: not getting any reading from the encoders. Looks like it may have been the thin ribbon cable I used to connect to them. Was apparently getting like 1V drop in two inches of cable.
04:24 PM CaptHindsight[m]: sounds like carbon fiber :)
04:24 PM Alicrow-phone: Oh. Also, apparently the jumpers on the card are set to use differential inputs (and these are not differential encoders)
04:25 PM Alicrow-phone: Yeah, I don't understand how it could drop that much.
04:25 PM coralgoat: XXCoder, I am trying to figure out what kind of hardware to get.
04:25 PM coralgoat: I am looking for a piece of hardware that I can connect:
04:25 PM CaptHindsight[m]: wiring problems are the most common
04:25 PM coralgoat: * a computer with Linuxcnc installed (via ethernet)
04:25 PM coralgoat: * 3 stepper motor drivers
04:25 PM coralgoat: * 1 spindle inverter (bonus, would be nice to have but I can operate the spindle manually)
04:25 PM coralgoat: Of the ones that come up with a search for ethernet here
04:26 PM coralgoat: http://store.mesanet.com/index.php?route=product/search&sort=p.price&order=ASC&search=ethernet
04:26 PM coralgoat: only 8 that are in stock.
04:26 PM coralgoat: I do not know enough yet about this kind of hardware to know which one to select.
04:28 PM CaptHindsight[m]: coralgoat: the 7i92 variants offer different types of connectors
04:29 PM CaptHindsight[m]: coralgoat: http://store.mesanet.com/index.php?route=product/product&product_id=306&search=ethernet&sort=p.price&order=ASC are you happy with the one header and one db25?
04:30 PM CaptHindsight[m]: also look at the gender of the DB connector
04:31 PM CaptHindsight[m]: you can always use a gender adapter if they don't have stock of your preferred version
04:33 PM Jungleboy: how to set password?
04:34 PM CaptHindsight[m]: coralgoat: also consider if you will have future home and or limit switches, and the "compatible breakout cards available from Mesa".
04:35 PM CaptHindsight[m]: Jungleboy: password for what?
04:35 PM coralgoat: CaptHindsight[m], thanks for pointing out the 7i92.
04:35 PM Jungleboy: Username????? I think
04:36 PM XXCoder: if its for irc then its /msg nickserv register
04:36 PM XXCoder: it'll tell you how
04:37 PM Tom_L: you want a password or you don't?
04:37 PM Tom_L: oh
04:38 PM Jungleboy: it says at top "Only registered accounts may speak" yet i can speak; do i really need a pword? To keep others from speaking as me!
04:39 PM Tom_L: you must be registered or your nick would revert to Guestxxx
04:39 PM coralgoat: Jungleboy, you could ask in #libera about registering an IRC account.
04:39 PM CaptHindsight[m]: coralgoat: when comparing the different Ethernet options, availability will narrow that down first due to the worldwide part shortages, next look at the number of steppers it supports and IO, then look at what daughter cards might be of interest
04:41 PM coralgoat: What role do daughter cards play in the bigger picture of the CNC machine system?
04:42 PM Tom_L: they have more specific drivers for various functions
04:42 PM Tom_L: the main board is the logic for them
04:42 PM CaptHindsight[m]: daughter cards connect with either headers or DB connectors, same for your stepper drives,you'll need to breakout from the Mesa FPGA card to drives, spindle and swiches
04:43 PM CaptHindsight[m]: coralgoat: look at your or make a wiring diagram
04:43 PM CaptHindsight[m]: see what you will need
04:44 PM Tom_L: a couple of the newer cards have them integrated to one card
04:45 PM CaptHindsight[m]: coralgoat: "six 7I92 compatible breakout cards available from Mesa, the 7I74 through 7I78 and 7I85"
04:48 PM CaptHindsight[m]: coralgoat: http://mesaus.com/ethernet-cnc-solutions/ has a handy tree diagram
04:49 PM Tom_L: what is the working temp of kapton?
04:49 PM Tom_L: probably not suited for a 300c heating element insul
04:50 PM Tom_L: electrical barrier, not temp
04:50 PM coralgoat: Tom_L, <https://en.wikipedia.org/wiki/Kapton> says "Kapton remains stable (in isolation) across a wide range of temperatures, from 4 to 673 K (−269 to +400 °C).".
04:50 PM Tom_L: i knew it was close
04:53 PM coralgoat: CaptHindsight[m], mesaus.com is not working for me right now. It does not come up with wayback machine.
04:53 PM coralgoat: that three diagram link does not work on wayback machine for me.
04:54 PM Tom_L: works here
04:54 PM CaptHindsight[m]: bad day for internets
04:54 PM Tom_L: paid your cable bill?
04:54 PM Tom_L: :)
04:55 PM coralgoat: For me it is but only an issue with linuxcnc.org and mesaus.com.
04:55 PM Tom_L: what about mesanet.com?
04:55 PM CaptHindsight[m]: i noticed some slowness
04:56 PM coralgoat: mesanet.com is fine for me.
04:56 PM roycroft: mach3 is messing with you, coralgoat
04:56 PM roycroft: well it's only 2:40 here
04:56 PM roycroft: i got everything on my list for today done 2 hours ago
04:57 PM Tom_L: you should start on tomorrow's
04:57 PM roycroft: then i looked into my shed, where i'm planning on moving my old tool cabinet
04:57 PM roycroft: and i started thinking about the rule of thumb that if you haven't used something in a year, think about getting rid of it
04:57 PM CaptHindsight[m]: Tom_L: "each day is sufficient for its own badness"
04:57 PM Tom_L: possum erradicated?
04:57 PM roycroft: an decided that a good corralary is "if you haven't even seen the stuff in 20 years, get rid of it"
04:57 PM Tom_L: or did it bring friends?
04:57 PM roycroft: the possum self-evicted last night
04:58 PM roycroft: i think it was smart enough to know it was time to move
04:58 PM roycroft: anyway, another shelving unit is now gone
04:58 PM roycroft: and almost its entire contents added to the dump pile
04:58 PM CaptHindsight[m]: my rules is 5 years and then after getting rid of it, I need it within 2 weeks
04:58 PM CloudEvil: yay
04:58 PM Tom_L: so you have more room for shelving?
04:59 PM roycroft: this particular shelving unit had the exact footprint that my old tool cabinet has
04:59 PM roycroft: well, i cleared out space for the tool cabinet already
04:59 PM roycroft: but my brew system is in a place that i don't like - right in front of my clamp racks
04:59 PM roycroft: and i've been trying to figure out a better place to store it
04:59 PM roycroft: so now the old tool cabinet will go in the space i just cleared out, and the brew system will go in the space i cleard this morning
05:00 PM Tom_L: musical chairs
05:00 PM roycroft: and after i take a break i do plan on starting tomorrow's list
05:00 PM roycroft: which is moving that old tool cabinet
05:01 PM * roycroft actually enjoys cleaning and purging, and needs to do it more often
05:01 PM roycroft: and i am definitely not a pack rat
05:02 PM roycroft: while i have a lot of stuff, when i run across something i say to myself "oh, that's interesting - i forgot i had that"
05:02 PM roycroft: and then toss it on the dump pile
05:02 PM roycroft: whereas a pack rat would say "oh, that's interesting - i forgot i had that. good - i'll keep it"
05:04 PM _unreal_: roycroft, if you dont like it. store it in a trashcan
05:05 PM roycroft: there is a pile in my back yard
05:05 PM roycroft: when that pile gets as big as my van, it will go into the van and go to lane county waste management
05:06 PM roycroft: it's almost that big now
05:06 PM Alicrow-phone: So looking at HALscope, encoder channel B is working right, but channel A has no activity. I swapped the A and B wires and still get the same. Also tried swapping to the other encoder input on the card and same deal.
05:08 PM _unreal_: Alicrow-phone, if your having issues with the quadrature encoder. and you scope the two channels output.
05:09 PM _unreal_: if your getting no output. then the light source is DOA or the encoder is DOA. more often then not its the light source. in the encoder
05:10 PM roycroft: wow
05:10 PM roycroft: sinn fein just won the elections in northern ireland
05:10 PM _unreal_: Alicrow-phone, bad solder point? or over voltage?
05:10 PM roycroft: northern ireland may leave the uk before scotland at this point
05:11 PM Alicrow-phone: The encoder works. I tested it with a real oscilloscope.
05:11 PM _unreal_: so your getting output from both A B
05:12 PM Alicrow-phone: Both output on the oscilloscope, but when using the 7i40 and HALscope, only whichever one I hook up as channel B works.
05:12 PM roycroft: maybe i won't be doing much more today
05:12 PM _unreal_: is this encoder being used for MPG?
05:12 PM roycroft: moving those vw engines this morning did a number on my back, and i just had a hard time standing up
05:13 PM XXCoder: roy that sucks
05:13 PM XXCoder: no motor hoists?
05:13 PM _unreal_: XXCoder, its called a spine not a motor hoist
05:13 PM roycroft: i had to move them (one at a time) into a wheelbarrow, truck them across the property, and then unload into the bus
05:14 PM XXCoder: while vw engines isnt too bad yeah careful man
05:14 PM Alicrow-phone: It's for the axes
05:14 PM _unreal_: Alicrow-phone, ? huh
05:14 PM roycroft: i used a hydraulic cart to lift them up and over to the wheelbarrow
05:14 PM roycroft: and then eased them in the wheelbarrow
05:15 PM roycroft: and when i got to the bus i could tilt the wheelbarrow down and slide them out
05:15 PM roycroft: so there was no dead lift of an entire engine
05:15 PM XXCoder: good
05:15 PM roycroft: but it was still a lot of work
05:15 PM roycroft: and i'm more of a desk jockey these days
05:15 PM Alicrow-phone: _unreal_: It's to tell how far the motors for the axes have moved
05:16 PM XXCoder: if its a business, time to hire someone
05:16 PM roycroft: actually, a big reason i want to go back to woodworking to make my living is because it's healthier to be more active than sitting behind a desk all day
05:16 PM roycroft: at my age, it's especially important to be active
05:16 PM XXCoder: yep, im very tired after mowing lol
05:16 PM _unreal_: Alicrow-phone, are you trying to get a cnc mill setup? a lathe?
05:16 PM Alicrow-phone: Mill
05:17 PM Alicrow-phone: Old Hurco KM-I (Bridgeport conversion)
05:17 PM roycroft: i'm going to get started on tomorrow's tasks this afternoon still, but i'll probably pace myself a bit and not put as much energy into it as i've been doing all day so far
05:17 PM roycroft: once i'm able to stand up again :)
05:17 PM XXCoder: :D
05:18 PM _unreal_: ok.... Alicrow-phone brushed servo controller not mesa motion card ok.
05:18 PM _unreal_: Alicrow-phone, have you checked to see if there are any bad solder joints?
05:19 PM _unreal_: check the input JST pin on the board to what ever the first part it goes to is?
05:19 PM Alicrow-phone: No, it's a Mesa 7i40
05:19 PM Tom_L: Alicrow-phone, you still didn't tyr pullups on the encoder ehh?
05:19 PM Tom_L: try
05:19 PM Alicrow-phone: The original servo controllers were scrapped decades ago
05:20 PM _unreal_: yes motor driver
05:20 PM _unreal_: dual h bridge driver
05:21 PM _unreal_: Alicrow-phone, does the other controller work?
05:21 PM _unreal_: dual h bridges. for two servos does the second servo work?
05:22 PM Alicrow-phone: I get the same behavior whether I hook it up as encoder 0 or encoder 1
05:22 PM _unreal_: is this controller brand new?
05:22 PM _unreal_: Alicrow-phone, talk to pcw-home,
05:23 PM pcw-home: I would check 1. that you have proper (7I40 compatible) firmware. 2 If these are single ended, try grounding the A and B inputs (they have pullups so should change state in hal)
05:23 PM _unreal_: if both are doing the same thing and its brand new and you can switch the A:Bs and still get signal just fine but only show input on B of the controller.
05:26 PM Alicrow-phone: Connect the inputs to ground? They're outputing 5V from the encoder, so wouldn't that be a short circuit?
05:27 PM Tom_L: you sure they don't pull to gnd instead?
05:27 PM Alicrow-phone: We measured with a multimeter
05:28 PM Tom_L: i would either try what pcw said or try the pullups
05:28 PM Tom_L: what he suggested will test the card
05:29 PM pcw-home: The A/B/Z input have weak pullups to 5V so will be at 5V if unconnected
05:29 PM pcw-home: inputs
05:30 PM pcw-home: grounding them is exactly what the encoder does when it outputs a logic low
05:31 PM Tom_L: the internal weak pullups may not be enough for the encoder. that's why I suggested the external pullups
05:31 PM Tom_L: i would test the board first then add the needed pullups
05:32 PM Tom_L: got a data sheet for the encoder?
05:32 PM pcw-home: They are 2K I think which should be OK to 100 KHz or so
05:35 PM XXCoder: roycroft: man that video is funny. restores of same thing I guess 3 times now? might be 4th
05:36 PM XXCoder: third one isnt too bad, just bonnet repair. second was worse one, whol thibng fell over
05:37 PM Alicrow-phone: The manual is inconsistent about the jumper positions for TTL vs differential. Looks like left is the correct position for TTL afterall?
05:37 PM XXCoder: (or maybe its 3 different ones dunno
05:42 PM roycroft: what video?
05:42 PM XXCoder: https://www.youtube.com/watch?v=JsYgvafwxt8
05:42 PM Alicrow-phone: Getting nothing from testing pulling the inputs to ground.
05:42 PM roycroft: oh, new thomas johnson
05:43 PM roycroft: i don't have time to watch one of his videos right now, but i'll bookmark it for later
05:43 PM XXCoder: or maybe old videos, compiled
05:43 PM XXCoder: nearly 2 hours
05:43 PM pcw-home: Sorry I forgot the 7I40 has no pullups so needs external pullups for open collector encoders
05:44 PM Alicrow-phone: I'm just getting logic 0 the whole time with that
05:44 PM Tom_L: i would add 1k pullups to be safe
05:44 PM pcw-home: W1 and W6 right selects TTL
05:44 PM Alicrow-phone: Can I switch the jumpers with power on, or do I need to reboot again?
05:45 PM Tom_L: best to do changes without power
05:45 PM _unreal_: no power
05:45 PM _unreal_: safe or not dont risk it
05:46 PM pcw-home: Safe with fingers when powered, not with metal tools
05:50 PM Alicrow-phone: And for TTL, should the encoder be connected to the left five pins, or the right five pins?
05:50 PM -!- #linuxcnc mode set to +v by ChanServ
05:54 PM XXCoder: with mesas bit hard to get id not risk anything to your mesa board
05:55 PM pcw-home: Alicrow-phone: makes no real difference
05:56 PM Alicrow-phone: Ugh. Now neither channel is working.
05:56 PM pcw-home: Umm assuming you mean A,B,IDX vs /A,/B,/IDX
06:00 PM Alicrow-phone: A and B output either 5V or 0V depending on where they are in the cycle. That's the expected behavior, right?
06:00 PM pcw-home: Yes
06:00 PM _unreal_: Alicrow-phone, that would be TTL
06:02 PM pcw-home: The TTL receiver on a 7I40 is a 74HCT14 so has a ~1.6V threshold so 3.3V signals will work also
06:18 PM -!- #linuxcnc mode set to +v by ChanServ
06:21 PM _unreal_: Alicrow-phone, any luck?
06:40 PM Alicrow-phone: No luck
06:40 PM Alicrow-phone: I think the card may be fried or something
06:41 PM _unreal_: did you check the firmware
06:41 PM _unreal_: as pcw-home had mentioned?
06:41 PM _unreal_: as pcw-home had mentioned?
06:42 PM _unreal_: if you have only connected the encoder wiring to the input pins on the 7i40. then the chances of it being messed up are low.
06:42 PM _unreal_: grd or sig +5. its not going to hurt the card.
06:46 PM Alicrow-phone: How do I check the firmware? It's been a few months since I first flashed it.
06:46 PM Alicrow-phone: Been working on the mechanical rebuild.
06:46 PM _unreal_: you flashed it?
06:47 PM _unreal_: I dont have that card so I really cant tell you off the top of my head. I have a 7i96 motion controller only.
06:47 PM _unreal_: again that would be a question for pcw-home
06:47 PM _unreal_: what did you flash it with?
06:47 PM _unreal_: meaning what firmware build?
06:48 PM _unreal_: or do you have any idea
06:54 PM Alicrow-phone: Oh, crap. I think I accidentally changed the firmware to some default when I was running through pncconf earlier today.
06:58 PM Alicrow-phone: Because now the PWM frequency is wrong, and I KNOW it was right earlier today or yesterday.
07:00 PM Alicrow-phone: And of course PNCconf doesn't have an option for a 5i24
07:01 PM Alicrow-phone: I remember someone in here told me which card to set it as before, but that was months ago so I don't remember.
07:03 PM _unreal_: O,o hummmmmmmm the plot thickens
07:18 PM Alicrow-phone: Hmm, re-launched pncconf, and it came up with the right info again. Maybe I just bumped something last time?
07:20 PM CaptHindsight[m]: https://www.reddit.com/r/specializedtools/comments/ukigox/post_straightener/
07:22 PM XXCoder: interesting and pretty specialized
07:28 PM Kennethfritz7780: Pleasantly surprised
07:28 PM Kennethfritz7780: I kinda thought that lcnc was going to live on irc chat until someone pulled the plug on all of irc
07:29 PM XXCoder: hi. yeah there was discord for 3 years, but it was essentally unmanaged
07:29 PM XXCoder: we finally had it and I setup new server, and this time bridges exist
07:33 PM Alicrow-phone: I'm tempted to try the second 7i40 I have, but I'm also worried about breaking that one, too.
07:36 PM CaptainHindsight: I never heard back from the admin from the old Discord server
07:36 PM CaptainHindsight: he setup the old server and never replied to DM's or chat in the meta channel he set up to discuss the server 😦
07:37 PM XXCoder: why did that guy do it in first place I'll never know why
07:39 PM CaptainHindsight: about a year ago I asked the Discord admins about how to contact an estranged server owner, they must have contacted him because the next day or week he created the meta channel, but never was around or ever responded to messages
07:40 PM XXCoder: theres been zero reaction to your and my invite messages
07:40 PM CaptainHindsight: oh well
07:41 PM Tom_L: Alicrow-phone, did you read the post about it not having the pullups?
07:41 PM CaptainHindsight: maybe someday he will respond and tell us stories of alien abduction or being stranded in the Amazon
07:42 PM Alicrow-phone: Whoops, I misread that thing about the pull-ups. Thought that only applied to the test with connecting it to ground.
07:43 PM CaptainHindsight: https://discord.gg/VAS6txWh doesn't allow invites to the LCNC Discord server
07:43 PM Tom_L: you will need to add external pullups. i suggest 1k
07:43 PM XXCoder: capt I have updated link https://discord.gg/SbskPKPJc6 this one never expires
07:44 PM Tom_L: pcw-home> Sorry I forgot the 7I40 has no pullups so needs external pullups for open collector encoders
07:44 PM * Tom_L is betting your problem will go away
07:45 PM * Tom_L makes a lowball bet though
07:45 PM CaptHindsight[m]: XXCoder: thanks, I realized later that the link I posted likely expired after 7 days :(
07:45 PM XXCoder: yea no problem, I already posted updated link :D
07:46 PM XXCoder: Tom_L: is it you that just joined?
07:46 PM Tom_L: could be
07:47 PM XXCoder: you'll need to agree with terms (whoch is lcnc COC)
07:47 PM Tom_L: why do i need discord vs matrix vs irc?
07:47 PM XXCoder: well some people dont want to go to one or other, and having choices is great
07:47 PM CaptHindsight[m]: Tom_L: you don't
07:48 PM Alicrow-phone: So a 1k resistor connecting the encoder output to 5V, right?
07:48 PM CaptHindsight[m]: we accept all people regardless of chat client or service
07:48 PM CaptHindsight[m]: even though Matrix is the best one
07:49 PM XXCoder: honestly I prefer irc lol
07:49 PM Tom_L: Alicrow-phone, encoderout---*mesa_pin*--/\/1k\/\--+5v
07:50 PM CaptHindsight[m]: Discord offers more silly graphics and features that you can pay extra for
07:50 PM CaptHindsight[m]: like server boost
07:50 PM Tom_L: meh, i'll just stick to what i've used since '90
07:50 PM CaptHindsight[m]: and even more silly emojis
07:51 PM XXCoder: lol
07:51 PM CaptHindsight[m]: Discord started out mainly for gamers
07:51 PM Tom_L: doesn't enhance the content any for me
07:52 PM XXCoder: tom you probably can see only two channels there right now lol
07:52 PM CaptHindsight[m]: 🦌 is free with matrix, but might cost a few $$ for that set of emojis on Discord
07:52 PM Tom_L: unlike the ally mcbeal thing: https://techcrunch.com/wp-content/uploads/2014/06/babygif.gif?w=700&crop=1
07:53 PM xxcoder8265[m]: 👶
07:54 PM CaptainHindsight: 🦕
07:54 PM Tom_L: capn's didn't show on hexchat
07:54 PM XXCoder: works fine here. also hexchat
07:54 PM Alicrow-phone: Still not getting anything
07:54 PM Tom_L: you on the right pins on the mesa board?
07:56 PM CaptainHindsight: 🗜️ 🔧 ⚙️ found some free tools
07:56 PM Tom_L: i'm not familiar with that mesa card
07:56 PM Alicrow-phone: Yeah, it's the right pins
07:56 PM Tom_L: generally speaking, they all work the same though
07:56 PM Alicrow-phone: And it was working for one channel earlier
07:56 PM Tom_L: and the encoder function is enabled in the ini config= settings?
07:57 PM Tom_L: assuming it's required for that card
07:58 PM Tom_L: CONFIG="num_encoders=2 num_stepgens=3 num_pwmgens=1 sserial_port_0=20xxxxxx"
07:58 PM Tom_L: for an example
07:58 PM Tom_L: in the [HOSTMOT2] section of the ini
07:59 PM Tom_L: mmm is that the hbridge card?
08:01 PM Tom_L: W1 is jumpered to the right
08:01 PM Tom_L: W6 is jumpered to the right
08:02 PM Tom_L: W6 is encoder 0, W1 is encoder 1
08:04 PM Tom_L: so encoder pins A to 7, B to 8 and index to 9 on the board
08:04 PM Tom_L: correct?
08:04 PM Tom_L: +5 on the encoder to 1 or 6 and GND to 5 or 10
08:05 PM Tom_L: with a 10k resistor from +5v to 7, one to 8 and one to 9 on the board
08:05 PM Tom_L: or somewhere in that circuit
08:07 PM Tom_L: on that hbridge board you likely won't need a config line
08:10 PM Alicrow-phone: Yeah, encoder is enabled in firmware
08:11 PM Tom_L: and those connections are correct ^^
08:12 PM Alicrow-phone: Jumpers are both to the right.
08:13 PM Alicrow-phone: We did 1k resistor, not 10k.
08:13 PM Tom_L: 1k is fine
08:13 PM Tom_L: can you see the pins in hal show?
08:14 PM Tom_L: with the 1k connected, short the pin to GND and see if hal show changes state
08:14 PM Alicrow-phone: Encoder is hooked up to 1-5, not 6-10, but pcw said either would work.
08:14 PM Tom_L: yes
08:15 PM Tom_L: is there just 1 encoder?
08:15 PM Alicrow-phone: Just one encoder
08:15 PM Tom_L: if so, you might try the other set of pins for the 2nd encoder
08:15 PM Tom_L: try the short test first
08:15 PM XXCoder: dunno about that but i wonder if one or more wires having internal break would cause above issues?
08:15 PM Tom_L: see if hal show changes
08:15 PM Tom_L: x we are testing that
08:17 PM Alicrow-phone: Currently hooking the encoder back up to the oscilloscope to make sure the encoder didn't break
08:17 PM Tom_L: ok
08:18 PM Tom_L: if you knew for sure it was open collector output you would have to have the pullup
08:18 PM Tom_L: or it would behave just as it is
08:18 PM Alicrow-phone: Encoder still works
08:18 PM Alicrow-phone: How can I tell if it's open collector or not?
08:19 PM Tom_L: try the o-scope with the pullup added
08:19 PM Tom_L: then try the pullup on the mesa pin and then short the mesa pin and see if hal show toggles
08:22 PM XXCoder: whoo gonna love being patreon for clickspring. new antikyhera mechanism
08:23 PM Tom_L: Alicrow-phone, do you have part number for the encoder?
08:23 PM Alicrow-phone: I have the part number, but I already tried googling it and there were no results whatsoever
08:24 PM Tom_L: lemme try
08:25 PM Tom_L: what brand?
08:25 PM Tom_L: most HEDS are OC
08:25 PM Alicrow-phone: Litton 720BZ200-375-5-4
08:25 PM Tom_L: it's probably not HEDS though
08:25 PM Alicrow-phone: Mid 1970's
08:26 PM Alicrow-phone: Probably discontinued before the Internet became a big thing.
08:26 PM Tom_L: hurco?
08:27 PM Alicrow-phone: Yeah, Hurco
08:27 PM Tom_L: https://www.nkipld.com/index.php?main_page=product_info&products_id=558841
08:27 PM Tom_L: similar?
08:28 PM Alicrow-phone: Yeah, that looks like it
08:28 PM Alicrow-phone: Hurco KM-I
08:28 PM Alicrow-phone: I have the manual, too, but it doesn't seem to go into the internals of the encoder
08:28 PM Tom_L: not unless you have the wiring chart
08:29 PM Tom_L: then you might trace some pullups
08:31 PM Alicrow-phone: What's the reason for trying the pull-ups with the oscilloscope? What would we expect to see?
08:31 PM Tom_L: the same _-_-_-
08:31 PM Tom_L: also check the mesa pin with the resistor on it
08:31 PM Tom_L: and short the pin to gnd
08:32 PM Tom_L: see if the logic in hal show changes
08:32 PM Tom_L: that will verify the schmitt trigger etc is working on the board
08:33 PM Tom_L: the schmitt trigger cleans up the signal and makes the wave more 'square'
08:34 PM Alicrow-phone: I'm wondering if the card wasn't supplying enough power or something.
08:34 PM Tom_L: depends
08:35 PM Tom_L: try those 2 things and report back
08:36 PM Alicrow-phone: The encoder consumes about 75 mA, and the 7i40 is getting supplied from a little ribbon cable.
08:36 PM Tom_L: quite a bit
08:36 PM Tom_L: what's the specs on the 5v on the board?
08:36 PM Tom_L: i'm not familiar with the hbridge boards
08:39 PM Tom_L: you may be right about the current draw
08:40 PM Tom_L: also how long is the ribbon?
08:41 PM Tom_L: pcw-home, is the 75mA within the supply limits for the 7i40?
08:41 PM Tom_L: for those encoders
08:42 PM Tom_L: might be quite a bit for that thin ribbon wire
08:42 PM Tom_L: especially if you use both encoders
08:44 PM Tom_L: Alicrow-phone, look at P12 for using the alternate P1 5v supply
08:44 PM Tom_L: you may want to try that
08:44 PM Alicrow-phone: Yeah, I'm trying to hook up an external 5V supply now.
08:45 PM Tom_L: i use external supply similar to that on my boards
08:45 PM pcw-home: up to about 300 mA should be OK (easy to check the 5V at the 7I40)
08:45 PM Tom_L: make sure you jumper it right
08:45 PM Tom_L: i'm wondering if the drop on the ribbon is too much
08:45 PM pcw-home: if the 5V is OK at the 7I40, I would not bother with an external supply
08:45 PM Tom_L: ok
08:46 PM Tom_L: does the 7i40 use an ini config line to enable the encoders like other boards?
08:49 PM Alicrow-phone: Read 0.6V between 5V and ground pins of the encoder connection when we had the encoder hooked up. Also somehow -1V between output A and ground.
08:52 PM Tom_L: logic inside the encoder could cause that
08:53 PM Tom_L: going afk a while
08:54 PM Alicrow-phone: The manual for the 7i40 says to disable power from the 50 pin connector via a jumper on the foga card, but I can't find an option to do that in the 5i24 card's manual.
08:55 PM Alicrow-phone: Also, the 5i24 card manual says it has pull-up resistors on all I/O pins. Does that not work through the 7i40 or something?
09:10 PM Alicrow-phone: pcw-home: how do I get a 5i24 to not supply any power on pin 49?
09:15 PM Tom_L: they are weak pullups 3.3k
09:16 PM Tom_L: 1.5ma @ 5v
09:17 PM Tom_L: yeah it looks like the 5i24 selects between 3.3 & 5v to the daughter card
09:20 PM Tom_L: pcw-home, is it safe to use external 5v on P1 of the 7i40 with the 5i24 jumpers set to 5v tolerant?
09:21 PM Tom_L: doesn't appear to be a jumper to disable it
10:12 PM pcw-home: Alicrow-phone remove the appropriate 5V/3.3V jumper
10:12 PM Tom_L: makes sense.
10:13 PM Tom_L: i didn't think of that
10:41 PM Alicrow-phone: Thanks
11:01 PM Alicrow-phone: I'll probably give it a shot tomorrow. Getting pretty late here.