#linuxcnc Logs
Mar 28 2024
#linuxcnc Calendar
02:08 AM Deejay: moin
04:09 AM Tom_L: morning
04:15 AM NoSpark: what do you guys think would be the main AC spindle sizes used by linuxcnc and hobbists in general? like the 95 percentile? I'm thinking about making a ultra low cost spindle drive for a different project, and wondering if it could be used for hobby CNC
04:43 AM JT-Cave1: morning
04:43 AM -!- #linuxcnc mode set to +v by ChanServ
05:02 AM jpa-: NoSpark: i use this, pretty happy with it for small endmills but lacks power below 8kRPM https://eur.vevor.com/spindle-motor-c_10130/vevor-0-8kw-er11-air-cooled-spindle-motor-24000rpm-for-milling-engraving-machine-p_010636027589
05:04 AM NoSpark: I woulg guess most would be between 800w to 2.2kw @ 220v? I wish vevor would do a super cheap atc iso20 spindle :P
05:08 AM jpa-: https://rapidchangeatc.com/ this is kinda cool, because you don't need the expensive toolholders that many ATC systems use
05:08 AM jpa-: at least for vector control spindle drivers it probably has enough torque to handle small endmills just fine
05:09 AM NoSpark: jpa-: are you sure that doesnt use a stepper or high current geardrive to turn the collet nuts?
05:09 AM jpa-: yes
05:09 AM NoSpark: then why are they so expencive?
05:10 AM jpa-: there are some DIY versions
05:10 AM NoSpark: I wouldn't think any normal spindle could do up an ER25 to the correct torque, or undo it either
05:11 AM jpa-: it uses inertia
05:11 AM NoSpark: https://rapidchangeatc.com/wp-content/uploads/2023/12/Nema-17-267x300.png
05:11 AM NoSpark: it uses a motor to do it
05:11 AM jpa-: isn't that just for the dust cover?
05:11 AM NoSpark: maybe?
05:13 AM NoSpark: 2 Nema 17 stepper motors & 1 TB6600 stepper diver to drive the dust cover << from site
05:20 AM NoSpark: if you took some worm gear blanks and cut a hex inside to enguage the collet nut, use a small dc gear motor to turn all of them simutainously, and use one side of the metal dust cover with slots cut in it to enguage the spanner location on the spindle shaft, it might work out cheapter
05:47 AM ptlsystems: Guten Tag weis jemand wie linux Cnc benutzen kann ohne refetenzschalter ?
05:48 AM ptlsystems: Ich bekomme nach eine g Befehl bei mdi ein error 👍 MDI Befehl kann ohne vorherige referenzfahrt nicht ausgeführt werden
09:47 AM -!- #linuxcnc mode set to +v by ChanServ
10:33 AM Unterhausen: I'm hours late for ptlsystems, but you can home manually without a switch
12:21 PM Unterhaus_ is now known as Unterhausen
03:03 PM JT-Shop: quiet in here today
03:03 PM XXCoder: yep
03:17 PM * Tom_L found JT-Shop's secret switch
03:20 PM Tom_L: is feedrate override a slider?
03:21 PM Tom_L: must be _sl
03:21 PM JT-Shop: LOL
03:21 PM JT-Shop: yup
03:22 PM Tom_L: that's just for print statements right?
03:22 PM JT-Shop: https://gnipsel.com/linuxcnc/flexgui/controls.html#sliders
03:22 PM JT-Shop: the secret switch is just to print out the changing states
03:22 PM Tom_L: i figured
03:25 PM Tom_L: you renamed the jog vel slider too
03:26 PM Tom_L: _s to _sl ... trickey!
03:26 PM Tom_L: it should read the min max vel and display it instead of 0's
03:28 PM Tom_L: probably from the [DISPLAY] section: MIN_LINEAR_VELOCITY and MAX_LINEAR_VELOCITY
03:30 PM Tom_L: looks like you broke tool change
03:31 PM -!- #linuxcnc mode set to +v by ChanServ
03:31 PM Tom_dev: Traceback (most recent call last):
03:31 PM Tom_dev: File "/usr/lib/python3/dist-packages/libflexgui/commands.py", line 180, in tool_change
03:31 PM Tom_dev: tool_number = parent.next_tool_sb.value()
03:31 PM Tom_dev: ^^^^^^^^^^^^^^^^^^^
03:31 PM Tom_dev: AttributeError: 'flexgui' object has no attribute 'next_tool_sb'. Did you mean: 'next_tool_sp'?
03:32 PM Tom_L: you renamed the spinbox from _sb to _sp ... that may be it
03:32 PM JT-Shop: yup
03:33 PM Tom_L: so did i and it worked yesterday but not today
03:33 PM JT-Shop: or nope should be sb for spin box
03:33 PM Tom_L: you renamed it back :)
03:33 PM JT-Shop: what is the name of the widget you have?
03:34 PM Tom_L: next_tool_?? i changed the xx yesterday but i'm chainging it back now
03:34 PM Tom_L: just a sec
03:35 PM Tom_L: if i use _sp i get a warning and if i use _sb i get a different warning
03:38 PM JT-Cave: fixed to use next_tool_sb
03:38 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/flexgui/_sb_warning.png
03:38 PM Tom_L: i was getting errors both ways
03:38 PM Tom_L: that's with _sb and the ^^ dump above was with _sp
03:38 PM Tom_L: lemme double check
03:40 PM Tom_L: yes _sp gives that linuxcnc screen dump above and _sb gives the warning box png
03:41 PM Tom_L: pulling..
03:43 PM Tom_L: much better :)
03:43 PM Tom_L: any tool buttons working yet?
03:46 PM JT-Shop: yup
03:48 PM Tom_L: where are those names found/
03:48 PM Tom_L: ?
03:49 PM JT-Shop: https://gnipsel.com/linuxcnc/flexgui/tools.html
03:51 PM Tom_L: i was looking in buttons
03:52 PM JT-Shop: should be a mention there that tool related stuff is elsewhere
03:54 PM Tom_L: cool spinbox & buttons both work now
03:55 PM JT-Shop: make a tool change button for a tool you don't have in the tool table and try that
03:55 PM Tom_L: well i tested that with the spin box already :)
03:56 PM JT-Shop: test with a tool change button
03:56 PM Tom_L: iam
03:56 PM JT-Shop: iirc up to tool #25 will work
03:57 PM Tom_L: i was trying one i knew wasn't in the tool table too
03:57 PM Tom_L: i get nothing that way
03:57 PM Tom_L: problem with that is my tool table has 45 tools in it
03:58 PM JT-Shop: it should warn you that the tool number you selected is not in the tool table
03:58 PM Tom_L: your docs say 20
03:58 PM Tom_L: i got no warning with the button and tool 50
03:58 PM JT-Shop: yup, they are wrong...
03:59 PM JT-Shop: I wonder what a good max number of tools is?
03:59 PM Tom_L: i renamed the tool in the table and now get a warning that tool 24 isn't found
04:00 PM Tom_L: the max the table will hold
04:00 PM JT-Shop: the tool table holds 56 tools IIRC but the id can be anything
04:00 PM Tom_L: i keep both the cnc and my cad cam up to date on tool lists and just add more instead of replacing
04:03 PM Tom_L: it gives the max somewhere but i can't find it right now
04:03 PM JT-Shop: I figure most users would use the tool change # buttons for things like my CHNC which has 8 tools
04:05 PM JT-Shop: even on the BP I could have a zillion tools I usually just have one or two
04:06 PM Tom_L: right, that would be more a lathe thing
04:09 PM JT-Shop: not really, the 308 has a 8 station tool changer
04:09 PM JT-Shop: so 8 buttons would take care of it
04:09 PM Tom_L: when i use a tool outside the tool table with the button i get no warning. nothing
04:10 PM JT-Shop: you mean a tool change button for a tool that's not in the tool table?
04:10 PM Tom_L: with the spinbox i get a warning
04:10 PM Tom_L: yes
04:11 PM Tom_L: spinbox gives a warning, button does not
04:11 PM JT-Shop: carp I thought I had that working
04:12 PM Tom_L: that could cover any user typos in the tool table
04:12 PM Tom_L: as well
04:12 PM Tom_L: but with the buttons you only allow 20-25
04:13 PM Tom_L: so maybe that was why
04:13 PM JT-Shop: what tool did you try?
04:13 PM Tom_L: 50 on both
04:13 PM Tom_L: lemme edit the table and try 24
04:13 PM JT-Shop: that won't even get connected
04:14 PM Tom_L: ok testing #24 that isn't in the table
04:14 PM JT-Shop: I need to warn if a tool change button is out of scope of the progam
04:15 PM Tom_L: the button says it's not there as does the spinbox
04:15 PM Tom_L: it allowed me to create a #50 tool button though
04:17 PM Tom_L: tool #0 works on both
04:17 PM Tom_L: says remove the tool in the spindle..
04:17 PM JT-Shop: 0 works even if it's not in the tool table because it's special
04:18 PM Tom_L: i know
04:18 PM Tom_L: just checking because it's my job :)
04:18 PM JT-Shop: thanks
04:19 PM JT-Shop: https://github.com/jethornton/flexgui/blob/master/flexgui/src/libflexgui/commands.py#L176
04:20 PM Tom_L: looks pretty solid other than the button range
04:22 PM Tom_L: jog_vel_sl present: error: can not jog withouta jog velocity slider
04:22 PM JT-Shop: I'll change that in a few minutes
04:23 PM Tom_L: was called _s now it's _sl
04:23 PM Tom_L: ^^ clue
04:23 PM JT-Shop: must have missed something
04:28 PM Tom_L: going afk a bit
04:28 PM JT-Shop: k
04:43 PM Tom_L: bak
04:48 PM Tom_L: The maximum pocket number is 1000
04:48 PM Tom_L: can't find the max on tools
04:48 PM JT-Shop: and jog is fixed
04:48 PM JT-Shop: ok
04:48 PM Tom_L: http://linuxcnc.org/docs/html/gcode/tool-compensation.html#_overview
04:51 PM Tom_L: yup it works
04:55 PM JT-Shop: up to 99 tools now
04:57 PM Tom_L: ok
04:57 PM Tom_L: buttons limited yet?
04:57 PM JT-Shop: no
04:57 PM JT-Shop: no check for out of range buttons yet
05:19 PM Tom_L: feedrate_override works
05:19 PM JT-Shop: yippie
05:19 PM JT-Shop: rapid override will be easy to add
05:19 PM Tom_L: those aren't connected yet?
05:19 PM JT-Shop: no
05:20 PM JT-Shop: just worked out the code for feed override
05:20 PM Tom_L: can the slider be positioned to 100% when it's launched?
05:20 PM JT-Shop: yep
05:20 PM JT-Shop: I thought I did that...
05:21 PM Tom_L: no
05:21 PM JT-Shop: I meant to LOL
05:21 PM Tom_L: rapid & spindle on axis max at 100%
05:21 PM JT-Shop: feed max is set from the ini, the others are yet to be programmed
05:22 PM Tom_L: right
05:22 PM Tom_L: i figured that since it maxed at 120%
05:33 PM Tom_L: ok sliders are added for feed, rapid & spindle when the code shows up
05:34 PM JT-Shop: ok
05:34 PM Tom_L: what's the difference between jog_speed_sl & jog_vel_sl?
05:34 PM JT-Shop: brain fart I assume
05:35 PM Tom_L: axis shows both too
05:35 PM Tom_L: well, max_vel anyway
05:35 PM Tom_L: i never change it
05:36 PM Tom_L: maybe change jog_vel to max_vel?
05:37 PM Tom_L: i dunno
05:44 PM Tom_L: maybe add a warning box that toolchange must be homed etc first
05:45 PM Tom_L: throws an error: Can't issue MDI command when not homed
05:49 PM Tom_L: or grey the buttons & slider until homed
05:50 PM Tom_L: not slider, spinbox
05:59 PM * JT-Shop calls it a night
05:59 PM Tom_L: probably should have a label for each of those showing the value
06:00 PM Tom_L: looks like you may already
06:28 PM lcnc-relay: <skunkworks8841> Oof - got one unit hooked up.. Powered it up and when it would start running it errored. Low pressure..
06:28 PM lcnc-relay: <skunkworks8841> finally figure out that there are also 2 'king' valves you need to turn on.. They don't show that in the directions..
06:29 PM lcnc-relay: <skunkworks8841> seems to heat and cool!
06:29 PM XXCoder: gonna love cruddy docs
06:30 PM lcnc-relay: <skunkworks8841> I saw them - but thought they were maybe for filling and such.. ugh
07:22 PM lcnc-relay: <skunkworks8841> at least it didn't destroy itself... so far.
07:22 PM lcnc-relay: <skunkworks8841> doing some google searches - hvac people are very upset about these setups..
07:22 PM lcnc-relay: <skunkworks8841> Buy cheap - get cheap..
07:54 PM lcnc-relay: <skunkworks8841> Got the generic wiring harnes for the 42'.. An other project..
07:56 PM XXCoder: watch out on project stacking lol
08:52 PM _unreal_: I'm finally starting to catch up dealing with my fathers passing
10:26 PM lcnc-relay: <skunkworks8841> Sorry for your loss
10:27 PM XXCoder: its always a shock, even if dying for literally years
10:27 PM XXCoder: it was same for my grandfather