#emc | Logs for 2009-08-22

[00:05:10] <mozmck> clip9: didn't know it did! no idea...
[00:13:02] <skunkworks> logger_emc: bookmark
[00:13:02] <skunkworks> Just this once .. here's the log: http://www.linuxcnc.org/irc/irc.freenode.net:6667/emc/2009-08-22.txt
[00:13:41] <dan1mal> hi guys
[00:15:06] <dan1mal> just looking for a little confirmation here... i just added a value to the backlash in the ini file, and the manual says i need to make sure my stepgen_maxvel is at least 1.5-2x my acceleration
[00:15:46] <dan1mal> I only need to do that for the axis i added the backlash value to, correct?
[00:17:10] <dan1mal> and my stepgen_maxvel value was 2.3, and my acceleration was 7.0, so now i need to make my stepgen_maxvel around 12-14?
[00:36:41] <skunkworks> ok - mental note. A). don't put anything plastic in the oven. B). check the oven before you turn it on for said plastic.
[00:37:20] <jymm> jymm is now known as Red70sShow
[00:37:32] <Red70sShow> DUMBASS ---> skunkworks
[00:37:37] <Red70sShow> Red70sShow is now known as Jymm
[00:38:29] <Jymm> skunkworks: what did you stick in the oven?
[00:40:45] <skunkworks> the major thing was the plastic cutting board. I wasn't the dumbass that put it there.. I was the dumbass that didn't check. :)
[00:41:47] <Jymm> oh, you mean a plastic chopping board?
[00:42:03] <Jymm> the wifey?
[00:42:16] <skunkworks> yes
[00:42:22] <Jymm> Sigh
[00:42:40] <skunkworks> oh well - let it all cool and it all popped off
[00:42:52] <Jymm> I HATE when anything that melts/burns is placed in on around or near stove/oven
[00:43:08] <skunkworks> syep
[00:43:11] <skunkworks> yep
[00:43:38] <Jymm> My gf is guilty of that, I keep ragging her about it too.
[00:44:20] <Jymm> she won't do that anymore though.
[00:44:21] <skunkworks> what really sucked was the cutting knife that had a rubber handle.
[00:44:32] <skunkworks> our favorite knife
[00:44:36] <Jymm> ah stinky!
[00:44:52] <Jymm> that sucks
[00:44:56] <skunkworks> I don't think it was real rubber.. It didn't smell. no clue what it is.
[00:44:58] <Jymm> wrap duct tape aorund it!
[00:45:02] <skunkworks> heh
[00:45:16] <skunkworks> I whas thinking a nice wood insert - sealed up.
[00:45:37] <Jymm> that works
[00:46:14] <skunkworks> thinking hickory
[00:46:29] <skunkworks> (match the kitchen) :)
[00:47:01] <Jymm> Yeah, that'll give the NEXT piece of plastic you fabricte in the oven a nice smokey flavor
[00:47:12] <skunkworks> heh
[00:57:18] <Sier-drunk> hi
[00:57:27] <Sier-drunk> isn’t EMC = Hardware company? :P
[00:57:57] <skunkworks> wrong emc - this is a cnc machine controller.
[01:15:29] <Sier-drunk> ok sorry
[02:45:52] <tom2> tom2 is now known as tom3p
[03:21:08] <mozmck> will comp preprocess a userspace comp file? I tried and the c file had the rtai stuff in it.
[03:29:12] <cradek> * cradek gently points mozmck to 'man comp'
[03:30:32] <mozmck> thanks, but I already read it. here's what I ran: comp --preprocess --userspace ubob_outputs.comp
[03:30:53] <mozmck> I tried it without the --userspace option and the output file was identical.
[03:31:35] <mozmck> I don't know enough what I'm doing though. do I need something in the comp file to indicate that it is userspace?
[03:35:16] <cradek> oh hmm, sorry, I just figured you didn't know about --userspace
[03:35:17] <mozmck> I need to make a userspace hal component, and I have a good bit of code in C so I'd rather not use python. This will be complicated enough that I don't think I can do it all in comp, but I figured I could start there and have comp generate an initial c file to get me started.
[03:35:25] <cradek> all I know I learned from reading the man page a few minutes ago :-)
[03:35:37] <mozmck> heh, me too :)
[03:36:23] <mozmck> do you know if there are any userspace components in c that I can look at?
[03:37:12] <cradek> looks like comp for userspace should be working as of 58e4f6e
[03:37:55] <cradek> there are a few in src/hal/user_comps, but no simple ones
[03:38:19] <mozmck> ah, I'll look there. thanks!
[03:39:12] <cradek> surprisingly it looks like there are no userspace comps in git
[03:39:34] <cradek> is your checkout newer than 2009-07-11?
[03:39:55] <cradek> looks like that's when jeff fixed comp --userspace
[03:40:27] <mozmck> I don't know when I first checked out, but I'm running master as of a day or two ago.
[03:40:39] <cradek> ok
[03:41:08] <mozmck> I have some comps under src/user_comps; gs2vfd.c, modbus.c
[03:41:22] <skunkworks_> cradek: jr awake? ;)
[03:42:17] <mozmck> looks like those may show me what I need. I probably don't know how to write a userspace .comp file
[03:46:30] <cradek> skunkworks_: yes! spindle is working.
[03:46:40] <cradek> skunkworks_: if I had a few more hours in the day, I would have cut something
[03:47:09] <cradek> finally, three working servo amps and one working spindle drive is a good feeling
[03:47:43] <mozmck> did you mess with the servo amp I sent you?
[03:48:14] <cradek> no, I just put it on the shelf for spare parts. it is not quite the exact model, but it looks like the power parts are the same - a nice spare to have.
[03:48:43] <mozmck> I see. yeah, spares are always nice!
[03:48:46] <cradek> the 1/8 tool holder is still soaking in penetrating oil - I haven't been able to get the set screw out yet.
[03:49:01] <cradek> I am patient and that oil is good stuff
[03:49:26] <cradek> I'd hate to strip out the hex in the teeny tiny set screw
[03:49:30] <mozmck> oh wow, I didn't even try it. hope it comes out alright.
[03:50:05] <cradek> I bet it will
[03:50:13] <mozmck> raise SystemExit, "Userspace components may not have functions"
[03:50:35] <mozmck> that's in the comp code - maybe that's my problem..
[03:51:10] <cradek> I guess you need to have a loop that polls, like halui does
[03:52:52] <mozmck> yeah, I need to read and write from/to the serial port
[03:53:45] <mozmck> I'll make my loop run every 20 ms or so
[03:55:46] <cradek> seems like you'd want to use select for reading, and write if necessary when select periodically times out
[03:56:21] <cradek> * cradek checks to see whether that sentence was english - yep, more or less
[03:56:32] <mozmck> select?
[03:56:53] <cradek> yeah, man select
[03:57:03] <cradek> kind of a pain to use, but exactly what you want
[03:57:12] <mozmck> no entry for select
[03:57:23] <cradek> "wait until there's something ready for reading on this file descriptor, or until the timeout expires"
[03:57:35] <mozmck> I have to send a command before my hardware will talk.
[03:57:57] <cradek> oh it never speaks unless spoken to?
[03:58:34] <mozmck> yep. I do a sort of multidrop or whatever it's called on standard serial
[03:58:57] <cradek> "manpages-dev" has select.2
[03:59:40] <cradek> does it ever say more than a few bytes at once? you might have to assemble the results of several reads if so
[04:00:01] <cradek> raw fd handling in C is such a pain
[04:00:16] <mozmck> no, it's 3 bytes at a time 9600 baud.
[04:00:45] <cradek> cool, so they fit in the uart, and you'll probably get them all at once.
[04:02:03] <cradek> well goodnight, hope you get it.
[04:02:19] <mozmck> thanks, and goodnight.
[04:38:44] <dan1mal> yes! finally got the proper screen resolution
[07:56:34] <EbiDK> EbiDK is now known as EbiDK|AWAY
[09:09:15] <numen> numen is now known as Guest80305
[09:09:27] <numen_> numen_ is now known as numen
[09:09:43] <numen> re
[12:26:37] <steves_logging> steves_logging is now known as steve_stallings
[12:57:41] <jthornton> dang I hate it when I do that
[14:13:19] <jthornton> * jthornton and the wife are going on a ride on the couch with wheels
[14:13:26] <jthornton> :)
[14:51:38] <numen> my tool lenght probe works ^^
[14:52:14] <numen> is it possible, to modify the M06 command, that it does the probe automatic?
[15:56:27] <steve_stallings> steve_stallings is now known as steves_logging
[17:07:53] <eric_unterhause1> is there a reason to have a switch to ignore limits?
[17:08:24] <cradek> what do you mean a switch?
[17:08:42] <eric_unterhause1> physical button
[17:08:52] <eric_unterhause1> that bypasses the limit switches
[17:09:01] <cradek> if your limit switches are in your estop chain that can be very useful for jogging off a limit
[17:09:10] <cradek> my mill has that setup
[17:09:21] <cradek> you hold in the button, reset estop, jog off the switch, release the button
[17:10:13] <eric_unterhause1> does your estop depower your drives?
[17:10:21] <cradek> yes
[17:10:47] <eric_unterhause1> that's the part I'm not sure of, I could just disable them
[17:11:56] <cradek> yeah it depends what failure you want to protect against
[17:12:33] <eric_unterhause1> maybe I would like a bigger red switch that pulls a contactor
[17:12:49] <cradek> I think sometimes transistors fail by shorting out - nothing short of removing power helps you then
[17:12:53] <eric_unterhause1> and my usual estop just disables everything
[17:12:58] <cradek> I'm no expert
[17:13:07] <eric_unterhause1> I've seen shorted transistors
[17:13:31] <eric_unterhause1> that should stop a brushless motor and fault the drive all by itself though
[17:13:47] <cradek> true
[17:13:51] <eric_unterhause1> a brushed dc motor would go nuts
[17:15:28] <numen_> does anyone have an idea, how i will have go write an post prozessor for solidcam?
[17:15:43] <alex_joni> usually you start by adapting an existing one
[17:15:51] <alex_joni> start with Fanuc, emc2 is pretty close
[17:16:25] <numen_> i want to add, that it does allways a tool length probe after toolchange
[17:19:30] <alex_joni> then you look for M6 in the post
[17:19:36] <alex_joni> and add the code for the probe afterwards
[17:24:16] <numen_> where to find the post?
[17:28:05] <numen_> ok post found but how to modify?
[17:28:15] <eric_unterhause1> it's text, isn't it?
[17:32:13] <archivist> pjm1, you about ?
[17:34:01] <eric_unterhause1> building kicad from svn, fun
[17:39:28] <numen_> alex_joni what will i have to add in the post?
[17:53:38] <eric_unterhause1> that's nice kicad build error
[18:08:08] <eric_unterhause1> anyone know how to tell which boost library a routine is in? specifically BOOST_FOREACH
[18:08:54] <jimbo655> I have a question on tuning the servo driver. It says to use a +- square wave at 5 volts at .5hz. I am assuming that you disconnect the motor from the axis for this adjustment. any sdvice would be helpful.
[18:16:18] <eric_unterhause1> apt-get has spoiled me, which is good
[18:19:51] <eric_unterhause1> on the kicad developers list: "I knew this was going to happen"
[18:25:48] <tom3p> http://www.pythonocc.org/screenshots.html python libs for cad
[18:27:32] <eric_unterhause1> I hope all these warnings about missing string literals are no big deal
[18:30:35] <tom3p> join #cam
[18:30:39] <tom3p> doh!
[18:53:29] <pjm1> archivist yes i'm just back from the airshow
[18:54:00] <archivist> did you have a starturn?
[18:54:52] <pjm1> um no i dont think so, what is that?
[18:55:19] <archivist> old denford cnc lathe
[18:56:37] <pjm1> ah no, i am thinking of getting a lathe though, there is this emco one that i'm waiting to 'collect'
[18:58:42] <archivist> Im sure we had a brit with a starturn in here once... some appear for a few days and vanish
[19:08:06] <pjm1> ahh that is a shame, we need more brits!
[19:08:24] <pjm1> btw my mesa cards are in transit!! finally I'll have something that can keep up with my spindle encoder
[19:10:02] <archivist> by ballscrew arrived
[19:11:05] <archivist> need another and few more bits then attack the beast to get more travel
[19:20:00] <toastydeath> that's what she said
[19:30:49] <pjm1> LOL
[21:51:14] <Jymm> Man, they have some funky scissors
[22:26:22] <geo01005_home> anybody know of something I have to do to get SVN working with the regular EMC Live CD install?
[22:41:51] <fenn> geo01005_home: sudo apt-get install subversion
[22:42:07] <fenn> also i think you'll need build-essential
[22:43:29] <geo01005_home> hmm, I have done both of those things.