#linuxcnc Logs

Jan 04 2023

#linuxcnc Calendar

12:23 AM sensille: Bleepshop: do you have the card connected back-to-back?
12:36 AM -!- #linuxcnc mode set to +v by ChanServ
12:54 AM randy: morning
01:31 AM Deejay: moin
02:51 AM -!- #linuxcnc mode set to +v by ChanServ
03:34 AM solarwind: CaptHindsight[m] I've decided to build a new stepper driver based on field oriented control
03:34 AM solarwind: I'm going to base it on the simpleFOC library. That guy does really good work
03:34 AM solarwind: I'll see if I can make an integrated unit in the size you're looking for
03:35 AM solarwind: It'll essentially turn the stepper motor into a "servo" where it doesn't treat the "steps" any differently from aligned poles in an AC servo
03:35 AM solarwind: That should give you both very high performance and quiet operation at high speed
03:36 AM solarwind: and instead of losing a step, it'll just smoothly backdrive and return to required position
03:42 AM jpa-: what is the advantage compared to using a FOC driver with a similar sized BLDC motor?
03:48 AM jpa-: years ago, there was a project called "Mechaduino" that did that stepper + feedback thing, but the firmware was pretty bad and the stepper drivers had pretty low maximum current, so it didn't give good performance for me
03:49 AM travis_farmer[m]: G'Morning, seems to be raining here...
04:13 AM He[m]1: interesting, I'll run through the network section of the bios as well, a lot of the latency in the feedback loop seems to have been caused by the irq-coalescing, went from 5 down to 2 ms
04:20 AM Tom_L: morning
04:26 AM He[m]1: And morning btw 🥲
04:41 AM He[m]1:  PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.
04:41 AM He[m]1: 64 bytes from 10.10.10.10: icmp_seq=1 ttl=64 time=0.366 ms
04:41 AM He[m]1: 64 bytes from 10.10.10.10: icmp_seq=2 ttl=64 time=0.395 ms
04:41 AM He[m]1: 64 bytes from 10.10.10.10: icmp_seq=3 ttl=64 time=0.395 ms
04:41 AM He[m]1: 64 bytes from 10.10.10.10: icmp_seq=4 ttl=64 time=0.346 ms
04:41 AM He[m]1: 64 bytes from 10.10.10.10: icmp_seq=5 ttl=64 time=0.144 ms
04:41 AM He[m]1: 64 bytes from 10.10.10.10: icmp_seq=6 ttl=64 time=0.141 ms
04:41 AM He[m]1: 64 bytes from 10.10.10.10: icmp_seq=7 ttl=64 time=0.399 ms
04:41 AM He[m]1: 64 bytes from 10.10.10.10: icmp_seq=8 ttl=64 time=0.392 ms
04:41 AM He[m]1: 64 bytes from 10.10.10.10: icmp_seq=9 ttl=64 time=0.390 ms
04:41 AM He[m]1: 64 bytes from 10.10.10.10: icmp_seq=10 ttl=64 time=0.391 ms
04:41 AM He[m]1: 64 bytes from 10.10.10.10: icmp_seq=11 ttl=64 time=0.394 ms
04:41 AM He[m]1: 64 bytes from 10.10.10.10: icmp_seq=12 ttl=64 time=0.394 ms
04:41 AM He[m]1: 64 bytes from 10.10.10.10: icmp_seq=13 ttl=64 time=0.408 ms
04:41 AM He[m]1: s//``/, s/^[[A64/64/, s//``/
04:41 AM He[m]1: *  PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.
04:41 AM He[m]1: 64 bytes from 10.10.10.10: icmp_seq=1 ttl=64 time=0.366 ms
04:41 AM He[m]1: 64 bytes from 10.10.10.10: icmp_seq=2 ttl=64 time=0.395 ms
04:41 AM He[m]1: 64 bytes from 10.10.10.10: icmp_seq=3 ttl=64 time=0.395 ms
04:41 AM He[m]1: 64 bytes from 10.10.10.10: icmp_seq=4 ttl=64 time=0.346 ms
04:41 AM He[m]1: 64 bytes from 10.10.10.10: icmp_seq=5 ttl=64 time=0.144 ms
04:41 AM He[m]1: 64 bytes from 10.10.10.10: icmp_seq=6 ttl=64 time=0.141 ms
04:42 AM He[m]1: 64 bytes from 10.10.10.10: icmp_seq=7 ttl=64 time=0.399 ms
04:42 AM He[m]1: 64 bytes from 10.10.10.10: icmp_seq=8 ttl=64 time=0.392 ms
04:42 AM He[m]1: 64 bytes from 10.10.10.10: icmp_seq=9 ttl=64 time=0.390 ms
04:42 AM He[m]1: 64 bytes from 10.10.10.10: icmp_seq=10 ttl=64 time=0.391 ms
04:42 AM He[m]1: 
04:42 AM He[m]1: Yup, Sometimes it has alright ping
04:42 AM He[m]1: there's not any bios settings for the NIC on this HP prodesk tho
04:44 AM sensille: same question, the card is connected back-to-back?
04:47 AM He[m]1: The mesa card is plugged directly into the PC if that's what you mean
04:49 AM sensille: yes
04:51 AM He[m]1: AMT is present but unprovisioned
04:58 AM JT-Cave: morning
05:00 AM He[m]1: Mornin'
05:01 AM He[m]1: Disabled ME but AMT still seems enabled
05:06 AM He[m]1: Well it's disabled but it didn't seem to do much
05:07 AM JT-Cave: intel nic?
05:09 AM He[m]1: Yeah
05:10 AM He[m]1: Think I disabled IRQ coalescing yesterday and it improved things a lot yesterday
05:13 AM sensille: as a comparison: 64 bytes from 10.10.10.10: icmp_seq=5 ttl=64 time=0.080 ms
05:15 AM He[m]1: 0.3ms seems REALLY high then
05:16 AM JT-Cave: https://gnipsel.com/linuxcnc/debian-11-eth.html
05:17 AM He[m]1: # This file describes the network interfaces available on your system... (full message at <https://libera.ems.host/_matrix/media/v3/download/libera.chat/5eea88e730c00cc8938d1126cb5469b5ecebfe1c>)
05:17 AM He[m]1: That's what I got in the interfaces file
05:17 AM He[m]1: * .
05:17 AM He[m]1: That's what I got in the interfaces file
05:21 AM JT-Cave: that looks correct
05:26 AM He[m]1: Odd that it would have high latency then
05:38 AM He[m]1: Oh uh hmm
05:38 AM He[m]1: I had to cd into the /user/sbin/ directory and run
05:38 AM He[m]1: sudo ethtool -C eno1 rx-usecs 0
05:38 AM He[m]1: And now ping seems to hover around 0.117
05:41 AM He[m]1: Also had to manually install ethtool
05:43 AM He[m]1: cnc@CNC:/usr/sbin$ sudo ethtool -C eno1 rx-usecs 0
05:43 AM He[m]1: [sudo] password for cnc:
05:43 AM He[m]1: rx-usecs unmodified, ignoring
05:43 AM He[m]1: no coalesce parameters changed, aborting
05:43 AM He[m]1: 
05:43 AM He[m]1: Seems to stick on restart now
05:43 AM He[m]1: cnc@CNC:/usr/sbin$ ping 10.10.10.10
05:43 AM He[m]1: PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.
05:43 AM He[m]1: 64 bytes from 10.10.10.10: icmp_seq=1 ttl=64 time=0.257 ms
05:43 AM He[m]1: 64 bytes from 10.10.10.10: icmp_seq=2 ttl=64 time=0.207 ms
05:43 AM He[m]1: 64 bytes from 10.10.10.10: icmp_seq=3 ttl=64 time=0.141 ms
05:43 AM He[m]1: 64 bytes from 10.10.10.10: icmp_seq=4 ttl=64 time=0.137 ms
05:43 AM He[m]1: 64 bytes from 10.10.10.10: icmp_seq=5 ttl=64 time=0.209 ms
05:43 AM He[m]1: 64 bytes from 10.10.10.10: icmp_seq=6 ttl=64 time=0.198 ms
05:43 AM He[m]1: 64 bytes from 10.10.10.10: icmp_seq=7 ttl=64 time=0.142 ms
05:43 AM He[m]1: 64 bytes from 10.10.10.10: icmp_seq=8 ttl=64 time=0.139 ms
05:43 AM He[m]1: 64 bytes from 10.10.10.10: icmp_seq=9 ttl=64 time=0.142 ms
05:43 AM He[m]1: 64 bytes from 10.10.10.10: icmp_seq=10 ttl=64 time=0.200 ms
05:43 AM He[m]1: 64 bytes from 10.10.10.10: icmp_seq=11 ttl=64 time=0.209 ms
05:44 AM He[m]1: 64 bytes from 10.10.10.10: icmp_seq=12 ttl=64 time=0.205 ms
05:52 AM He[m]1: Think I might do a fresh install at this point
06:05 AM Tom_L: use paste.debian.net for more than a few lines
06:17 AM He[m]1: Alright
07:01 AM JT-Cave: what Tom_L said
07:05 AM JT-Cave: geez I should have washed the car yesterday it's going to be in the 40's today
07:07 AM Tom_L: i need to
07:08 AM Tom_L: but it looked like rain so i waited
07:10 AM JT-Cave: last wednesday we went for a ride and lunch and the road was covered with hard packed snow when we got back it was mud
07:21 AM beef[m]: This is still correct as of v2.9? ```1. Although tool numbers up to 99999 are allowed, the number of entries in the tool table, at the moment, is still limited to a maximum of 56 tools for technical reasons. The LinuxCNC developers plan to remove that limitation eventually. If you have a very large tool changer, please be patient.```
07:32 AM JT-Cave: http://linuxcnc.org/docs/2.9/html/tooldatabase/tooldatabase.html
07:32 AM JT-Cave: http://linuxcnc.org/docs/2.9/html/gcode/tool-compensation.html#sec:tool-table
07:53 AM pere: can <URL: https://github.com/makerbase-mks/MKS-DLC32/ > be used with linuxcnc?
07:54 AM jpa-: pere: not in a meaningful way
07:54 AM pere: perhaps a better strategy for being patient to get support for more tools, is to hire someone to improve the situation?
07:59 AM beef[m]: Reading what JT-Cave posted, it appears that the maximum number has been increased to 1000 ... and if it's not enough then the Tool Database he linked allows use of multiple Tool Tables\
07:59 AM beef[m]: Thanks for the information JT-Cave, I appreciate it
07:59 AM ZincBoy[CAON][m]: Yes, I currently have 78 tools in my tool table on 2.8 and it works fine.
08:00 AM travis_farmer[m]: i have often thought it would be neat to use a Arduino CNC (GRBL) board, with modified code, to create a tool changer system, but i gave up on the thought when i learned there was no way really to feed Gcode to the GRBL board from LCNC. though i suppose a comp file could do it, but would have no status feedback...
08:01 AM beef[m]: My gut here would be to use a python interface, handling the g-code interpretation on your PC side and sending more accessible instructions to the Arduino side, but it seems pretty complex
08:01 AM travis_farmer[m]: yeah, i would use just LCNC now
08:02 AM beef[m]: I haven't played with ATC yet, I've pretty happy with my manual tool changes using a toolsetter and subroutine
08:02 AM JT-Cave: beef[m], yw
08:03 AM beef[m]: I had a fun adventure the first time using the toolsetter when Fusion360 called G30 and crashed my spindle into toolsetter though ... oops
08:04 AM beef[m]: A little soldering later and he's ... acceptably working 90% of the time but 10% of the time he sticks 1 tick too long or something and feeds a "probe tripped during non-probe move" error on the 2nd feed
08:04 AM beef[m]: I have a new toolsetter on the way anyway 😅
08:05 AM beef[m]: not 2nd feed, on the 2nd touch (50mm/min) since first one is at 300mm/min
08:05 AM sensille: is there any need for a tool table, when i do manual changes with a tool setter and don't use cutter compensation?
08:07 AM sensille: beef[m]: did you follow any instructions how to setup the setter? i'm still researching options for mine, especially in combination with a touch probe
08:07 AM beef[m]: In a sense, not really. I just like to be organized and keep track of everything, and for instance I have each cutter set up with 3 different tool numbers based on whether he's cutting wood/alu/steel, so that Fusion can auto-select a reasonable F/S out of the gate
08:07 AM beef[m]: That's exactly what I'm doing, what version of LCNC do you have?
08:08 AM ZincBoy[CAON][m]: Only if you want to have more than one tool in a program. Tool numbers used in a program must exist in the tool table.
08:08 AM travis_farmer[m]: i wish i could setup a ATC chain magazine like this, but doubt i could ever afford it ;-) https://ktc-gmbh.de/wp-content/uploads/2019/07/M%C3%A4anderMagazin.jpg?x43179
08:08 AM beef[m]: That's ... a lot of tools lol
08:08 AM travis_farmer[m]: yeah, but would be fun to build :-)
08:09 AM beef[m]: Oh absolutely
08:09 AM sensille: beef[m]: currently 2.8.4 but running from rip, i can quite easily move to a different version
08:10 AM He[m]1: https://paste.debian.net/1266117/
08:11 AM He[m]1: There's the ping list, still pretty high compared to sensille's 0.08 ms
08:11 AM jpa-: it might be easier to afford to build the chain mechanism than to afford so many toolholders & tools :)
08:12 AM travis_farmer[m]: yeah, i will do something sort of similar i think. some sort of chain, with several ready pockets
08:12 AM sensille: He[m]1: just out of curiosity, how fast is ping 10.10.10.11?
08:12 AM travis_farmer[m]: in the meantime, manual changes with my ATC spindle will do
08:12 AM beef[m]: OK, I am using 2.9, but I am using Probe Basic for the subroutines, followed Joco-NZ's script here https://github.com/joco-nz/lcnc-bullseye-installer (although I am using LinuxMint so I had to make a couple adjustments), and then the subroutine/remap from https://github.com/TooTall18T/tool_length_probe, and finally https://github.com/TimPaterson/Fusion360-Batch-Post to add tool-changes and rapids back into the F360 free license. I'm drifting
08:12 AM beef[m]: closer and closer to FreeCAD every day for CAM, as I do all my CAD in Solidworks anyway
08:14 AM sensille: beef[m]: thanks, will take a closer look in the evening
08:15 AM beef[m]: I also set up the Probe and the Toolsetter on two separate inputs (I have a mesa card) and then ORed the inputs in .hal for ... I think it was called `probe-in` or something in hal ... but sensille I'm still somewhat fresh into the setup so feel free to hit me up and I can probably help out.
08:15 AM ZincBoy[CAON][m]: motion.probe-input
08:15 AM beef[m]: that sounds correct
08:16 AM He[m]1: https://paste.debian.net/1266118/
08:16 AM He[m]1: aroun 0.05 with an outlier of 0.138
08:16 AM sensille: beef[m]: same here, two inputs, wired in hal
08:17 AM beef[m]: He² are you using a patch cable or connected through a router/switch?
08:18 AM He[m]1: Patch cable directly to the mesa card
08:18 AM He[m]1: Cat5e F/utp if that matters
08:20 AM sensille: He[m]1: that's already higher than here. i see around 20us
08:21 AM beef[m]: Easy enough. From the tool_length_probe github, I used `tool_touch_off.ngc`, `go_to_g30.ngc`, and `m600.ngc`, as well as the M600 remap in .ini. I found that he didn't appropriately pull the variables from Probe Basic (perhaps due to the version that I'm on) so I manually entered values into `tool_touch_off.ngc` (which is says to do anyway) and then it works great. Just don't call G30 along with toolchanges or it'll crash. The LinuxCNC
08:21 AM beef[m]: configuration for the Post-Process-All plugin recommends prepending it before toolchanges but it'll crash 100% of the time into the toolsetter as he tries to touch the spindle nose to the toolsetter
08:21 AM sensille: given that, your 200us should be fine?
08:22 AM He[m]1: Huh, maybe there's still some stuff to disable in the bios then
08:22 AM beef[m]: Do you have an intel NIC or motherboard?
08:22 AM He[m]1: Yeah, already disabled coalescing as well
08:23 AM He[m]1: And AMT
08:23 AM beef[m]: OK
08:31 AM He[m]1: Just a bum NIC? Or is there more stuff I can disable?
08:32 AM He[m]1: I don't know really, been trying to minimize the lag from generating a step to receiving an encoder pulse
08:32 AM He[m]1: that seems to be at aroun 1 ms (1 servo period)
08:32 AM He[m]1: s/aroun/around/
08:33 AM sensille: 1ms should be the minimum achievable with a 1ms servo period
08:35 AM sensille: step gets sent during one run, feedback gets collected during the next
08:45 AM He[m]1: That seems good then
08:47 AM He[m]1: thanks for putting up with my questions so far as well
10:23 AM pcw---home: Stepgen Velocity command and feedback are done every cycle, there is no 1 ms delay between them
10:25 AM pcw---home: every servo thread invocation, feedback data is read and new velocity data is written by the read and write functions
10:28 AM pcw---home: basically read, calculate, write as fast as possible then wait for the next servo thread
10:29 AM sensille: what i meant is: the step cmd is sent to the card, executed. the feedback from the encoder is read in the next cycle
10:29 AM sensille: is that wrong?
10:30 AM sensille: the feedback as a reaction to the sent command
10:31 AM sensille: you can't get a feedback from the stepper after for example 200uS after the step is sent
10:34 AM pcw---home: That's the order, read, calculate, write, wait to next ms
10:36 AM pcw---home: yes, a slow device may not respond in that time, but for best control bandwidth you want to minimize the time between reading feedback a writing a new command
10:36 AM sensille: the 1ms i was referring to was the time from a write to the next read
10:39 AM pcw---home: yes, that will be close to 1 ms
11:07 AM skunkworks[m]: pcw--home: what solder paste do you like?
11:28 AM He[m]1: So if I'm reading this right the time from an issued step command to the encoder feedback going back should indeed be 1 cycle?
11:31 AM ZincBoy[CAON][m]: The shortest it can be is 1 cycle. If there is any delay in the translation from command to encoder output it will increase this. I would not be surprised to see at least 1ms additional due to physical limits.
11:38 AM He[m]1: Yeah okay I think i understand this now
11:39 AM He[m]1: Physical limits like Inertia/loose pid increasing the delay n
11:39 AM He[m]1: Makes sense to me
11:40 AM He[m]1: s/n/makes/, s/Makes//
11:40 AM He[m]1: Just want to make sure I'm starting with a good baseline with nothing attached to the motor shaft
11:48 AM CaptHindsight[m]: solarwind: wish you much success
11:49 AM pcw---home: skunkworks[m]: for protos I use the 137C stuff
11:51 AM pcw---home: easy to solder with hot air without damaging SMT LEDs plastic connectors etc
11:51 AM pcw---home: not a good choice for high power parts
11:52 AM ZincBoy[CAON][m]: @pcw---home, any of the lead-free pastes as good or better than the lead based pastes? I still use lead based paste for my home stuff since it is much more forgiving but I haven't evaluated the lead-free options in the last decade 🙂
11:54 AM * travis_farmer[m] only has skill and patients for through-hole soldering... SMT is just too dang small! ;-)
11:54 AM skunkworks[m]: pcw--home: Thanks!
11:55 AM pcw---home: I don't use standard lead free here, our assy house does. The 137C stuff seem fine for protos, I haven't had any issues with it
11:57 AM travis_farmer[m]: BTW pcw---home , thanks for shipping! i look forward to it :-)
12:05 PM travis_farmer[m]: though i just realized maybe the 7i87 may have worked better... perhaps some other time, when i have more money... :-)
12:07 PM travis_farmer[m]: though i don't see a HAL component for the 7i87...
12:09 PM pcw---home: sserial devices don't have any specific driver or hal support
12:10 PM travis_farmer[m]: Hmmm...
12:11 PM pcw---home: there is support for some via the configuration utilities
12:11 PM travis_farmer[m]: yeah, i see at the bottom "TODO: Add 7i77, 7i66, 7i72, 7i83, 7i84, 7i87."
12:12 PM pcw---home: basically you connect a sserial device and its hal pins appear at startup
12:12 PM travis_farmer[m]: oh, they do? cool
12:18 PM pcw---home: like:
12:18 PM pcw---home: 39 float OUT 0.055 hm2_7i96s.0.7i87.0.0.analogin0
12:18 PM travis_farmer[m]: how do i setup sserial on my 7i80HD-16?
12:19 PM pcw---home: You need a RS-422 interface
12:20 PM pcw---home: either a card(say 7I44) or homemade
12:21 PM travis_farmer[m]: how would the homemade one be setup? (getting very intrigued)
12:23 PM pcw---home: basically just a SP491
12:25 PM travis_farmer[m]: hmmm, thats surface mount... i don't do well with surface mount soldering ;-) but i will keep looking into it
12:26 PM pcw---home: you could use a dip equivalent
12:26 PM sensille: travis_farmer[m]: you don't normally do that by hand. using reflow it is fun. and magic :)
12:26 PM travis_farmer[m]: yeah, i am looking already ;-)
12:27 PM travis_farmer[m]: sensille: and expensive to get started in ;-)
12:27 PM sensille: just place the components, put it in an oven and watch the magic unfold
12:27 PM pcw---home: you could make a 4 channel adapter with a 26ls31 and a 26ls32
12:27 PM sensille: travis_farmer[m]: not really. a pizza oven for $30.
12:28 PM skunkworks[m]: or
12:28 PM skunkworks[m]: https://electronicsam.com/images/greenmachine/20190315_163044.jpg
12:29 PM skunkworks[m]: https://electronicsam.com/images/greenmachine/20190316_104642.jpg
12:30 PM skunkworks[m]: I think that was interfacing with stmbl drive
12:32 PM skunkworks[m]: this was cool... https://electronicsam.com/images/greenmachine/20190403_175734.jpg
12:32 PM skunkworks[m]: walking down memory lane..
12:34 PM roguish[m]: good morning. does anyone know if it's possible to change a .var parameter via a gcode program??? how?
12:34 PM skunkworks[m]: #number = something?
12:36 PM travis_farmer[m]: pcw---home: would this premade board be compatible? https://www.ebay.com/itm/284109386926
12:37 PM skunkworks[m]: https://linuxcnc.org/docs/html/gcode/overview.html#_parameters
12:38 PM roguish[m]: skunkworks: thanks. figured it was somewhere
12:45 PM pcw---home: <travis_farmer[m]: probably
12:46 PM pcw---home: You also need 5V and GND on the serial side (so 6 wires minimum)
12:49 PM travis_farmer[m]: yes, i saw that in the 7i87 pdf, that 5v was needed :-)
01:13 PM Tom_L: roguish[m], on var parameters maybe you can get something from cradek's probe routine: http://tom-itx.no-ip.biz:81/~webpage/cnc/cradek/probe_code_test.txt
01:15 PM roguish[m]: thanks
01:23 PM Alden[m]: So, I’m going to use a floating head and thcad-10. I’m use to having to set up plasmac, but it’s been a bit. Is plasmac outdated or would I use something else to configure the thcad-10 and floating head?
01:59 PM JT[m]1: I just run a subroutine for the floating head
02:02 PM Tom_L: JT[m]1, you wouldn't happen to know what python plugin remap would require?
02:03 PM -!- #linuxcnc mode set to +v by ChanServ
02:03 PM Tom_dev: iNTERP_REMAP: Python plugin required for python=, but not available:
02:03 PM Tom_dev: REMAP INI line:100 = G88.6 modalgroup=1 argspec=XYZp py=g886
02:03 PM JT[m]1: I've never messed with remap
02:03 PM JT[m]1: Could be looking for python 2
02:03 PM Tom_L: i did but it's been a while and on a stable os
02:04 PM Tom_L: shouldn't be, it's 2.9.0~pre
02:04 PM Tom_L: i thought they converted to python 3 then
02:04 PM JT[m]1: Just a WAG
02:04 PM Tom_L: better than any of mine so far :)
02:05 PM JT[m]1: LOL
02:05 PM JT[m]1: Py=g886
02:06 PM Tom_L: what's that?
02:06 PM Tom_L: it's part of an axis demo
02:06 PM Tom_L: seb is trying to figure out
02:07 PM JT[m]1: That looks like the python plugin
02:07 PM Tom_L: g886 is a user gcode: G88.6
02:07 PM JT[m]1: Oh
02:07 PM Tom_dev: def g886(self, **words):
02:07 PM Tom_dev: part of it
02:08 PM JT[m]1: On my phone....
02:08 PM Tom_L: k
02:08 PM Tom_L: i feel a nap coming on anyway
02:09 PM JT[m]1: I can look when I get home
02:09 PM Tom_dev: ~/linuxcnc/configs/sim.axis.remap.getting-started
02:09 PM Tom_dev: demo.ini
02:09 PM JT[m]1: Ok
02:10 PM Tom_L: i remapped M6 when i was testing spindle orient but that's about it
02:54 PM Alden[m]: Why would I use a subroutine as opposed to setting up plasmac? Wouldn’t plasmac take care of the thcad-10?
03:04 PM travis_farmer[m]: currently downloading Debian 11... as soon as i find a usable hard drive, i plan on trying LCNC on a motherboard i had trouble with before, see if the new tweaks make it usable. my current LCNC computer is just so dang poor on graphics, it is stunning. this is just a test platform to start... maybe more if it goes well. be a project for tomorrow i think, anyway.
03:34 PM roycroft: lcnc isn't all that graphics-heavy
03:35 PM travis_farmer[m]: no, but when my computer has rock bottom basic graphics (it was designed as a rack server), it makes the graphics very jittery
03:38 PM roycroft: you can probably find a graphics card at the goodwill that will be an improvement
03:38 PM roycroft: assuming the machine has a spare pci slot
03:39 PM travis_farmer[m]: i don't think it has any spare PCIe slots, the SAS drive controller is taking the PCIe slot it has
03:40 PM roycroft: that makes it more challenging
03:41 PM travis_farmer[m]: yes, hence why i am exploring this option ;-)
03:41 PM travis_farmer[m]: besides, not like i have much better to do ;-)
03:41 PM roycroft: i'm trying to explain something to my boss right now, and it's not going well
03:42 PM roycroft: he wants a ups for his new toy - an old as400
03:42 PM roycroft: he wants to pay nothing for it
03:42 PM roycroft: i looked up how much power it needs, and spec'ed a ups that will provide that much power
03:42 PM roycroft: he wants to spend less money, and told me to find a smaller one
03:42 PM travis_farmer[m]: lol
03:43 PM roycroft: i finally convinced him that what i spec'ed was the minimum for that machine
03:43 PM roycroft: but i reminded him for like the 10th time that we have a bunch of rack mount upses that came out of our old data center
03:43 PM roycroft: they need batteries, but we could use one of those
03:43 PM travis_farmer[m]: check eBay for used ones with no batteries, then just but new batteries. it is a little cheaper
03:43 PM roycroft: the problem is that we have no spare power for the as400, ups or not
03:44 PM roycroft: an we need a circuit pulled to the rack in the office
03:44 PM travis_farmer[m]: ouch
03:44 PM roycroft: he finally agreed to that, but wanted me to use the 120vac 30@ ups that we ahve
03:44 PM roycroft: i tested that and it's dead
03:44 PM roycroft: like not worth fixing dead
03:44 PM roycroft: but we have several 240v 30a upses
03:44 PM roycroft: that deliver 120v
03:44 PM roycroft: but twice the power as the 120v model
03:45 PM roycroft: i'm trying to convince him to have a 240v circiut pulled instead of a 120v circuit
03:45 PM roycroft: and he keeps saying that will cost twice as much
03:45 PM travis_farmer[m]: lol
03:45 PM roycroft: and i keep telling him it will cost the same, as long as the amperage is the same
03:45 PM roycroft: he's not getting it at all
03:46 PM roycroft: i may be incorrect
03:46 PM travis_farmer[m]: and he is the boss? ;-)
03:46 PM roycroft: a 240v circuit breaker might cost $20 or so more than a 120v circuit breaker
03:46 PM roycroft: but the wiring will be EXACTLY THE SAME
03:46 PM ZincBoy[CAON][m]: For a given power, the 240 circuit will cost less than the 120 assuming you can go with a lower gauge wire.
03:46 PM roycroft: all the upses are 30a
03:46 PM roycroft: so the wiring will be exactly the same
03:47 PM roycroft: the 120v circuit will use a single pole breaker and an l5-30 receptacle
03:47 PM ZincBoy[CAON][m]: Yup. then no real difference in the cost.
03:47 PM travis_farmer[m]: i wish i had a 30A UPS :-( just a little rack model for my servers
03:47 PM roycroft: the 240v circuit will use a duplex breaker an an l6-30 receptacle
03:47 PM roycroft: l6-30 receptacles are actually less expensive than l5-30
03:47 PM ZincBoy[CAON][m]: I just know that I really like 600V as you can run pretty much everything of 14ga wire 🙂
03:47 PM roycroft: so the cost savings in the receptacle will mostly offset the extra cost of the breaker
03:48 PM roycroft: for this run it will be 10ga thhn for a 120v@30a circuit
03:48 PM roycroft: and 10ga thhn for a 240v@30a circuit
03:48 PM roycroft: and it will run in the same conduit no matter the voltage
03:49 PM roycroft: it's really frustrating trying to explain this
03:49 PM roycroft: especially since he's not just a software person, he has owned rental houses all his life, and remodels/repairs them all the time
03:49 PM roycroft: even if he doesn't do his own electrical work, he's had enough of it done over the years that he should know this
03:50 PM ZincBoy[CAON][m]: Quite possible that he has been taken by his electrical contractor for all that time 🙂
03:51 PM roycroft: possibly
03:51 PM ZincBoy[CAON][m]: I mean, it sounds right that a 240V cct would cost twice as much as a 120V cct. It is double after all 🙂
03:51 PM roycroft: i have this big problem
03:51 PM roycroft: i can't lie about that kind of stuff
03:52 PM roycroft: *chuckle*
03:53 PM roycroft: faux news have turned off the peanut gallery during the speakership election fiasco
03:55 PM CaptHindsight[m]: pretty sad that it's not actually a comedy sketch
03:57 PM travis_farmer[m]: dang, my first debian ISO burn to flash-drive failed... now i gotta write it all over again...
03:58 PM Tom_L: aww
03:58 PM travis_farmer[m]: hey, it takes a while to burn 3GB to a USB2.0 drive :-P
03:59 PM Tom_L: more time to chat
03:59 PM ZincBoy[CAON][m]: In my experience, if a flash drive fails during that step it is best to throw it out. Usually means the drive is dead or dying.
03:59 PM travis_farmer[m]: apparently, LOL
03:59 PM travis_farmer[m]: could be, Zinc
04:00 PM roycroft: depends on how you're burning it
04:00 PM roycroft: if you're burning with 2k block sizes it will take a very long time
04:00 PM travis_farmer[m]: using Rufus on winblows
04:00 PM roycroft: i have no idea about that
04:00 PM travis_farmer[m]: 4k
04:01 PM roycroft: dd if=file.iso bs=1M of=/dev/rdisk?
04:01 PM roycroft: that's how i do it :)
04:01 PM roycroft: up your block size to at least 1MB
04:01 PM roycroft: 2MB would be better
04:01 PM travis_farmer[m]: yeah, my linux laptop is packed away somewhere...
04:01 PM XXCoder: yah please make sure its larger. your pc got rooooom for it
04:01 PM roycroft: well see if that rufus softwar lets you adjust the block size
04:01 PM CaptHindsight[m]: roycroft: does dd work in wendows now?
04:02 PM roycroft: in windows 10, i think it does
04:02 PM roycroft: if you install the linux cli stuff
04:02 PM Tom_L: rufus works
04:02 PM CaptHindsight[m]: my windows goes up to 11
04:02 PM roycroft: if rufus lets one set the block size than i'd use that
04:02 PM travis_farmer[m]: goes up to 32K
04:03 PM roycroft: since it's already there
04:03 PM roycroft: 32k is still tiny, but it's 8x as big as 4k
04:03 PM roycroft: so it should be substantially faster
04:03 PM travis_farmer[m]: is there supposed to be smoke comming from the flash drive? (kidding ;-) )
04:04 PM roycroft: with most of those file copy programs, you read a block, checksum the block, write the block, read it back from the destination, checksum it, and compare the checksums
04:04 PM roycroft: then move on to the next block
04:04 PM roycroft: the computational part is really fast
04:04 PM CaptHindsight[m]: Rufus sounds like a derogatory name from the 70's
04:04 PM roycroft: the scribbling and reading part not so fast
04:05 PM CaptHindsight[m]: "that Rufus, took all the soap"
04:05 PM roycroft: especially when it's stop and go
04:05 PM XXCoder: or just dog name
04:05 PM roycroft: rufus is loudon wainright's kid
04:05 PM travis_farmer[m]: if this fails, i may have to try my 8GB flash... though i usualy can't get it to boot for some reason...
04:06 PM XXCoder: usually means its dead
04:07 PM travis_farmer[m]: great, both of my drives may be dead??
04:07 PM XXCoder: that or usb port isnt working properly. lower chance. tested with different usb ports etc?
04:08 PM travis_farmer[m]: notyet
04:43 PM JT-Shop_ is now known as JT-Shop
04:44 PM * JT-Shop just got back from River Ridge Winery... Tom_L I'll look in the morning at the python issue
04:52 PM _unreal_: Just finished scraping a freq. motor driver some 400v thing...
04:52 PM Tom_L: jt, ok
04:52 PM _unreal_: has an interesting control board that has a 320f2812pgfa on it
04:53 PM _unreal_: $32 DSP
07:58 PM solarwind: ZincBoy[CAON][m] why even bother with lead free
07:58 PM solarwind: unless you or your pets plan to put it in their mouths
08:05 PM ZincBoy[CAON][m]: ROHS requirements mostly. Not as much an issue for home projects or stuff in north
08:05 PM ZincBoy[CAON][m]: america.
08:06 PM solarwind: yeah for home projects I mean
08:06 PM solarwind: for anything production, machines do all the work of soldering so it doesn't matter
08:11 PM ZincBoy[CAON][m]: I would prefer to go lead free if it is viable. I don't really like having lead based solder paste around but I am not aware of a good substitute yet.
08:23 PM solarwind: https://www.youtube.com/watch?v=zcb86TRxTxc I love everything about this
08:23 PM solarwind: Had this idea for the longest time and I just discovered that an open implementation exists
08:23 PM solarwind: Mostly because steppers are so cheap and available everywhere
08:25 PM solarwind: Just realized the MKS servo42c does the same thing: https://github.com/makerbase-mks/MKS-SERVO42C
08:35 PM Bleepshop: pcw---home: Thanks for helping me sort out that ID-10-T error last night.
08:36 PM * Bleepshop was a real ID-10-T and missed a decimal place.
08:52 PM MikeM[m]: Happens to the best of us
11:02 PM CaptHindsight[m]: solarwind: No availability of distributors reported, https://www.st.com/en/motor-drivers/powerstep01.html
11:03 PM CaptHindsight[m]: https://www.st.com/en/applications/industrial-motor-control/3-phase-field-oriented-control-foc.html
11:43 PM isaacggw[m]: How would i go about setting something like thing up as a tool height setter with lcnc?
11:43 PM isaacggw[m]: https://www.ebay.com/itm/265191165798?hash=item3dbea00f66:g:kF4AAOSw53hbnxpB&amdata=enc%3AAQAHAAAA8Jd0gfrGuIF47r2ylsyh8HzmNubk7KrJNLnpOFBQLxVWjKlFdqVu8FaCvErdFoBsSYvI1QY6lAG58F%2F4hIHFodQc%2BS2SZ1zmROHt9CMy%2FjQs7M7WeWd%2BB%2FdhYQPfzqgb1uV6kWnUPVl5jw4X%2FSNoqVBLTbkl%2FieQUIJiw6iFE1mu3zFJOh9Tbr1nRa9kTukdxGcyQrie2nK4wQ%2BJZb8Lq2dtRLH%2Fcg3pRhsaHYVys8vf1fhe1p60nNJzFGtBoH1ALr%2BSi1l%2F%2BempS8QwKkBuWyJTJXMOOfy8qFWWpJER9nxSlSrXlHMakXbcYKVlUyb
11:43 PM isaacggw[m]: yrg%3D%3D%7Ctkp%3ABk9SR6jhloewYQ
11:44 PM XXCoder: I would recommand to skip everything in url after the ?
11:44 PM XXCoder: isnt that laser first then touchoff type?
11:45 PM ZincBoy[CAON][m]: No, it just has a nozzle for compressed air to clean the touch off surface
11:45 PM XXCoder: ahh ok
11:57 PM roycroft: clickspring has some new editing software that's pretty cool
11:59 PM XXCoder: yeah?
11:59 PM roycroft: yes, there's a new video out today
11:59 PM XXCoder: odd I did see prepping the fixture one
11:59 PM XXCoder: is there more?
11:59 PM roycroft: he's "projecting" a drawing of the features of the part he's making on the part while he's machining the features