Back
[01:59:58] <SWPadnos> jimbo655, you really should attach the encoder to the spindle, not to the motor
[02:00:31] <SWPadnos> you can change scaling around based on an input (look at the gearchange component, and how it's used for the Tormach machine)
[02:01:40] <SWPadnos> but this arrangement doesn't account for belt slip, and obviously won't work on a vari-speed head, and can't be used for tapping (since the relationship between spindle orientation and the index isn't fixed)
[02:02:12] <SWPadnos> unless of course you're talking about putting the encoder on the spindle anyway, and all you need to do is change the scaling for the encoder and S word output :)
[02:02:14] <SWPadnos> night
[02:20:12] <Jymmm> SWPadnos:
[02:20:29] <Jymmm> g'night SWPadnos
[05:03:21] <thejim> Hello, Does anyone have any suggestions on using the Stepconf wizard to set up a mill that's using direct drive rack and pinion gears instead of lead screws?
[05:09:25] <thejim> I'm trying to figure out a correlation between leadscrew pitch and the pitch of my pinion gear
[05:18:52] <Jymmm> http://www.cnczone.com/forums/showthread.php?p=604944
[05:19:28] <Jymmm> http://www.joshuaglenn.com/jgblog/index.php/topics/diy-cnc-router-and-cnc-machine-tutorials/
[05:19:50] <Jymmm> sigh
[08:55:52] <Vq^> Vq^ is now known as Vq
[12:02:58] <EbiDK|AWAY> http://www.crunchgear.com/2009/07/17/fox-is-recasting-futurama/ Bastards.
[15:40:17] <frallzor> what the most simple g-gode to make a circle?
[15:41:30] <Jymmm> http://www.cnczone.com/forums/showthread.php?t=70039
[15:42:07] <frallzor> G02 I0. J-1. Fn.n tried that in emc
[15:42:11] <frallzor> but it didnt like it at all
[15:50:19] <jimbo655> Encoders for a spindle what is the count per revolution that works well?
[15:50:21] <jmkasunich> frallzor: did it print an error message? what did the message say?
[15:50:54] <jmkasunich> jimbo655: there is a wide range that works - it depends on what you are using to count, and your machine's characteristics
[15:51:38] <jmkasunich> counts/rev needs to be low enough that you can count it at the max speed you expect to use for threading
[15:52:02] <jmkasunich> if you are counting in software, figure that you can count 10,000 to 20,000 counts/second
[15:52:32] <jmkasunich> if you have hardware counters (Mesa, Pico, or others), then you can probably count at 200,000 counts/sec or more
[15:52:51] <jimbo655> I am using an input on a 5i20-7i33 card.
[15:52:56] <frallzor> jmkasunich unknown word where unary operation could be
[15:53:25] <jmkasunich> did you actually type "Fn.n"?
[15:54:17] <frallzor> yes, nothing that said it shouldnt be there afaik =)
[15:54:39] <jmkasunich> the "n.n" part in that post is a placeholder
[15:54:52] <jmkasunich> it means "put a number here that is your desired feed rate"
[15:54:56] <tom1> tom1 is now known as tom3p
[15:55:01] <frallzor> aha
[15:55:06] <jmkasunich> For example - G2 J-1 F10
[15:55:18] <frallzor> where 10 is?
[15:55:22] <jmkasunich> the feed rate
[15:55:27] <jmkasunich> F is always the feed rate
[15:55:37] <frallzor> well what definition is 10 then?
[15:55:43] <frallzor> 10mm/min? 10inch/min?
[15:55:49] <frallzor> or something else
[15:55:51] <jmkasunich> depends on what you have set
[15:55:59] <jmkasunich> G20/G21 sets inches/mm
[15:56:26] <frallzor> so how would that code look in mm if i want 1000mm/min
[15:56:34] <tom3p> are you in absolute or incremental? G90/91
[15:56:36] <jmkasunich> there are additional G-codes that set feed per minute, or feed per rev, or inverse time feed, the default is normally feed per minute
[15:57:00] <frallzor> tom3p me?
[15:57:04] <jimbo655> So 2000 counts per rev is the upper limit what about the lower limit?
[15:57:20] <jmkasunich> assuming you have already set G20 or G21 to select mm, then to make a 100mm diameter circle, you'd do G2 J50 F1000
[15:57:41] <tom3p> frallzor: yes, when you get the F figured out, G90/91 is important to the circle code you want
[15:57:51] <jmkasunich> jimbo655: the lower limit is 1 count/rev, but you want more than that
[15:58:19] <frallzor> ok ok ok, this is too much for me atm =)
[15:58:24] <jmkasunich> I'd aim for at least 100, preferrably several hundred
[15:58:24] <jimbo655> so 200-500 will work for threading?
[15:58:35] <jmkasunich> yeah
[15:59:05] <frallzor> ill ask again later, didnt think a "simple" circle took this much work :P
[15:59:05] <jimbo655> Thanks. Now what I am looking for now......
[15:59:10] <jmkasunich> frallzor:
http://www.linuxcnc.org/docs/html/gcode.html
[15:59:41] <jmkasunich> frallzor: to be blunt - one line of g-code is not "this much work" - it is about as trivial as you can get
[15:59:42] <frallzor> great, was looking for that
[15:59:57] <frallzor> well too much atm when im doing other stuff too =P
[16:00:03] <jmkasunich> ah, ok
[16:00:17] <jmkasunich> * jmkasunich has other stuff too - lunchtime ;-)
[16:00:18] <frallzor> im getting confused between tasks =P
[16:00:37] <frallzor> now back to cooking
[16:01:06] <jimbo655> bbl time for breakfast....
[16:14:35] <DaViruz> how many pulses per revolution on the spindle encoder would you say is neccesary for rigid tapping?
[16:15:04] <DaViruz> did some reading and it turns out my servo drive is configurable to output between 16 and 2048 pulses per revolution..
[16:16:17] <BigJohnT> as far as I understand you want to use the highest your hardware can read
[16:17:06] <DaViruz> if i use 400ppr i will be able to read it even at the spindle top speed (3000rpm)
[16:17:25] <DaViruz> which would be nice
[16:17:36] <jmkasunich> then that's what I'd do
[16:21:03] <tom3p> on a vmware stock ubuntu 8.04, i want emc2 sim... and ' sudo apt-get build-dep emc2' per the wiki returns... 'Unable to find a source package for emc2'
[16:21:05] <tom3p> ( wiki sez to enable repository ' Unable to find a source package for emc2' ... done & same err )
[16:22:09] <tom3p> ( wiki sez to enable repository ' Community maintained (Universe) ... done & same err )
[16:26:51] <tom3p> do i run the emc2install shell to get just sim?
[16:27:52] <tom3p> hangs getting pgp key anyway
[16:28:15] <tom3p> oh, got the key, cool
[16:40:39] <tom3p> hmm, doesnt look like i want to install via shell script, it say after running to reboot then use the emc2 under menu... i dont want emc2, i want sim only
[16:40:54] <tom3p> did this just chg the kernel?
[16:42:34] <alex_joni> depends which script you got
[16:42:50] <alex_joni> tom3p: check /etc/apt/sources.list
[16:42:59] <alex_joni> if you see emc2.3 in there, then you got the RT version
[16:43:05] <tom3p> http://www.linuxcnc.org/hardy/emc2-install.sh
[16:43:06] <alex_joni> if you see emc2.3-sim then you got the sim version
[16:43:13] <alex_joni> that's the RT install script
[16:43:21] <alex_joni> and you got the RT kernel together with emc2
[16:43:27] <tom3p> so i havent rebooted, any ideas what to do?
[16:43:31] <alex_joni> but you can do the following:
[16:43:34] <alex_joni> open a terminal
[16:43:41] <alex_joni> sudo apt-get remove --purge emc2
[16:43:51] <alex_joni> sudo apt-get remove --purge linux-image-2.6.24-16-rtai
[16:44:08] <alex_joni> then you edit /etc/apt/sources.list and change emc2.3 to emc2.3-sim
[16:44:41] <alex_joni> after that: sudo apt-get update, sudo apt-get install emc2-sim
[16:48:09] <tom3p> alex_joni: thx, its dloading the sim pkgs now
[16:50:26] <tom3p> rebooting now ( maybe thats only for the menus)
[16:59:23] <tom1> tom1 is now known as tom3p
[17:00:08] <tom3p> alex_joni: thx! emc2-sim now running on 8.041 vm under vista
[17:00:18] <alex_joni> coo
[18:47:32] <skunkworks> well - all 3 doors seem to work
http://imagebin.ca/img/EofOvhMN.jpg
[18:47:54] <skunkworks> http://imagebin.ca/img/TNX7TGdF.jpg
[18:49:25] <skunkworks> I have to say I really like the 'easy set' spring sets. (they have a little right angle gear box that raps the sping up - using your cordless drill) No hand over hand :)
[18:50:16] <skunkworks> *wraps
[18:50:38] <skunkworks> * skunkworks now need to get some openers.
[18:52:32] <skunkworks> (ez-set)
http://ddmgaragedoors.com/tutorials/ez-set-torsion-spring-replacement.php
[19:04:42] <eric_unterhausen> I really like the opener on my car rear-view mirror, works from way down the street
[19:05:08] <eric_unterhausen> otoh, training it was a bit of a travail
[19:15:19] <skunkworks> do you like the brand you have?
[19:24:47] <Roguish> check this out:
http://www.engadget.com/2009/07/18/engadgets-recession-antidote-win-an-owi-robotic-arm-edge/
[19:44:51] <mozmck> Is there a way to declare an array of hal pins in a userspace python component?
[19:47:06] <Jymmm> skunkworks: I'm calling you when I need to have a shop built.
[19:47:37] <Jymmm> skunkworks: Hey you should setup the doors to open/close in sync to music and light show =)
[19:49:55] <skunkworks> heh
[19:50:07] <Jymmm> skunkworks: When I helped my friend install his Sears opener it was pretty straight forward, came with a digital keypad to mount outside and was able to program it to use the opener that came built-into his honda and nissan
[19:50:40] <skunkworks> nice - I don't have any vehicles that have built in openers.
[19:51:20] <Jymmm> When I was fucking with it, I'd close the door, then stop it with my hand, it would reverse and open the door
[19:51:27] <skunkworks> my question is - if they are 3 button remotes - can you program the buttons to open 3 different doors?
[19:52:20] <skunkworks> * skunkworks should look at the manufacturers site
[19:52:26] <Jymmm> I know yo can program two, not sure on three
[19:53:52] <tom3p> mozmck: i see arrays in the comp descriptions, but i have no examples to cite , i'm lookin at
http://www.linuxcnc.org/docs/devel/html/hal_comp.html
[19:54:57] <tom3p> "When pin_name or parameter_name is an array, the macro is of the form pin_name(idx) or param_name(idx) where idx is the index into the pin array. When the array is a variable-sized array, it is only legal to refer to items up to its condsize"
[19:55:24] <mozmck> tom3p: yeah, I've done arrays with comp. But I don't know how to do them in python.
[19:55:39] <EbiDK|AWAY> http://thedailywtf.com/Articles/What-The-Ad--Not-Even-Then.aspx The toy one is funny, where's the computer? :P Also, I miss Byte.
[19:57:17] <tom3p> mozmck:
http://en.wikibooks.org/wiki/Python_Programming/Arrays
[19:59:10] <mozmck> :) yah, but I need an array of hal pins, which you create like this:
[19:59:11] <mozmck> h = hal.component("serial-relays")
[19:59:11] <mozmck> h.newpin("relay1A", hal.HAL_BIT, hal.HAL_IN)
[19:59:25] <Jymmm> skunkworks: THIS one say 1,2, or 3
http://www.sears.com/shc/s/p_10153_12605_00953778000P?vName=Tools&cName=Garage+Door+Openers&sName=Garage+Door+Opener+Accessories
[20:00:23] <Jymmm> skunkworks: So, I guess there are some, you just have to look at the specs carefully, as that one says NOT compatible with rolling code
[20:01:05] <mozmck> if I have a bunch of relays it would be nice to have something like h.newpin("relay[8]"...) or something, but I don't know if there is something like that
[20:01:41] <skunkworks> Jymmm: cool - thanks
[20:02:24] <jepler_> mozmck: for i in range(8): h.newpin("relay[%d]" % i, ...)
[20:02:38] <jepler_> referring to them is a bit cumbersome, you have to write h['relay[%d]' % i]
[20:02:46] <jepler_> not h.relay[i]
[20:02:53] <Jymmm> skunkworks: I like sears for crap like that only because they have one hell of a parts dept
[20:03:22] <skunkworks> right - I have used their parts department to fix things that I didn't buy there ;)
[20:03:55] <mozmck> jepler_: hmm, I guess that would work in a loop though. but yeah, not as nice looking...
[20:04:13] <Jymmm> skunkworks: Yeah, though I'm not sure if they are still as good as they used to me - economy and all.
[20:04:20] <Jymmm> s/me/be/
[20:10:25] <Jymmm> skunkworks: OH... when you program the remotes, be sure your neighbor isn't using his at the same time. Or he'll be able to open your door(s) too =)
[20:15:09] <skunkworks> heh
[20:15:51] <Jymmm> skunkworks:
http://www.sears.com/shc/s/p_10153_12605_00953985000P?mv=rr and scroll down to MANUAL says it can be programmed to open 3 doors
[20:25:30] <tom3p> i got a relay coil on a 24Vdc supply that shows 17.8V.
[20:25:39] <tom3p> of course the rlaly is 'iffy'.
[20:25:44] <tom3p> I unload each device i see, and each time the voltage raises a few mV, till i get to 22V and cant find anything else to unload save the fuse.
[20:25:52] <tom3p> pulling the fuse shows 24.48V.
[20:25:53] <tom3p> is the P/S just too small or could that last 2.5V be some unseen device?
[20:26:19] <Jymmm> Define "24vdc supply"?
[20:26:27] <Jymmm> walwort?
[20:26:32] <tom3p> switching p/s rated 24V 4A
[20:26:41] <tom3p> 120 vac 50 cycle
[20:26:58] <tom3p> finely made in taiwan ;)
[20:27:14] <tom3p> adjusted at no load for 24.5V=
[20:27:14] <Jymmm> do you have another 24DCS supply?
[20:27:22] <Jymmm> VDC
[20:27:32] <tom3p> yeah, its just hardish to replace... oh well
[20:27:41] <Jymmm> No, just for testing.
[20:27:56] <tom3p> ph yeah one of 6 running machines could be swapped
[20:28:09] <Jymmm> Jsut tap into it
[20:28:18] <tom3p> hmm, thx good idea
[20:28:28] <Jymmm> if it's voltage remains at 24VDC you'll know
[20:29:01] <Jymmm> My big 24VDC switcher stays at 24Vdc loaded, but it's a lil unique.
[21:36:58] <tom3p> Jymmm: new 24V supply fixed it. 24.4in & 24.4 loaded. once i got it wired same as others, it was easy to replace. they guys hadn't used the wago bus at first, they used the p/s as a terminal strip.
[22:05:49] <malem-cnc> anyone ever used CP21xx usb-serial on 8.04-rtai?
[22:23:58] <SWPadnos> not that I know of
[22:25:23] <skunkworks> SWPadnos: the atom board running my media box has been on for weeks now with no issues.
[22:25:32] <skunkworks> (xp though)
[22:30:30] <SWPadnos> I don't think it's an OS thing
[22:30:41] <SWPadnos> unless it has to do with power management setup or something
[22:32:59] <skunkworks> more than 1 machine is doing it?\
[22:33:10] <SWPadnos> yep
[22:33:25] <SWPadnos> they all have the same power supply though, which could be the culprit
[22:33:50] <SWPadnos> I thought it was a heat issue, but I saw the problem on a unit I have here for testing, and the CPU was <50C
[22:34:18] <skunkworks> huh
[22:34:18] <SWPadnos> (as measured on the heatsink with a cheapo non-contact IR thermometer
[22:34:21] <SWPadnos> yeah
[22:34:26] <skunkworks> yeck
[22:34:40] <SWPadnos> I actually had to remove power from the PS to get it to start up again
[22:34:51] <SWPadnos> it's a PicoPSU
[22:35:15] <SWPadnos> the thing only uses 25W total, so I'm well under the 90W the supply should handle
[22:35:16] <skunkworks> hmm - yah - all of my atoms are running with normal full sized power supplise
[22:35:19] <skunkworks> supplies
[22:35:30] <SWPadnos> I'll check it with another case I have here - this one got smashed anyway
[22:35:45] <eric_unterhausen> I had bad luck with picopsu
[22:35:46] <SWPadnos> the electronics still work great (glad we went with SSD :) )
[22:36:07] <SWPadnos> hmmm
[22:36:45] <SWPadnos> it would suck if they're generally bad, we have 15 of them
[22:37:06] <eric_unterhausen> my motherboard may have been at fault
[22:38:00] <SWPadnos> yeah - that's the disadvantage of making 15 identical systems - there's no more information as to what's wrong than if you have one system ;)
[22:41:11] <SWPadnos> ah well. bbl
[22:41:44] <jimbo655> I purchased 16 patriot warp drives for a dental office. The failure rate is around 80% and I have 6 more drives waiting to be returned. I am now moving to just a standard laptop drive (less noise).
[22:45:32] <fenn> you can measure the component values pre- and post- explosion
[22:47:46] <Jymmm> SWPadnos: You know it failed 90 seconds after the warranty ended.
[22:49:34] <Jymmm> SWPadnos: and hey ya lil shit... My Ir temp reads just fine and was only $39 =) It doens't need a $150 cal certificate to be good
[22:50:22] <Jymmm> ironically, mine has a wider range than some of the flukes
[22:51:41] <Jymmm> Heh, it just read 900-1100 F on the bbq =)
[22:52:36] <jimbo655> I have one IDE SSD drive that I purchased for my Tablet PC. Had to remove it as the writes were to slow. Had to keep waiting for the leveling to happen. Not convinced SSD drives are ready for prime time.
[22:52:57] <Jymmm> high failure rating n them too
[22:55:49] <jimbo655> Any profit in that job. Gone.............................