#linuxcnc Logs
Nov 09 2018
#linuxcnc Calendar
12:30 AM rmu: does anybody in here have experience with vers.by stuff?
01:53 AM Deejay: moin
04:02 AM Jin|away: morning
04:02 AM Jin|away is now known as Jin^eLD
04:12 AM XXCoder: overwrought
04:45 AM jthornton: morning
04:46 AM XXCoder: hey jthornton
04:47 AM XXCoder: today was another crushing boring work lol
04:47 AM jthornton: just when I thought I could make a copy of my sd card on the RPi I found I needed two sd slots...
04:47 AM XXCoder: yeserday broaching, then today slot cutting same part
04:49 AM jthornton: how many parts?
04:49 AM XXCoder: 180 broaching, 131 slotting
04:52 AM jthornton: something is wonky with my code but yesterday I found this https://sourceforge.net/p/raspberry-gpio-python/wiki/Inputs/
04:52 AM jthornton: that may clear up the issue
04:54 AM XXCoder: different handling nice
04:58 AM jthornton: I thought this code was bullet proof but it fires randomly lol https://paste.ubuntu.com/p/pKVGqwBN7s/
04:59 AM XXCoder: man_up lol
04:59 AM XXCoder: so while true is a loop in phyton, running forever?
05:00 AM XXCoder: looks like just need to change to trigger "event detected" so its bulletproof?
05:00 AM jthornton: yea that's what I'm working on now to test it
05:01 AM jthornton: yea runs forever, I should do a proper thread I guess
05:01 AM XXCoder: gonna love that man_up
05:01 AM MarcelineVQ: have you got pullups/pulldowns now?
05:01 AM jthornton: using pull downs in the RPi
05:01 AM jthornton: GPIO.setup(MAN_UP, GPIO.IN,pull_up_down=GPIO.PUD_DOWN) # Manual Up Switch
05:02 AM XXCoder: so there is no way to set INT so it calls code when event happens?
05:03 AM XXCoder: so you dont need to have cpu hit of infinity loop
05:03 AM jthornton: https://paste.ubuntu.com/p/6wWs2cb82z/ this code runs fine
05:03 AM jthornton: probably I just need to try a few things with it just found it yesterday evening
05:04 AM XXCoder: GPIO.add_event_detect
05:04 AM XXCoder: that sounds like INT adding
05:04 AM jthornton: and I was trying to add a time out feature so if something happened to the door it stopped the motor
05:04 AM XXCoder: GPIO.add_event_detect(channel, GPIO.RISING, callback=my_callback, bouncetime=200)
05:04 AM jthornton: aye
05:04 AM XXCoder: this is removal of call from INT GPIO.remove_event_detect(channel)
05:05 AM XXCoder: so you dont need to do any loop, just make it call
05:11 AM XXCoder: ohh who in here wanted to build a solder vent that dont lose heat when not used?
05:12 AM XXCoder: Jin^eLD: was it you?
05:13 AM XXCoder: or miss0r
05:14 AM MarcelineVQ: XXCoder: Jin^eLD
05:14 AM XXCoder: thanks
05:15 AM XXCoder: Jin^eLD: this is cool https://www.youtube.com/watch?v=XBPCvrEd4XA needs rather large vent body though. maybe that can be made other way
05:17 AM XXCoder: what I would do is add isulation rigid foam on the flat side, offset by small amount so gaps is also covered
05:18 AM XXCoder: so it will be fairly strongly isulated for a vent.
05:22 AM MarcelineVQ: kind of interesting how at 6:13 you can see the limitations of the software he used, or the method of using it, in that the circle is very polygonal
05:22 AM MarcelineVQ: 6:10-6:15
05:22 AM XXCoder: its because slicers and printers cant do g2 g3
05:23 AM XXCoder: or it is STL thats not quite high enough resolution to be smooth
05:23 AM Tom_L: 32°F, Hi 38, Lo 21
05:24 AM MarcelineVQ: Yeah, as though it was blown up larger after converstion. it's a a pretty neat project though
05:24 AM XXCoder: it is
05:24 AM XXCoder: all need is fairly precise rods
05:24 AM MarcelineVQ: For all the nose-turning printing gets this is pretty practical
05:24 AM XXCoder: only part can just replace is that lathed part
05:24 AM XXCoder: just 3d print that also
05:25 AM XXCoder: can use sandpaper and drill spin it use sandpaper to smooth that
05:26 AM MarcelineVQ: I'm entirely okay with bearing surfaces not being thermoplastic :>
05:28 AM XXCoder: yeah though dont have lathe so that bit is harder for me lol
05:30 AM MarcelineVQ: hehe fair, I used a wood lathe to make a brass bearing the other day
05:31 AM MarcelineVQ: When the vid started I was thinking it would be automatic though, and the panes would tilt with the fan strength. One of the points the vid totes at the end is precise modulation of air suction, but they could just modify the fan speed for that and put less strain on the motor comapred to full blast with closed vanes. Neat system for closing airflow in general though
05:31 AM MarcelineVQ: Though I supposed it depends how long the outlet is come to think of it
05:32 AM XXCoder: hmm I think automatic can be done yeah. though needs to point other way
05:32 AM XXCoder: using springs to auto close
05:32 AM XXCoder: it'd have to be quite finely tuned though. maybe with some torson bolt or something
05:52 AM jthornton: centrifugal pumps with the inlet closed is the least amount of effort to the motor although friction of the circulating fluid will build up heat
05:52 AM Loetmichel: *hmpf* "He who buys cheap buys twice." I bought a new noname battery for my Note3 6 months ago on ebay... Today i was wondering why that phone wasnt fitting the belt clip any more... Battery is twice as thick as it was when it was new... *ordering an original samsung battery now*... :-(
05:53 AM XXCoder: lol
06:32 AM jthornton: ok, I've proved my toggle switch is a bit flaky so that must have been the problem all along
06:34 AM XXCoder: yeah? how so? varied bouncing?
06:35 AM jthornton: I get random edge detected sometimes I get down after going from up to center etc
06:37 AM XXCoder: odd
06:42 AM jthornton: https://paste.ubuntu.com/p/qfpQpTDM9K/
06:48 AM XXCoder: yeah
06:48 AM XXCoder: huge bounce
06:48 AM jthornton: the toggle switches are very old and look like they came out of some military equipment
06:49 AM XXCoder: might want try other switches
06:49 AM XXCoder: you got extra limit switch or microswitch?
06:49 AM XXCoder: see if it works
06:50 AM jthornton: yea, I'll replace the switches with some new ones
06:53 AM XXCoder: hopefully that will work. ) later
06:53 AM jthornton: at least that explains why my program was wonky lol
06:53 AM XXCoder: indeed
06:53 AM XXCoder: well worth it if you get rid of some infinite loops
06:54 AM XXCoder: the less busy cpu is, the less power it uses :)
06:54 AM jthornton: how do you suggest I get rid of the infinite loop?
06:54 AM XXCoder: dont adding a listener make it call your function when event happens?
06:55 AM jthornton: hmmm https://raspi.tv/2014/rpi-gpio-update-and-detecting-both-rising-and-falling-edges
06:55 AM jthornton: that one does not have a while loop!
06:55 AM jthornton: but it does not run forever
06:57 AM XXCoder: it does once press happens
06:57 AM XXCoder: it waits for event to change gpio_pin to true then exists
06:57 AM XXCoder: *exits
06:58 AM XXCoder: whole thing is also in while loop once setup is done
06:58 AM jthornton: nope without the while true it exits immediately
06:58 AM jthornton: that one exits after 30 seconds no matter what
06:59 AM XXCoder: I dont know enough about hardware programming unfortunately
06:59 AM jthornton: the while loop is software only
06:59 AM XXCoder: while GPIO.input(gpio_pin) == False << this depends on INT call to change variable
07:00 AM XXCoder: INT is hardware interrupt
07:01 AM XXCoder: https://medium.com/@rxseger/interrupt-driven-i-o-on-raspberry-pi-3-with-leds-and-pushbuttons-rising-falling-edge-detection-36c14e640fef
07:02 AM XXCoder: best design would be have a loop to handle stuff like timed stuff
07:03 AM XXCoder: while switches is purely called by INT and it calls functions as needed to make things happen
07:03 AM XXCoder: so dont need many loops just one
07:03 AM jthornton: where are you seeing INT?
07:03 AM XXCoder: INT is just shortland for interrupt
07:04 AM jthornton: what keeps the python program alive?
07:04 AM XXCoder: the single loop looks like
07:05 AM XXCoder: man its been so long. gonna sleep as been feeling kinda iffy lol
07:05 AM jthornton: ok see you later
07:06 AM XXCoder: keyboard used to be on its own interrupt pin
07:06 AM XXCoder: so cpu would instantly handle keyboard presses and keyboard cannot be lagged out
07:06 AM XXCoder: but nowdays with usbs.. oh well lol
07:06 AM XXCoder: later :)
07:12 AM Jin^eLD: jthornton: you probably want something like this https://stackoverflow.com/questions/47564734/blocking-read-on-gpio-from-python-how-to-block-using-epoll-and-select-epollet
07:13 AM Jin^eLD: at least if I understand correctly that you want to read inputs but avoid infinite looping
07:13 AM Jin^eLD: only used those things in C though, but it seems there are python wrappers available
07:13 AM Jin^eLD: :)
07:19 AM jthornton: hi Jin^eLD I don't mind an infinite loop in python but doing it in C could be interesting
07:24 AM Jin^eLD: jthornton: well, the loops as such are not nice as XXCoder pointed out above, so you usually try to do blocking waits for a keypress rathen that polling in a loop
07:24 AM jthornton: there is no keypress, what is a blocking wait?
07:24 AM Jin^eLD: so if possible I usually use select() and epoll() is a bit a newer mechanism provided by the kernel
07:24 AM jthornton: and no polling is done in the loop
07:25 AM jthornton: https://paste.ubuntu.com/p/qfpQpTDM9K/
07:25 AM Jin^eLD: ok maybe I misunderstood what you were discussing above, sorry; I thought you loop to check a gpio input
07:25 AM jthornton: no, using event detect to get the rising edge
07:25 AM jthornton: I was using the loop but found the event detect last night :)
07:26 AM jthornton: now I have some old flaky switches to replace sorta like me
07:26 AM jthornton: is select() and epoll() python or C?
07:27 AM Jin^eLD: oh ok, then sorry for the confusion ;)
07:27 AM Jin^eLD: C, but I am sure python has equivalent wrappers
07:27 AM Jin^eLD: its for reading from sockets
07:27 AM jthornton: ok, I'll look for them and see what I can find
07:28 AM jthornton: https://docs.python.org/3/library/select.html
07:28 AM Jin^eLD: yeah, python has wrappers for everything :)
07:29 AM Jin^eLD: basially if you have something where you need to wait for some input, instead of looping and checking you do a blocking wait on that socket
07:29 AM Jin^eLD: also allows you to specify timeouts to get out of it and check if you maybe want to abort or do something else
07:30 AM jthornton: for my chicken door manual up/down switch it must wait forever
07:31 AM Jin^eLD: then it's probably exactly what you are looking for
07:32 AM Jin^eLD: as XXCoder pointed out, looping eats up some CPU, while blocking wait doesn't
07:33 AM Jin^eLD: not sure if you care in the chicken door scenario though :)
07:36 AM jthornton: yea I just want the chicken door to open/close at the correct time and if selected open/close from the manual input
07:38 AM Jin^eLD: ok so you do care to get out of the blocked state because you want to check the time, which you still can do with select
07:38 AM Jin^eLD: if you are fancy you could even calculate your wish time before entering select and passing it the appropriate timeout and then check why you returned from select - it will tell you if it timed out or if you had input on the socket
07:39 AM jthornton: not sure what you mean by blocked state?
07:40 AM Jin^eLD: if you selct() on a socket your program flow gets bloocked until you get input on that socket, thats the whole idea of select - you can avoid polling when you wait for some data/input
07:41 AM Jin^eLD: but if you need to do some other things and want to avoid multithreading, you can tell select to time out after a certain period if no data came in on the socket that you are monitoring
07:41 AM jthornton: ah that won't work for me then I can't block the normal stuff
07:41 AM Jin^eLD: it can still work depending on the time contsraints of the "normal stuff"
07:42 AM jthornton: nothing time critical about the normal stuff just opening/closing the door and turning on/off the lights
07:42 AM Jin^eLD: https://beej.us/guide/bgnet/html/multi/advanced.html#select
07:42 AM Jin^eLD: check out 7.2
07:43 AM Jin^eLD: beej does explain stuff really well, so if you plan to start with C at some point, he has a great C beginners tutorial
07:43 AM jthornton: cool, I know a bit of C at least the basic stuff
07:44 AM Jin^eLD: that's my favorite C tutorial, I think that's where I started ages ago: https://beej.us/guide/bgc/html/single/bgc.html
07:45 AM jthornton: hmm, never seen that page thanks for the link
07:46 AM Jin^eLD: I think it's hard to find because its so old and you usually get the new fancy stuff now when searching, but this guy is really good at explaining and does so with some humor
07:46 AM Jin^eLD: its just the basics but it's clear and not intimidating
07:47 AM Jin^eLD: I think first I had a lecture on C at the university and I failed terribly, but after this guide it all became clear
07:47 AM jthornton: thanks I've bookmarked that page and will give C another whirl
07:47 AM Jin^eLD: np
07:47 AM jthornton: cool
07:47 AM jthornton: shower time for me... gotta start my day
07:49 AM Jin^eLD: late lunch time here, gonna grab some food
09:55 AM Jin^eLD: did anyone try chinese turning carbide inserts from ali/ebay and is there a "brand" usable enough to buy?
10:15 AM methods_: i ordered some from that cheap machine tool place they seem to work alright
10:15 AM methods_: but wasn't really using them for production
10:15 AM methods_: shar's
10:23 AM Jin^eLD: "shar's" is the place? was that ebay or ali?
10:24 AM methods_: shar's
10:24 AM methods_: https://www.shars.com
10:24 AM methods_: it sells all chinese machine tool junk
10:25 AM Jin^eLD: I'm not doing any production, so just for myself, but I don't want to get complete garbage, also got confused by an ebay seller who wrote "if you want these inserts for yourself, don't buy them, because they are low quality!"
10:25 AM methods_: well it's definitely not sandvik
10:25 AM methods_: but they work
10:26 AM Jin^eLD: methods_: oh it's in the US, I'm in Europe, shipping from US is quite expensive
10:26 AM methods_: i've cut hardened ballscrews with the inserts i got
10:26 AM methods_: ahhhh
10:26 AM methods_: i'm sure there's a euro shar's
10:26 AM Jin^eLD: did they remove the china brand and rebranded as their own?
10:26 AM methods_: there is no brand on there lol
10:26 AM methods_: it's all straight from china
10:26 AM Jin^eLD: :)
10:27 AM methods_: rough edges and sand from teh castings and all
10:27 AM Jin^eLD: so no way to tell what this corresponds to on Ali, because I'm pretty sure they have the same there as well
10:27 AM methods_: yeah
10:27 AM methods_: well the thing i do is just buy the tool and use the inserts until they die
10:27 AM methods_: then get real inserts on ebay
10:28 AM methods_: or at auctions
10:28 AM Jin^eLD: from what I heard there is quite a differenec in what you can get there, some are quite OK like what you describe, but some are total crap and its hard to identify online, but there seem to be some chinese fake "brands" where you can at least keep them apart
10:29 AM methods_: yeah i think shars hand picks the "better" stuff to sell in there store
10:29 AM methods_: s/there/their
10:30 AM Jin^eLD: and this whole thing is totally new to me, got my lathe before leaving for summer holidays and started to learn how to turn now, I got a huge toolbox with all sorts of holders and inserts that came with it, mostly Sandvik and Kennametal, but I am missing inserts which I'd need for everyday stuff so need to buy some... and struggling :)
10:30 AM methods_: plenty of euro's in here should be able to find you someplace similar to shars
10:30 AM methods_: ahh just get the inserts then from ebay
10:30 AM methods_: you know what inserts you need?
10:31 AM Jin^eLD: more or less... took me a while to figure out codings and such
10:31 AM methods_: yeah
10:31 AM methods_: well if you know for example you need cnmg inserts just search for those on ebay
10:31 AM methods_: any major brand insert will be good
10:32 AM Jin^eLD: I'd take CNMG 120404 for rough stuff (probably not worth investing in 08 radiuses since I'm not in a hurry)
10:32 AM Jin^eLD: and CNMG 120402 for finishing
10:32 AM methods_: yeah just try ebay you can usually find them for a discount there
10:32 AM Jin^eLD: well that was the thing... "major brand" is damn expensive and I figured since I'm still learning and will kill a few, its probably not worth investing in top brands right now
10:33 AM Jin^eLD: but then got quite confused when even chinese wrote "dont buy my offer for yourself, it sucks" - huh?! :)
10:33 AM methods_: but cnmg is very common so there will be competition
10:33 AM methods_: yeah still learning you should just get the chinese junk for awhile
10:33 AM Jin^eLD: and then I am having a hard time to pick the properties, I need steel and hardened steel
10:33 AM Jin^eLD: and with the chinese ones its not always obvious or not specified what they are good for
10:34 AM methods_: yeah that's the downside of grabbing those
10:35 AM Jin^eLD: so my hope was if someone already tried and could say "I got these and seem usable", at least that was my thinking
10:36 AM Jin^eLD: catalogued all I have yesterday in an attempt to understand what the hell that is and what I should focus on: http://deadlock.dhs.org/jin/1I611P/2018-11-08/
10:37 AM Jin^eLD: I seem to have a lot of thread cutting inserts and then some number of smaller TPMR ones, but apparently none for everyday random kind of work
10:37 AM methods_: https://www.aliexpress.com/item/CNMG120408-MA-VP15TF-10PCS-carbide-inserts-Internal-latter-cutter-turning-tool-for-metal-cnc-machine-cutting/32909975968.html
10:37 AM methods_: man if those are real
10:37 AM methods_: that's a great price
10:38 AM Jin^eLD: I heard they aren't :) i.e. its not real Mitsubishi
10:38 AM methods_: i would assume not at those prices
10:39 AM methods_: unless they are stolen
10:39 AM methods_: well you got some nice tooling
10:39 AM methods_: mostly looks like older style top lock
10:39 AM methods_: so you should be able to get some good deals on inserts
10:40 AM Jin^eLD: what are those TCMA/TCMW/TCMM bigger triangles used for?
10:40 AM Jin^eLD: or is it just defined by the form that you need to turn so you can get there physically?
10:40 AM methods_: not sure what you mean
10:40 AM Jin^eLD: http://deadlock.dhs.org/jin/1I611P/2018-11-08/DSCF7947.JPG
10:41 AM Jin^eLD: those
10:41 AM Jin^eLD: I think those are the only "bigger" inserts I have in reserve
10:42 AM methods_: ah you can use them for whatever
10:42 AM methods_: just depends on what you're trying to do
10:42 AM Jin^eLD: ok, so I could probably start with those while I am waiting for the CNMG ones to arrive (provided I decide where and what to order) :)
10:43 AM methods_: yeah
10:43 AM Jin^eLD: I figured to go with CNMG because I have enough PCLNR holders
10:44 AM Jin^eLD: and for the rest - I'd have to figure out what it does and if I need those
10:44 AM methods_: yeah cnmg is a good way to go
10:44 AM methods_: usually you see trigon inserts on boring bars
10:44 AM Jin^eLD: the lathe was in production at Liebherr and they apparently were doing some special stuff, some electrodes and what not
10:44 AM methods_: so you can get more clearance
10:44 AM methods_: you can use a smaller boring bar to get into a tight bore
10:45 AM Jin^eLD: I have a number of smaller trigons and boring bars that match them, so luckily I seem to be covered there
10:45 AM methods_: yeah
10:45 AM Jin^eLD: but as mentioned earlire, almost nothing for "normal" kind of stuff
10:45 AM methods_: i see you have some OD trigon holders though
10:45 AM methods_: i guess they needed them for some specific reason or clearance issues
10:46 AM Jin^eLD: OD? I am not yet all that good with the cypher :)
10:46 AM methods_: outside diameter
10:46 AM Jin^eLD: I also have a whole drawer of weirdly shaped and grinded HSS tools, but I need to buy a grinder myself and learn how to grind if I wanted to use those, figured it'd be easier with inserts for starters
10:46 AM methods_: outside work
10:46 AM methods_: ID is inside diameter
10:46 AM methods_: inside the bore work
10:47 AM Jin^eLD: ah
10:47 AM Jin^eLD: so OD's are boring bars for working on the outside like you normally would with a "normal" insert holder
10:47 AM Jin^eLD: ?
10:48 AM methods_: no boring bars are for ID work
10:49 AM methods_: http://deadlock.dhs.org/jin/1I611P/2018-11-08/thumbnails/DSCF7859.JPG
10:49 AM methods_: that's OD tool
10:49 AM Jin^eLD: oh I think now I get it, boring bars are usually using the trigon shape, but I have outside tools that take trigon inserts which is not common? is that what you wanted to tell me?
10:49 AM methods_: yes
10:49 AM methods_: you got it
10:49 AM Jin^eLD: ah, ok, understood
10:49 AM Jin^eLD: oh wait, so the one in the picture does not only take a threading insert but could work with other trigons as well?
10:50 AM methods_: oh i can't tell from the pic
10:50 AM methods_: it looked like a cnmg holder
10:50 AM methods_: sorry
10:50 AM Jin^eLD: if you click the thumb it will open a highres version
10:50 AM methods_: http://deadlock.dhs.org/jin/1I611P/2018-11-08/thumbnails/DSCF7867.JPG
10:50 AM Jin^eLD: its R166F-2525-310
10:51 AM methods_: that one there
10:51 AM Jin^eLD: thing is, that stuff is so old its not listed in the Sandvik catalogues any longer
10:51 AM methods_: that is a dnmg
10:51 AM methods_: good for od work where you have to get in tight to radius or something
10:52 AM Jin^eLD: ah, you meant the extruded diamond... interestingly enough I have some smaller inserts of that type, but no holder for them
10:52 AM Jin^eLD: and then the holder you posted above, but no spare inserts
10:52 AM methods_: ah that sucks
10:52 AM Jin^eLD: so all sorts of combos and need to figure out what I need to buy :)
10:53 AM Jin^eLD: but I can't complain, the tools came with the late, including 50 collets and a quick-clamp collet chuck and lots of other stuff
10:53 AM methods_: nice
10:53 AM methods_: yeah you got a good bit of tooling should cover all your needs
10:54 AM Jin^eLD: ...once I figure out what this stuff does :) a lot to learn here
10:54 AM methods_: well i personally think everyone should start with high speed steel
10:54 AM methods_: just so they learn how to grind their own tools
10:54 AM methods_: before you start using carbide
10:55 AM methods_: it's a lot cheaper to get going with too
10:56 AM Jin^eLD: buying a grinder is on my list
10:57 AM methods_: yeah you can get tons of old HSS for nothing basically
10:57 AM methods_: no one uses it anymore
10:57 AM Jin^eLD: but then, friend of mine has a clarkson grinder which can do radiuses and nice stuff like that and I was figuring if I should just get a normal grinder or some tool grinding machine or something
10:57 AM methods_: you could probably go to any local machine shop and ask them for their old HSS tooling and they'd throw it at you
10:57 AM Jin^eLD: not many machine shops left over here
10:58 AM Jin^eLD: but yes, getting HSS is not a problem
10:59 AM Jin^eLD: and I have a drawer full of hss tools I could start with...
10:59 AM Jin^eLD: if I had a grinder
01:50 PM SaldoT: Is Charles Steinkuehler on IRC?
01:51 PM Tom_L: if he is, he's hiding
01:52 PM SaldoT: Seems most people in this channel are. ^^
01:52 PM Tom_L: naw not the brave ones
01:53 PM SaldoT: need some help and messaging back and forth on google groups isn't most efficient way of communication. =)
01:54 PM SaldoT: than again doing a very experimental setup as my first ever machinekit install wasn't perhaps the best idea...
01:56 PM Tom_L: why not... may as well do the trial by fire method
01:57 PM methods_: why don't they just make a #machinekit
01:57 PM methods_: so many people come in here trying to get help with it
01:57 PM miss0r: wtf is machinekit?
01:58 PM Tom_L: there is one. 6 ppl there
01:58 PM Tom_L: a branch off of linuxcnc
01:58 PM SaldoT: I was under the impression that it's the same people that develop linuxCNC & Machinekit?
01:59 PM Tom_L: to an extent
01:59 PM Tom_L: but machinekit is a branch all it's own
02:00 PM Tom_L: the core is probably the same or quite similar
02:01 PM miss0r: have any of you tried the Cat S61 phone?
02:06 PM SaldoT: where are the INI files located?
02:07 PM Tom_L: in the install directory
02:07 PM Tom_L: /home/user/linuxcnc/
02:07 PM Tom_L: or such
02:10 PM SaldoT: and they only exist after you've done a first configuration, right?
02:10 PM JT-Shop: correct
02:12 PM SaldoT: How do you launche the config wizzard from console?
02:13 PM SaldoT: connecting to my linuxCNC machine through ssh with X11...
02:13 PM JT-Shop: linuxcnc
02:14 PM JT-Shop: or linuxcnc path to the ini file
02:14 PM SaldoT: if i run that i dont get the config wizzard. Just the option to select my current axis config.
02:15 PM JT-Shop: if you do the second one it just launches the configuration in the ini file
02:15 PM gloops: lol, i cant remember how to start the config wizard, need cnc computer in front of me
02:15 PM SaldoT: If you have a display it
02:16 PM SaldoT: 's a shortcut in the "start" menu. But i dont have a display and no windowmanager so...
02:16 PM JT-Shop: gloops: from the menu or the terminal?
02:16 PM mozmck: stepconf or pncconf ?
02:16 PM JT-Shop: SaldoT: what are you trying to do?
02:16 PM SaldoT: create a new "profile"
02:17 PM gloops: JT from the menu
02:17 PM SaldoT: only one i have now is axis.sim. Want to create a new one
02:17 PM JT-Shop: CNC > LinuxCNC
02:17 PM JT-Shop: oh config wizard is CNC > pncconf or stepconf
02:17 PM gloops: yeah open stepconfig waizard
02:17 PM JT-Shop: SaldoT: stepper or servo?
02:18 PM cnomad: anyone here have experience with sigma koki stages? they have limit switches according to the spec, and a wiring diagram I found showed wires called LIM(+) and LIM(-). I'm assuming LIM(-) is GND for the limit switch?
02:18 PM JT-Shop: or from the terminal you can just say stepconf
02:18 PM SaldoT: JT-Shop, servos, but they are controlled with step/dir signals. So i guess stepper
02:18 PM cnomad: I know this isn't linuxcnc specific, although this is for a linuxcnc setup, sorry if this isn't an apt place to ask
02:19 PM JT-Shop: SaldoT: start the stepconf wizard from the CNC menu or from a terminal with stepconf
02:19 PM gloops: not used them cnomad, but id say youre probably on the right track with - to gnd
02:19 PM JT-Shop: cnomad: we talk about a lot of stuff here including chickens...
02:20 PM cnomad: hah
02:20 PM SaldoT: JT-Shop, Thanks, "stepconf" was the one i was looking for!
02:20 PM JT-Shop: put a meter on it
02:20 PM * JT-Shop wanders out to the other shop to work on the planer for a while
02:21 PM cnomad: JT-Shop: I did, not getting the expected result
02:22 PM cnomad: Basically -- vcc is passed through a pull-up resistor (47 kohm), which is connected in parallel between the input (used by linuxcnc... but replaced by scope for testing) and the LIM(+) of the stage
02:23 PM cnomad: and LIM(-) and general GND (from the wiring diagram I found) are connected to GND
02:24 PM cnomad: anyway, worth a try, going to do some more testing and report back
02:26 PM cnomad: (otherwise, the motor works ok with the HAL I adapted for it, so at least some of the wires fomr the wiring diagram are correct. but naturally... I want to get limit switches to work :P)
02:54 PM cnomad: also -- if this is general CNC nomenclature -- what would "+VS" mean in a wiring diagram for a stage (stepper motor attached to a stage plate with limit sensors and possibly an origin sensor)
03:01 PM Deejay: gn8
03:05 PM skunkworks: http://electronicsam.com/images/KandT/testing/primus/realhardware.png
03:05 PM skunkworks: http://electronicsam.com/images/KandT/testing/primus/virtmach.png
03:05 PM skunkworks: installed windows 10 vs virtual windows 10
03:09 PM sync: unsuprising
03:10 PM CaptHindsight: are you going to try getting LCNC running with that Microsoft Linux based on Debian?
03:12 PM CaptHindsight: https://wccftech.com/microsoft-20-linux-based-distrowindows-10-1809/
03:13 PM mozmck: why would you want a linux distro for windows?
03:13 PM mozmck: Sometimes I run windows in virtualbox on linux, but that's quite seldom.
03:17 PM CaptHindsight: https://github.com/WhitewaterFoundry/WLinux
03:18 PM CaptHindsight: https://www.whitewaterfoundry.com/
03:18 PM CaptHindsight: mozmck: not really sure what Wlinux is all about yet...
03:19 PM CaptHindsight: seems to be for devs that use M$ that might want to do something with Linux while still in windows
03:19 PM mozmck: If M$ is involved I don't trust it.
03:21 PM CaptHindsight: yeah, I'm sure anyone that uses it isn't concerned about trust
03:21 PM mozmck: heh!
03:21 PM CaptHindsight: so lots of people :9
04:04 PM XXCoder: methods_: lol whole box for less than price of single insert at work
04:06 PM XXCoder: wouldnt linux in windows be unable to get real time?
04:28 PM skunkworks: I doubt it.
04:28 PM skunkworks: can't make money on that. the realtime solutions on windows are $$
04:28 PM XXCoder: indeed
04:28 PM XXCoder: plus kernel mod is needed I think'
04:31 PM skunkworks: I am very happy with being able to use fusion 360 in linux. (my only reason to use windows in my home life)
04:31 PM skunkworks: and I can play with it all in one OS
04:32 PM skunkworks: http://electronicsam.com/images/KandT/testing/primus/Cad.png
04:33 PM cnomad: yeah linux subsystem for windows is a microkernel, but it's scheduled by window's kernel... which is not rt
04:34 PM XXCoder: whats freerdp
04:34 PM cnomad: ah wait no im wrong, it's not a microkernel -- it's just a compatibility layer -- still scheduled by a non-rt kernel
04:42 PM skunkworks: XXCoder: remote desktop on linus
04:45 PM XXCoder: wow you have remote desktop access to linus, the linux creator?
04:46 PM skunkworks: yes - we are like this ||
04:51 PM XXCoder: lol
07:09 PM Jin^eLD is now known as Jin|away
08:20 PM TurBoss: Hello
08:20 PM TurBoss: how I do create a new signal in hal
08:20 PM TurBoss: -Signal + Pin
08:20 PM TurBoss: :P
08:21 PM TurBoss: re
08:21 PM TurBoss: how I do create a new pin in hal files?
08:21 PM XXCoder: yo
08:21 PM TurBoss: hey!
08:24 PM XXCoder: making machinr work eh :)
08:25 PM TurBoss: yes bought a 6i25-7i76
08:25 PM XXCoder: nice
08:26 PM TurBoss: ty
08:26 PM mozmck_lp: TurBoss: I'm not sure you can make a pin in a hal file.
08:27 PM TurBoss: oh
08:28 PM mozmck_lp: you connect them to signals, but I think the hal pins have to be created in components.
08:28 PM TurBoss: ok
08:29 PM Tom_L: what are you looking for?
08:30 PM Tom_L: because it's probably there
08:32 PM TurBoss: I'm translating some gate logic to hal
08:32 PM TurBoss: sek
08:32 PM TurBoss: I almost finished
08:32 PM * TurBoss uploaded an image: image.png (10KB) < https://matrix.org/_matrix/media/v1/download/matrix.org/JAsOFUYeUyYybAuAjyaEuLrX >
08:34 PM TurBoss: http://dpaste.com/3W7YSFP
08:35 PM Tom_L: simple enough
08:35 PM Tom_L: good you drew it up first
08:35 PM TurBoss: logisim works great
08:36 PM Tom_L: i went a step further on one and labeled the drawing with the hal pins i planned to use
08:36 PM Tom_L: simplifies any confusion
08:36 PM TurBoss: true
08:38 PM mozmck_lp: you can make a custom component with halcompile pretty easily - and there are a bunch of logic components for examples.
08:38 PM TurBoss: I know but wanted to do it in simple hal
08:39 PM TurBoss: got it working
08:39 PM TurBoss: thank you guy
08:39 PM TurBoss: s
08:39 PM TurBoss: *guys!
08:42 PM Tom_L: you could have used lut5 too i bet
08:43 PM Tom_L: except you wanted 3 outputs
08:46 PM TurBoss: I have some DPDT switchs
08:46 PM TurBoss: wrong
08:46 PM TurBoss: SPDT
08:53 PM Tom_L: i think 'logic' would have worked for it also
09:05 PM TurBoss: got another question
09:06 PM TurBoss: how can I change the selected axis shown in AXIS UI?
09:07 PM TurBoss: from hal
09:09 PM cnomad: w.r.t. my earlier question on limit switches, they turn out to be optical -- i think they need to be powered, so I suspect that's what the "+VS" pin is on the wiring diagram. not sure, I emailed optosigma / sigma koki so hopefully this issue will clear up
09:11 PM Tom_L: TurBoss what do you mean?
09:12 PM TurBoss: Tom_L: the radio buttons shown in AXIS UI under manual control
09:23 PM Tom_L: how do you want to change it?
09:24 PM TurBoss: Tom_L: with the hal signals
09:28 PM Tom_L: http://linuxcnc.org/docs/2.7/html/gui/axis.html#_user_command_file
09:28 PM Tom_L: 11.9 maye
09:28 PM Tom_L: maybe
09:30 PM Tom_L: not exactly sure what you're after
09:48 PM TurBoss: ty
10:05 PM jesseg: Howdy
11:26 PM Crom: just popping in to say I won't be around until after my wife passes away from her cervical cancer. She's home from hospital on hospice care. I'd love for her to make it to June so she can see her only child, her daughter, my step daughter walk for graduation from UC Santa Cruz. I'm hoping for her to see Thanksgiving and Christmas at least.
11:27 PM XXCoder: hey Crom thanks for letting us know. that sucks. :(
11:30 PM Crom: Sure does. We went well together. She cooks, I eat. I fix cars and house, she brakes things (jk). We're both tea drinkers, history nerds, steam punk geeks, and sewers.
11:32 PM Crom: been making costumes with her for the last 12 years for Shakespeare in the vine http://shakespeareinthevinesorg My sister in law from my second wife started it and we all joined in.
11:32 PM Crom: been making costumes with her for the last 12 years for Shakespeare in the vine http://shakespeareinthevines.org My sister in law from my second wife started it and we all joined in.
11:33 PM Crom: Cancer SUCKS!!!! She was stage 4 already when we figured out something was wrong.
11:34 PM XXCoder: yeah cancer sucks indeed. :(
11:35 PM Crom: I've been fighting the Veterans Administration for the last 10 years trying to get disability. She get's diagnosed Jun 2016, I get rated 100% by the VA in Sep 2017. Now we have money to do things, and she can't do.
11:36 PM XXCoder: man timing sucks
11:36 PM Crom: effen VA!
11:37 PM Crom: May 2016 to Sep 15th 2017 we were living on $860 a month.
11:38 PM XXCoder: pretty small budget. used to live on bit less for long time
11:38 PM XXCoder: its not even enough to cover rent here
11:39 PM Crom: now it's $31xx.xx a month.. received $139k in back pay. spent it on the kids, step kids and grandkids. we couldn't go anywhere...
11:40 PM XXCoder: heh I almost got the inverse when I tried to stop ssdi
11:41 PM XXCoder: they refused to stop and kept sending money. I refused to use it.
11:41 PM Crom: house was paid off in Dec2015 after her mom died. Her sibs sold moms house and split the money. Her older bro and we paid off out houses, her sister bought a house outright in Nevada
11:41 PM XXCoder: after year of this, they demended money back
11:41 PM XXCoder: sure sent em all at once. they lost info, so sent it again. debt-free
11:42 PM XXCoder: because ss probably sucks as much as va does.
11:42 PM Crom: the same... I filed for SSDI... got denied, haven't worked in the last 8 years
11:43 PM Crom: filing for her SSDI now
11:43 PM Crom: , I'll get 75% of hers after she's gone.
11:43 PM XXCoder: I really hope I wont be on ssdi for 20 more years. I got seriously sick of ss
11:43 PM XXCoder: lived on it most of my life
11:43 PM Crom: should have filed in 2008 when I filed for the VA
11:45 PM Crom: SNAP food stamps counts VA disability pay, the bastards
11:45 PM XXCoder: jeez
11:46 PM Crom: we got 5 months of CalFresh (SNAP) then the VA money hits.
11:47 PM Crom: 5 months of $192 month I think
11:49 PM Crom: October our car dies... get it partially fixed $2700, then in June it totally dies... Spend $4000ish getting a 2 year newer car same model *6K miles vs the 280K on the old one.
11:49 PM Crom: 86K on the newer
11:51 PM Crom: pull all the good parts off the 95 and stick them on the 97. The New radiator, new speakers, stereo, tail light, axles, ...
11:51 PM XXCoder: nice wish I had that skill. I just bought 2012 one 2 years ago
11:51 PM XXCoder: should be paid off in 2022 whee
11:53 PM Crom: Then my wife starts going down hill. 2x Oxycoton 30mg day, 8x 10/325 Norco's day. get a $100 blaupunkt DVD android 2din deck installed so she can be distracted by watching Alton Brown Good Eats
11:55 PM Crom: she's now 2x 30mg Morphine Sulfate TER, 8x 5mg Morphine Sulfate liquid for break through pain.
11:56 PM Crom: I don't have the strength to do alot of the work now myself.
11:56 PM Crom: took me 4 days to pull and replace the radiator.
11:56 PM XXCoder: yeah big dismovation :(
11:57 PM Crom: strength or stamina...
11:57 PM Crom: very dismovational...
11:58 PM Crom: and staying with my wife all day is sapping even more strength
11:58 PM XXCoder: hard work taking care but better than just send off to die