#emc | Logs for 2006-11-13

Back
[00:03:22] <owhite> does anyone have a suggestion for the following scenario....
[00:04:27] <owhite> ...I want 5v-9v control going to a standard issue wiring box. Like a regular recepticle box that has a 110 outlet in it, plus relay.
[00:04:49] <owhite> ...I've never been able to find hardware like that. except for X10, and X10 sucks.
[00:05:19] <jmkasunich> you want it to actually fit in a regular outlet box, along with the outlet?
[00:05:34] <jmkasunich> thats a 10lbs of crap in a 5lb bag problem
[00:05:46] <owhite> doesnt have to be a regular outlet box.
[00:06:01] <ChrisSmol> you want to put 120vac and 9vdc in the same box?
[00:06:17] <owhite> the point is that I have never found something that ties house wiring to DC-control.
[00:06:28] <jmkasunich> opto-22 blocks?
[00:06:39] <jmkasunich> they make 120V in and 120V out modules
[00:07:00] <jmkasunich> dunno how many amps the outs are good for, probably not 15 like an outlet
[00:07:04] <owhite> *does a search on opto-22 block*
[00:07:07] <SWPLinux> how much power do you want to switch?
[00:07:15] <owhite> yeah I need 20 amps.
[00:07:28] <SWPLinux> that's a very tall order, and I bet you can't find it :)
[00:07:45] <SWPLinux> even a standard light switch is only rated for 600W or so (5A)
[00:07:48] <jmkasunich> http://www.opto22.com/site/pr_cat_g.aspx?qs=1006&
[00:07:50] <owhite> pfft.
[00:08:16] <jmkasunich> SWPLinux: you can get a 20A rated wall switch at any home depot, etc
[00:08:35] <SWPLinux> sure, for a heater or something
[00:08:38] <owhite> whoop. got a request from the wife unit to have dinner.
[00:09:22] <SWPLinux> I don't see any high power switches on home depot online
[00:09:45] <SWPLinux> 15A, I guess - that's not bad
[00:10:06] <SWPLinux> maybe I'm thinking of the timers and such for that 600W rating
[00:10:16] <jmkasunich> could be
[00:10:45] <jmkasunich> there are opto-22 SSRs rated to 240V 25A (and maybe even higher)
[00:11:02] <CIA-5> 03jmkasunich 07HEAD * 10emc2/src/hal/ (hal.h hal_lib.c halmodule.cc): Eliminated 16 bit hal pins and parameters. They were used only in a couple of places, and those have been extended to 32 bits. Eventually the 8 bit types will be going away too.
[00:11:02] <CIA-5> 03jmkasunich 07HEAD * 10emc2/src/emc/usr_intf/halui.cc: Eliminated 16 bit hal pins and parameters. They were used only in a couple of places, and those have been extended to 32 bits. Eventually the 8 bit types will be going away too.
[00:11:02] <CIA-5> 03jmkasunich 07HEAD * 10emc2/src/hal/components/ (6 files): Eliminated 16 bit hal pins and parameters. They were used only in a couple of places, and those have been extended to 32 bits. Eventually the 8 bit types will be going away too.
[00:11:03] <SWPLinux> yeah - when you get the brick-shaped panel mount versions, they get pretty big
[00:11:04] <jmkasunich> 240V 45A, for $37
[00:11:05] <CIA-5> 03jmkasunich 07HEAD * 10emc2/src/hal/utils/ (7 files): Eliminated 16 bit hal pins and parameters. They were used only in a couple of places, and those have been extended to 32 bits. Eventually the 8 bit types will be going away too.
[00:11:23] <jmkasunich> 120V 10A is $21
[00:11:37] <SWPLinux> elson: are you still around?
[00:11:37] <jmkasunich> 120V 25A $23
[00:11:48] <SWPLinux> this reminded me of something
[00:14:48] <SWPLinux> argh - I have too many motion controllers in that bin
[00:14:55] <SWPLinux> I can't close it
[00:20:58] <lerman> The high power SSRs require a heatsink though. I started to use one for my high temperature oven, and decided to just buy one with a heatsink. I think I got it from McMaster Carr.
[00:21:41] <robin_sz> meep?
[00:22:42] <anonimasu> meep
[00:23:56] <A-L-P-H-A> anyone know the diff between reiserFS and ext3?
[00:26:25] <owhite> *burp*
[00:26:42] <lerman> My understanding is that reiserFS has higher performance. ext3 does logging so can recover after a powerfail without doing an fsck. I don't think I've used reiser.
[00:26:54] <jepler> I've always used ext3. reiserfs is supposed to have certain performance advantages, but it is more complex than ext3.
[00:27:13] <lerman> I think reiser is faster if you have lots of small files.
[00:28:04] <A-L-P-H-A> thanks
[00:28:31] <owhite> anyone want to return back to the 9v input controlling 20A switch thread?
[00:29:23] <owhite> the thing is, I know that putting the components together is easy enough, I'm just wondering if someone's made an integrated unit that could drop into a "square box".
[00:30:30] <A-L-P-H-A> owhite: get a relay to do that for you.
[00:31:20] <A-L-P-H-A> signal -> diode -> transitors. Transistor controlls large relay switch.
[00:31:31] <lerman> Yup. McMaster has a 30amp 240volt SSR with a heatsink for $61. Save more than half that if you supply your own heatsink.
[00:31:48] <owhite> yeah yeah. I know. wired plenty of relays. but it just seems like industry probably has made something with a 20 amp relay in it, with nice terminal lugs and input for DC control, that's easily dropped into something you buy in the electrical aisle of the hardware store.
[00:32:09] <jmkasunich> you could also use a much smaller relay or a transistor to switch the coil of an electromechanical relay
[00:32:10] <ChrisSmol> i've seen them for mounting in DIN rails
[00:32:20] <jmkasunich> might be cheaper than a SSR, and won't need a heatsink
[00:32:27] <A-L-P-H-A> owhite: yeah... it's called a light switch... :) manual relay control.
[00:32:36] <owhite> hoo boy.
[00:32:56] <A-L-P-H-A> what's the V and A ratings you need?
[00:33:21] <owhite> 220v @ 15amps, and 110v @ 20 amps.
[00:34:23] <A-L-P-H-A> I've got a medium size relay here.. 12A 120VAC or 10A 28VDC.
[00:34:59] <A-L-P-H-A> owhite: VDC? VAC?
[00:35:12] <owhite> VDC in, VAC out
[00:35:26] <A-L-P-H-A> the dignal will be VDC.
[00:35:31] <A-L-P-H-A> what what's the LOAD on the really.
[00:35:35] <A-L-P-H-A> dignal=signal
[00:35:41] <owhite> righto.
[00:35:45] <CIA-5> 03jmkasunich 07HEAD * 10emc2/src/hal/components/abs.comp: new abs component for HAL, generates absolute value and a sign bit from an analog input
[00:35:53] <A-L-P-H-A> really=relay
[00:36:17] <owhite> load on the relay: 20 Amps.
[00:36:55] <A-L-P-H-A> digikey part # PB905-ND $7.87USD.
[00:37:06] <A-L-P-H-A> www.digikey.com
[00:37:45] <owhite> you're missing the point. If I wanted a light dimmer, you could tell me to get some MOSFETs a potentiometer, and some resistors. Or I could buy a light dimmer.
[00:37:47] <ChrisSmol> i know i have seen solid state relays good for 20 amps
[00:37:59] <owhite> I know that there are plenty of components that work.
[00:38:03] <ChrisSmol> that are DC controlled
[00:38:31] <owhite> I want something that is four screw terminals and fits into conventional electrical box.
[00:38:37] <ChrisSmol> i have never seen what you want already with a standard AC receptacle
[00:38:57] <owhite> two terminals for AC, two terminals for DC. or something like that.
[00:39:02] <A-L-P-H-A> digikey # Z247-ND RELAY PWR DPDT 20A 120VAC PLUGIN
[00:39:15] <ChrisSmol> just take a standard box, put a solid state relay in with it, to control the A/C. Done.
[00:39:38] <owhite> I've done that.
[00:40:15] <A-L-P-H-A> I actually wouldn't mind some large relays... to controll on/off of my mill AC spindle motor.
[00:40:18] <A-L-P-H-A> 3/4hp.
[00:40:19] <owhite> me want something pre-made. that's what China is for.
[00:40:51] <A-L-P-H-A> owhite: I'll make it premade for you ... $250CDN.
[00:40:59] <owhite> very helpful.
[00:41:10] <A-L-P-H-A> You can have it for you in a week. includes shipping.
[00:41:30] <owhite> *writes a check*
[00:41:41] <A-L-P-H-A> nah... www.bidpay.com thank you.
[00:41:45] <owhite> *sends it to china*
[00:42:03] <owhite> *recieves 20 units*
[00:42:11] <A-L-P-H-A> or you can mail me an 'international postal money order'.
[00:42:12] <owhite> that was easy.
[00:42:22] <A-L-P-H-A> you're not informed correctly... they deal in bulk.
[00:42:33] <A-L-P-H-A> none of this cheese, under a shipping container full BS.
[00:43:23] <owhite> I see a marketing window for all the CNC enthusiasts out there.
[00:43:38] <A-L-P-H-A> stop complaining... as there's nothing out there that we know of... and I've made the offer of $250CDN... I'm sure someone will undercut me.
[00:44:08] <owhite> like I said, that's what china is for. :-)
[00:46:44] <A-L-P-H-A> That isn't a bad idea... box, two inputs, AC in, AC out, VDC in/out. relay, transistor, diode, a resistor and LED.
[00:47:00] <A-L-P-H-A> $75USD + shipping.
[00:47:47] <A-L-P-H-A> material costs would already be ~25...
[00:48:04] <owhite> I was sort of hoping for something around $20.
[00:48:47] <A-L-P-H-A> labour ain't free in North America, except Mexico.
[00:48:57] <owhite> I guess the reason they havent been commercialized is that the market is small. For a while I looked at lighting controls for large theaters, and didnt find much.
[00:49:17] <owhite> there are somethings that are pretty close for people that do stage lighting.
[00:49:20] <A-L-P-H-A> don't think those would handle the amps.
[00:49:28] <A-L-P-H-A> oh
[00:49:29] <owhite> yep.
[00:49:54] <A-L-P-H-A> those are usually rampped up... lots of those types of lights don't like to be suddenly turned on...
[00:50:03] <A-L-P-H-A> thermal shock in some lamps
[00:54:55] <owhite> for example this hideous thing has plugs and relays all built in. it could be hacked. http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=300041529129
[00:55:07] <jepler> maybe there's something in "home automation" that would do what you want? http://www.smarthome.com/2207.html
[00:55:14] <jepler> (not this exact item, though)
[00:55:56] <owhite> yeah I hate the X10/home automation stuff. I have a friend that gave me a box of that stuff and it simply does not work.
[00:59:31] <owhite> *shrug* we'll make something, patent it, and direct the proceeds to emc2 development.
[00:59:45] <A-L-P-H-A> owhite, that's the mac total lost of $15Amps.
[01:01:59] <Jymmm> owhite it works good for me
[01:03:54] <A-L-P-H-A> 'leave no child behind'... apparently it has failed, as proof by the line above.
[01:06:27] <Jymmm> I can even control things from dos/windows/linux too
[01:07:43] <Jymmm> iirc there is a 15 or 20a A/C control module too
[01:09:22] <elson> John K, I'm trying to track through the way the ini file parameter PID_MAX_VEL works, and what it means in relation to PWM duty cycle.
[01:10:23] <elson> Something in EMC2 seems to recalculate this to 1.25 (in my case) and resets the value back in the .ini file.
[01:12:29] <elson> I overrode it in /configs/univpwm/univpwm.ini with a value of 20.0 and the pulse width got wider. I'm wondering if it even makes sense to tale this value from the .ini file, or just set it so I can get 99% pulse width.
[01:27:15] <owhite> what is iirc besides 'interactive illinois report card'?
[01:34:06] <cradek> I sure have the crappy connection lately
[01:44:47] <CIA-5> 03jmkasunich 07HEAD * 10emc2/src/hal/components/abs.comp: fix license text
[01:46:07] <jmkasunich> elson: you still here?
[01:46:20] <jmkasunich> I was away for a bit, didn't see your question
[01:47:07] <jmkasunich> are you sure that EMC2 overwrote a value that you put in the ini file for PID_MAX_VEL?
[01:48:01] <jmkasunich> anyway, there are as many ways to deal with the scaling and limits as there are people I think
[01:48:25] <jmkasunich> I strongly prefer the PID output to be in length units per second
[01:48:59] <jmkasunich> IOW, if the PID output is "3", then the duty cycle should be whatever would make the motor run open loop at 3 inches/sec
[01:49:17] <jmkasunich> the way to do that is to set the pwmgen scaling right
[01:50:05] <jmkasunich> either test or calculate the approximate open loop speed you'd get at 100% duty cycle (or 99% if there are drive limitations on max-dc, you should set that first)
[01:50:18] <jmkasunich> then set the pwmgen scaling to whatever that speed is
[01:50:29] <jmkasunich> so if 100% gets you 2.5 ips, set the scale to 2.5 ips
[01:51:02] <jmkasunich> that way, when the PWM output is say 1.0, you get 40% duty cycle, and about 40% of top speed, approx 1 inch/sec
[01:51:33] <jmkasunich> then set PID_MAX_VEL to the same level, so it never asks for more than 100%
[01:52:05] <jmkasunich> and set your machine limits (TRAJ and AXIS) to somewhat lower since you need some overhead for a closed loop system
[01:52:24] <jmkasunich> if you got 2.5 ips with 100% duty cycle, I'd probalby use 2.0 ips = 120 ipm for my machine limits
[01:53:13] <Jymmm> cradek dsl?
[01:53:56] <cradek> no, cable now I think
[01:54:10] <Jymmm> cradek: Check the MTU
[01:54:27] <Jymmm> especially if you're using PPPoE or PPPoA
[01:54:57] <Jymmm> scratch the PPPoA if you're on cable =)
[01:55:01] <cradek> thanks but I don't have the slightest idea - it's not my connection
[01:55:09] <jmkasunich> not at home?
[01:55:26] <cradek> co-location
[01:55:38] <jmkasunich> working on sunday?
[01:55:42] <jmkasunich> or messing with timeguy?
[01:55:59] <cradek> no, I'm at home, but timeguy isn't here
[01:56:19] <cradek> I think it's set up right though - it's almost always perfect
[02:12:45] <A-L-P-H-A> A-L-P-H-A is now known as a-l-p-h-a
[02:15:09] <elson> Sorry, John, jumping to conclusions again. The REAL problem is that the PWM frequency was all wrong, and I didn't bother to read the scope settings. So, either the one-time setting for that 2-byte register isn't getting through, or it is getting overwritten later. The PWM is around 60 Hz! I should have noticed. So, of course, the on-time looked really small in comparison.
[02:16:20] <jmkasunich> one time when loading the driver? or one time when you change the frequency parameter?
[02:16:48] <jmkasunich> I really didn't think there was any one-time stuff
[02:17:07] <jmkasunich> pwm freq in particular needs to be able to be recalced if you change the pwm frequency param
[02:17:20] <elson> I think maybe the code puts it in the write cache for it to be written every time, but I'm guessing it is not being included in the range of regs to write. I'm reading through it now.
[02:17:26] <jmkasunich> so it should be written every time (usually it will just re-write the values in the cache)
[02:17:56] <jmkasunich> I didn't change the range to be written, just used the new API to set the same range as before
[02:18:20] <jmkasunich> the driver does output the cache bitmap to the kernel log, so you can check it
[02:18:38] <elson> Really, there's no purpose in rewriting the freq register every cycle. It should be OK to just write it once.
[02:18:45] <jmkasunich> if neccessary, checkout another tree, with 2 day old code, and see if that is indeed using the same bitmap as the latest
[02:19:03] <cradek> cvs up -D'two days ago'
[02:19:12] <cradek> err '2 days ago'
[02:19:12] <jmkasunich> yeah, but when you _do_ need to rewrite it, how are you gonna change the bitmap?
[02:19:43] <jmkasunich> or are you talking about bypassing the cache when somebody changes the freq param?
[02:19:49] <elson> Well, this may have been broken since the last change to the bitmap method. I tested with USC, but not with UPC, I think.
[02:19:49] <jmkasunich> (that way lies madness, IMHO)
[02:20:21] <elson> Why madness? Why shouldn't one-time settings just be done once?
[02:20:42] <jmkasunich> writing to the hardware directly _and_ thru cache just seems like asking for trouble
[02:20:59] <jmkasunich> its probably not that bad, but personally I'd avoid it
[02:22:46] <elson> I'm also trying to keep this thing fairly streamlined. Last time I had the LA set up, the 4-axis cycle took 88 us, which is pretty good, but still much slower than the old EMC1 driver.
[02:23:40] <jmkasunich> thats the tradeoff for a more flexible driver
[02:24:19] <jmkasunich> what is your website? I want to look at the register map
[02:24:20] <elson> I am already using the two ways to access in some of the other export routines, and the set encoder latch does it, because it writes to the same reg several times.
[02:24:49] <elson> The web addr is http://jelinux.pico-systems.com/univpwm_regs.html
[02:24:48] <jmkasunich> export is fine - that happens only at startup
[02:24:53] <jmkasunich> but the PWM frequency can be changed on the fly
[02:25:19] <jmkasunich> I always seem to forget the - between pico and systems, and go to some other companys page
[02:25:44] <elson> I think it DOES get reset once when the univpwm_motion.hal file is processed. At this time, the board should be in E-stop.
[02:27:23] <elson> OK, it is clear. I or'ed in the extra bit to write the PWM control register. So, it never writes the frew registers. If it doesn't bug you too much, I'd prefer to do this with selective writes when a change is needed.
[02:27:34] <jmkasunich> ok, you are trying to avoid writing regs 1D and 1E all the time
[02:27:52] <elson> Yeah, well picosystems and pico_systems were already taken - i tried!
[02:28:11] <elson> Yes, changing PWM freq would be a rare event.
[02:28:40] <jmkasunich> so how are you doing that? if you or the bits (2, for 1D and 1E) into the map, then they will be written all the time
[02:28:53] <jmkasunich> oh, I see
[02:28:59] <jmkasunich> you are oring in 1C
[02:29:03] <jmkasunich> but not 1D and 1E
[02:29:25] <elson> Well, now that I know why, I think I can fix it pretty easily. I did NOT think to add the extra bits for 1D and 1E.
[02:29:43] <jmkasunich> are you writing to 1F?
[02:29:51] <jmkasunich> seems like you need to, for the digital outs
[02:30:08] <jmkasunich> so you only save one cycle by skipping 1D and 1E
[02:30:29] <elson> Yes, clearly, 1F does need to be written. Maybe the overhead is damn small, then, if 1C and 1F need to be written every cycle!
[02:30:30] <jmkasunich> addr, 1C, addr, 1F vs addr, 1C, 1D, 1E, 1F
[02:30:58] <elson> OK, problem is moot, then. Your logic wins this time.
[02:31:05] <jmkasunich> ;-)
[02:31:32] <jmkasunich> the cache could be made much more sophisticated for writing, and keep old and new copies, then only write the bytes that were changed
[02:31:38] <jmkasunich> but I'm not volunteering to do that ;-)
[02:32:06] <elson> But, my code in the spindle sync mechanism just hops in there and changes the one register directly, at those rare times when going into or out of spindle sync.
[02:32:34] <elson> not much need for such logic, I don't think.
[02:33:35] <jmkasunich> at least the bitmap lets you skip 18 thru 1B
[02:34:00] <jmkasunich> you don't write any of the low block, do you? (00 thru 05)
[02:34:49] <jmkasunich> 05 is the one you "jump in" and change?
[02:35:36] <elson> Strange thing, this machine probably needs a reboot, it is real short of free memory, and EMC runs like a DOG. It takes 2 minutes to bring up the editor. well, been up 42 days.
[02:36:09] <jmkasunich> is it slow only when emc is running?
[02:36:31] <elson> right 05 is the new register that resets an encoder counter on sensing the index.
[02:38:03] <elson> No, incredibly slow with or without EMC, and lots of disk thrashing. My wife is watching something on the net, and this is the router, so I can't reboot it until she's done.
[02:38:28] <jmkasunich> thats weird
[02:38:59] <jmkasunich> my uptime is only 15 days, but thats because I just installed dapper
[02:39:17] <elson> Yes, never had this problem before. I hope it isn't a memory leak type problem in the RT code. With all the mucking about I've been doing, I wouldn't be surprised.
[02:39:20] <jmkasunich> I've been up for very long times without running out of memory
[02:39:43] <elson> Oh, we just had a power failure at work, I think my desktop Linux machine was up for 412 days!
[02:39:50] <jmkasunich> a leak in the RT is very unlikely
[02:40:38] <elson> But, I've been crashing things and other messes. Glad memory problems are not likely.
[02:40:38] <jmkasunich> none of the RT parts of EMC do dynamic allocation, except for shared memory regions, and those are allocated once at startup
[02:41:03] <jmkasunich> rtapi frees any shmem that you allocated when your module exits
[02:41:48] <cradek> no smoking guns in top sorted by memory size?
[02:42:10] <elson> No, the first block 00-0F don't get written much. There is the encoder preset reg, and the timer, encoder setup regs.
[02:43:15] <elson> No, memory usage in top seems modest. But, this machine only has 128 MB.
[02:43:37] <jmkasunich> what distro are you running?
[02:43:38] <elson> I'm not going to get worried unless this sluggishness recurs.
[02:43:51] <jmkasunich> the pigs are usually GUI things, browsers, window managers, etc
[02:44:15] <elson> This is from the BDI 4.30, 2.6.12.6-magma kernel
[02:44:40] <a-l-p-h-a> is BDI still supported?
[02:44:42] <jmkasunich> normal ubuntu would be very unhappy with 128M I think, nothing to do with emc, just Gnome
[02:44:56] <jmkasunich> a-l-p-h-a: yes and no
[02:45:09] <jmkasunich> the code still compiles and probably runs on bdi
[02:45:28] <elson> But, I'm also running apache, sshd, smtp & pop, and denyhosts, plus IP routing and NAT.
[02:45:43] <jmkasunich> paul made some packages for the latest BDI, but he changed some things and won't reveal what he changed, so we're not so inclined to support people using those packages
[02:46:23] <jmkasunich> all of those should be fairly "mild" in terms of memory usage, unless one of them is leaking
[02:47:16] <elson> BDI can still be set up to compile the current EMC2. Yeah, I won't use what Paul has been doing to EMC because I don't know what is going on. He has a little war going on about some install issues. But, after installing the right optional packages, EMC2 will install just fine.
[02:47:49] <cradek> I think jmk was talking about paul's emc2 packages which were released without corresponding source
[02:48:17] <cradek> but I doubt many people are using them, so it's a very small matter in my mind
[02:48:18] <elson> I wouldn't be going to the trouble except that this machine is kind of limited, and after going to all the trouble of getting all that server software running, I didn't want to change it.
[02:48:22] <jmkasunich> yeah: "paul made some pacakges"
[02:48:41] <jmkasunich> why are you using your server for emc developement?
[02:48:45] <jmkasunich> nothing else handy?
[02:49:52] <elson> Physical location. I already had the thing RIGHT next to my electronics bench. I have an even older PC there, and got tired of switching the kbd, mouse and video cable all the time.
[02:50:32] <jmkasunich> next CNC workshop I'll make you such a deal on a 2-way KVM switch ;-)
[02:50:47] <cradek> heh
[02:50:53] <cradek> you still have a bunch of those?
[02:51:05] <jmkasunich> sort of
[02:51:11] <jmkasunich> I have a mix of dumpster grade ones
[02:51:22] <jmkasunich> but the one I was talking about was my old main one
[02:51:22] <elson> I have another machine (the one that was at the Workshop this spring) that is connected to the minimill. Also, having a running EMC2 on the server means I don't have to boot a machine to look at the current code.
[02:51:27] <jmkasunich> I'm using a 4-way now
[02:52:06] <jmkasunich> cool - the Opterons did get cheaper
[02:52:34] <jmkasunich> 1210, $185 + $15 on ebay
[02:52:34] <elson> The location is therefore right next to both analog and digital scopes and the logic analyzer. This is where I do production testing of boards before shipping them out.
[02:55:18] <elson> Well, actually, is a backwards sense, this machine cost $14. I bought a computer for a customer (to preinstall EMC on) but it didn't work. The seller was a bum. I got a replacement from another outfit that I trusted, and it was damaged in transit. That seller sent me out a replacement mobo minus CPU. I swapped the damaged mo-bo into the DOA box, and just had to supply a CPU - $14 on eBay.
[02:56:20] <jmkasunich> so the "damaged" mobo wasn't damaged after all?
[02:57:16] <elson> My main destop machine runs Mandrake and can't use an RT kernel because I use VMware to run Windows (blech) CAD apps.
[02:58:16] <jmkasunich> I'm running ubuntu dapper here, with a RT kernel, and have vmware with two virtual machines (so far)
[02:58:34] <jmkasunich> haven't put doze in a VM yet, gonna do that with win95 for easycad one of these days
[02:58:41] <elson> Yes, the CPU heat sink came off and smacked it up pretty good. The CMOS battery holder was in particles, and some other stuff may be damaged. But, I got it to run by picking parts off other boards. But, I wouldn't want to sell it to somebody after such repair.
[02:59:32] <elson> Oh, well, that is now info, then. Last I checked (some time ago) VMware didn't handle a RT kernel.
[03:00:11] <elson> I have found Win2K Pro to be an extremely reliable system under VMware/Linux.
[03:00:15] <elson> (new info)
[03:01:22] <elson> So, am I too cheap?
[03:01:28] <a-l-p-h-a> elson: yes
[03:01:48] <a-l-p-h-a> oh
[03:01:53] <a-l-p-h-a> was that meant to be rhetorical?
[03:02:03] <elson> Yeah, I thought running my company's server on a $14 salvaged computer sounded pretty cheap!
[03:02:22] <jepler> elson: I say "hooray" to people who keep stuff from the landfill .. by contrast, I spend money too easily on new hardware.
[03:03:12] <a-l-p-h-a> I should probably eat something real... instead of cookies...
[03:03:31] <a-l-p-h-a> no real food since 7pm EDT yesterday
[03:03:49] <elson> I buy off-lease Dell Optiplex machines from cacrc (corporate recycling council) in Baton Rouge. A real good outfit to deal with, most of these machines were in the $50 - 70 range, including shipping.
[03:04:12] <a-l-p-h-a> elson: then you should have some access to P4s.
[03:04:15] <elson> YESTERDAY? That's not good for the body.
[03:04:27] <a-l-p-h-a> elson: I've been munching on cookies my sister baked for me.
[03:04:28] <a-l-p-h-a> I know...
[03:04:55] <a-l-p-h-a> it's not good for my system at all... just feel kinda blah to eat.
[03:05:00] <a-l-p-h-a> maybe I'll make a tuna sandwich.
[03:05:07] <elson> Yes, the older ones are P3, the newer ones are P4.
[03:05:26] <a-l-p-h-a> use a P4... and go happy hardcore with EMC.
[03:05:32] <a-l-p-h-a> $70 shipped... that's not bad at all.
[03:05:43] <a-l-p-h-a> 256/512 ram... with a 40gig HD, and you're laughing.
[03:05:53] <a-l-p-h-a> better then my 700mhz duron EMC machine.
[03:06:31] <elson> Well, when the seller stands behind the units, and they are reliable, then yeah, I'm quite happy with them. Just like cars, doesn't make sense to buy new.
[03:07:09] <elson> Have to test out the latest code changes, I just compiled.
[03:07:10] <a-l-p-h-a> elson: yes it does... if you want the original warrantee, style, new car smell.
[03:07:16] <a-l-p-h-a> and to loose 15% off the bat.
[03:07:40] <a-l-p-h-a> buying a used car, don't know who beat on it before, the history, etcetc.
[03:07:52] <a-l-p-h-a> could have been branded, and then unbranded. evil shit like that.
[03:08:13] <jepler> after the earlier discussion of dapper on 4GB drives, I created a vmware with a 4GB disk, installed dapper, emc2, and everything needed to build the CVS version of emc2. I still have 1.2GB free on the disk.
[03:08:57] <jepler> I'd have more like 1.5GB free if I removed all the stuff from apt's cache
[03:08:57] <cradek> jepler: it would be nice to note that on the wiki page (that nobody reads)
[03:09:56] <jepler> in fact I just added it there :)
[03:10:01] <cradek> cool
[03:11:04] <jmkasunich> elson: I'm browsing cacrc's website - nothing in there about resale
[03:11:16] <jmkasunich> do they hide the info well, or do you have to know somebody?
[03:12:10] <a-l-p-h-a> he's sleeping with the hot secretary there...
[03:13:19] <a-l-p-h-a> notice no denials... I forgot to mention that the secretary is male.
[03:13:43] <jmkasunich> a-l-p-h-a: don't be a .......
[03:14:18] <cradek> wow, so many words fit there
[03:14:33] <a-l-p-h-a> not ass... as that would be an "an" not an "a".
[03:15:14] <elson> I get their stuff through eBay. They don't always have items on auction.
[03:15:22] <jmkasunich> http://www.hgrindustrialsurplus.com/search-products/product-detail.aspx?id=5589278&searchtable=2&sortExpression=&SortASC=&pageSize=50&currentPageIndex=0
[03:15:22] <jmkasunich> cute
[03:15:52] <a-l-p-h-a> is that a robotic hand?
[03:16:50] <elson> Well, the changes seem to be successful! Now I get 100% duty cycle. (Just have to put back all the settings I changed.)
[03:17:00] <jmkasunich> dunno what kind of hand is on the end, but its an arm
[03:17:25] <jmkasunich> nicer one: http://www.hgrindustrialsurplus.com/search-products/product-detail.aspx?id=5585442&searchtable=2&sortExpression=&SortASC=&pageSize=50&currentPageIndex=0
[03:17:43] <a-l-p-h-a> imagine if you could build an arm with the dexterity of a human hand, and the genetleness of a womens touch....
[03:18:24] <jmkasunich> wow, only $299 http://www.hgrindustrialsurplus.com/search-products/product-detail.aspx?id=5578974&searchtable=2&sortExpression=&SortASC=&pageSize=50&currentPageIndex=0
[03:18:43] <a-l-p-h-a> looks like a crane
[03:18:55] <elson> Well, I'm going to bail out here and see if I can get this computer back to normal speed. Thanks much for all the help!
[03:19:15] <cradek> goodnight jon
[03:19:16] <jmkasunich> goodnight
[03:19:22] <elson> Goodnight all!
[03:19:31] <a-l-p-h-a> you're all going?
[03:58:50] <jepler> night all
[04:00:39] <CIA-5> 03jmelson 07HEAD * 10emc2/src/hal/drivers/hal_ppmc.c: slight adjustment of write cache limits for PWM controller
[04:43:26] <a-l-p-h-a> here's a hypothesis I pose. Are left sided road country drivers more coordinated than the right sided drivers... using their left hands to shift.
[04:53:00] <jymmmm> jymmmm is now known as Jymmmmmm
[04:58:46] <Jymmmmmm> Jymmmmmm is now known as Jymmm
[04:58:58] <a-l-p-h-a> who are you harrassing now Jymmm.
[08:30:20] <Lerneaen_Hydra> 'lo
[08:30:43] <a-l-p-h-a> hi
[08:30:54] <a-l-p-h-a> bye. sleep, at and attempt at sleep
[08:39:41] <anonimasu> morning
[11:29:39] <Lerneaen_Hydra> test
[11:29:44] <Lerneaen_Hydra> logger_emc: bookmark
[11:29:44] <Lerneaen_Hydra> Just this once .. here's the log: http://www.linuxcnc.org/irc/irc.freenode.net:6667/emc/2006-11-13.txt
[12:03:29] <Lerneaen_Hydra> ooh, java is apparently GPL'ed now
[12:03:42] <Lerneaen_Hydra> http://developers.slashdot.org/article.pl?sid=06/11/13/0724252
[12:16:23] <anonimasu> it's too bad java isnt useful :D
[12:16:34] <anonimasu> just kidding
[12:35:07] <Lerneaen_Hydra> maybe it will become at least semi useful now ;)
[12:56:20] <skunkworks> logger_emc: bookmark
[12:56:20] <skunkworks> Just this once .. here's the log: http://www.linuxcnc.org/irc/irc.freenode.net:6667/emc/2006-11-13.txt
[12:59:38] <skunkworks> looks like jone may be getting more comfortable on irc - good.
[13:00:24] <anonimasu> :)
[13:00:42] <anonimasu> that's a good thing
[13:22:27] <Lerneaen_Hydra> jone?
[13:24:09] <skunkworks> JonE
[13:24:31] <skunkworks> elson
[13:26:10] <Lerneaen_Hydra> oh, right
[13:26:18] <skunkworks> http://jelinux.pico-systems.com/
[15:38:12] <Lerneaen_Hydra> slow day today...
[15:38:16] <anonimasu> yeah
[15:38:24] <anonimasu> I'm doing a few hours extra
[15:38:36] <anonimasu> since I were sick a few days last week
[15:43:51] <skunkworks> riiiigh 'sick'
[15:44:07] <skunkworks> riiiight 'sick'
[15:44:28] <anonimasu> yeah
[15:44:42] <skunkworks> alex_joni: my ir2111 h-bridge is still working ;)
[15:44:46] <anonimasu> :/
[15:47:48] <Lerneaen_Hydra> alex isn't here today either?
[15:48:39] <SWPadnos> alex is on a work trip
[15:55:22] <Lerneaen_Hydra> ooh, ok
[16:09:25] <alex_joni> hi all
[16:09:34] <alex_joni> * alex_joni finally made it online
[16:12:13] <jepler> hi alex
[16:12:29] <SWPadnos> hey alex - hows work? :)
[16:14:36] <alex_joni> * alex_joni is dead tired
[16:14:48] <SWPadnos> bummer
[16:14:54] <alex_joni> work is good
[16:15:12] <alex_joni> installed the bot today, did a testweld, all is good to go
[16:15:27] <alex_joni> nice little 1.5t turn-tilt table
[16:15:47] <SWPadnos> nice (little?) :)
[16:16:35] <alex_joni> yeah.. the other one at this customer is 2.5 ;)
[16:17:04] <alex_joni> that's 1.5 workpiece, the table itself is ~4t
[16:17:15] <SWPadnos> oh - I was going to ask, but didn't bother :)
[16:17:26] <SWPadnos> I have a ~130 pound rotary table...
[16:18:11] <SWPadnos> does that count?
[16:19:04] <alex_joni> yeah..
[16:20:54] <Lerneaen_Hydra> oh, hi alex
[16:21:00] <alex_joni> hi lh
[16:22:32] <Lerneaen_Hydra> when you're less tired, could you add a link to the lathe article/page at linuxcnc.org to my site that I finally scrounged up the effort to create?
[16:22:45] <SWPadnos> lh: you can do that
[16:22:50] <Lerneaen_Hydra> I can?
[16:23:01] <SWPadnos> oh - wait, not a wiki page, a joomla page - nevermind
[16:23:05] <Lerneaen_Hydra> yeah
[16:23:37] <Lerneaen_Hydra> * Lerneaen_Hydra is unsure of who has access there
[16:28:53] <Lerneaen_Hydra> anyway, the link would be http://lerneaenhydra.shacknet.nu , for the time being
[16:29:05] <Lerneaen_Hydra> till/if I decide to buy a domain
[16:37:19] <alex_joni> Lerneaen_Hydra: sure can
[16:37:35] <alex_joni> * alex_joni checks if it's worhty :D
[16:54:07] <alex_joni> Lerneaen_Hydra: done
[16:57:08] <skunkworks> last one I promise http://www.cnczone.com/forums/showpost.php?p=217197&postcount=252
[17:01:10] <SWPadnos> bo^dick again
[17:01:25] <Lerneaen_Hydra> alex_joni: whee
[17:04:37] <Lerneaen_Hydra> skunkworks: I don
[17:04:47] <Lerneaen_Hydra> 't get it, what's so special about quadrature?
[17:05:15] <Lerneaen_Hydra> alex_joni: how do I find the page on linuxcnc.org if I loose the adress?
[17:05:26] <Lerneaen_Hydra> searching for lathe brought up tons of wiki hits
[17:06:25] <alex_joni> Lerneaen_Hydra: Documentation -> Technical Articles
[17:06:35] <Lerneaen_Hydra> oh, thanks
[17:07:16] <Lerneaen_Hydra> so that's the only thing there as of yet?
[17:09:48] <SWPadnos> Documentation -> Technical Article ;)
[17:09:57] <Lerneaen_Hydra> exactly ;)
[17:12:44] <skunkworks> quadrature (normally used on servo systems) allow you to know which direction the shaft is rotating as well as how far.
[17:13:20] <Lerneaen_Hydra> yeah, so what's so amazing about that post?
[17:13:21] <SWPadnos> it's also probably the most well-known method of tracking position incrementally
[17:13:37] <SWPadnos> the amazing thing is that he didn't know about it before ...
[17:13:39] <skunkworks> and yes it is in most mice.
[17:13:39] <Lerneaen_Hydra> ...
[17:13:48] <Lerneaen_Hydra> oh, I see
[17:13:50] <alex_joni> hmm.. wonder if he can come up with a better way to do it
[17:14:11] <Lerneaen_Hydra> bbl
[17:14:57] <Didier> hello everybody
[17:15:47] <Didier> somebody knows gantrykins.c
[17:16:08] <SWPadnos> somebody does :)
[17:16:36] <Didier> there is some bugs on axis with ?
[17:17:09] <SWPadnos> could be. what are you seeing?
[17:17:33] <Didier> instead of x,y,z, i have 0 1 2 ???
[17:18:04] <alex_joni> Didier: that is normal
[17:18:19] <alex_joni> you are using a system which is not a trivial kinematics
[17:18:29] <alex_joni> that means 0 doesn't necessarely correspond to X
[17:19:13] <alex_joni> not sure how AXIS does it, but in tkemc you usually home all joints then you can switch to "World View"
[17:19:58] <Didier> i see, i need to home all joints to see what happen
[17:21:06] <SWPadnos> if I remember correctly, the homing process with gantrykins isn't 100% thought out
[17:21:26] <Lerneaen_Hydra> how does axis deal with <3 axes or rotational axes in the 3d plot?
[17:21:30] <Didier> thougth out = finished
[17:21:32] <Lerneaen_Hydra> err, >3
[17:21:49] <SWPadnos> thought out = not sure exactly how to do it :)
[17:22:01] <Didier> thanks
[17:22:31] <Didier> :)
[17:22:47] <SWPadnos> jeff may know, I believe he wrote gantrykins
[17:23:03] <SWPadnos> but I think there are some issues with homing non-trivial machines in general
[17:23:07] <Didier> then i will see what happen and make code if necesary
[17:23:12] <SWPadnos> (I don't have one, so I can't be sure)
[17:23:23] <SWPadnos> sound sgood to me :)
[17:24:11] <Didier> i hope, i need to try it for a machine
[17:25:00] <Lerneaen_Hydra> SWPadnos: what about a 5-axis mill (3 translational, two rotating axes)
[17:25:11] <SWPadnos> darned good question
[17:25:26] <SWPadnos> you can't plot the toolpath well unless you know the geometry of the head / table ...
[17:25:52] <Lerneaen_Hydra> granted noone programs them by hand (ever), so the axis 3d plot is maybe not all too needed
[17:25:56] <Lerneaen_Hydra> exactly
[17:26:02] <Lerneaen_Hydra> the CAM app needs to know that however
[17:27:09] <Lerneaen_Hydra> http://www.rainnea.com/cnc_support.htm <-- are a few different kinds of 5-axis mills
[17:27:40] <Lerneaen_Hydra> the bottom right one is actually rather easy to add to a 3-axis mill
[17:27:46] <Lerneaen_Hydra> no major overhauls wrt the spindle
[17:28:02] <Lerneaen_Hydra> just additons to the table
[17:28:21] <SWPadnos> sure - I know the CNC_toolkit
[17:30:20] <SWPadnos> I just wish I could convince Rab to redo it as a standalone app instead of a Rhino plug-in, which is probably what he'll do next
[17:30:31] <Didier> thank you, bye
[17:30:34] <SWPadnos> see you
[17:44:25] <alex_joni> later all
[17:45:54] <SWPadnos> see you
[17:48:24] <Lerneaen_Hydra> bye alex
[17:48:43] <skunkworks> SWPadnos: I suppose there is an issue with having the encoder resolution so high? .000208. will I loose some responsiveness as far as positioning? or do you think it can be tuned well enough?
[17:49:45] <skunkworks> if that makes sense
[17:49:47] <SWPadnos> I think there's only a problem if the software can't update fast enough relative to the encoder count rate
[17:50:46] <skunkworks> I am thinking more along the lines of stopping - or getting pushed away from the commanded position.
[17:50:49] <SWPadnos> it's a matter of the PID gains - Geckodrive recommends nothing higher than 1000 CPR, and they prefer lower count encoders, in the 100-500 CPR range (*4 for quadrature)
[17:51:19] <skunkworks> ah - so probably can get it to do what I want. Emc as the loop.
[17:51:35] <SWPadnos> but you can't change the timing of their PID loop, only a couple of the gains (they have filtering that has soime time constant - that's the timing I'm talking about)
[17:51:56] <SWPadnos> probably, but a PC may not be fast enough while generating the up/down outputs in software
[17:52:21] <skunkworks> time will tell :) Need to play with it some more.
[17:52:34] <SWPadnos> think of it this way: if you output "up" for one BASE_PERIOD, and that causes the motor to move multiple counts forward, then it may not be possible to tune
[17:53:07] <SWPadnos> (not that a base period will cause the motor to move at all, in all likelihood :) )
[17:53:15] <skunkworks> ok - but I am not seeing that yet. It seems to be very responsive to where is should be.
[17:53:31] <SWPadnos> yeah - motors are really slow compared to computers :)
[17:54:01] <SWPadnos> the other thing that can cause some instability would be the granularity of the PDM output
[17:54:04] <skunkworks> I just don't like how far I can move it - compared to where it should be. - But cradek said that should come with better tuning.
[17:54:22] <skunkworks> although what does he know ;)
[17:54:46] <SWPadnos> I think cradek pointed out that you should be able to spin it freely withing the DEADBAND, but it should be a brick wall if you try to move it outside that range
[17:55:00] <skunkworks> (I can move it a good .005 with a wrench before I chicken out)
[17:55:05] <skunkworks> maybe more
[17:55:13] <SWPadnos> with it straining against you?
[17:55:15] <skunkworks> yes
[17:55:30] <SWPadnos> ok, that makes sense. motors aren't as powerful as you'd think
[17:55:48] <SWPadnos> I can cause my 27 in-lb motors to fault a gecko
[17:56:07] <SWPadnos> with a CNC handwheel on the shaft - 3" radius
[17:56:19] <skunkworks> ok
[17:56:41] <SWPadnos> if you calculate it out, I only need 27 in-lb / 3in = 9 lb of force to overpower the motor
[17:57:02] <skunkworks> makes sense.
[17:57:31] <skunkworks> * skunkworks needs a current meter in line to see what is going on.
[17:57:38] <SWPadnos> good luck :)
[17:57:49] <SWPadnos> you need a current probe and a scope, I'd bet
[17:58:27] <SWPadnos> you can see if emc is doing its job by looking at the duty cycle of the PDM output though
[17:59:00] <skunkworks> I did that. pretty cool. I would move the servo and watch emc correct with the pwm signal.
[17:59:01] <SWPadnos> just halscope or halmeter the PID velocity output
[17:59:11] <skunkworks> pdm
[17:59:13] <SWPadnos> (I think)
[18:00:04] <SWPadnos> I suppose I should have tried my gecko experiment with a bulk power supp-ly (I think I had set the power supply current limit to 10A, the continuous limit for my motors)
[18:00:32] <skunkworks> are you running it yet?
[18:00:36] <SWPadnos> nope
[18:39:35] <skunkworks> still freeken cool :)
[20:16:49] <alex_joni> hi
[20:26:06] <Lerneaen_Hydra> 'lo
[20:27:03] <alex_joni> what's up?
[20:34:03] <Lerneaen_Hydra> making parts for my electric bike
[20:34:10] <Lerneaen_Hydra> but now I'm too fscking tired
[20:34:20] <Lerneaen_Hydra> so I'll have to continue tomorrow...
[20:34:29] <alex_joni> same here
[21:11:57] <madmanLap> I was wondering if anybody could help me deciding a I/O controller to control a cnc router I have
[21:13:01] <SWPadnos> sure - what's the question?
[21:13:17] <madmanLap> the machine is 3-axis, I have 4 stepper driver modules and one frequency motor controller
[21:13:23] <madmanLap> specs are here: www.hi.is/~stefath/cnc
[21:14:06] <madmanLap> I think I need 16 I/O outputs but the cards on the linuxcnc site mostly have A/D controller cards and few digital I/Os
[21:14:47] <SWPadnos> the mesa card has 48 I/Os, in addition to the quadrature and PWM connections
[21:15:12] <SWPadnos> the least expensive solution would probably be a PCI dual parallel port card
[21:16:54] <Jymmm> http://koutech.com/proddetail.asp?linenumber=48
[21:17:08] <Jymmm> I have one, untested, but does support linux
[21:17:16] <SWPadnos> you'll likely need some sort of "analog" output for the VFD - the a PWM on the mesa card should suffice, with a filter on the output
[21:17:49] <SWPadnos> they have the magic Linux word on that page - it's probably supporte din the stock kernels
[21:18:17] <Jymmm> I think alex said he has this one too
[21:18:55] <SWPadnos> I have the one from ByteRunner. it sisn't work with the USC, though I didn't try very hard
[21:19:01] <SWPadnos> I haven't tried it as plain I/O
[21:19:53] <madmanLap> ok, is the parallel card fast enough? the table is 2.5 by 4 meters and the steppers are microstepped so I would think the I/O speed would need to be quite high
[21:20:52] <SWPadnos> well, the mesa card has an FPGA on it, and sometime soon there should be step/direction output from it (maybe sooner if you mention it when you talk to them about buying the card)
[21:21:20] <SWPadnos> the USC from Pico Systems is also good, it generates up to 4 axes of step output in hardware, so you won't have any problem with speed
[21:21:54] <CIA-5> 03jepler 07HEAD * 10emc2/src/ (configure.in configure): having figured out which tclsh/wish has bwidget, invoke that one when running pickconfig -- fixes a problem on systems with more than one installation of tcl/tk
[21:21:55] <CIA-5> 03jepler 07HEAD * 10emc2/scripts/emc.in: having figured out which tclsh/wish has bwidget, invoke that one when running pickconfig -- fixes a problem on systems with more than one installation of tcl/tk
[21:21:55] <SWPadnos> the USC has 8 outputs and 16 inputs, in addition to the step outputs and encoder inputs
[21:22:03] <jepler> software step generation generally can't go higher than 20k pulses per second, so if you need more then dedicated step generating boards are needed.
[21:22:23] <jepler> (boards like USC go to 1MHz and beyond, IIRC)
[21:22:35] <SWPadnos> depends on the version :)
[21:22:36] <anonimasu> :)
[21:23:57] <SWPadnos> (when writing the driver, jmk and I noticed that mine does 2.5 MHz, but his only went to 2.0 MHz - both of which are of course > 1 MHz)
[21:24:09] <madmanLap> ok, but onboard the cnc there are power modules that control the steppers so I think the USC is not appropriate
[21:25:10] <SWPadnos> what kind of input do the power modules need?
[21:25:45] <madmanLap> there are inputs for direction, stepping, microstep and some error checking, you can see the specs on www.hi.is/~stefath/cnc
[21:26:53] <SWPadnos> right - forgot to look there :)
[21:27:11] <jepler> USC's outputs are step/direction
[21:27:18] <SWPadnos> it looks like step and direction are supported, which is exactly what the USC outputs
[21:27:47] <SWPadnos> there are several products from Pico Systems - the USC or Universal Stepper Controller is the one you want
[21:28:48] <anonimasu> the USC works really well.. :)
[21:28:53] <madmanLap> how broad is the support for I/O cards, I just googled some and found these: http://www.measurementcomputing.com/cbicatalog/cbiproduct_new.asp?dept_id=142&pf_id=1702&mscssid=UM8DU6DN3WP49NU8F5N9L4TWPBGC97EA
[21:28:54] <SWPadnos> there are other systems, including a complete servo drive kit, and a PWM controller nearly identical to the USC
[21:29:06] <SWPadnos> those can be supported, but aren't at the moment
[21:29:12] <madmanLap> ok
[21:29:49] <SWPadnos> there's not much reason to do so, since they aren't isolated, and only provide I/O, for about the same cost as the USC or Mesa cards
[21:30:20] <madmanLap> i see
[21:30:38] <SWPadnos> (the mesa isn't isolated either, but the USC has relay sockets onboard for the outputs, and transient suppressors on the inputs)
[21:31:28] <SWPadnos> regardless of the I/O board you use, if you don't use a device that generates step pulses, you'll be limited to the 20000 pulses per second or so that jepler mentioned
[21:31:46] <skunkworks> what kind of coupling is the steppers to the table? how many turns of the stepper move the table 1 inch?
[21:33:24] <madmanLap> I'm not quite sure, wait
[21:37:21] <madmanLap> 127.300 pulses/mm or 3233420 pulses/inch
[21:37:44] <SWPadnos> you'll want to reduce that, I think
[21:38:00] <cradek> ouch
[21:38:29] <madmanLap> I think the controller is telling this, it displays "127.300 pulse/mm"
[21:38:51] <madmanLap> the table is 13 feet by 8 feet so...
[21:39:00] <SWPadnos> is that 127 point 3, or 127 thousand three hundred?
[21:40:08] <madmanLap> not sure, the controller is from japan and in europe we use comma "," instead of "." to indicate integer parts
[21:40:17] <SWPadnos> that's why I asked :)
[21:40:37] <anonimasu> seems stupid to have .3 pulses ;)
[21:40:45] <SWPadnos> yeah
[21:41:06] <SWPadnos> but it's also stupid to have almost 128k pulses per mm, on a 4x2.5m table
[21:41:09] <anonimasu> though at the same time 1mm/127300
[21:41:38] <anonimasu> 7.8554595443833464257659073055774e-6
[21:42:15] <anonimasu> that's 0.00000078mm per pulse..
[21:42:21] <anonimasu> not really sane either
[21:42:38] <madmanLap> it's a really stupid controller, that's why we want to use linuxcnc instead
[21:43:22] <madmanLap> should probably be 127 point 3 pulses/mm
[21:43:45] <SWPadnos> I would look at the setting of SK1 and SK2 on the motor drivers. Ilet us know what they're set to, but I think you'll be best off with 8x or 10x microstepping (maybe even only 4x)
[21:44:15] <SWPadnos> well, 25.4/127300 = 0.0002, so that may be the steps per inch, not mm
[21:45:03] <SWPadnos> well, close anyway
[21:45:24] <madmanLap> i'll look at SK1 and SK2, wait
[21:49:00] <anonimasu> 0.00508mm per step that's snae
[21:49:01] <anonimasu> sane
[21:56:10] <SWPadnos> madmanLap, I'm going to have to run in a few minutes
[21:56:20] <madmanLap> SK1 is A and SK2 is A
[21:56:25] <madmanLap> ok
[21:56:40] <SWPadnos> ok - A is good, that's 10 microsteps, which is just about the limit of usefulness
[21:57:23] <SWPadnos> you should figure out what step rate you need by figuring out (a) how many steps per inch (or mm) you want, and how fast you want the table to move
[21:57:26] <madmanLap> do you recommend a parallel port solution with a USC board or should I connect directly from the parallel port to the power controller?
[21:57:35] <SWPadnos> that all depends on step rate
[21:57:38] <madmanLap> the power controller has optical isolation
[21:58:00] <madmanLap> ok
[21:58:06] <SWPadnos> the motors will have some top speed for the type of cutting you want to do - you'll have to find that out
[21:58:34] <SWPadnos> then take the lower of how fast you want it to go or how fast it can go, multiply by steps / (inch or mm), and see how many steps per second you need
[21:58:55] <SWPadnos> if you need <20000 steps/second, then a parallel port / other I/O solution should work fine
[21:59:11] <SWPadnos> if you need > 30000 steps/second, then you'll have to use something like the USC or other step generator
[21:59:34] <madmanLap> ok
[21:59:42] <SWPadnos> between 20000 and 30000, you may be able to find a computer that will work, but if time costs anything, then it's probably not worth it, since the step generator is $250
[22:00:20] <madmanLap> if I take the step generator I would need two, right?
[22:00:27] <anonimasu> also, with a hardware step generator your computer will be responsive..
[22:00:28] <SWPadnos> you have 4 axes?
[22:00:31] <anonimasu> no
[22:00:44] <madmanLap> only 3 axis
[22:00:53] <anonimasu> <- what swp said
[22:00:55] <SWPadnos> ok. the USC can control up to 4 axes
[22:01:05] <madmanLap> I haven't seen the specs for the usc, where can I see it?
[22:01:22] <SWPadnos> there's also a spindle DAC in the works, which could be used for the VFD control, and that plugs onto the USC board
[22:01:31] <SWPadnos> http://www.pico-systems.com/motion/
[22:01:34] <anonimasu> http://www.pico-systems.com/univstep.html
[22:01:39] <SWPadnos> err - hold on
[22:01:43] <SWPadnos> right - there
[22:02:00] <jepler> madmanLap: If you can do any programming, you can probably write a driver for that measurementcomputing.com board. but it will suffer from the limited software step generation rate just like a dumb parallel port.
[22:03:15] <SWPadnos> ok - time for me to run. see you all later
[22:03:23] <SWPadnos> madmanLap, good luck
[22:03:24] <Jymmm> c ya steve
[22:04:37] <jepler> another cheap 8255 board is http://futurlec.com/PCI8255.shtml (72 I/O points)
[22:05:10] <Lerneaen_Hydra> how does EMC interface with a step-generator board?
[22:05:20] <Lerneaen_Hydra> as in, what format is the data in?
[22:05:35] <Lerneaen_Hydra> if it allows a steprate so much faster
[22:05:35] <madmanLap> thanks SWPadnos
[22:05:50] <anonimasu> it sets the rate of the step generators..
[22:06:13] <anonimasu> Lerneaen_Hydra: faster to send a word then it is to send pulses..
[22:06:42] <anonimasu> http://www.pico-systems.com/univstep_regs.html
[22:06:46] <anonimasu> at the bottom
[22:07:34] <Lerneaen_Hydra> anonimasu: oh, so some form of paralellisation
[22:07:44] <madmanLap> how do f.ex. circles or complex forms where the speed is constantly changing come out in the USC?
[22:08:49] <jepler> madmanLap: emc generates a "position command" once per ms. by taking the difference between the current position and thew new position command, you can find the velocity each axis must move in during the next 1ms
[22:09:09] <jepler> if you're using a stepper machine, then you simply command each axis to step the appropriate number of times to go that distance
[22:09:19] <jepler> spreading those steps evenly over the 1ms of time
[22:10:43] <jepler> with software step generation, the PC has to run 1000s of CPU instructions for each step. with hardware step generation like USC, a special-purpose circuit generates the steps so you can get much higher rates.
[22:10:49] <jepler> bbl
[22:11:01] <Lerneaen_Hydra> oh, so speed changes cannot be done more often than the TP period?
[22:11:20] <Lerneaen_Hydra> (then again, that makes sense)
[22:13:22] <madmanLap> ok
[22:14:48] <Lerneaen_Hydra> 'night people
[22:17:39] <madmanLap> I think I have what I need, I'll be looking at the USC
[22:17:47] <madmanLap> thanks for everything
[22:30:10] <a-l-p-h-a> anyone know if ext2/3 needs to be defraged?
[22:31:37] <anonimasu> no..
[22:31:43] <anonimasu> it does not
[22:32:17] <anonimasu> if I remember it right
[22:32:49] <anonimasu> yeah you can defragment ext3/2
[22:33:15] <anonimasu> but, they should not frgment..
[22:37:41] <a-l-p-h-a> okay
[22:37:59] <anonimasu> :)
[22:38:18] <anonimasu> kind of odd that there are defragmentation util's out there though
[22:50:06] <jepler> http://cbbrowne.com/info/defrag.html
[22:50:23] <jepler> (looks like a rather old article)
[23:06:19] <anonimasu> yeah :)
[23:07:15] <a-l-p-h-a> I think I may do a fresh install of linux, and convert my ext2 to ext3...
[23:07:22] <a-l-p-h-a> my / is ext2
[23:07:33] <a-l-p-h-a> and there's a funny thing that happens when you try to convert / to ext3
[23:07:45] <a-l-p-h-a> so to avoid all that... just backup my ~ and restore it afterwards
[23:27:02] <a-l-p-h-a> know what I would really like to try and do... make a watch... but I've got none of the skills to do that.
[23:27:23] <a-l-p-h-a> and don't feel like splurging a few grand to learn how either... [I'm borked broke]
[23:27:44] <a-l-p-h-a> maybe I can sell a kidney. http://news.yahoo.com/s/ap/20061112/ap_on_he_me/pakistan_kidney_bazaar
[23:28:58] <anonimasu> better yet sell somone else's
[23:29:14] <a-l-p-h-a> anonimasu: ... can I come visit, I'll buy a beer or two.
[23:29:17] <Jymmm> * Jymmm invites anonimasu over for dinner
[23:29:28] <a-l-p-h-a> if you wake up in a pool of ice, with a cell phone... don't worry...
[23:29:48] <anonimasu> :D
[23:29:49] <a-l-p-h-a> there will be a note attached to the cell phone.
[23:29:55] <a-l-p-h-a> remember... 9-1-1
[23:30:06] <a-l-p-h-a> not this 999 stuff in some other countries
[23:30:39] <anonimasu> :)
[23:31:03] <anonimasu> well, without one kidney, I guess it dosent take much beer..
[23:37:10] <anonimasu> night
[23:37:12] <anonimasu> :D
[23:38:53] <a-l-p-h-a> sweet... Cohen got punched in the face a few times. http://www.thesun.co.uk/article/0,,2-2006520669,00.html
[23:44:06] <owhite> what up people?
[23:45:08] <CIA-5> 03jepler 07HEAD * 10emc2/src/rtapi/rtapi_bitops.h: when in SIM always obey ASM_BITOPS_H_USABLE
[23:48:24] <a-l-p-h-a> nothing. nothing happens when you're not here. :)
[23:48:38] <a-l-p-h-a> bbl
[23:51:52] <CIA-5> 03jepler 07HEAD * 10emc2/src/Makefile:
[23:51:52] <CIA-5> do not install pdf documentation when --enable-build-documentation was not given
[23:51:52] <CIA-5> install html documentation when --enable-build-documentation is given
[23:51:52] <CIA-5> install man3 documentation
[23:51:51] <CIA-5> 03jepler 07HEAD * 10emc2/docs/src/Submakefile:
[23:51:51] <CIA-5> do not install pdf documentation when --enable-build-documentation was not given
[23:51:53] <CIA-5> install html documentation when --enable-build-documentation is given
[23:51:59] <CIA-5> install man3 documentation