#emc | Logs for 2010-01-13

[00:00:05] <jt-plasma> no biggie just a few more holes to tap
[00:04:00] <danimal_garage> why the height restriction?
[00:04:11] <danimal_garage> heat issues, or it just wouldnt fit?
[00:05:18] <jt-plasma> another part in the way
[00:05:22] <danimal_garage> ah
[00:05:27] <danimal_garage> bummer
[00:12:26] <jt-plasma> well I just broke off a 10-24 tap (the only one I have here) and managed to get the broken bit out of the hole so I'm calling it a night
[00:12:35] <jt-plasma> while I'm ahead
[00:13:01] <Jymmm> jt-plasma: Hey, it's all good, youcaould have done a blind hole
[00:18:27] <jt-plasma> yea I know
[00:18:58] <danimal_garage> ouch
[00:19:11] <danimal_garage> i have a bunch, but alot of good they do you here :)
[00:19:17] <Jymmm> jt-plasma: Just go grab some boose and a lazyboy chair =)
[00:19:34] <danimal_garage> i broke about 3 6-32 taps when i was doing my cabinet
[00:19:36] <jt-plasma> I have more at the other shop and it is a glass of red for me now
[00:19:53] <jt-plasma> it's what I get for using a tap for alum on steel
[00:19:55] <danimal_garage> i HATE 6-32 taps
[00:20:01] <jt-plasma> dry too
[00:20:07] <danimal_garage> lol yea
[00:20:30] <jt-plasma> try 4-40 on 1018 for some fun
[00:20:49] <jt-plasma> I use electo-lube mostly for steel they are slick
[00:32:18] <eric_unterhausen> I found the taps I get from mcmaster-carr are much less likely to break than the vermont american ones from the hardware store
[00:33:19] <eric_unterhausen> http://www.flickr.com/photos/15174376@N00/4267869984/ bike in progress
[00:43:50] <danimal_garage> eric_unterhausen: looks great!
[00:43:59] <danimal_garage> single speed?
[00:44:04] <danimal_garage> or fixed?
[00:44:05] <eric_unterhausen> three speed
[00:44:08] <danimal_garage> ah ok
[00:44:19] <eric_unterhausen> 120 mm spacing so I can switch if I want
[00:44:19] <danimal_garage> internal geared hub?
[00:44:36] <danimal_garage> nice
[00:44:41] <eric_unterhausen> yeah, it's a 1949 Sturmey 3 speed w/built in dyno
[00:44:53] <eric_unterhausen> my new commuter
[00:44:54] <danimal_garage> that's gunna be cool
[00:45:04] <danimal_garage> keep me posted on the progress
[00:45:14] <eric_unterhausen> hopefully goes to powder coat soon
[00:45:24] <danimal_garage> cool
[00:45:28] <eric_unterhausen> it's only taken me since 1975 though :)
[00:45:41] <danimal_garage> to build this one frame? lol
[00:45:49] <danimal_garage> or to learn how to do it
[00:45:51] <eric_unterhausen> yes, it's my first frame from way back when
[00:46:00] <eric_unterhausen> dug it out of storage
[00:46:06] <danimal_garage> ohh ok i thought it was a new build
[00:46:16] <danimal_garage> very cool
[00:46:21] <eric_unterhausen> I replaced the dropouts
[00:46:27] <danimal_garage> gotcha
[00:46:39] <eric_unterhausen> didn't know how to braze dropouts on the first one
[00:48:09] <eric_unterhausen> I'm hoping to finish a new frame this week, I'm displaying at NAHBS
[00:48:36] <danimal_garage> i got some customers that'll be there
[00:48:50] <danimal_garage> my chain tensioners will be on some bikes
[00:49:02] <eric_unterhausen> nice
[00:49:29] <eric_unterhausen> do you make diamond encrusted ones for show bikes?
[00:49:58] <eric_unterhausen> bbl
[00:50:04] <danimal_garage> nope, just ball lint encrusted ones
[00:50:07] <danimal_garage> adios
[02:08:20] <danimal_garage> dammit i'm still having gearchange issues
[02:13:20] <danimal_garage> yay i got it
[02:13:42] <danimal_garage> gearchange is up and running
[02:15:41] <Jymmm> danimal_garage: drop the tranny and toss in an automatic
[02:16:25] <danimal_garage> it's got a vfd
[02:16:53] <danimal_garage> but i wanted to use hi and low gears
[02:17:03] <Jymmm> danimal_garage: Then toss in a NO2 kit
[02:17:19] <Jymmm> NOS
[02:17:29] <danimal_garage> NAWZ
[02:17:49] <danimal_garage> na, just needs moawr b00st
[02:17:51] <Jymmm> slap on some slicks
[02:21:43] <danimal_garage> my vfd doesnt like the sudden gear change, i'll have to stop the spindle first (like cradek suggested)
[02:22:41] <Jymmm> ah
[02:49:16] <skunworks> well - 3 of the 4 servo drives work.
[02:49:28] <skunworks> servo drives*
[02:49:36] <skunworks> one smoked on arival ;)
[02:51:39] <skunworks> going to see what the seller wants to do - A 10uf surface mount capasitor seems to be shorted...
[02:51:48] <skunworks> for sure.
[02:54:32] <Danimal> that blows
[02:55:10] <skunworks> eh - still a pretty decent deal..
[02:55:28] <Danimal> thats good at least
[02:55:48] <Danimal> there were some nice drives with a power supply on ebay for like 300
[02:56:01] <skunworks> heh - I think these where it.. ;)
[02:56:33] <skunworks> 4 B40A40AC for 300
[02:56:33] <Danimal> well they were on there 2 days ago
[02:56:39] <Danimal> nope
[02:56:47] <skunworks> ah.
[02:57:55] <Danimal> how many did you need?
[02:58:46] <skunworks> we needed 3 - but it would be nice to have an extra ;)
[02:59:25] <Danimal> you can fix it though, right?
[03:08:33] <eric_unterhausen> amc stuff has the part numbers ground off of it
[03:08:56] <eric_unterhausen> makes me feel like reverse engineering it
[03:11:25] <skunworks> Danimal: maybe...
[03:11:41] <Danimal> amc stuff?
[03:11:59] <skunworks> eric_unterhausen: we noticed that... looks like they paint something over it that takes the part numbers off. like crinkle paint.
[03:12:18] <eric_unterhausen> all the ones I've seen have been ground, but maybe they got lazy
[03:12:39] <eric_unterhausen> in fact, I've seen some lead frames on a few parts
[04:05:47] <danimal_garage> i'm thinking about buying/building a static phase converter for my coolant pump
[04:16:04] <cradek> you can do it with come caps and a contactor
[04:16:36] <cradek> you need some run caps for the whole time it's running, and some extra for starting
[04:17:30] <cradek> or if you do it really carefully you might get by with just the run cap (that's what I did)
[04:17:48] <cradek> bbl
[04:29:40] <danimal_garage> cool i'll look into it
[04:30:09] <danimal_garage> i found some plans to build one, looks pretty easy
[04:30:53] <danimal_garage> dammit i have to install java just to make an xml file?
[04:37:49] <danimal_garage> i just noticed i have 2 different resolvers
[04:38:05] <danimal_garage> the x axis is a singer, and the z axis is a harowe
[05:17:32] <CliffB> Is anybody using the hardy SMP kernel from experimental on linuxcnc.org? I just tried it out and it seems to not have parport module compiled in.. when I try to start emc it complains it cannot find the symbol parport_register_device, and the config file it installs in /boot lists CONFIG_PARPORT not set... Yet the config.i386 online has it in. Do I have to recompile?.. ugg
[05:21:48] <tom3p> dangit ubuntu runs esd hidden in the background and inhibits /dev/audio wasted a couple hours on that one ps ax | grep esd 5016 ? S 0:00 esd -nobeeps
[05:23:29] <CliffB> hmm... just noticed another smp folder not under hardy... I'll give that one a try..
[05:23:40] <tom3p> workaround: System | Preferences | Sound | Sounds | uncheck 'Enable software sound micing ESD' does not seem to bother audacious/VLC/mplayer or RaelPlayer
[06:22:07] <danimal_garage> cradek: you're probably in bed by now, but if you see this, did you use both the rough and fine home switches, as well as the index?
[06:24:32] <danimal_garage> I just used the rough home switch (i think)..... the one that isnt in the resolver/tach assembly, along with the index, and it seems to be repeating ok, but just curious if you did something different or experienced problems the way i did it
[06:32:24] <Jymmm> JEEBUS, I just found a 0.01 Ohm resistor in my bins
[06:33:50] <Danimal> you have bins?
[06:34:07] <Danimal> i have cardboard boxes full of crap i pulled off my machines
[06:35:29] <Jymmm> yep http://farm3.static.flickr.com/2678/4085557028_356e0da490.jpg
[06:35:48] <Danimal> well i had a somewhat productive day, i got my gearchange working, and my home switches working
[06:36:01] <Jymmm> cool
[06:36:16] <Danimal> wow, those are bins for sure
[06:36:53] <Jymmm> on a chrome rolling rack, works out nicely
[06:37:24] <Danimal> like loafs of discounted bread at vons
[06:37:33] <Jymmm> heh
[06:39:25] <Danimal> my servos seem a bit loud and rough, i wonder if there's a way to smooth them out
[06:52:07] <Jymmm> 10 ton press?
[06:53:45] <Danimal> all i got is a 20 ton
[08:19:34] <kevinh> hello anyone here?
[08:33:30] <alex_joni> nope
[08:38:05] <Vq> those are fun
[08:38:30] <Vq> * Vq makes another notch
[08:52:00] <Jymmm> alex_joni: what's goin on
[09:02:35] <alex_joni> not much.. work
[09:08:30] <Jymmm> alex_joni: no cussing like that please!
[09:08:58] <alex_joni> heh
[09:09:07] <christel> [Global Notice] Hi all, We are now in the final stages of preparing the change over from hyperion to ircd-seven, we would encourage users and projects to read http://announce.freenode.net and familiarise yourselves with upcoming migration plans, we also suggest making sure that your bots and scripts work with the new ircd. Thank you and have a good day!
[09:18:52] <alex_joni> Jymmm: seen http://announce.freenode.net/ ?
[09:20:12] <Jymmm> alex_joni: I saw the walloops, didn't actually read the details till now =)
[09:20:48] <lilalinux_away> lilalinux_away is now known as lilalinux
[10:14:48] <piasdom> g'mornin all
[13:54:02] <KACEYGEE> KACEYGEE is now known as archivist
[15:04:16] <piasdom> what does this do G01 Z [0-#2] F#4 ... i understand g01 and f, but what does [0-#2] do? is that zero minus two ?
[15:07:32] <skunkworks_> #2 is like a variable in programming. SO somwhere in the program there is a line that says maybe #2 = .001 - so that line is [0-.001] = -.001
[15:08:41] <SWPadnos> you can't negate a variable, so you have to subtract it from zero
[15:09:09] <Jymmm> interesting
[15:25:03] <jepler> it's a stupid limitation. the short explanation for why Z[-#2] doesn't work is that - in that position is treated as the first character of a number
[15:25:18] <jepler> as in the unlikely Z[-5]
[15:26:11] <SWPadnos> the "simple" solution is to treat things that begin with '#' as numbers
[15:26:20] <SWPadnos> (after substitution, of course
[15:26:22] <SWPadnos> )
[15:26:36] <jepler> I think that's probably a bad idea
[15:26:46] <SWPadnos> and probably not simple
[15:27:20] <jepler> probably - and + in that position should be treated as unary operators, like they are in C where you can write y = -x;
[15:28:30] <jepler> but yuck, who wants to change how the gcode interpreter parses expressions.
[15:28:45] <SWPadnos> let's get Ken to do it!
[15:29:31] <tom3p> but kennys dead
[15:29:43] <SWPadnos> the other ken
[15:35:24] <cradek> ok I foolishly thought I could do it
[15:36:22] <cradek> it's hard because the arguments of unary functions are in []. so, allowing [-[#1]] is easy, but allowing [-#1] is hard
[15:36:53] <cradek> I'd have to crap it up pretty bad to allow [-#1] and that means I'd probably break something weird
[15:37:29] <jepler> huh, I didn't know this was currently allowed: G0ZSIN[45]
[15:37:37] <jepler> (I thought it had to be Z[SIN[45]])
[15:38:01] <cradek> I'm also surprised that works
[15:38:19] <cradek> because the S should trigger a read-real-number
[15:38:37] <jepler> our mental models match each other but not the code apparently
[15:38:41] <cradek> apparently
[15:39:49] <cradek> ah, read-real-value will read a unary word
[15:40:03] <jepler> http://emergent.unpy.net/files/sandbox/0001-Allow-unary-negation-of-expressions.patch
[15:40:21] <jepler> READ => #1=2
[15:40:21] <jepler> READ => G0Z[-#1]
[15:40:21] <jepler> 6 N..... STRAIGHT_TRAVERSE(0.0000, 0.0000, -2.0000, 0.0000, 0.0000, 0.0000)
[15:40:24] <jepler> READ => G0Z[-3]
[15:40:24] <jepler> 8 N..... STRAIGHT_TRAVERSE(0.0000, 0.0000, -3.0000, 0.0000, 0.0000, 0.0000)
[15:40:27] <jepler> READ => G0Z-SIN[45]
[15:40:27] <jepler> 13 N..... STRAIGHT_TRAVERSE(0.0000, 0.0000, -0.7071, 0.0000, 0.0000, 0.0000)
[15:40:34] <jepler> and passes runtests
[15:40:43] <cradek> you're smarter than me
[15:42:00] <jepler> that's far from clear
[15:44:32] <cradek> did you check a line like G0Z-
[15:44:46] <cradek> c1 will be the null
[15:45:24] <cradek> you pass that to read_real_value, which should error with NO_CHARACTERS_FOUND
[15:48:49] <jepler> and you want it to still give 'bad number format'?
[15:49:50] <cradek> oh I don't care, I'm just being nervous because you're sort of at the end of the line and you go on without noticing
[15:50:24] <cradek> but read_real_value does handle it, so it's probably fine
[15:50:42] <jepler> easy enough to make it give the same error and not recursively enter read_real_value
[15:51:06] <jepler> READ => G0Z--------------------------------------2
[15:51:06] <jepler> 7 N..... STRAIGHT_TRAVERSE(0.0000, 0.0000, 2.0000, 0.0000, 0.0000, 0.0000)
[15:51:26] <cradek> eek
[15:52:02] <cradek> that's a fascinating result
[15:52:29] <jepler> there do happen to be an even number of unary minuses there
[15:52:55] <cradek> yep I tried it with an odd number just for fun
[15:54:41] <jepler> http://emergent.unpy.net/files/sandbox/0001-Allow-unary-negation-of-expressions-v2.patch -- makes the error for G0Z- the same as before
[15:55:25] <cradek> that's the same patch
[15:55:33] <jepler> let me try harder then
[15:55:52] <jepler> http://emergent.unpy.net/files/sandbox/0001-Allow-unary-negation-of-expressions-v2.patch
[15:56:16] <cradek> I like it better
[16:28:27] <danimal_garage> cradek: i'm working on home switches now.... it seems to work ok with just the rough home switch and index, but i'd like to add the fine home switch like you did
[16:29:04] <danimal_garage> i was thinking i could use an and2 logic components... is that how you did it?
[16:29:12] <danimal_garage> -s
[16:29:41] <danimal_garage> to tie the 2 home switches together
[16:35:56] <cradek> no, I used mesa's index mask feature
[16:37:04] <tom3p> cradek jepler thx for working on that, [0-#var]
[16:37:07] <cradek> I think your way might work too, though. you'd have to be sure you don't have two virtual limit switches though.
[16:37:50] <cradek> if your coarse prox stays on for an inch or two, emc will think you have many home switches if you do it your way. you'd have to be very careful which one you home to
[16:37:57] <cradek> [above when I said limit, I meant home]
[16:42:29] <danimal_garage> ah ok
[16:42:56] <danimal_garage> index mask feature... i'll look into that too
[16:43:19] <danimal_garage> have you tried just using the course home switch and index?
[16:43:47] <cradek> no, I wouldn't trust it. there are a lot of indexes and they are close together.
[16:44:02] <danimal_garage> .02" each index, right?
[16:44:17] <cradek> could be - I'm not sure what the gearing is
[16:44:27] <danimal_garage> i think it's 10:1
[16:44:55] <cradek> you'd have to trust your coarse prox quite a bit to think you'd always get the same index if they're .02 apart
[16:46:23] <danimal_garage> 5 revs per inch, 4096 counts per rev for the resolver, that equals 20480, 1/10th of our scale
[16:46:47] <danimal_garage> yea, your right
[16:47:17] <danimal_garage> seems to be repeating, but all it takes is being off once to scrap some stuff
[16:47:27] <cradek> obviously with the original control they didn't trust it
[16:47:33] <danimal_garage> yea
[16:48:00] <cradek> yeah the problem is .02 isn't even "obviously wrong"
[16:48:06] <danimal_garage> right
[16:48:29] <cradek> (I guess .2 barely is)
[16:49:00] <danimal_garage> it's almost ready to run, maybe even today
[16:49:07] <cradek> slick
[16:49:16] <danimal_garage> except for the turret, that'll take me some time
[16:49:44] <cradek> do you have the feedback hooked up? it's the easiest tool changer ever
[16:49:50] <danimal_garage> the servo ferror is less than .0002"
[16:49:54] <cradek> neat
[16:50:07] <danimal_garage> not yet, might get that done today
[16:50:37] <danimal_garage> you did a ladder for it, right?
[16:50:39] <cradek> for a good time, set up a tenths indicator and have a look at a move at f.005
[16:51:01] <danimal_garage> wow thats slow
[16:51:22] <cradek> yeah, about .0001"/sec. on mine it's perfectly smooth.
[16:51:28] <danimal_garage> nice
[16:51:38] <danimal_garage> mine seems a bit noisy
[16:51:53] <cradek> noisy?
[16:51:54] <danimal_garage> not as smooth sounding as the old control
[16:52:21] <cradek> maybe you have a bit of oscillation somewhere
[16:52:40] <danimal_garage> yea, i was gunna play with it some more
[16:52:58] <cradek> or a ground connection missing somewhere?
[16:53:47] <danimal_garage> possibly, i didnt see a ground for the servo amps, but i figured it was just because it was DC
[16:54:00] <danimal_garage> i got shocked when i accidentally touched the heat sink
[16:55:05] <danimal_garage> that tickled
[16:56:14] <danimal_garage> the noise is only when it's moving..it's dead quiet when stationary
[16:56:36] <danimal_garage> aside from a very slight high pitched hum
[16:56:56] <cradek> yeah mine whine a bit when sitting too
[16:57:12] <danimal_garage> much quieter than my stepper machine
[16:57:52] <danimal_garage> i gotta get the lube setup before irun it
[17:00:59] <Danimal> whats your ferror?
[17:01:51] <Danimal> i saw what you had it set at, but what are you seeing on the scope?
[17:03:32] <cradek> not sure, it's been a long time
[17:03:37] <Danimal> ah
[17:04:33] <Danimal> most of my SSR's seem to be crap
[17:05:33] <cradek> they're dead?
[17:05:36] <Danimal> there's an auction for a lot of them locally ( a regular auction, not online)...i bet i can get a ton of them for a few bucks
[17:05:45] <Danimal> dead or flakey
[17:05:57] <cradek> iirc surplus center has them for not-much
[17:06:28] <Danimal> some work, some dont, some work when they want to
[17:07:06] <cradek> but again ... the machine was working right before?
[17:07:20] <cradek> I don't understand how so many bad parts were on your working machine
[17:07:27] <cradek> including a servo amp!
[17:08:00] <Danimal> well i dont know if the lube was working or anything like that... i do know the basic functions worked
[17:08:18] <cradek> ah
[17:08:22] <Danimal> the servos did work, i must have screwed the amp up somehow
[17:09:06] <Danimal> come to think of it, some stuff didnt work all the time, but i just wrote it off as bad wiring in the control... they used solid core wire, and alot of the connections needed to be resoldered
[17:09:31] <Danimal> up in the control pannel
[17:09:53] <cradek> ah
[17:10:04] <cradek> if it was all flaky, no wonder you didn't debug anything too carefully
[17:10:17] <cradek> now you expect it to all work reliably - that's what's different!
[17:10:35] <Danimal> yea, i shoulda spent more time with it i guess
[17:11:07] <Danimal> i got it powered up and realized how much the controller sucked so i stripped it down
[17:11:09] <cradek> mine was similar - the control would move it (jog and mdi) but that was it
[17:11:29] <cradek> I never got a program to run - I even punched a tape and tried that
[17:11:51] <Danimal> i didnt have a tape reader, and i couldnt figure out the ustor
[17:12:00] <cradek> my ustor was definitely dead
[17:12:00] <Danimal> so i gave up
[17:12:12] <cradek> yours doesn't have a tape reader behind the ustor?
[17:12:17] <Danimal> mine seemed to work, i could enter code
[17:12:20] <cradek> mine is on the inner door
[17:12:49] <Danimal> it had the bulb and the actual reader, but there were no motors or spools
[17:13:01] <Danimal> it had a dummy plate in there
[17:13:48] <Danimal> however it must have had that stuff at some point, there were tape remnants in the door
[17:13:49] <cradek> there are no motors or spools - the only motor is on the little wheel that goes in the index holes
[17:13:58] <Danimal> oh
[17:14:22] <cradek> that big bin below is where you 'stored' the tape
[17:14:30] <Danimal> ghetto
[17:14:34] <cradek> heh
[17:14:49] <Danimal> i was picturing more of a reel to reel kinda thing
[17:15:06] <cradek> some had reels, but threading the tape is a pain
[17:15:17] <cradek> this way you just clip it in the read head and it goes wherever
[17:15:38] <Danimal> interesting
[17:16:13] <Danimal> i wonder if the old parts are worth anything
[17:16:45] <Danimal> power supplys and the such
[17:16:45] <cradek> I've wondered that too
[17:17:04] <cradek> I was thinking the pcbs
[17:17:05] <Danimal> i dont know who would use a 5v 50A power supply
[17:17:19] <SWPadnos> people who test LEDs
[17:17:19] <cradek> to someone trying to keep one running, they would be, but who would do that?
[17:17:41] <cradek> hey SWPadnos has one... maybe he'll buy our old controls as spares
[17:17:42] <Danimal> exactly, they are horrible controls
[17:17:48] <SWPadnos> heh
[17:17:50] <Danimal> haha
[17:17:59] <cradek> "working when I took it off the machine! can't test because I don't have the power cord!"
[17:18:03] <SWPadnos> more likely I'll try to sell it - maybe we can make a 3-pack
[17:18:17] <cradek> "7 day no-doa warranty, buyer pays return shipping"
[17:18:24] <SWPadnos> mine's "might have been working when they took the hacksaw to the conduit" ...
[17:18:33] <Danimal> ouch
[17:18:38] <cradek> ouch, you lost your special resolver cables then
[17:19:34] <Danimal> well he probably has enough to put the pico boards in the left enclosure and hook thm up in there
[17:19:53] <cradek> yeah depending on where they cut it
[17:20:23] <Danimal> that's where i put mine, however i didnt cut much of the wire, i left it long and zip tied it up
[17:20:35] <cradek> the previous owner of mine UNPLUGGED the wires going to the control
[17:20:43] <Danimal> i could have gotten away with 1 foot of cable
[17:20:59] <cradek> iirc they all plug in except about six wires that go to screws
[17:21:16] <Danimal> yea, they unplugged mine too
[17:21:53] <Danimal> yep, power cables and servo motor cables are the only ones that screwed in
[17:22:04] <Danimal> at least on mine
[17:22:45] <Danimal> that conduit is pretty fancy
[17:24:13] <Danimal> cradek: did you use a ladder program for the turret, or were you able to do it all in hal?
[17:24:22] <cradek> I used ladder for everything I could
[17:24:44] <Danimal> oh
[17:25:00] <cradek> IMO ladder is the easy way to do all logic/sequencing
[17:25:20] <cradek> I think the only hal component I used other than ladder was weighted_sum to decode the turret signals
[17:25:58] <Danimal> that part looks easy, the ladder is new territory for me though
[17:25:59] <cradek> but now that I think of it, that would be super easy to do in ladder too
[17:27:57] <Danimal> i suppose i need to learn it, i do have a boat anchor of a toolchanger on my mill that would be nice to use
[17:29:16] <cradek> it's worth it IMO
[17:29:31] <cradek> doing complicated stuff with hal blocks is very tedious
[17:29:55] <cradek> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?ClassicLadder#Cradeks_Classicladder_Cheatsheet
[17:30:35] <Danimal> yea, i saw your cheatsheet, very nice
[17:32:01] <Danimal> the symbols look easy, i just dont know where to start
[17:33:30] <isssy> hi all
[17:33:38] <Danimal> hi isssy
[17:35:52] <cradek> well think of it in sequence. emc asks for tool change on one pin, turret should lift and spin until the right tool is there, turret stop should engage, it should wait a bit to settle, turret should go down, it should wait for the turret-is-seated signal, then tell emc it's done
[17:37:13] <danimal_garage> sounds easy
[17:37:32] <danimal_garage> i'll give it a shot
[17:38:02] <cradek> every step gets kicked off by the success of the previous step
[17:38:20] <cradek> think about these successes and what they mean should now happen
[17:38:50] <cradek> that means a lot of state is "stored" in the ladder
[17:39:10] <cradek> I like to hook estop to the ladder too, and make an estop reset everything to a sane state
[17:40:18] <danimal_garage> yea i remember we had to do that when the machines we build went wacky (using ladder and a plc)
[17:40:45] <danimal_garage> unfortunately i didnt do any of the programing, i just built and wired it
[17:41:42] <danimal_garage> i love being on hold with the dmv
[17:42:24] <cradek> maybe you even want a failure to cause an estop (what if you say turret down, but it doesn't read as seated after a few seconds? you know it's stuck between positions, or a long tool hit something - you sure don't want your program to continue
[17:42:29] <cradek> )
[17:44:03] <danimal_garage> yea, good point
[17:44:10] <danimal_garage> that could be messy
[17:44:59] <danimal_garage> i'm gunna go give the home switches a shot
[17:45:20] <cradek> have fun
[17:45:26] <danimal_garage> thanks again for the tips
[17:45:29] <cradek> welcome
[17:45:30] <danimal_garage> will do
[17:48:32] <ries> if you don't have much to do, may be this is a nice as a extra bobby : http://www.hgrindustrialsurplus.com/sub/search_results.aspx?k=1&searchKeyword=robot&searchCategory=&sortExpression=&sortASC=&pageSize=&searchMethod=description
[17:55:33] <pcw_home> danimal_garage: how are you driving the SSRs? Flaky SSR behavior could be caused by the drive arrangement
[17:57:57] <pcw_home> Best for FPGA cards --> SSR is SSR+in to +5V(from cable pin 49), SSR-in to GPIO
[17:57:58] <pcw_home> and then GPIO bit set to open drain mode
[18:09:31] <lilalinux> lilalinux is now known as lilalinux_away
[18:11:04] <lilalinux_away> lilalinux_away is now known as lilalinux
[18:16:00] <Jon_geo01005> Jon_geo01005 is now known as geo01005
[18:28:03] <danimal_garage> pcw: i'm using a 15v power supply and my 7i37
[18:28:44] <danimal_garage> the 15v power supply was the same one that the machine used for those relays originaly
[18:30:08] <pcw_home> Oh OK I thought they might be 5V SSRs directly driven by the 5I20
[18:31:05] <danimal_garage> well come to think of it, one i was having issues with was the one i was using to enable my servo amps, and that was driven from the enable signal from my 7i33
[18:31:45] <danimal_garage> can the enable pin on the 7i33 be opendrain?
[18:32:33] <danimal_garage> i guess i can just make the enable signal come from the 7i42 and make that opendrain if the 7i33 cant do it
[18:33:02] <danimal_garage> i didnt want to use my 7i37 though, i'm almost out of outputs
[18:36:24] <pcw_home> No 7I33 enable out is a CMOS push pull output (though it is 5V)
[18:37:28] <pcw_home> If the 7I33 wont drive your amp enables, I doubt the FPGA card will
[18:37:30] <pcw_home> Maybe your enables are > 5V
[18:38:13] <cradek> you tie enable to ground to enable it
[18:38:25] <cradek> I used a 7i37 opto iirc
[18:41:34] <danimal_garage> yea, i was trying to trigger the SSr with the enable output on the 7i33, and the SSR was supposed to ground the amp enable
[18:42:26] <danimal_garage> the SSR's are supposed to run on as low as 3v, but i think most of them arent good
[18:42:45] <geo01005> pcw_home: Have you considered making a microstepping daughter board that dosen't require softdmc?
[18:46:27] <pcw_home> SSRs are probably not too good from grounding enables - too high on voltage
[18:47:40] <danimal_garage> the enable is 12v
[18:48:18] <danimal_garage> what's the best program to use for making xml files?
[18:49:08] <pcw_home> Well I suppose the 7I32 could be run from EMC, I think Criss Morely (sp?) has a sample config
[18:49:10] <pcw_home> We do have a step_dir drive were playing around with but its bigger (8A 80v or 6 A 150V)
[18:51:13] <geo01005> Is softDMC capable of doing non-trivial kinematics?
[18:52:22] <geo01005> I suppose you might be able to do non-trivial kinematics with the event stuff...
[18:53:46] <pcw_home> With SoftDMC we can do closed loop step motor drive with 7I32, Maybe with a CPU with low latency (SMP)
[18:53:48] <pcw_home> EMC could do it as well (needs 30-50 KHz servo loop)
[18:53:49] <pcw_home> Kinematics are beyond the scope of SoftDMC I just does trapezoidal (position based)
[18:53:51] <pcw_home> or S curve (time based) motions
[18:55:18] <geo01005> I see. I'm looking for a low cost method of controlling a delta robot.
[18:57:06] <micges> hi pcw_home
[18:57:11] <geo01005> EMC is the best option at first glance because solving the kinematics is pretty easy.
[18:59:30] <geo01005> however, if the kinematics are calculated ahead of time. then I could just use a 7i43 running SoftDMC, that is alot cheaper.
[19:02:41] <pcw_home> Hi micges
[19:05:03] <pcw_home> With SoftDMC as long as you dont need fancy real time feedback, you can use the USB 7I43 and
[19:05:04] <pcw_home> fill SoftDMCs Q FIFO with PVT packets (for linear interp)
[19:06:05] <pcw_home> (thats what the Mach plug-in does)
[19:08:02] <geo01005> I suppose SoftDMC could be augmented to be able to control heaters as well?
[19:09:48] <geo01005> with thermocouple feedback, and a PWM output.
[19:10:41] <pcw_home> We had a customer use SoftDMC for controlling a Thermoelectric module so its doable
[19:10:43] <pcw_home> though you dont normally need so much speed for thermal devices
[19:13:26] <pcw_home> SoftDMC will eventual share the HostMot2 I/O devices so things like thermocouple feedback will be easier
[19:13:28] <pcw_home> but seems like all this would be simpler in EMC (SoftDMC could also be a HostMot2 module for EMC)
[19:14:12] <geo01005> Sure, just with EMC you need a computer.
[19:14:31] <geo01005> Running linux...
[19:14:42] <pcw_home> But thats a good thing...
[20:05:04] <danimal_garage> wtf, why is it so hard to install stuff in linux
[20:05:20] <skunkworks_> aptget stuff.
[20:05:23] <skunkworks_> ;)
[20:05:32] <micges> what stuff?
[20:05:38] <danimal_garage> all i want to do is make a xml file, and openoffice says i need java
[20:06:54] <danimal_garage> so i found instructions to install java, but it still wont save it as a xml file
[20:07:09] <micges> danimal_garage: sudo apt-get install sun-java6-jre
[20:08:17] <micges> and: sudo apt-get install openoffice.org2-java-common
[20:09:03] <danimal_garage> thanks, do i do both, or just or either/or?
[20:09:16] <micges> both in that sequence
[20:09:22] <danimal_garage> ah ok thanks
[20:10:53] <danimal_garage> well crap that seems easy... why do they have you go through a bunch of crap in the instructions?
[20:11:47] <jepler> you can list any number of packages in a single apt-get invocation: apt-get intsall sun-java6-jre openoffice.org2-java-common
[20:12:03] <jepler> you ahve to spell "intstall" correctly, however
[20:13:39] <danimal_garage> lol
[20:13:41] <jepler> for a more user-friendly interface to all the available software, run "Synaptic" under System > Administration. It has some ability to search, if you have guesses about the package name or description for what you're trying to find
[20:13:44] <danimal_garage> now you tell me!
[20:14:02] <danimal_garage> cool
[20:18:22] <micges> hi amit
[20:18:25] <amit> amit is now known as Guest69030
[20:18:33] <jepler> when (the version of) the software you want is packaged already, nothing beats debian/ubuntu for easy installation (redhat/fedora users: yes, rpm+yum is very nice too). with only rare exceptions, the software will install, will install all its prerequisites, and will automatically get any updates that are packaged for it.
[20:18:59] <Guest69030> hi micges
[20:19:33] <Guest69030> hi micges
[20:19:39] <jepler> if the software you want isn't packaged, it can be a whole other story
[20:19:45] <amit> amit is now known as Guest26541
[20:24:13] <jepler> I wonder if he's having some trouble using irc
[20:24:53] <danimal_garage> might be using the chat client on linuxcnc
[20:25:00] <danimal_garage> that thing is flakey
[20:25:18] <danimal_garage> on a windows machine anyways
[20:25:27] <jepler> I never use it, but I don't doubt it
[20:25:46] <danimal_garage> yea i use mirc
[20:26:13] <danimal_garage> but that thing is boarderline unusable
[20:27:17] <skunkworks_> not flakey.. (I use it exclusively)
[20:27:57] <jepler> you can have my text mode irc client when you pry it from my cold, dead hands
[20:28:00] <skunkworks_> (linuxcnc.com irc)
[20:28:07] <skunkworks_> heh
[20:28:45] <danimal_garage> skunkworks_: are you using it on windows or linux?
[20:28:52] <skunkworks_> windows
[20:28:56] <danimal_garage> really?
[20:28:58] <danimal_garage> wow
[20:28:59] <skunkworks_> yep
[20:29:16] <danimal_garage> i tried it on a few computers, and it wouldnt work well at all
[20:29:28] <skunkworks_> only time I notice it flakey - it is my internet connection.
[20:29:40] <danimal_garage> hmm
[20:30:14] <skunkworks_> it is a java app.. Maybe not up to date?
[20:30:38] <danimal_garage> first thing i checked
[20:31:12] <skunkworks_> granted - I am sure other irc clients are better - I am just lazy
[20:31:19] <danimal_garage> i was on wifi at the time, so maybe the connection was a little too poor
[20:31:37] <danimal_garage> now i'm on a wired network
[21:09:29] <christel> [Global Notice] Hi all, we are currently experiencing a "new sort of spam" -- where the spammer claims to be tunelling via HTTP POST and encourages you to visit a url. Visiting the URL opens another connecting via YOUR ip which spams further, we encourage you to NOT click the link to avoid being banned from channels or the network. Thank you.
[21:10:52] <danimal_garage> ok something is wrong... when i load emc, the penguin shows for a few seconds and axis never shows
[21:11:58] <micges> danimal_garage: try run it from terminal
[21:12:18] <danimal_garage> i have a feeling it's the xml file i'm trying to make for pyvcp
[21:12:20] <micges> you'll see errors
[21:15:36] <danimal_garage> when i try to save the xml file, it says there is formatting that may not save on the doc book file format
[21:15:58] <danimal_garage> i dont know how to run emc in terminal
[21:16:27] <danimal_garage> the only thing i changed is the xml file
[21:17:18] <micges> you're running emc from package or you downloaded source and compiled?
[21:18:20] <andypugh> You should be able to start a terminal window and just type 'emc'
[21:21:34] <jepler> oh, you're trying to use openoffice to edit a vcp xml file? I am doubtful that'll work. I would use a text editor like gedit instead.
[21:22:07] <tom3p> danimal_garage: the xml file is just a text file, , a tiny text fiel, you can make it with a text editor, you can see examples on the wiki
[21:22:37] <danimal_garage> you can save as an xml with gedit? i thought i tried that
[21:23:05] <tom3p> yes nano, pico, vi, gedit, scite
[21:23:07] <danimal_garage> micges: i just downloaded emc from the linux page
[21:23:33] <danimal_garage> i know nothing about compiling.. i'm not too computer litterate
[21:24:06] <micges> so like andypugh said: You should be able to start a terminal window and just type 'emc' and press enter
[21:25:09] <micges> programs->accesories->terminal
[21:25:20] <micges> hi e3m
[21:25:37] <e3m> hi
[21:25:48] <danimal_garage> yay it worked with gedit
[21:25:50] <e3m> prv
[21:25:55] <danimal_garage> now it's working good
[21:25:58] <danimal_garage> thanks
[21:26:26] <danimal_garage> sweet now i have an spindle speed bar
[21:27:10] <tom3p> i just added an accelerator ( hotkey) for a terminal ( System | Peferences | Keyboard shortcuts | Desktop | Run a terminal --> ALT + T )
[21:28:06] <tom3p> note: write a vertical 'bar' widget, fsks up pyvcp layout sometimes with only horz
[21:29:20] <danimal_garage> i guess i spoke too soon, the bar is there, but i guess i didnt link the spindle speed to it correctly
[21:30:39] <andypugh> You need to link in the postgui.hal file.
[21:31:07] <andypugh> The pyvcp component doesn't exist to be linked to when emc reads the main hal file.
[21:35:48] <danimal_garage> yea, i had a postgui.hal file
[21:36:05] <danimal_garage> the hal file works for my gearchange buttons
[21:36:32] <tom3p> cool, speed shift ok?
[21:36:42] <danimal_garage> yep, works great
[21:37:18] <tom3p> we dont need no stinking clutches ! bam! 3rd gear
[21:37:44] <danimal_garage> haha
[21:38:05] <danimal_garage> well, hi and low gears are engaged by clutches
[21:38:20] <danimal_garage> they arent actually gears
[21:38:33] <danimal_garage> just 2 sets of belts and pulleys
[21:38:38] <tom3p> shaft selectors?
[21:38:42] <tom3p> yah
[21:38:50] <danimal_garage> more or less
[21:38:58] <danimal_garage> both on the same shaft
[21:39:25] <danimal_garage> but each one has a magnetic clutch
[21:39:39] <tom3p> ah ok
[21:40:48] <danimal_garage> so i think i know my issue here... i need to tie the motion.spindle-speed-out pin to my spindle-speed.pyvcp pin
[21:41:34] <danimal_garage> how do i do that since i cant add the pyvcp pin to the config line that is already using the motion.spindle-speed-out pin
[21:41:54] <danimal_garage> since they have to be in different hal files
[21:44:21] <tom3p> not clear on what you have, but you cant have 2 source signals tied together. the 'signal' is the name of the 'wire' between pins. if you already have the signal named, yoiu can add pins to it later, but not another signal
[21:44:53] <tom3p> or defer all the 'wiring' till later
[21:48:26] <tom3p> lookat ...emc-dev/configs/lathe-pluto/postgui.hal
[21:48:46] <danimal_garage> ah ok, i got it working
[21:48:52] <danimal_garage> thanks
[21:49:15] <tom3p> linksp spindle-speed-cmd pyvcp.spindle-bar
[21:49:19] <tom3p> ok
[21:50:24] <danimal_garage> well, kinda working... it works, but it doesnt stop at the limits for hi and low gear
[21:50:58] <danimal_garage> might have it on the wrong pin, but i can figure that out
[21:51:13] <tom3p> hmm, the widget is a % thingy, maybe you need 2 widgets & selected-gear leds
[21:52:04] <danimal_garage> yea that might work
[21:52:05] <danimal_garage> i'll play with it
[21:53:51] <tom3p> a % thingy is a % of something, and you cant change the something (its %of 7500rpm or %of20000rpm) it should be correct for one OR the other, a good thing to test out before investing in the duplex model.
[21:55:45] <tom3p> you can mux2 the signals, no need for indicator leds, the live monitor is the one of interest
[21:56:48] <danimal_garage> ok i'll give it a shot a little later, thanks alot
[21:57:18] <danimal_garage> i'm gunna put in some led's for my home switches so i can fine tune them a little easier
[21:57:50] <andypugh> Talking of wiring, I had my first foray into using Verowire today.
[22:00:54] <andypugh> It's a pen/dispenser for a spool of enamelled wire with a solder-through enamel. So you can point-to-point wire on matrix board. It's like wire-wrap but directly onto component legs.
[22:01:20] <bill20r3> neat.
[22:02:33] <andypugh> Details are here: http://www2.produktinfo.conrad.com/datenblaetter/525000-549999/532630-an-01-en-Verdrahtungsstift.pdf
[22:08:19] <danimal_garage> man a pyvcp led widget makes adjusting home switches super easy
[22:14:24] <MarkusBec_away> MarkusBec_away is now known as MarkusBec
[22:16:29] <MarkusBec> MarkusBec is now known as MarkusBec_away
[22:18:47] <andypugh> I wish I had had the Verowire pen when I made the break-out board.
[22:21:28] <andypugh> Hopefully tomorrow I will buy an oscilloscope with enough channels to align the A and B channels of my encoder.
[22:24:43] <Dave911> I'm attempting to setup EMC2 on an Ubuntu 9.10 system. I've compiled the OS with the Real time patch, I've compiled and installed the RTAI system, loaded and compiled EMC2 from a Tarball.. everything is very stable. But when I try and run anything that requires the realtime system to kick into gear I get an error. The first error that shows up on the terminal screen is:
[22:24:45] <Dave911> insmod: error inserting /usr/realtime/modules/rtai_hal.ko: -1 operation not permitted
[22:24:47] <Dave911> When I try and run emc from a configuration created by stepconf, I get a nice EMC2 error window and it says "Realtime System Did Not Load" and then a number of errors after that since the RT system isn't there.
[22:24:49] <Dave911> Does this sound like my Ubuntu 9.1 Kernel source was not patched properly? I tried running EMC2 as root and that didn't help.
[22:24:50] <Dave911>
[22:25:26] <andypugh> dmesg should give a bit more detail
[22:25:41] <Dave911> That is version 9.10, not 9.1 as I typed.
[22:25:48] <Dave911> Ok, I'll try that.
[22:29:22] <Dave911> Hmmmm.. I get a message that says RTAI CONFIGURED WITH LESS THAN NUM ONLINE CPUS. Sounds like I need to reconfigure RTAI... any idea how that is done? I hope not in the configure file for the kernel compiler?
[22:30:29] <andypugh> Now one on me.
[22:30:33] <andypugh> New one, I mean
[22:30:46] <andypugh> Google the error message?
[22:31:24] <Dave911> I have an SMP configuration and I used a non SMP .configure file to compile the kernel but I went in and changed the .configure file so it was setup for an Intel Pro type cpu and I turned on the SMP..
[22:31:25] <Dave911> Google ... yep sounds like a plan.. :-) Thanks.
[22:34:48] <Dave911> I found some links.. the error went right to the RTAI users manual.. There certainly are a lot of docs on Linux related software! Nice...
[23:03:33] <danimal_garage> cradek: got the home switches working with and2
[23:03:47] <danimal_garage> well, at least i got z working, havent gotten to x yet
[23:05:32] <danimal_garage> got the servo amp enable working good too
[23:19:23] <Jymmm> Is there a weblink to monitor the Haiti traffic?
[23:19:37] <Jymmm> oooops wrong channel
[23:37:41] <danimal_garage> why, planning on going on a road trip from the bay area to haiti?
[23:43:03] <lilalinux> lilalinux is now known as lilalinux_away
[23:43:48] <Jymmm> No, the emergency radio traffic after the earthquake in Haiti
[23:49:05] <danimal_garage> oh
[23:49:14] <danimal_garage> didnt realize there was an earthquake
[23:49:58] <danimal_garage> i guess that's what happens when you only listen to internet radio and dont watch tv or have time to read the paper
[23:50:20] <Jymmm> I do neither, just ham radio
[23:50:26] <danimal_garage> in fact the rest of the country could have blown up and i wouldnt even know
[23:52:49] <danimal_garage> hmm well the wait doesnt seem too long at the dmv, i think i'm gunna go get my registration taken care of
[23:52:58] <danimal_garage> bbl