#linuxcnc | Logs for 2018-11-11
Back
[00:08:31] -!- justanotheruser has joined #linuxcnc
[00:15:36] -!- justanotheruser has quit [Ping timeout: 252 seconds]
[00:18:05] <XXCoder> interesting
[00:18:24] <XXCoder> bunch of machines at work has that, pretty convient
[00:41:12] <XXCoder> so... anyone wanna caliber under 4 bucks? lol https://www.aliexpress.com
[00:53:50] -!- MarkusBec has quit [Ping timeout: 272 seconds]
[00:55:23] <tiwake> how about... not
[00:56:16] <XXCoder> its perfect to bring with you to junkyard
[00:56:27] <tiwake> not if it can't turn on
[00:56:37] <XXCoder> lol probably would fail yeah
[00:56:46] <tiwake> at work I have an 8" mitotoyo I got used for $5
[00:56:59] <XXCoder> not bad. certified?
[00:57:01] <tiwake> dial calipers... no batteries needed
[00:57:05] <tiwake> hehno
[00:57:18] <XXCoder> I cant use uncertified tools at work lol
[00:57:20] -!- MarkusBec has joined #linuxcnc
[00:57:20] <tiwake> they are within 0.002" though
[00:57:44] <XXCoder> my dial and digitial is both mitoyoto
[00:57:49] <tiwake> they vary 0.001 based on position.. an internal gear might be a little messed up
[00:57:59] <XXCoder> one digitial mic and one starret 1950s mic
[01:01:00] <cnomad> evilroot: not too sure how to do this. it seems like i would need a pretty big reservoir cap to smoothen this to ~3.3v DC
[01:01:05] <cnomad> one sec let me grab a pic
[01:03:04] <cnomad> evilroot: https://i.imgur.com <-- 'tis what i get unfiltered
[01:03:35] <cnomad> so I guess I'd need an amp on the other end?
[01:03:44] <cnomad> this really doesn't seem right, something else might be wrong?
[01:04:07] -!- c-log has quit [Ping timeout: 244 seconds]
[01:04:31] <cnomad> (motor itself works ok, BTW, with the driver I have + "linuxcnc". but I really want to get the limit sensors working before testing this more)
[01:05:51] -!- c-log has joined #linuxcnc
[01:05:51] -!- c-log has quit [Changing host]
[01:05:51] -!- c-log has joined #linuxcnc
[01:06:07] <cnomad> this is 60 hz. suspicious
[01:10:28] -!- c-log has quit [Ping timeout: 268 seconds]
[01:12:31] -!- c-log has joined #linuxcnc
[01:12:31] -!- c-log has quit [Changing host]
[01:12:31] -!- c-log has joined #linuxcnc
[01:20:51] -!- ChunkyPuffs has quit [Quit: WeeChat 2.3]
[01:24:06] -!- dan2wik has quit [Quit: quit has dan2wik!]
[01:25:36] -!- dan2wik has joined #linuxcnc
[01:25:36] -!- dan2wik has quit [Changing host]
[01:25:36] -!- dan2wik has joined #linuxcnc
[01:30:43] -!- veek has joined #linuxcnc
[01:46:40] -!- ve7it has quit [Remote host closed the connection]
[02:00:49] -!- JesusAlos has joined #linuxcnc
[02:11:21] -!- JesusAlos has quit [Remote host closed the connection]
[02:18:25] -!- veek has quit [Read error: Connection reset by peer]
[02:18:40] -!- veek has joined #linuxcnc
[02:22:01] -!- JesusAlos has joined #linuxcnc
[02:22:50] -!- veek has quit [Client Quit]
[02:27:03] -!- dan2wik has quit [Quit: quit has dan2wik!]
[02:28:31] -!- dan2wik has joined #linuxcnc
[02:28:31] -!- dan2wik has quit [Changing host]
[02:28:31] -!- dan2wik has joined #linuxcnc
[02:31:42] -!- r0n0x has joined #linuxcnc
[02:31:52] <r0n0x> heyo, anyone have experience with taig mills?
[02:42:16] -!- EntropyWizard has quit [Quit: Leaving.]
[02:47:10] <XXCoder> lol https://www.aliexpress.com
[02:47:16] <XXCoder> just $5k and no shipping
[03:18:38] -!- Deejay has joined #linuxcnc
[03:18:53] <Deejay> moin
[03:34:59] -!- c-log has quit [Ping timeout: 244 seconds]
[03:38:00] -!- c-log has joined #linuxcnc
[03:39:47] -!- Akex_ has quit [Ping timeout: 240 seconds]
[03:40:22] -!- ikcalB has joined #linuxcnc
[03:40:43] -!- Akex_ has joined #linuxcnc
[03:53:05] -!- merkatorix has joined #linuxcnc
[03:54:30] -!- ikcalB has quit [Ping timeout: 268 seconds]
[04:32:03] -!- ikcalB has joined #linuxcnc
[04:47:32] -!- ikcalB has quit [Ping timeout: 272 seconds]
[04:56:03] -!- ikcalB has joined #linuxcnc
[05:08:22] -!- JesusAlos has quit [Quit: JesusAlos]
[05:26:02] <r0n0x> anyone use or see a taig cnc mill in action?
[05:26:39] <XXCoder> not me
[05:27:19] -!- swarfer has joined #linuxcnc
[05:29:47] -!- ikcalB has quit [Ping timeout: 240 seconds]
[05:34:18] <Tom_L> morning
[05:34:28] <XXCoder> hey tom
[05:37:46] <Tom_L> https://www.youtube.com
[05:37:54] <Tom_L> suck it #reprap
[05:38:13] <XXCoder> yeah heard of that thing
[05:38:20] <XXCoder> though more finished
[05:42:33] <MarcelineVQ> are the plans and software for that thing free?
[05:43:01] <XXCoder> i dont know, because slicer for that thing would be very complex
[05:43:06] <Tom_L> that would be doubtful
[05:43:31] <MarcelineVQ> suck it reprap might not be the right exclaimation in that case :o
[05:45:24] -!- swarfer has quit [Quit: swarfer]
[05:46:32] <Tom_L> https://www.mdpi.com
[05:51:08] <Tom_L> https://www.engineering.com
[05:51:12] <MarcelineVQ> impressives section 1, will read more later
[05:55:31] <Tom_L> https://www.autodesk.com
[05:57:47] -!- syyl has joined #linuxcnc
[06:02:53] <jthornton> morning
[06:10:53] -!- Akex_ has quit [Ping timeout: 245 seconds]
[06:11:00] -!- syyl_ has joined #linuxcnc
[06:11:25] -!- Akex_ has joined #linuxcnc
[06:13:51] -!- syyl has quit [Ping timeout: 260 seconds]
[06:24:16] -!- miss0r|laptop has quit [Ping timeout: 246 seconds]
[06:25:13] -!- miss0r|laptop has joined #linuxcnc
[06:28:58] -!- eFuchs has joined #linuxcnc
[06:29:02] -!- eFuchs has quit [Client Quit]
[06:30:33] <XXCoder> hey jthornton
[06:30:56] <XXCoder> I found something interesting, apparently you can buy a camera POV mount for less than dollar
[06:31:24] <XXCoder> I suppose could make a live camera view for your chicken coop or something
[06:32:05] <jthornton> mount it on a chicken?
[06:32:18] <XXCoder> that would be interesting but no
[06:34:12] <XXCoder> https://www.aliexpress.com
[06:34:20] <XXCoder> that one costs bit more because has servos
[06:34:41] <XXCoder> its designed for plane but had couple interesting ideas lol
[06:35:39] <jthornton> I could put a small camera like a USB camera on there hmm how to move the servos?
[06:36:07] <XXCoder> you know more about such requirements than I do
[06:39:21] <XXCoder> how goes your buttons project
[06:43:17] -!- syyl_ has quit [Quit: Leaving]
[06:48:13] <jthornton> this seems to work well https://paste.ubuntu.com
[06:50:42] -!- veek has joined #linuxcnc
[06:57:31] -!- veek has quit [Ping timeout: 244 seconds]
[06:58:24] -!- veek has joined #linuxcnc
[07:17:09] -!- Akex_ has quit [Ping timeout: 244 seconds]
[07:18:21] -!- Akex_ has joined #linuxcnc
[07:22:15] -!- connor_goodwolf has quit [Ping timeout: 246 seconds]
[07:23:30] -!- connor_goodwolf has joined #linuxcnc
[07:26:30] -!- phipli has joined #linuxcnc
[07:28:55] -!- theCockerel has joined #linuxcnc
[07:45:03] -!- Ross has quit [Quit: ZNC - http://znc.in]
[07:47:07] -!- Ross has joined #linuxcnc
[08:16:34] -!- veek has quit [Quit: Leaving]
[08:24:50] -!- Akex_ has quit [Ping timeout: 244 seconds]
[08:26:06] -!- Akex_ has joined #linuxcnc
[08:37:33] -!- r0n0x has quit [Read error: Connection reset by peer]
[08:40:30] -!- ikcalB has joined #linuxcnc
[08:49:38] -!- ikcalB has quit [Ping timeout: 245 seconds]
[08:52:11] -!- SamSagaZ has joined #linuxcnc
[08:53:58] -!- ikcalB has joined #linuxcnc
[08:58:51] -!- ikcalB has quit [Ping timeout: 264 seconds]
[10:11:12] <phipli> anyone got any experience with Node-RED?
[10:11:48] -!- CubicleNate has quit [Ping timeout: 252 seconds]
[10:20:42] <Tom_L> jthornton, that code looks solid now
[10:21:02] -!- JT-Shop has quit [Remote host closed the connection]
[10:21:53] <phipli> Tom_L, you scared him off!
[10:23:10] -!- JT-Shop has joined #linuxcnc
[10:26:24] <Tom_L> JT-Shop, is that a python thing to do += instead of ++ ?
[10:27:23] <Tom_L> or just swamp style?
[10:27:59] <tiwake> += is a standard programming thing
[10:28:11] <Tom_L> so is ++
[10:28:33] <tiwake> x=x+y or x+=y
[10:28:47] <Tom_L> it probably compiles out the same in the end
[10:30:12] <Tom_L> deb24 += 1 or ++deb24
[10:30:51] <phipli> I guess he's got used to ++ not being available if he's using a mix of languages
[10:31:15] <Tom_L> i don't do python was why i wondered
[10:31:24] <tiwake> Tom_L: ++x is different from x++
[10:31:26] <MarcelineVQ> notably ++deb24 is different than deb24++ as well, languages aren't so directly comparable sometimes
[10:31:38] <Tom_L> tiwake i realize that
[10:31:39] <phipli> Tom_L, yeah, no i++ in python
[10:31:55] <tiwake> wait you cant do x++ in python?
[10:32:01] <phipli> nope
[10:32:04] <tiwake> fail
[10:32:09] <Tom_L> i don't do python was why i wondered
[10:32:17] <phipli> it doesn't work in hardly anything other than the C family
[10:32:54] <MarcelineVQ> fwiw += is quite common in imperative languages like tiwake mentions
[10:33:43] <Tom_L> i just wondered why he chose it over ++ and it seems it's due to the lanuage barrier
[10:34:12] <tiwake> I generally like to do x=x+y because its a little more clear typing.. easier to read... but it does not really matter much
[10:34:29] <tiwake> language designers love their shorthands
[10:34:52] <Tom_L> really i just thought it was too quiet in here
[10:34:55] <phipli> Tom_L, do you add many of your own shorthands as a library?
[10:35:16] <phipli> (out of curiosity)
[10:35:17] <Tom_L> not much anymore
[10:35:28] <Tom_L> i don't program that much now
[10:35:46] <phipli> :'(
[10:35:51] <phipli> Job change?
[10:36:00] <Tom_L> i never did it at a job
[10:36:23] <MarcelineVQ> > succ deb24
[10:36:55] <phipli> Nor me - it has always been a tool to avoid repetitive tasks at work
[10:37:40] <phipli> but... I hide the quality of my code from the real programmers due to shame. (Except when I want them to re-implement something to make it client safe)
[10:38:09] <Tom_L> i've seen some real programmer's code too and some isn't all that pretty either
[10:38:52] <Tom_L> some just like to make it confusing to throw you off
[10:38:54] <MarcelineVQ> phipli: this is wise
[10:39:29] <MarcelineVQ> Tom_L: obfuscation is a pass-time, as is golfing, doing it to throw people off without them knowing is mean though
[10:40:00] <phipli> MarcelineVQ, my girlfriend used to work with them so they'd only make fun of me :)
[10:50:04] -!- Markus_P has quit [Quit: Konversation terminated!]
[10:50:21] <JT-Shop> hi phipli how's it going?
[10:50:36] <phipli> Hey JT-Shop - not bad
[10:50:40] <phipli> had a week off work
[10:50:51] <phipli> pigeon died week before though
[10:51:01] <JT-Shop> I had to get rid of one hen, she was an egg eater and made a mess in the nest box
[10:51:01] <phipli> yourself?
[10:51:46] <JT-Shop> neighbor took her in, she got a boyfriend and roosts on the big dog roost next to the rooster so everyone is happy now :)
[10:52:07] <JT-Shop> doing ok going to take off next weekend for a short holiday
[10:53:06] <JT-Shop> trying to get some wind blocks put in today on the run
[10:53:12] <phipli> Going somewhere on the bike?
[10:53:38] <JT-Shop> naw, too cold to ride the bike we are taking the Honda car though
[10:54:46] <JT-Shop> got another hen that has decided to start laying in the roost box...
[10:54:48] -!- justanotheruser has joined #linuxcnc
[10:58:39] <phipli> Ours are only laying about one egg per day at the moment
[11:06:02] <jthornton> trying to come up with a bullet proof debounce and a timeout for the chicken door if you have any ideas?
[11:15:30] <phipli> where are you getting the bounce?
[11:18:38] <phipli> if you're worried about false triggering, stick two switches on it? Or three?
[11:21:14] <phipli> If you're talking about in a manual control "up and down" button, I'd just test a few times over 10ms in a for loop to avoid false triggers, and then have a 500ms cool down period. Plus use edge detection (change of state) rather than "is it on".
[11:21:35] -!- swarfer has joined #linuxcnc
[11:22:58] -!- swarfer has quit [Client Quit]
[11:25:41] <JT-Shop> I tried edge detect but the debounce does not work as it should... the main thing I'm trying to do is have a timeout for the door lol
[11:26:20] <JT-Shop> https://paste.ubuntu.com this sorta works but is clunky lol
[11:27:00] <phipli> is that detecting light levels?
[11:28:18] <phipli> no...
[11:29:23] <phipli> so every 10th second you are testing if the buttons are pressed or not
[11:30:04] <phipli> and counting up to 3 if they are each time, or down if they're not each time - within the range 0 to 3
[11:30:42] <phipli> but if you get false triggers, there is not "return to centre" type feature
[11:30:57] <phipli> no, sorry, it is the same gpio so that doesn't matter
[11:32:30] <phipli> I'd consider moving the "lights" check into the if statement above : if deb24 == 3 and not lights:
[11:37:15] -!- heinz has joined #linuxcnc
[11:38:27] <phipli> JT-Shop, simple solution - react to the first state change, then ignore everything for 100ms
[11:39:12] <phipli> if it was a spurious trigger, then you will know after that 100ms and it wont really matter. If you're getting constant spurious triggers, that is a wiring issue, not a debounce issue! :)
[11:43:36] -!- Inline has quit [Quit: Leaving]
[11:47:00] -!- CubicleNate has joined #linuxcnc
[11:49:00] <merkatorix> My latency running it for around 18 hours looks like this: https://pasteboard.co
[11:49:03] <JT-Shop> yea it's just switch bounce and trying to do something one time
[11:49:27] <JT-Shop> phipli: how would you time the 100ms?
[11:49:39] <merkatorix> I still get this error: https://pasteboard.co
[11:50:29] <merkatorix> RTAPI ERROR: Unexpected realtime delay on taks 1
[11:51:21] -!- Inline has joined #linuxcnc
[11:51:33] <JT-Shop> maybe your base thread is set too fast or something on startup causes it???
[11:51:37] <phipli> JT-Shop, record the event time + 100ms as FutureTime and then only run the button tests if now>FutureTime
[11:51:40] -!- CubicleNate has quit [Ping timeout: 250 seconds]
[11:51:42] * JT-Shop goes back to the other shop
[11:52:22] <phipli> JT-Shop has too many Shops. Perhaps he should buy a single big computer and remote into it from all other rooms
[11:52:24] <JT-Shop> phipli: ok I'll give that try in a a bit
[11:52:31] <merkatorix> JT-Shop, So you mean the settings file says it should be even faster than whan it displays (which is below 21000ns)
[11:52:56] <JT-Shop> lol, yea I have a single big computer as a server that does nothing lol
[11:53:03] <phipli> :)
[11:53:21] <JT-Shop> merkatorix: not sure what your saying
[11:53:25] <phipli> you know it is serious when I go and start my desktop... I'm too lazy to do it most of the time
[12:01:41] <merkatorix> I tried to ask if "base thread is set to fast" is referring to the settings I went through in the stepconf wizzard.
[12:02:06] <merkatorix> I thought I turned everything way down, but I'll check again :)
[12:14:53] -!- ve7it has joined #linuxcnc
[12:21:01] <JT-Shop> well turning down the base thread time is the wrong way... you need to increase it (make it take longer)
[12:28:56] <jthornton> phipli: the modified manual light test code https://paste.ubuntu.com
[12:29:10] * jthornton goes back to the shop
[12:29:26] -!- gloops has joined #linuxcnc
[12:34:40] <phipli> JT-Shop, that looks ok to me - I'm not good enough at python to spot issues though... I leave that to the error reporting :)
[12:35:20] <JT-Shop> lol
[12:35:28] <phipli> JT-Shop, I guess it is a toggle switch?
[12:35:53] <JT-Shop> aye
[12:36:33] <gloops> wonder what these are off https://www.ebay.co.uk
[12:36:37] <phipli> do you have a pull up or pull down resistor on it?
[12:40:09] <JT-Shop> I'm using the internal pull down resistors
[12:41:39] <phipli> so you are, on line 16
[12:46:20] -!- JT-Fshop- has quit [Quit: Leaving]
[12:46:41] -!- JT-Fshop has joined #linuxcnc
[12:47:01] -!- JT-Fshop has quit [Client Quit]
[12:47:20] -!- JT-Shop2 has joined #linuxcnc
[13:26:21] -!- CubicleNate has joined #linuxcnc
[13:56:52] -!- ferdna has joined #linuxcnc
[14:04:38] -!- phipli has quit [Ping timeout: 245 seconds]
[14:45:04] -!- pingufan has joined #linuxcnc
[14:55:59] -!- heinz has quit [Quit: Page closed]
[15:23:19] Jin|away is now known as Jin^eLD
[15:55:15] -!- syyl has joined #linuxcnc
[16:01:49] <JT-Shop2> test
[16:09:49] <cnomad> so, finally found a wiring diagram for a _related_ stage: https://www.global-optosigma.com
[16:09:51] <Tom_L> pass
[16:10:07] <cnomad> which confirms that +VS is 5-24 VDC
[16:10:16] <cnomad> also tells me the photo sensors in use
[16:11:18] <cnomad> doesn't suggest that there's any current being sourced from the motor leads, so oit might not be telling the whole story; but otherwise it's difficult for me to imagine why the sensors won't output _anything_ until i switch the driver on
[16:11:40] <cnomad> still, though... getting these 60Hz pulses through the limit sensor output
[16:25:38] <JT-Shop> Tom_L: you get any snow?
[16:28:09] <Tom_L> not yet but we're supposed to later on
[16:28:33] <Tom_L> 2-3"
[16:47:42] -!- ferdna has quit [Quit: Leaving]
[16:58:20] <cnomad> evilroot: issue resolved! it turned out to be an open collector in the sensor, so I had to add a pull-up between the input and the LIM output
[16:59:07] <cnomad> my assumption that it was sourcing current from the motor leads was false. it's just that it was really sensitive to coil noise when there isn't a voltage source on the other end of the collector
[16:59:11] <cnomad> yay!
[17:07:06] <Deejay> gn8
[17:08:25] -!- Deejay has quit [Quit: bye]
[17:51:17] -!- alpha1125 has joined #linuxcnc
[17:52:01] -!- merkatorix has quit [Ping timeout: 246 seconds]
[18:01:25] -!- syyl has quit [Quit: Leaving]
[18:02:05] Jin^eLD is now known as Jin|away
[18:10:53] -!- andypugh has joined #linuxcnc
[18:17:39] -!- nick001 has joined #linuxcnc
[18:32:09] -!- alpha1125 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
[19:06:29] -!- gloops has quit [Quit: Leaving]
[19:39:59] <XXCoder> JT-Shop: saw your new code. nice
[19:41:58] <XXCoder> nice and pretty tight debounce code
[19:42:51] <XXCoder> since it is pretty tight loop, maybe l.ook into trying to use else if to cut some branching checks
[19:43:15] <XXCoder> for example if deb24 == 3 blah blah else if deb24 == 0 blah blah
[19:43:27] <XXCoder> not too sure what python version would be
[19:44:20] -!- ziper has quit [Read error: Connection reset by peer]
[19:44:42] <XXCoder> I see 2 locations where "else" can be added
[19:44:47] -!- ziper has joined #linuxcnc
[20:05:14] -!- jerryq has quit [Ping timeout: 272 seconds]
[20:43:04] -!- Vondex has joined #linuxcnc
[20:57:51] -!- Vondex has quit [Quit: Leaving]
[21:26:40] -!- ferdna has joined #linuxcnc
[21:37:43] -!- veek has joined #linuxcnc
[21:52:47] -!- ferdna has quit [Quit: Leaving]
[22:30:14] -!- veek has quit [Quit: Leaving]
[22:30:16] <skunkworks> https://youtu.be
[22:31:10] <XXCoder> looking
[22:32:27] <XXCoder> nice
[22:32:55] <XXCoder> wow he can punch cut a pipe lol
[22:34:54] <skunkworks> he isz entertaining
[22:36:06] <skunkworks> he was given a free mach 4 industrial package...
[22:36:19] <XXCoder> dang
[22:37:31] <skunkworks> i like how he is showing off css.. (because it didnt work in mach 3
[22:39:02] <skunkworks> sorry.. irssi doesnt have spell check
[22:40:35] <XXCoder> I love his rotatary weld station
[22:42:46] <skunkworks> he has a lot of great videos
[22:43:01] <XXCoder> he does. thats why I subbed his channel quite a while ago
[22:43:28] <skunkworks> yes
[22:46:17] <XXCoder> "pro tip, if fitted bearing still turns its good sign" lol
[22:47:14] <XXCoder> man wish I had even 10% of his skills.
[22:51:33] <Rab> Did he just press the spindle shaft into the bearing without supporting the inner race? (14:20)
[22:51:50] <XXCoder> i dont know what inner race is
[22:52:07] <Tom_L> bearing ID
[22:52:08] <SpeedEvil> The inner cylinder of a ball bearing
[22:53:11] <Tom_L> i suppose 4 jaw would be best on something like that
[22:53:32] <XXCoder> so far he havent solved slight off center issue
[22:53:49] <XXCoder> maybe its just off angle or maybe its chuck itself being off center
[22:53:57] <Tom_L> not critical on a 4 jaw
[22:54:12] <XXCoder> yah thats what he said, just want mor etrue setup for easier time
[22:54:23] <Tom_L> no sound here
[22:54:38] <XXCoder> same here unfortunately, at both ends lol
[22:55:05] <Tom_L> was that a stepper or servo?
[22:55:28] <XXCoder> not sure, wiring connection style looks like servo but dunno
[22:55:35] <XXCoder> or maybe its encoded stepper
[22:56:15] <SpeedEvil> It's a complex encoded stepper/servo thingy that he's only using part of the functionality on.
[22:56:21] <SpeedEvil> At least it was last video of his
[22:56:30] <XXCoder> oh yeah!
[22:56:36] <XXCoder> he was programming it isnt he?
[22:59:08] <XXCoder> little backlash there
[23:00:29] -!- jerryq has joined #linuxcnc
[23:06:33] -!- CaptHindsight has joined #linuxcnc
[23:06:41] <CaptHindsight> bit broke
[23:07:27] <XXCoder> on what mkachine maching what thing?
[23:08:46] <CaptHindsight> in the vid skunkworks posted
[23:08:55] <CaptHindsight> ~40 min ago ouch
[23:09:14] <XXCoder> oh, yeah surpised it lasted that long due to fairly bad backlash
[23:09:41] <CaptHindsight> https://youtu.be
[23:10:00] <XXCoder> oh drill broke
[23:10:16] <XXCoder> no idea how that happened lol
[23:32:35] -!- veek has joined #linuxcnc
[23:54:23] -!- ve7it has quit [Remote host closed the connection]