#linuxcnc Logs
Jan 30 2020
#linuxcnc Calendar
01:22 AM ce9a: hi
01:27 AM ce9a: has anyone able to install linuxcnc on Arch linux ?
01:27 AM CaptHindsight: yes and Gentoo
04:57 AM Tom_L: morning
04:58 AM XXCoder: yo
05:04 AM jthornton: morning
05:04 AM jthornton: have you setup a vpn before?
05:05 AM XXCoder: man its been a long while.
05:05 AM jthornton: https://www.digitalocean.com/community/tutorials/how-to-set-up-an-openvpn-server-on-debian-9
05:06 AM jthornton: trying to follow that but got confused as it seemed to be using the same term for two different thing
05:06 AM jthornton: s
05:07 AM XXCoder: yeah? example?
05:07 AM jthornton: From there, run the easyrsa script with the init-pki option. Although you already ran this command on the CA machine, it’s necessary to run it here because your server and CA will have separate PKI directories:
05:07 AM jthornton: I got lost on step 3
05:08 AM XXCoder: lets see
05:09 AM XXCoder: looks like you gonna setup easyrsa on both server and client
05:09 AM XXCoder: "from there" refers to server looks like youre setting server at this time
05:09 AM jthornton: is that two separate pc's?
05:10 AM jthornton: what I want to do is to view my cameras from my phone while away
05:10 AM XXCoder: your phone needs to have it also since that is client
05:10 AM XXCoder: somehow. dunno if phone can do it
05:11 AM jthornton: Android OpenVPN Connect, the official Android OpenVPN client application.
05:11 AM jthornton: down near the bottom
05:12 AM XXCoder: cool. so what you do on step 3 is installing stuff for server. which is at pc
05:12 AM jthornton: philip gave me the link
05:13 AM jthornton: Using a secure method (like SCP, in our example below), transfer the server.req file to your CA machine:
05:13 AM jthornton: I don't understand what my CA machine means :(
05:14 AM jthornton: seems like they are referring to another pc on the LAN
05:15 AM XXCoder: Although you can generate a private key and certificate request on your client machine and then send it to the CA to be signed
05:15 AM Tom_L: i haven't but if it uses another port you need to set up your router too
05:15 AM XXCoder: looks like yeah. hm
05:15 AM XXCoder: CA is certification authority
05:15 AM XXCoder: nan I actually remembered
05:16 AM XXCoder: you probably can just setup your own ca
05:16 AM XXCoder: its not like youre planning to share with others.
05:16 AM Tom_L: certificate authority?
05:16 AM Tom_L: mmm beat me
05:16 AM XXCoder: https://en.wikipedia.org/wiki/Certificate_authority
05:18 AM jthornton: that helps
05:18 AM Tom_L: https://www.youtube.com/watch?v=o8lezpJhfAo
05:18 AM Tom_L: latest FPGA coding
05:18 AM XXCoder: jthornton: https://en.wikipedia.org/wiki/TinyCA maybe
05:18 AM XXCoder: dont have to be huge I guess
05:19 AM XXCoder: oh deleted page. finding homepage now
05:20 AM XXCoder: https://opsec.eu/src/tinyca/ is very old
05:21 AM XXCoder: https://www.hohnstaedt.de/xca/ xca which is similiar I guess?
05:23 AM jthornton: ok it's making more sense now, CA machine was tripping me up because I had no clue what that meant
05:24 AM XXCoder: no problem. glad to dust off my IT degree once again
05:28 AM Deejay: hi
08:12 AM skunkworks: cat6a
08:12 AM skunkworks: http://electronicsam.com/images/greenmachine/IMG_20200129_140728.jpg
08:13 AM skunkworks: I need to build some calluses on my finger tips if I am going to do a buch more...
08:15 AM skunkworks: the twist is quite tight
08:37 AM perry_j1987: morning all
08:38 AM Loetmichel: skunkworks: you get used to fiddle the catX into the RJ45
08:39 AM Loetmichel: after the 1000th or so
08:43 AM skunkworks: oh sure - I would guess I am over that.
08:46 AM skunkworks: Cat5e is so easy to manipulate compared to the 6..
09:00 AM jthornton: do you use pass through RJ45's?
09:03 AM perry_j1987: my rs485 converter is arriving today amazon 1 day shipping is nice heh
09:03 AM perry_j1987: so now linuxcnc will finally know what the spindle is doing heh
09:04 AM skunkworks: jthornton: no.. I am old school and don't like them
09:04 AM jthornton: I really like them and I'm old too
09:05 AM skunkworks: https://www.youtube.com/watch?v=XvyanCuzNds
09:05 AM skunkworks: I am not old... ;)
09:07 AM jthornton: skunkworks, needs more caffeine
09:09 AM skunkworks: ;)
09:21 AM skunkworks: I also don't like the ones that have the extra plastic that lines up the wires.
09:22 AM skunkworks: I can end cat5 pretty fast when I get into the flow. 6 is a bit slower
09:23 AM skunkworks: using the above method
09:24 AM skunkworks: and they are 'tight'
09:41 AM Loetmichel: hmm, is it decadent that i think its convenient to have 3 3d-printers just because i dont have to change filament that often if i want a different colour?
09:43 AM sensille: no
09:47 AM perry_j1987: having different colors... now thats decadent :)
09:47 AM perry_j1987: any color you want as long as its black heh
09:52 AM Loetmichel: perry_j1987: just printing a "shim" for a device a customer sent back for repairs... which is dark blue
09:52 AM Loetmichel: and i JUUUST happened to have dark blue filament on my private printer...
10:25 AM perry_j1987: nice
10:25 AM perry_j1987: so im starting to put thoughts into making my first fixture
10:26 AM perry_j1987: looking for options for clamping small parts
10:26 AM perry_j1987: right now im thinking of getting brass hex stock and some caphead screws and turning the capheads eccentric etc
10:44 AM beachbumpete1: almost friday....ALMOST FRIDAY!! hehehe
10:46 AM SpeedEvil: Got to get down on Friday?
11:28 AM beachbumpete1: Gotta get some R&R friday. Hope to work on my van build.
11:29 AM * jthornton is finally getting the van an alignment...
11:29 AM jthornton: tired of it wandering all over the place when I drive lol
11:46 AM beachbumpete1: I am just trying to start building out the interior into a bit of a camper
11:47 AM jthornton: I got the outer ball joints, right wheel bearing and both lower control arms changed Tuesday
11:48 AM beachbumpete1: I put some of those moog F350 springs in mine to lift it like an inch or two. I bought some alignment bushings I need to intall and then get it aligned. Still drives fine
11:49 AM Tom_L: had it done or you did it?
11:50 AM beachbumpete1: I did it myself but gonna take it to get aligned here soon
11:52 AM Tom_L: i R&R'd the front springs out of the A arm once without a compressor to change A arm bushings
11:52 AM Tom_L: just about didn't get em back in
11:55 AM beachbumpete1: yup....I borrowed a spring compressor these springs are quite large
11:58 AM Tom_L: i wrapped a chain around it on 2 sides while it was compressed
11:59 AM Tom_L: can't say i'd recomend that
12:20 PM perry_j1987: there we go package arrived with rs485 usb adapter
12:20 PM perry_j1987: now to figure out this vfd thing
12:21 PM * JT-Shop heads to do some work
12:22 PM * Tom_L checks the timeclock
12:26 PM perry_j1987: feel like i should get another batch of parts done before i tear the machine apart...
12:27 PM Tom_L: changing spindles?
12:28 PM perry_j1987: no im adding a rs485 adapter to the linuxcnc computer
12:28 PM perry_j1987: to connect the vfd
12:29 PM Tom_L: what happened in 1987?
12:31 PM perry_j1987: what do you mean
12:38 PM Tom_L: part of your nick. i figured it meant something
12:46 PM perry_j1987: oh its still showing that?
12:46 PM perry_j1987: shows perry_j on my end
12:46 PM perry_j1987: 1987 just the year of my car heh
12:51 PM perry_j1987: so in googling i came across this https://github.com/babs/cnc-linuxcnc-nowforever_vfd
12:51 PM perry_j1987: i have to implement this somehow i gather
12:54 PM perry_j1987: and i need to disconnect the analog voltage speed control im currently using before doing this i gather as well
01:40 PM Jymmm: CaptHindsight: where you be
01:40 PM CaptHindsight: Jymmm: I is here
01:40 PM Jymmm: CaptHindsight: DIY 18650 battry kits... NO welding, NO soldering... https://vruzend.com/product/vruzend-battery-kit-v2-0/
01:41 PM Jymmm: CaptHindsight: https://www.youtube.com/watch?v=rylbFnTgFI8
01:41 PM Jymmm: Ok, maybe a little solder
01:42 PM CaptHindsight: trade space for no-solder
01:42 PM Jymmm: CaptHindsight: and easily serviable if a cell goes bad
01:42 PM CaptHindsight: so bolts can act like some sort of clamp!
01:43 PM Jymmm: spring terminals inside
01:43 PM CaptHindsight: I'm 2 minutes into the video and no fires yet
01:44 PM Jymmm: I THINK spring terminals, thats what I head in one of the videos
01:44 PM Jymmm: ve7it: You use 18650's don't you?
01:45 PM CaptHindsight: where do buy Orange nitrile gloves?
01:45 PM ve7it: Jymmm, yes... in a few projects
01:45 PM Jymmm: Orange nitrile gloves dot com
01:45 PM Jymmm: ve7it: https://vruzend.com/product/vruzend-battery-kit-v2-0/ and https://www.youtube.com/watch?v=rylbFnTgFI8
01:46 PM Jymmm: brb
01:46 PM perry_j1987: ok im not finding a programing guide to switch this to modbus
01:52 PM Jymmm: back
01:52 PM CaptHindsight: Jymmm: my head is still spinning over that TIJ in a cube
01:52 PM Jymmm: CaptHindsight: the what now?
01:52 PM CaptHindsight: what did everyone use it for besides "hey, neat, what do i do with it?"
01:53 PM gregcnc: doesn't matter, the people selling it made money
01:53 PM CaptHindsight: https://www.indiegogo.com/projects/princube-the-world-s-smallest-mobile-color-printer#/
01:53 PM Jymmm: oh, the printer? Instant pseudo personalizing things, digital graffiti,
01:54 PM gregcnc: products are just there to help you reduce excess money in your wallet
01:54 PM CaptHindsight: yeah, some get a ton of orders, others do not
01:54 PM CaptHindsight: why?
01:54 PM CaptHindsight: the princube looks unique
01:54 PM gregcnc: one fo the guys I follow sold hundreds of items with people having no idea what they were buying, at all. mystery product
01:55 PM Jymmm: gregcnc: what was it?
01:55 PM gregcnc: don't know yet
01:55 PM Jymmm: CaptHindsight: insta tattoo?
01:55 PM Jymmm: gregcnc: oh, lol, how much?
01:56 PM gregcnc: just shipped people are gettingthem and they like them, 60$
01:56 PM CaptHindsight: https://www.youtube.com/watch?v=iz98tY7xAxY except for these in the industrial world
01:56 PM Jymmm: interesting, must have a great reputation
01:58 PM CaptHindsight: https://www.indiegogo.com/projects/shine-ultra-next-gen-portable-powerful-scanner#/
01:59 PM CaptHindsight: patented Curve-Flatten Technology
01:59 PM CaptHindsight: do they still sell scanners?
02:00 PM CaptHindsight: i could make a phone app for that
02:00 PM ve7it: Jymmm, that looks pretty good for building packs... all my projects so fa have used single cells, but I would love to build an electric bike
02:01 PM Jymmm: ve7it: I like the idea that I can actually service a pack without having to deal with breaking/rewelding
02:03 PM CaptHindsight: https://www.hobbytown.com/rc-car-lipo-lihv-batteries/c1393
02:03 PM CaptHindsight: why the interest in using cells vs these?
02:04 PM ve7it: they mentioned some kind of spring terminal... the bolts must have a spring washer under the head or something... could 3D print something similar.. I would probably print bars that hold multiple cells like his 3P bars... would make for less bits
02:04 PM CaptHindsight: stamped zinc plated steel
02:04 PM Jymmm: CaptHindsight: you can harvest 18650 for dead laptop/cordless drills
02:04 PM Jymmm: from*
02:05 PM gregcnc: DIY poowerwall?
02:05 PM CaptHindsight: how do you keep them from blowing up real good?
02:05 PM Jymmm: CaptHindsight: duct tape
02:05 PM gregcnc: battery management system
02:06 PM gregcnc: how big a battery are you wanting to build?
02:06 PM Jymmm: 24V @ 2KAH
02:07 PM CaptHindsight: a welder
02:08 PM Jymmm: Well, I'd like a scooter to be able to go 30MPH up hill for 50 miles
02:09 PM CaptHindsight: one hell of a hill
02:09 PM Jymmm: Ok, maybe 15 mph
02:09 PM gregcnc: needs more math
02:09 PM CaptHindsight: with regenerative braking?
02:09 PM Jymmm: CaptHindsight: Yeah, 100 to 2400 ft elevation
02:10 PM gregcnc: somewhere I might have an excel for this
02:10 PM CaptHindsight: are we crossing the rockies or the andes?
02:10 PM Jymmm: Sierra Nevada's
02:10 PM CaptHindsight: how about using a spin launcher?
02:10 PM Jymmm: ???
02:11 PM gregcnc: you could probably sell tickets for that ride
02:11 PM CaptHindsight: https://www.wired.com/story/inside-spinlaunch-the-space-industrys-best-kept-secret/
02:11 PM CaptHindsight: once they solve the high G problem should be safe and cheap
02:13 PM gregcnc: https://www.ebay.com/i/113942757913
02:14 PM Javabean: anyone keeping an eye out, "W.H.O. declares the coronavirus outbreak a global health emergency." https://www.nytimes.com/2020/01/30/world/asia/coronavirus-china.html
02:15 PM CaptHindsight: Javabean: yeah been reading the research papers as they come out
02:15 PM CaptHindsight: they sequenced the genome last month
02:16 PM CaptHindsight: looks like it jumped from bat/snake to humans in November
02:16 PM Javabean: been "at work" too much to keep track of the papers, live. but i do think that news on it should be transmitted faster than the disease can
02:17 PM CaptHindsight: https://www.statnews.com/2020/01/24/dna-sleuths-read-coronavirus-genome-tracing-origins-and-mutations/
02:17 PM CaptHindsight: https://www.ncbi.nlm.nih.gov/nuccore/MN908947
02:18 PM CaptHindsight: [ Wuhan seafood market pneumonia virus isolate Wuhan-Hu-1, complete geno - Nucleotide - NCBI ] - www.ncbi.nlm.nih.gov
02:19 PM CaptHindsight: sort of like g-code for a virus
02:20 PM Javabean: considering how "easy" they are trying to make gene editing(ala CISPR), that isn't a good joke
02:21 PM CaptHindsight: wasn't a joke
02:21 PM Javabean: bad pun then, maybe
02:31 PM perry_j1987: hmm getting permission denied when it trys to run vfd.py
02:45 PM jthornton: is it executable in permissions?
02:46 PM perry_j1987: let me check
02:49 PM perry_j1987: never had to do that to a python file
02:49 PM perry_j1987: i got axis to load up now without error
02:49 PM jthornton: if it was not set then you have to do that
02:50 PM jthornton: unless you do python somefile.py
02:50 PM perry_j1987: ah
02:50 PM perry_j1987: hmm spindle didnt turn on
02:51 PM perry_j1987: i have this 6040 with a nowforever vfd
02:51 PM perry_j1987: put this in https://github.com/babs/cnc-linuxcnc-nowforever_vfd
02:51 PM perry_j1987: along with tihs https://github.com/babs/cnc-linuxcnc-config-3040/blob/master/3040/custom.hal
02:52 PM perry_j1987: got the rs485 hooked up and believe i enabled modbus on the vfd
02:56 PM perry_j1987: nope dont think i have the vfd configured right
03:02 PM perry_j1987: k went through the panel config again
03:02 PM perry_j1987: i think all the settings are set correct on it
03:05 PM JT-Shop: I use an Automation Direct GS2 and the gs2 component
03:05 PM Jymmm: ve7it: gregcnc https://www.aliexpress.com/item/4000328956379.html
03:11 PM gregcnc: https://jag35.com/collections/all
03:15 PM Jymmm: gregcnc: $500 and batteries NOT included
03:16 PM Jymmm: gregcnc: Batteries ARE included... https://www.aliexpress.com/item/33019740384.html
03:18 PM CaptHindsight: don't power the trolls
03:21 PM XXCoder: JT-Shop: how goes setup?
03:31 PM Jymmm: CaptHindsight: Awwww, why not?
03:36 PM CaptHindsight: Jymmm: why come?
03:36 PM Jymmm: CaptHindsight: Trolls need love too
03:41 PM gregcnc: taking your chances with trash batteries
03:41 PM Jymmm: gregcnc: true enough
03:47 PM JT-Shop: gave up
03:47 PM Deejay: gn8
04:04 PM perry_j1987: ok nothings working
04:04 PM perry_j1987: ugh
04:27 PM JT-Shop: what are you using for modbus?
04:28 PM * JT-Shop knows almost nothing about it...
04:37 PM perry_j1987: i have a nowforever vfd
04:37 PM perry_j1987: and got a usb rs485 adapter
04:37 PM perry_j1987: https://github.com/babs/cnc-linuxcnc-nowforever_vfd
04:37 PM perry_j1987: https://github.com/babs/cnc-linuxcnc-config-3040/blob/master/3040/custom.hal
04:37 PM perry_j1987: added this to my config folder
04:38 PM perry_j1987: and then went through the vfd and i believe i got everything converted for modbus communication vs the analog voltage
04:43 PM jdh: I have a nowforever on my router. modbus works great
04:44 PM perry_j1987: jdh do you have the steps to program it
04:44 PM perry_j1987: want to verify
04:45 PM jdh: https://docs.google.com/spreadsheets/d/1mMdpFVExnPg6L0suLyQBgQIbrt5BUza9HIIQLCJcBcQ/edit?usp=sharing
04:46 PM jdh: I had a text file somewhere. Let me go check the machien
04:47 PM perry_j1987: cant access that google doc permissions it says
04:47 PM jdh: try now
04:47 PM Tom_L: works here
04:48 PM perry_j1987: works
04:48 PM jdh: I just changed it
04:50 PM Tom_L: if you loose it, remind me i saved a copy :)
04:51 PM jdh: my custom.hal is at: https://pastebin.com/r2dppkpk
04:52 PM jdh: with what I did. Not sure why I renamed the componenet, but I had some reason at the time.
05:03 PM perry_j1987: ok got the new custom.hal
05:03 PM perry_j1987: the programming on the vfd looks good thats the settings i had
05:04 PM perry_j1987: i use to have to press the run button on powerup on the vfd when i was using the analog voltage speed control
05:04 PM perry_j1987: now the run button does nothing is that like yours jdh
05:04 PM jdh: yes
05:06 PM jdh: try the spindle buttons axis? or use MDI to set speed and direction
05:06 PM perry_j1987: hmm axis is not able to load now
05:07 PM perry_j1987: nowforever_vfd.py exited without becoming ready it says
05:07 PM jdh: right port? speed? wiring?
05:16 PM perry_j1987: now its saying motion.spindle-speed-out is already linked to signal spindle-cmd-rpm
05:17 PM jdh: do you have another motion.spindle-speed-out line?
05:18 PM jdh: I have one commented out in my main HAL file
05:18 PM perry_j1987: i copy pasted yours
05:18 PM perry_j1987: into bare custom.hal
05:28 PM perry_j1987: im not seeing any place its listed
05:35 PM perry_j1987: hmm
05:36 PM gregcnc: Jymmm forget the E-scooter https://www.businessinsider.com/gmc-hummer-will-be-a-1000-horsepower-electric-super-truck-2020-1?
05:53 PM SpeedEvil: SpaceX has recently been showing off test tanks - made of 303 apparently pressed stainless.
05:54 PM SpeedEvil: Coincidentally exactly the same guage and material as the cybertruck is supposed to be made of.
05:54 PM SpeedEvil: Modestly curved panels could smooth a lot of the harsh lines and do good things for Cd.
05:56 PM SpeedEvil: https://www.youtube.com/watch?v=HIKxxmOHltg
06:01 PM perry_j1987: jdh on your rs485 its + to + and - to - right?
06:01 PM perry_j1987: or is it swapped
06:10 PM jdh: heh, was outside so I checked on it. I never cleaned up the wiring from my first test
06:10 PM jdh: https://imgur.com/a/vbIYNhc
06:11 PM jdh: so bad it is more amusing than embarrassing now.
06:13 PM jthornton: what is the blue device?
06:13 PM jdh: 232-485 convertor
06:15 PM jdh: turns out I also had a DB9, pins, crimper laying there also where I was planning on fixing it 18 months ago.
06:16 PM jthornton: ah
06:20 PM perry_j1987: how do i test communication
06:20 PM perry_j1987: spindle on button isnt doing anything lol
06:20 PM jdh: is it powered up? anything on the display?
06:20 PM perry_j1987: display shows 0.00
06:21 PM perry_j1987: hz light is on right above the pot knob
06:21 PM jdh: lcnc out of e-stop, everything else active?
06:21 PM perry_j1987: ya active i can home etc
06:21 PM jdh: swap +/-?
06:22 PM perry_j1987: i read on some of these rs485 adapters they were mislabeled or something
06:22 PM perry_j1987: i put multimeter on the +/- and it showed 2.75v
06:23 PM jdh: measure them against common
06:23 PM perry_j1987: ok
06:24 PM perry_j1987: 3.87 on + and 1.08 on -
06:25 PM jdh: yeah. seems reasonable, but no clue really.
06:25 PM jdh: I'd still swap them
06:25 PM perry_j1987: wont blow anything? :P
06:25 PM jdh: no
06:25 PM * Tom_L stands behind a blast shield
06:26 PM perry_j1987: lol
06:26 PM * jthornton stands behind Tom_L
06:26 PM perry_j1987: does the swap and it activates the Y and turns on spindle full blast into my head
06:26 PM jdh: video?
06:27 PM perry_j1987: swapped
06:27 PM perry_j1987: spindle turned on by itself
06:27 PM perry_j1987: cant control it
06:27 PM perry_j1987: or stop it
06:28 PM jdh: you are wired to the 485 pins and not the analog in ones?
06:28 PM perry_j1987: correct
06:29 PM Tom_L: jthornton, when you gonna start playing with the robot arm?
06:29 PM jdh: then that sounds promising. at least it can turn the spindle on.
06:29 PM jdh: I was one pin off on the drive the first time.
06:30 PM jdh: found a 2 page datasheet for my 485 adapter and it has everything except the pin-out
06:30 PM jthornton: when they get the money approved
06:31 PM jdh: I have 2.5 machines with robots and no robot people so I end up learning on the fly.
06:31 PM Tom_L: getting paid to play is a plus
06:32 PM jthornton: absolutely and getting paid well
06:32 PM Tom_L: they got a bunch of em at the vo'tech here
06:32 PM Tom_L: large and small
06:33 PM perry_j1987: ok so after i swapped them the i can turn the spindle on with the button in axis
06:33 PM perry_j1987: but not turn it back off
06:33 PM jthornton: they have a lot of press robots that remove the parts and cut the sprues etc
06:35 PM Tom_L: i think they moved some of them out to the uni since they merged last year
06:35 PM perry_j1987: jdh do you have pic of inside wiring of your nowforever vfd by chance
06:35 PM jdh: https://imgur.com/a/vbIYNhc
06:35 PM jthornton: https://5.imimg.com/data5/NR/LS/MY-27948/heavy-duty-pick-and-place-system-500x500.png
06:35 PM jthornton: like that but bigger
06:36 PM perry_j1987: for some reason i have x1 tied to com on mine
06:36 PM jthornton: chow time
06:37 PM jdh: what is x1
06:38 PM jthornton: Tom_L, I put in a $150 ethernet cable today lol
06:39 PM perry_j1987: not sure
06:39 PM jthornton: got called out because the cameras were not working on a screen staker (welds the screen over the fuel exit on a plastic tank) and the same cable with the busted clip was in the machine
06:40 PM jthornton: and it backed out a tad so the PLC was not communicating to the cameras
06:41 PM Tom_L: jthornton, you ready to get one of those FPGA boards and join the fun?
06:42 PM jthornton: I have so many projects open it ain't funny any more
06:43 PM Tom_L: i like it because i can sit at the desk and mess with it while doing other stuff
06:44 PM jthornton: I have a PLC next to my desk in the machine shop I'm trying to learn how to program a sequencer to send inputs to another PLC to test the ladder
06:46 PM jthornton: https://www.youtube.com/watch?v=ijsXGyNk0Ps
06:46 PM Tom_L: i just googled and saw that
06:48 PM Tom_L: https://ladderlogicworld.com/plc-sequencer-logic/
06:49 PM jthornton: that's a sequence ladder logic and quite different from a AB sqo
06:50 PM Tom_L: oh
06:50 PM Tom_L: i know little if anything about it :)
06:52 PM jthornton: chow time for sure now lol
06:53 PM perry_j1987: jdh what do you have for custom_postgui.hal
06:53 PM jdh: net spindle-speed-in => pyvcp.spindle-speed
06:54 PM jdh: just for the speed display
06:54 PM jdh: and perhaps relevant, my lcnc is ancient
06:56 PM perry_j1987: ok
06:56 PM perry_j1987: i dont think im getting any communication
06:58 PM perry_j1987: maybe its bad rs485 adapter
06:59 PM perry_j1987: and yet if i hit the button the spindle comes on
06:59 PM perry_j1987: went into hal meter and checked status of the pins
06:59 PM Tom_L: baud, parity etc set right?
06:59 PM perry_j1987: and getting no feedback
06:59 PM perry_j1987: i set the vfd to option 2 which shoudl be 9600 baud
06:59 PM perry_j1987: parity is set right
06:59 PM perry_j1987: unless. its not configured right in the nowforever_vfd.py
06:59 PM perry_j1987: checking
07:08 PM _unreal_: ve7it, you around at the moment?
07:09 PM perry_j1987: just verified those settings again
07:09 PM perry_j1987: vfd is set to 38400 baud and nowforever_vfd.py is set to the same
07:09 PM perry_j1987: as well as parity settings and such
07:11 PM _unreal_: well taking shower
07:14 PM jdh: set them both to 9600
07:17 PM perry_j1987: just did some more testing
07:17 PM perry_j1987: so i turn on the vfd and then open axis
07:17 PM perry_j1987: enable the machine
07:18 PM perry_j1987: and then if i press the forward it turns on
07:18 PM perry_j1987: but i cant stop it
07:18 PM perry_j1987: then i close axis and turn off vfd and turn it back on to get it to stop spinnin
07:18 PM perry_j1987: then re-enable machine and press the reverse button and the spindle turns the other direction
07:18 PM perry_j1987: again cant stop it unless i turn off the vfd and shutdown axis etc
07:19 PM perry_j1987: on 2.7.14
07:20 PM perry_j1987: i tried both at 9600 and same deal
07:28 PM veegee: So right now I have my vertical mill and stuff in a big rented storage unit with only a single 15A 120V power outlet. Only reason I'm doing this is because it's 500m away from the office and lets me get straight to my hobby after work without wasting time commuting
07:28 PM veegee: The problem is the power outlet. I have a bunch of transformers and stuff to step up the voltage and drive the 3 phase motor
07:29 PM veegee: But I need to power more equipment simultaneously like an air compressor and what not. The only way I see that happening is by building a high voltage battery bank and an inverter
07:29 PM veegee: Something that can burst 10kW for up to a few minutes at a time
07:30 PM perry_j1987: golf cart companies sell off batteries before they are actually dead
07:30 PM veegee: I'm thinking of making it out of LiFePO4 cells stacked in series to 350V
07:30 PM perry_j1987: can buy them for scrap value and they still have plenty of life for renewable energy systems
07:30 PM _unreal_: veegee, GET a ups
07:30 PM veegee: that way I don't need any power magnetics like inductors or transformers to create a 240V AC output
07:30 PM veegee: 10kW UPS will cost a fortune
07:31 PM perry_j1987: jdh thinking i should exchange this rs485 adapter
07:31 PM _unreal_: veegee, if you need to run 10kw inside a storage unit I'm sure your already breaking the lease
07:31 PM veegee: no, there's no rules against that
07:31 PM perry_j1987: lol
07:31 PM veegee: I checked with them, they don't care
07:31 PM perry_j1987: did you ask if they will run 220 out to your unit? :P
07:31 PM _unreal_: I find that hard to believe
07:32 PM veegee: if I can rent an industrial space nearby, I would, but can't find anything nearby
07:32 PM veegee: they w on't modify their power but they don't mind whatever I'm doing
07:32 PM jdh: perry_j1987: do you have a speed display panel? when it turns on, is there any feedback?
07:33 PM veegee: a stack of LiFePO4 cells to 350V DC is enough to create a 240V sine wave with some IGBTs
07:33 PM veegee: good high power performance as well
07:33 PM jdh: or try starting it with s6000 m3
07:33 PM _unreal_: veegee, rent a generator
07:33 PM veegee: can't run a generator in an enclosed area
07:33 PM jdh: or whatever your min spindle speed is
07:34 PM veegee: it's a climate controlled storage space
07:34 PM _unreal_: if only someone could invent extension cords
07:34 PM _unreal_: I assume its inside and upstairs
07:34 PM _unreal_: and down the hall all the way
07:34 PM veegee: inside, ground floor
07:34 PM _unreal_: then run a damn cord
07:35 PM jdh: sounds like it is communicating if it can run the spindle both ways
07:36 PM _unreal_: That spindle goes both ways ehh ;)
07:36 PM veegee: That's a last resort option, but that's not really something I want to do, I'd have to keep moving the generator in and out every day and run the wire under the gate door
07:37 PM _unreal_: then your screwed, OR as I said get a UPS. but if you have a setup that requires that much power. clearly you need to seek alternate options
07:37 PM perry_j1987: it wont take a speed
07:37 PM perry_j1987: just turns on to low rpm
07:37 PM perry_j1987: no feedback from vfd
07:38 PM _unreal_: perry_j1987, has it worked in the past or is this a new upgrade?
07:38 PM perry_j1987: im trying to get modbus connection working
07:38 PM perry_j1987: new upgrade
07:38 PM perry_j1987: was just using analog voltage before
07:38 PM _unreal_: trying to fly by wire ehh
07:38 PM veegee: hmmm UPS will need its batteries replaced with LiFePO4. lead acid will charge too slow
07:39 PM jdh: sounds like it works. check vfd params, scaling?
07:39 PM veegee: also UPS will trip their circuit breaker
07:39 PM perry_j1987: jdh i'd be closer to think its working if the stop button worked?
07:39 PM _unreal_: veegee, lifepo4 battery could be a fire hassard
07:39 PM veegee: it's not
07:39 PM veegee: not at all
07:39 PM veegee: could also do lithium titanate
07:40 PM jdh: perry_j1987: sure, but it can drive it cw or ccw which is two different commands... seems like comm is ok
07:40 PM veegee: but at that point, might as well build my own inverter with IGBTs and go transformerless/inductorless
07:41 PM veegee: 350V DC not that hard to stack
07:41 PM perry_j1987: i've tried telling it to go to 24000 rpm and it just turns on to that low rpm and i cant stop it
07:41 PM veegee: can do it with 18650 cells even, since those can easily burst 30A per cell comfortably
07:42 PM veegee: with 3 parallel, 100 series A123 LiFePO4 18650s, that's a solid 10kW continuous
07:43 PM _unreal_: veegee, wasnt a "battery system" the first thing I said LOL
07:43 PM perry_j1987: jdh if you go to hal meter on yours and check the stuff are you getting feedback on yours?
07:44 PM veegee: that's the first thing I said...
07:44 PM jdh: I get spindle speed and at-speed on a pyvcp panel
07:44 PM veegee: but a prebuilt UPS is like $5000 minimum
07:44 PM veegee: and they run on shitty lead acid which are garbage under load and recharge really slow
07:44 PM _unreal_: veegee, yes FIRST thing I said "<_unreal_> veegee, GET a ups"
07:45 PM veegee: yeah also you can't control their power draw from the outlet
07:45 PM veegee: I can't exceed 15A. I need to custom build an inverter/charger
07:45 PM _unreal_: so you use a LOAD control
07:45 PM jdh: build whatever you need. ignore the naysayers.
07:46 PM perry_j1987: jdh can you post your main hal for me to compare :P
07:46 PM veegee: Yeah I think that's what I'll do. Can build the battery pack for < $1,500
07:46 PM perry_j1987: i found where that second instance was of the spindle thing earlier was in my main hal
07:46 PM _unreal_: well time to go to lowes to get a few parts I need
07:47 PM veegee: I wish fuel cells were more common and available
07:47 PM perry_j1987: veegee what about a generator
07:47 PM veegee: ruled that out, can't run a generator in an enclosed area
07:47 PM veegee: running it outside continuously like that is not practical
07:48 PM jdh: perry_j1987: https://pastebin.com/6wgZGrHb
07:48 PM veegee: also the only limitation is can't store gasoline in the storage unit
07:48 PM veegee: so no place to put a generator that big every day
07:48 PM jdh: perry_j1987: ini https://pastebin.com/5C36LvKG
07:49 PM perry_j1987: yep same spot i commented it out in mine
07:49 PM perry_j1987: get a propane genny :P
07:50 PM veegee: Still a no no :(
07:50 PM perry_j1987: jdh ah you have a 6040 as well
07:50 PM veegee: I /could/ get this: https://www.cyberpowersystems.com/product/ups/smart-app-online/ol8krt/ but it's quite expensive
07:51 PM veegee: need to replace the shitty lead acid with a LiFePO4 bank as well
07:51 PM veegee: because lol 5 min runtime at 7kW.
07:52 PM veegee: and no idea what power it draws from the outlet. Would be too time consuming to modify that.
07:53 PM Rab: veegee, are you certain a lead-acid UPS can charge another chemistry faster without burning up?
07:54 PM veegee: yes
07:54 PM veegee: I actually don't need to charge it fast
07:54 PM veegee: in fact I want it to charge pretty slow
07:55 PM veegee: but all signs point to custom 350V battery bank and DIY inverter with IGBTs
08:04 PM veegee: flying spaghetti god bless LiFePO4 and LTO chemistries. Best chemistries we have today. Well other than flooded NiCd but unfortunately too toxic :(
08:05 PM veegee: and NiFe too big and heavy and slow, but they last forever
08:14 PM infornography: holy crap, nema34 are WAY bigger than 23s
08:18 PM SpeedEvil is now known as Guest6698
08:32 PM gregcnc: veegee how fast can you charge if you only have a 15A outlet? What is this application powerwall type thing?
08:33 PM veegee: gregcnc powering my workshop in a storage unit haha
08:33 PM veegee: so powering vertical mill, air compressor, dust extractor at the same time
08:33 PM gregcnc: get a unit with power?
08:33 PM veegee: it has a 15 amp outlet
08:33 PM veegee: need 10kW peak
08:34 PM veegee: but continuous power is more like 1kW. Just can't run more than one appliance at the same time. For example need to run air compressor and mill and dust extractor at the same time
08:34 PM veegee: or miter saw + dust extractor not possible with a standard 15A outlet
08:35 PM veegee: the cuts I make are short obviously, so emphasis on peak power. That's why LiFePO4 bank and custom inverter are the best way to go. They'll easily supply the peak power needed and charge off the 15A outlet continuously without tripping the 15A breaker
08:35 PM gregcnc: and you've calculated kWh and charge time?
08:35 PM veegee: 5kWh is more than enough
08:36 PM veegee: need to stack cells to 350V though to get the 240V AC output without power magnetics
08:36 PM gregcnc: you've seen the valence batteries?
08:36 PM gregcnc: find a surplus source
08:37 PM veegee: yeah that's what I'm looking for
08:37 PM veegee: the A123 cylindrical cells like ANR26650M1B are perfect
08:37 PM gregcnc: not cells
08:37 PM veegee: I know, the packs, but that can get expensive
08:37 PM veegee: I can spot weld my own packs no problem
08:37 PM gregcnc: https://www.ebay.com/itm/124065326172
08:38 PM gregcnc: i guess medical swap these out regularly
08:38 PM veegee: yeah that's good, but 138Ah is too much
08:38 PM veegee: because I need to stack in series to get 350V
08:38 PM gregcnc: they make smller ones
08:38 PM veegee: so need to get much smaller capacity
08:39 PM veegee: but thanks, wasn't aware you can get them much cheaper on ebay. I'll look for the smaller ones
08:39 PM veegee: I really really really want to avoid any kind of power magnetics so the high voltage is a requirement :(
08:39 PM gregcnc: you can get them even cheaper from the source
08:40 PM gregcnc: I think you can run a phase perfect on DC
08:40 PM gregcnc: but that's not cheap
08:40 PM veegee: I do n't need a phase converter
08:40 PM gregcnc: surplus stuff is out there
08:40 PM perry_j1987: veegee https://www.ebay.com/itm/Nissan-Leaf-Solar-EV-Battery-G1-Module-Lithium-Ion-3-kWh-Lot-of-6/123303287202?hash=item1cb572d9a2:g:nLcAAOSwvRdbbdSo
08:41 PM veegee: I just need 240V AC single phase that can burst up to 10kW
08:41 PM veegee: yeah I was looking at used leaf batteries
08:41 PM veegee: but they're not LiFePO4 and you need to baby them
08:47 PM veegee: and nissan doesn't know how to manage li ion cells properly so most of them are severely degraded
08:47 PM perry_j1987: i got a buddy who has tesla batteries on his boat for his trolling motor lol
08:47 PM veegee: yeah as much as I hate tesla, they know how to engineer their battery management systems
08:47 PM veegee: that's the way to go if you can get a tesla pack for a good price
08:48 PM veegee: I guess I'll stack cells to 170V then
08:49 PM veegee: can get away with high voltage MOSFETS then maybe instead of IGBTs
08:50 PM veegee: dirty_d I'd pick an arbitrary pin and set it up to trigger on that
08:50 PM gregcnc: https://www.amazon.com/Power-Inverter-Charger-240Vac-Output/dp/B00O805FO4
08:51 PM veegee: gregcnc whaaaaaaaat how'd you find that, I was searching for something like that forever. How are they doing 10kW in < 150lb
08:52 PM veegee: don't you need huge inductors or transformers for that?
08:52 PM gregcnc: i was looking for smaller ones earlier this year
08:52 PM gregcnc: "inverter charger" was the key
08:53 PM veegee: 48V -> 240V has peak inductor/winding current of > 200A
08:54 PM gregcnc: details are beyond me. The well known solar companies also offer these, but will cost quite a bit more.
08:55 PM gregcnc: however you'd want to look into exactly how autortransfer works. I was trying to find something for battery backup, but not UPS spec
08:57 PM veegee: ok nice, thanks, that looks like it solves my problem
08:58 PM veegee: selectable charge current is great. Just need 48V battery bank now
09:48 PM BitEvil is now known as SpeedEvil
09:55 PM sync: veegee: why would you need 150lb of scrap?
09:55 PM sync: you can easily do 20kW in a shoebox
09:55 PM sync: with lots of filtering, maybe 1.5 shoeboxen
10:06 PM Rab: Just make everything treadle-powered.
10:10 PM ve7it: _unreal_, whats up?
10:21 PM veegee: sync how?
10:21 PM veegee: I mean if you have a high voltage DC source, sure
10:22 PM veegee: all you need is a H bridge with IGBTs and a simple controller and you're good to go
10:22 PM veegee: anything less than that and you need to step up the DC voltage somehow and that needs power magnetics
10:22 PM SpeedEvil: https://www.aliexpress.com/item/32953432303.html?spm=a2g0s.9042311.0.0.61824c4dT51PJL
10:23 PM SpeedEvil: related
10:23 PM SpeedEvil: https://www.lz2gl.com/data/power-inverter-3kw/eg8010_datasheet_en.pdf
10:23 PM sync: veegee: you boost to 400V dclink or so and then use a h bridge
10:23 PM veegee: sync how do you boost to 400V?
10:24 PM SpeedEvil: https://www.aliexpress.com/item/32755579418.html?spm=a2g0o.cart.0.0.33323c00p9YrjR&mp=1
10:24 PM sync: with a boost converter
10:24 PM veegee: yeah that takes power magneti s
10:24 PM sync: or a transformer, but usually a boost
10:24 PM veegee: exactly. You need an inductor with > 200A peak current capability
10:24 PM veegee: or a big transformer
10:24 PM sync: yeah, that's not too much of an issue tho
10:24 PM sync: or multiphase
10:25 PM SpeedEvil: https://www.aliexpress.com/item/32662309044.html
10:25 PM SpeedEvil: 500W modular units are available
10:25 PM SpeedEvil: The inverter is just the above mentioned h-bridge
10:25 PM veegee: sync it pretty much has to be multi phase
10:26 PM sync: I have a power supply in front of me that is pushing ~4.5kW through a 60x60x60mm transformer
10:26 PM veegee: well high voltages are easy in small transformers
10:26 PM sync: so are high currents
10:26 PM veegee: how?
10:26 PM veegee: you need huge windings
10:27 PM * SpeedEvil is currently finalising design for ~12kW DC-AC charger/inverter
10:27 PM sync: sure, where's the problem?
10:27 PM veegee: that's the problem, I want to avoid big power magnetics
10:27 PM sync: why?
10:27 PM veegee: Ideally I'd like to keep it compact
10:27 PM sync: they are suprisingly small for that power class
10:27 PM sync: just don't use 80s legacy magnetic materials
10:28 PM SpeedEvil: The above 500W boost board is ~300g
10:28 PM veegee: also with high boost ratios, you have high duty cycle in the switch
10:28 PM veegee: might need to go multi stage
10:28 PM SpeedEvil: Not with a forward converter into a mostly unregulated HVDC bus
10:28 PM sync: well, you can push over 200A through a single device
10:28 PM sync: quite easily nowadays
10:29 PM veegee: what coil?
10:29 PM veegee: coilcraft for example doesn't have anything rated for that current
10:29 PM sync: yes, you wind by hand
10:29 PM veegee: yeah I know it's *possible*, I'm just looking for the most simple reasonable solution
10:29 PM SpeedEvil: See the last one I linked for a 1kW 12-380V one
10:30 PM SpeedEvil: And yes, there is no particular reason you shouldn't hand-wind
10:30 PM sync: I think a transformer would be the easiest, fullbridge on the primary
10:30 PM SpeedEvil: the EG8010 has a companion full-bridge DC chip
10:30 PM sync: and some double varnished magnet wire so you can run that shit hot
10:31 PM veegee: yeah transformer would be easiest true
10:31 PM SpeedEvil: it's meant to do a 12(or whatever) - 380V DC bus, then the eg8010 h-bridge+PWM +filter LC
10:31 PM SpeedEvil: Even has LCD out and serial control
10:32 PM veegee: SpeedEvil ok thanks let me take a look
10:32 PM SpeedEvil: Almost literally all you need to do is to pick an appropriate transformer, and FETs/heatsinks for both h-bridges
10:32 PM veegee: how is it getting from 12 to 380V DC?
10:33 PM SpeedEvil: I am choosing to go the somewhat odd route of derating the 8A FETs to 1A, and running them without heatsinks in oil.
10:33 PM veegee: oh you need to input up to 380V
10:33 PM SpeedEvil: A transformer.
10:33 PM SpeedEvil: (though in my case, 36V)
10:33 PM veegee: at 10kW, those are some big currents
10:33 PM SpeedEvil: yes.
10:34 PM veegee: all of this is easy if you have the right transformer. I just want to avoid having to buy/wind that
10:34 PM SpeedEvil: Steal it.
10:34 PM SpeedEvil: The above is $20, shipped, for 1kW.
10:35 PM SpeedEvil: May you get more efficient if you carefully choose a proper core, perhaps yes.
10:36 PM sync: hmm, at 500kHz the L you need is getting nice and smol
10:37 PM sync: but you want some galvanic isolation somewhere
10:37 PM veegee: why?
10:38 PM veegee: Orrrrrr avoid ALL of this and just give it a 350V DC battery source
10:38 PM veegee: prawwbhremm solved
10:43 PM veegee: Hmmm I'm looking into linear tech polyphase step up controllers
10:43 PM veegee: might need to go full custom on this one with a microcontroller and everything
10:43 PM veegee: I never custom built a polyphase step up converter
10:43 PM veegee: single phase is easy, but now I need to study how the multi phase stuff works
11:02 PM SpeedEvil: https://imgur.com/gallery/btc9A5P When your shaper is too small
11:04 PM fjungclaus1 is now known as fjungclaus
11:18 PM veegee: yup nothing like work hardened sheet metal
11:24 PM perry_j1987: what are you two talking about?
11:24 PM perry_j1987: thats how they make some types of heatsinks?
11:25 PM SpeedEvil: ys
11:26 PM unterhaus: there is amethod of making heatsinks other than extrusion?
11:28 PM unterhaus: I looked up a heat exchanger we use. Manufacturer says it is serviceable, but no instructions about what that means
11:29 PM unterhaus: it is in a hydraulic unit, looks like pull and replace to me
11:41 PM sync: unterhaus: lots of methods