jimbo655, you really should attach the encoder to the spindle, not to the motor
you can change scaling around based on an input (look at the gearchange component, and how it's used for the Tormach machine)
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)
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 :)
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?
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/
Vq^ is now known as Vq
[12:02:58] <EbiDK|AWAY> http://www.crunchgear.com/2009/07/17/fox-is-recasting-futurama/
what the most simple g-gode to make a circle?
[15:41:30] <Jymmm> http://www.cnczone.com/forums/showthread.php?t=70039
G02 I0. J-1. Fn.n tried that in emc
but it didnt like it at all
Encoders for a spindle what is the count per revolution that works well?
frallzor: did it print an error message? what did the message say?
jimbo655: there is a wide range that works - it depends on what you are using to count, and your machine's characteristics
counts/rev needs to be low enough that you can count it at the max speed you expect to use for threading
if you are counting in software, figure that you can count 10,000 to 20,000 counts/second
if you have hardware counters (Mesa, Pico, or others), then you can probably count at 200,000 counts/sec or more
I am using an input on a 5i20-7i33 card.
jmkasunich unknown word where unary operation could be
did you actually type "Fn.n"?
yes, nothing that said it shouldnt be there afaik =)
the "n.n" part in that post is a placeholder
it means "put a number here that is your desired feed rate"
tom1 is now known as tom3p
For example - G2 J-1 F10
where 10 is?
the feed rate
F is always the feed rate
well what definition is 10 then?
or something else
depends on what you have set
G20/G21 sets inches/mm
so how would that code look in mm if i want 1000mm/min
are you in absolute or incremental? G90/91
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
So 2000 counts per rev is the upper limit what about the lower limit?
assuming you have already set G20 or G21 to select mm, then to make a 100mm diameter circle, you'd do G2 J50 F1000
frallzor: yes, when you get the F figured out, G90/91 is important to the circle code you want
jimbo655: the lower limit is 1 count/rev, but you want more than that
ok ok ok, this is too much for me atm =)
I'd aim for at least 100, preferrably several hundred
so 200-500 will work for threading?
ill ask again later, didnt think a "simple" circle took this much work :P
Thanks. Now what I am looking for now......
frallzor: to be blunt - one line of g-code is not "this much work" - it is about as trivial as you can get
great, was looking for that
well too much atm when im doing other stuff too =P
* jmkasunich has other stuff too - lunchtime ;-)
im getting confused between tasks =P
now back to cooking
bbl time for breakfast....
how many pulses per revolution on the spindle encoder would you say is neccesary for rigid tapping?
did some reading and it turns out my servo drive is configurable to output between 16 and 2048 pulses per revolution..
as far as I understand you want to use the highest your hardware can read
if i use 400ppr i will be able to read it even at the spindle top speed (3000rpm)
which would be nice
then that's what I'd do
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'
( wiki sez to enable repository ' Unable to find a source package for emc2' ... done & same err )
( wiki sez to enable repository ' Community maintained (Universe) ... done & same err )
do i run the emc2install shell to get just sim?
hangs getting pgp key anyway
oh, got the key, cool
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
did this just chg the kernel?
depends which script you got
tom3p: check /etc/apt/sources.list
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
if you see emc2.3-sim then you got the sim version
that's the RT install script
and you got the RT kernel together with emc2
so i havent rebooted, any ideas what to do?
but you can do the following:
open a terminal
sudo apt-get remove --purge emc2
sudo apt-get remove --purge linux-image-2.6.24-16-rtai
then you edit /etc/apt/sources.list and change emc2.3 to emc2.3-sim
after that: sudo apt-get update, sudo apt-get install emc2-sim
alex_joni: thx, its dloading the sim pkgs now
rebooting now ( maybe thats only for the menus)
tom1 is now known as tom3p
alex_joni: thx! emc2-sim now running on 8.041 vm under vista
well - all 3 doors seem to work http://imagebin.ca/img/EofOvhMN.jpg
[18:47:54] <skunkworks> http://imagebin.ca/img/TNX7TGdF.jpg
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 :)
* skunkworks now need to get some openers.
I really like the opener on my car rear-view mirror, works from way down the street
otoh, training it was a bit of a travail
do you like the brand you have?
check this out: http://www.engadget.com/2009/07/18/engadgets-recession-antidote-win-an-owi-robotic-arm-edge/
Is there a way to declare an array of hal pins in a userspace python component?
skunkworks: I'm calling you when I need to have a shop built.
skunkworks: Hey you should setup the doors to open/close in sync to music and light show =)
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
nice - I don't have any vehicles that have built in openers.
When I was fucking with it, I'd close the door, then stop it with my hand, it would reverse and open the door
my question is - if they are 3 button remotes - can you program the buttons to open 3 different doors?
* skunkworks should look at the manufacturers site
I know yo can program two, not sure on three
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
"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"
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.
:) yah, but I need an array of hal pins, which you create like this:
h = hal.component("serial-relays")
h.newpin("relay1A", hal.HAL_BIT, hal.HAL_IN)
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
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
if I have a bunch of relays it would be nice to have something like h.newpin("relay"...) or something, but I don't know if there is something like that
Jymmm: cool - thanks
mozmck: for i in range(8): h.newpin("relay[%d]" % i, ...)
referring to them is a bit cumbersome, you have to write h['relay[%d]' % i]
skunkworks: I like sears for crap like that only because they have one hell of a parts dept
right - I have used their parts department to fix things that I didn't buy there ;)
jepler_: hmm, I guess that would work in a loop though. but yeah, not as nice looking...
skunkworks: Yeah, though I'm not sure if they are still as good as they used to me - economy and all.
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 =)
and scroll down to MANUAL says it can be programmed to open 3 doors
i got a relay coil on a 24Vdc supply that shows 17.8V.
of course the rlaly is 'iffy'.
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.
pulling the fuse shows 24.48V.
is the P/S just too small or could that last 2.5V be some unseen device?
Define "24vdc supply"?
switching p/s rated 24V 4A
120 vac 50 cycle
finely made in taiwan ;)
adjusted at no load for 24.5V=
do you have another 24DCS supply?
yeah, its just hardish to replace... oh well
No, just for testing.
ph yeah one of 6 running machines could be swapped
Jsut tap into it
hmm, thx good idea
if it's voltage remains at 24VDC you'll know
My big 24VDC switcher stays at 24Vdc loaded, but it's a lil unique.
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.
anyone ever used CP21xx usb-serial on 8.04-rtai?
not that I know of
SWPadnos: the atom board running my media box has been on for weeks now with no issues.
I don't think it's an OS thing
unless it has to do with power management setup or something
more than 1 machine is doing it?\
they all have the same power supply though, which could be the culprit
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
(as measured on the heatsink with a cheapo non-contact IR thermometer
I actually had to remove power from the PS to get it to start up again
it's a PicoPSU
the thing only uses 25W total, so I'm well under the 90W the supply should handle
hmm - yah - all of my atoms are running with normal full sized power supplise
I'll check it with another case I have here - this one got smashed anyway
I had bad luck with picopsu
the electronics still work great (glad we went with SSD :) )
it would suck if they're generally bad, we have 15 of them
my motherboard may have been at fault
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 ;)
ah well. bbl
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).
you can measure the component values pre- and post- explosion
SWPadnos: You know it failed 90 seconds after the warranty ended.
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
ironically, mine has a wider range than some of the flukes
Heh, it just read 900-1100 F on the bbq =)
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.
high failure rating n them too
Any profit in that job. Gone.............................