#linuxcnc | Logs for 2012-04-04

Back
[00:00:17] <Nick001> machine is rated at 3000rpm - if I remember correctly - both the ge and ab control
[00:01:32] <Nick001> I would really max it at 2000 given the age of the bearings.
[00:02:07] <Nick001> If you liked 88 for a coupling - try a set of bearings -)
[00:03:42] <ssi> :D
[00:03:58] <ssi> yes, it's rated at 3000
[00:04:07] <ssi> but 2000 is a bit excessive, don't you think?
[00:05:07] <Nick001> unless your dilling 1/32 holes 2k is overdoing most everything else
[00:06:26] <pfred1> what if you're working aluminum?
[00:06:32] <ssi> or with carbide tools
[00:06:42] <pfred1> was my other thought
[00:06:43] <ssi> everything I've read says carbide want SFM and all it can get
[00:06:57] <pfred1> carbide is about 4X HSS
[00:06:58] <ssi> hell I run 1000sfm in aluminum on my g0602 :)
[00:07:22] <Nick001> you can pull chips off only just so fast without gumming up
[00:07:35] <pfred1> ssi you need a really rigid setup for carbide though
[00:08:25] <ssi> pfred1: it's pretty rigid
[00:08:29] <ssi> the hnc that is
[00:09:00] <Nick001> and if you heat the part up, your size holding goes away. you can spend a lot of time changing inserts and offsets rather than doing actual work
[00:09:29] <ssi> Nick001: so how do you get a reasonable surface finish with carbide tools without speed
[00:09:37] <ssi> if I run fast I can turn mirror polish
[00:09:39] <ssi> slow, not so much
[00:10:19] <Nick001> diamond ground and a honed edge - also oil vs coolant
[00:10:47] <ssi> diamond ground and honed carbide inserts?
[00:11:15] <pfred1> carbide never gets as sharp as HSS
[00:11:25] <pfred1> just doesn't have the grain structure
[00:12:02] <Nick001> and when that chip wraps up - as compared to a chip rolling of the tool easily
[00:12:27] <pfred1> you have to be a metalurgist there are so many alloys of carbide
[00:13:12] <pfred1> some pit some chip
[00:14:12] <Nick001> i use inserts for roughing - for finishing - brazed carbide that I grind with adiamond wheel with kerosine and hand hone a radius
[00:14:46] <pfred1> why kerosene?
[00:15:37] <Nick001> lubricant and keep the carbide from chipping and gives a great finish
[00:16:00] <pfred1> I just use water on my diamond wheel
[00:16:24] <Nick001> kero works better
[00:16:26] <ssi> btw
[00:16:29] <ssi> spindle pid is hard :(
[00:17:15] <Nick001> why?
[00:17:32] <ssi> just can't seem to get the tuning right
[00:17:39] <ssi> bear in mind I suck at tuning pids
[00:18:34] <Nick001> so do I but I have a different motor than you and it worked real good
[00:19:40] <ssi> oh there we go
[00:19:43] <ssi> FF0 = 1 on the spindle
[00:19:46] <ssi> worked like a charm
[00:20:53] <ssi> except...
[00:21:01] <ssi> sometimes when I command a speed change downward
[00:21:03] <ssi> it doesn't move down
[00:21:06] <ssi> sometimes it goes up instead
[00:21:08] <ssi> weeeee
[00:21:55] <Nick001> you only have speed control - no accel or decell -the motor contoller does that
[00:22:25] <Nick001> howd you manage that -)
[00:23:01] <ssi> I think it has to do with how abrupt the speed commands are
[00:23:09] <ssi> so like.. if I'm runnng at 1000rpm in low gear
[00:23:19] <ssi> and then I do S300
[00:23:29] <ssi> the command drops instantly from 1000 to 300
[00:23:39] <ssi> and it just... doesn't move
[00:23:48] <ssi> or it goes up instead
[00:24:13] <Nick001> needs a clutch change?
[00:24:21] <ssi> no, it's not that
[00:24:26] <pfred1> maybe ramp the change some?
[00:24:31] <ssi> it's like the error rises so fas that it just decides not to move
[00:24:35] <ssi> pfred1: I dunno how to ramp the change
[00:24:50] <ssi> other than some kind of filter on the velocity command maybe
[00:24:54] <ssi> like a lowpass filter
[00:25:19] <ssi> I can try that
[00:25:53] <pfred1> this gentoo stuff seems awfully confusing maybe I'm just tired?
[00:26:18] <pfred1> or maybe the stuff is just for chronic aspergers sufferers
[00:27:04] <pfred1> ack! they spell color Colour
[00:27:12] <ssi> hahaha
[00:27:18] <pfred1> scratch them off the list
[00:28:53] <djdelorie> here's a weird question one of you might know the answer to... is there such a thing as a 1.75x8 thread to standard "D-5" (or whatever) chuck mounting adapter?
[00:29:07] <djdelorie> http://www.delorie.com/photos/southbend-lathe/img_2621.html
[00:30:10] <djdelorie> pfred1: if you want the US spellings, you need to get Gento, not Gentoo - note the lack of the extra 'o' :-)
[00:30:26] <pfred1> djdelorie heh
[00:30:42] <pfred1> it started out sounding good but the more I read about it I donno
[00:31:03] <djdelorie> the only people who should be building their own OS are the paranoids and the people who make the OS
[00:32:30] <pfred1> I don't want to build my own but I do want to customize some aspects of it
[00:32:47] <pfred1> not just run whatever version the distro thinks I should
[00:32:53] <djdelorie> so get something like ubuntu or fedora, and only rebuild the parts you care about
[00:33:14] <pfred1> i've run ubuntu it isn't the easiest thing to customize
[00:33:40] <pfred1> it is simple like an onion is round
[00:34:01] <djdelorie> RPM based distros are simple. Get the srpm, rpmbuild it, install the new rpms
[00:34:17] <pfred1> but does that manage deps?
[00:34:28] <djdelorie> the rpm spec file has the deps in it
[00:34:53] <djdelorie> you can, for example, find the srpms for fedora 14, and build them on feodra 16, and the deps "just work"
[00:35:07] <pfred1> right now my biggest sticking point is KDE
[00:35:16] <pfred1> I hate KDE 4
[00:36:00] <pfred1> I've not so much run it as I've run away from it screaming
[00:36:30] <djdelorie> yum install kdebase3
[00:36:44] <pfred1> compelling
[00:36:52] <ssi> I think I see why it's doing it
[00:36:58] <pfred1> I loved yast in suse
[00:37:03] <ssi> my velocity signal to the VFD is absolute
[00:37:12] <djdelorie> the only catch is, most of the apps that *use* kde, will want kde4, so you end up installing that too
[00:37:19] <ssi> so when the command changes suddenly from 1000 to 300, it's infinite deceleration
[00:37:26] <ssi> which makes the pid command go hard negative
[00:37:32] <ssi> but negative is positive
[00:37:38] <ssi> which means it's commanding more velocity
[00:37:44] <djdelorie> no limit on the D value?
[00:37:44] <ssi> which increases the error, which decreases the pid command
[00:37:45] <pfred1> djdelorie where would I have a problem with that?
[00:37:58] <ssi> I don't even have any D term in actually
[00:38:03] <djdelorie> if you're OK with having two copies of kde installed, no problem
[00:38:20] <ssi> I need a way to make the pid min out at 0
[00:38:23] <pfred1> but what apps dep on KDE?
[00:38:40] <djdelorie> er, lots?
[00:38:54] <pfred1> I know the KDE apps do
[00:39:01] <pfred1> like kwrite
[00:39:15] <pfred1> but 3.5.10 has that
[00:40:15] <pfred1> what i use all the time is the open terminal here in konquerer and lots of FMs today don't have that feature
[00:40:22] <ssi> hrm so in order to do this right actually... I need to do my pid in absolute
[00:40:29] <ssi> as in, feedback needs to be absolute as well
[00:40:34] <djdelorie> or at least, they require qt...
[00:40:35] <ssi> otherwise this won't work for reverse spindle :P
[00:40:57] <pfred1> I thought more junk depped on gnome libs?
[00:41:11] <pfred1> you know gtk
[00:41:23] <djdelorie> fedora is 70 GB of rpms... there's enough stuff that both have "more junk"
[00:42:03] <pfred1> alright you talked me into it at least i can give it a shot
[00:42:18] <pfred1> I did like my RH and suse days
[00:42:18] <djdelorie> download the livecd and try it first, if you don't have a machine to install it on
[00:42:28] <pfred1> oh i have a couple
[00:42:54] <pfred1> I need to install something into my new old one I just got
[00:43:13] <pfred1> I'm dying to play some Quake on it
[00:43:28] * pfred1 is a Quake addict ...
[00:44:46] <pfred1> so 16 is stable?
[00:51:22] * pfred1 decides to try out Fedora-16-x86_64-Live-XFCE
[00:51:39] <djdelorie> yeah, 17 is nearing release and they started on 18
[00:51:49] <djdelorie> er, 17 is nearing beta
[00:52:17] <pfred1> I liked Linux 10 years ago I'm sure I'll like whatever is in 16
[00:53:06] <pfred1> bad enough I talked myself into trying out the 64 bit
[00:53:38] <djdelorie> my machines are mostly 64 bit, and I'm only on Fedora 14
[00:53:57] <pfred1> I'm wondering how mostly is going to work
[00:54:19] <pfred1> but I guess it is something I'm going to have to decide for myself so what the hey
[00:54:22] <djdelorie> well, two of them don't support 64 bit ;-)
[00:54:31] <djdelorie> those machines are 32 bit
[00:55:03] <pfred1> I have 3 64 bit machines but I never ran any 64 bit yet
[00:55:19] <djdelorie> if you have more than 3G of ram, go 64 bit...
[00:55:26] <pfred1> I guess we all have to take the plunge someday
[00:56:20] <pfred1> the one box I might be able to bump it to 6 GB but the RAM was testing a little flakey so I pulled 2 sticks out
[00:56:38] <pfred1> I still haven't run a real RAM test just some junk in the BIOS HP put into it
[00:56:57] <pfred1> linux can map bad RAM anyways can't it?
[00:57:06] <djdelorie> the fedora install dvd has a memtest option, or you can download a memtest cd.
[00:57:16] <djdelorie> No, linux can't map bad ram. It can map bad hard drive sectors
[00:57:39] <pfred1> I could swear I've read it can map RAM
[00:57:45] <djdelorie> it can handle multiple ram ranges, so if your *bios* maps it out, that's different. But better to just fix the ram
[00:57:59] <djdelorie> it maps physical ram to virtual addresses. It doesn't map out *BAD* ram.
[00:58:39] <pfred1> I might just get 2 new sticks then
[00:58:58] <pfred1> isn't it better if banks are matched? DDR2
[00:59:53] <pfred1> thing might not even have been seated right I don't know who was monkeying with the system before I got it
[01:00:26] <djdelorie> it's easier if all the sticks are matched. If they're not, they'll all run at the slowest speed, hopefully.
[01:00:48] <djdelorie> Last time I got a new mobo, I got a matched set of 6 sticks because I was tired of dealing with mismatched memory
[01:01:25] <pfred1> I thought each pair of banks was supposed to match but I guess your buss will drop to the lowest speed
[01:02:00] <djdelorie> bank pairs have to match, but the bios seems to be less confused if they all match
[01:02:11] <pfred1> no doubt
[01:03:28] <pfred1> hmm that was awfully fast
[01:03:38] <pfred1> oh wait it isn't done yet
[01:33:33] <pfred1> the gui parittioning tool in fedora stinks
[01:33:51] <pfred1> it is extending my 4th primary partition
[01:33:52] <djdelorie> I usually use the "custom" option
[01:34:01] <djdelorie> no, I always use the custom option
[01:34:14] <pfred1> that is what I'm doing but for some odd reason it isn't letting me make 4 primaries
[01:34:34] <djdelorie> do you also have extended partitions?
[01:34:35] <pfred1> I always make a /boot a swap a / and a /home
[01:35:01] <pfred1> yeah maybe I didn't delete it all right let me try it again fdisk is easier
[01:35:21] <djdelorie> ctrl-alt-F2 or F3 to get a shell prompt, fdisk it, then back to the gui
[01:35:53] <pfred1> I know how to drop to a console
[01:36:06] <pfred1> let me give it another crack
[01:37:14] <pfred1> is it better to have a swap early or later in a drive?
[01:37:40] <pfred1> oh heck I'll make it in the middle
[01:37:54] <djdelorie> I think early cylinders are faster
[01:39:29] <pfred1> yeah it moved it right after /boot for me I'll let it go
[01:41:54] <pfred1> thats it fdisk here I come
[01:46:49] <pfred1> lets see if this works better now I made parittions I just have to mount them
[01:50:14] <pfred1> what is this happy horsepucky? your / partition does not match the media you are installing from it must be formatted as ext4?
[01:50:31] <djdelorie> let it format for ext4, you want it anyway
[01:50:38] <pfred1> no I don't
[01:50:43] * pfred1 wants ext3
[01:50:55] <pfred1> ext4 runs too many procs
[01:51:14] <djdelorie> you're running the liveCD, yes?
[01:51:23] <pfred1> right now I'm installing
[01:51:28] <djdelorie> from the liveCD?
[01:51:33] <pfred1> so yeah the live CD is running
[01:51:52] <djdelorie> I think the liveCD installs by dd'ing itself to the hard drive, then extending the filesystem to fit the partition
[01:51:55] <pfred1> I've never run into this with an install before
[01:52:08] <djdelorie> if it bothers you, get the installer DVD instead
[01:52:14] <pfred1> grrrr
[01:52:36] <pfred1> ok I guess ext4 isn't that bad
[01:52:38] <djdelorie> did you *run* the liveCD?
[01:52:47] <pfred1> whats another half a dozen procs?
[01:52:49] <djdelorie> Do you like it? That's what it's for
[01:53:16] <pfred1> most distros let yo uinstall right in the live cd this one has an icon on the desktop and an installer program
[01:53:26] <pfred1> it looks nice
[01:53:33] <pfred1> I was installing it
[01:53:48] <djdelorie> right, but it's just a CD, not enough room for the live image *and* the RPMs, which is why it copies itself. A DVD has more room and isn't a full live image
[01:53:52] <pfred1> I'll go ext4
[01:53:58] <djdelorie> you want it anyway :-)
[01:54:14] <pfred1> I've run it it spawns so many procs
[01:54:46] <pfred1> but if I'm going to run it I guess I'll put it on all my partitions
[01:54:56] <pfred1> all in
[01:55:27] <Loetmichel> mornin'
[01:55:52] <pfred1> man this PC is fast
[01:56:51] <pfred1> or does ext4 just format fast?
[01:57:00] <djdelorie> that too, it's much more efficient
[01:57:13] <pfred1> t is taking its sweet time to copy
[01:58:10] <pfred1> did it just say it resized my root partition?
[01:58:32] <djdelorie> remember? It dd's the IMAGE of the cd to the partition, then resizes it to fill the actual space available
[01:58:38] <pfred1> oh
[01:58:47] <djdelorie> it doesn't actually "install" in the normal sense, it copies
[01:59:01] <djdelorie> the filesystem on the CD is itself ext4
[01:59:10] <pfred1> kooky
[01:59:31] <djdelorie> efficient. You're installing the code you're running, so it doesn't need two copies of everything on the CD
[01:59:58] <djdelorie> the DVD does it the normal way, so you have more flexibility
[02:00:45] <djdelorie> good for now? It's bedtime for me...
[02:02:08] <pfred1> it told me I was too weak
[02:02:20] <djdelorie> ur?
[02:02:30] <pfred1> my password
[02:02:47] <djdelorie> ah, right. Mine was marginal.
[02:02:51] <pfred1> yeah it looks good
[02:03:05] <pfred1> I'm on the desktop thanks for the help
[02:03:25] <djdelorie> I'll leave you with my clever idea of the day: a chuck removal wrench: http://www.delorie.com/photos/southbend-lathe/img_2624.html
[02:03:53] <pfred1> can't beat woodworking
[02:04:13] <djdelorie> it's a lot easier and faster to cut wood than to cut metal :-)
[02:04:25] <pfred1> well
[02:04:34] <djdelorie> sadly, it's a 1 3/4 x 8tpi thread, very rare these days. The inside is MT4 though
[02:04:46] <pfred1> I seen a mill that could chew up the cuin of steel
[02:04:54] <pfred1> took 4 guys with shovels to keep up with the thing
[02:05:58] <pfred1> so your chuck isn't mounted on a faceplate?
[02:06:02] <djdelorie> ok, easier and faster *for me*
[02:06:11] <djdelorie> it looks like it's bolted to the dog plate
[02:06:20] <djdelorie> the other chuck is threaded
[02:06:21] <DJ9DJ> moin
[02:06:25] <pfred1> yeah to change chucks yo ujust bolt another onto the plate
[02:06:49] <djdelorie> well, only one chuck bolts to the dog plate, but if I buy a new one I have to figure out what I'll do
[02:06:58] <djdelorie> I looked for a camlock adapter, but they only sell the chuck side of those
[02:07:05] <pfred1> get one that bolts to your plate or a blank you tap
[02:07:17] <djdelorie> likely I'll have to do that, yes.
[02:07:27] <pfred1> that is what they expected you to do
[02:07:44] <djdelorie> after all, you have a lathe, you should be able to tap and true a blank...
[02:07:58] <pfred1> plus them old lathes came with everything you needed yours just lost its over the years
[02:08:13] <djdelorie> actually, I still have most of the "everything"
[02:08:20] <pfred1> stacks of stuff
[02:08:22] <djdelorie> a few little bits are missing, like the actual dogs
[02:08:29] <djdelorie> buckets of stuff
[02:08:42] <pfred1> in the pictures they stack up the change gears and stuff
[02:09:06] <pfred1> for $29.99
[02:09:20] <djdelorie> what's $29 ?
[02:09:34] <pfred1> what your lathe cost in 1850
[02:09:34] <djdelorie> example contents of a bucket: http://www.delorie.com/photos/southbend-lathe/img_2627.html
[02:09:42] <djdelorie> 1922 but ok :-)
[02:10:02] <djdelorie> http://www.delorie.com/photos/southbend-lathe/original-ledger-entry.html
[02:11:05] <pfred1> ever done electrolytic derusting?
[02:11:16] <djdelorie> http://www.delorie.com/photos/southbend-lathe/img_2545.html
[02:11:29] <pfred1> its real Mr. Wizard you'd get a kick out of it
[02:11:31] <djdelorie> http://www.delorie.com/photos/southbend-lathe/img_2544.html
[02:12:07] <pfred1> a transformer a bridge a plastic bucket and a sacrificial anode and you're on your way!
[02:12:14] <pfred1> use baking soda
[02:12:18] <djdelorie> washing soda
[02:12:29] <pfred1> nah i tried the real thing I like baking soda better
[02:12:41] <pfred1> there is really little difference
[02:13:06] <djdelorie> probably, but all the sites I read said to use washing soda, and I had some, so I used it. Did you look at those last two photos?
[02:13:32] <pfred1> just 2 gears or one clean one dirty?
[02:13:46] <djdelorie> and a bucket of electrolytic derusting crud
[02:13:52] <pfred1> did you bake the stuff after yo usoaked it?
[02:14:00] <djdelorie> no
[02:14:10] <pfred1> supposed to drive out hydrogen embrittlement
[02:14:25] <djdelorie> nobody mentioned that so I didn't
[02:14:28] <pfred1> either that or you just wait
[02:14:53] <pfred1> it goes away naturally over time
[02:15:17] <pfred1> how much time I don't know
[02:15:34] <djdelorie> 2540 is a better shot of the whole setup, using a battery charger. I need a bigger bucket for the big chuck and faceplate though
[02:16:34] <pfred1> I just made up a transformer and bridge the battery and charger looks good too but you have to watch the amps
[02:16:57] <djdelorie> it's a weak charger, not that many amps. Takes about a day per part
[02:17:16] <pfred1> well you were running right off the battery weren't you?
[02:17:24] <djdelorie> that too
[02:17:25] <pfred1> it has like 500 cold cranking amps
[02:18:12] <pfred1> the water does get amazingly sludgy
[02:18:19] <djdelorie> the battery prevents the -0.7v diode drop that some cheap chargers have (one diode, not a bridge) and I had the battery closer than the oscope :-)
[02:18:24] <djdelorie> yeah, I need to dump it and start a new batch
[02:18:37] <pfred1> well I don't think it hurts the performance
[02:18:45] <djdelorie> shouldn't
[02:18:49] <pfred1> though your anode can get too gunky
[02:18:52] <djdelorie> it's just messy
[02:19:03] <djdelorie> I scrape those down periodically
[02:19:20] <pfred1> oh and don't use stianless
[02:19:23] <pfred1> stainless
[02:19:33] <pfred1> the chromium leeches out of it
[02:19:43] <djdelorie> those are stainless, I've read all the warnings, not worried about it
[02:19:48] <pfred1> OK
[02:19:58] <pfred1> just so long as you're aware
[02:20:02] <djdelorie> yup
[02:20:23] <pfred1> I worked at a place that heat treated printing dies
[02:20:31] <pfred1> and ah we did bad things with chrome salts there
[02:20:50] <pfred1> like flush them down the toilet by the 55 gallon drum ...
[02:21:31] <pfred1> when we heat treated the dies you'd swear yo ucould look right through an inch thick of steel
[02:21:50] <pfred1> it was like translucent when I pulled it out of the bath
[02:21:54] <djdelorie> wow
[02:21:59] <pfred1> yeah it was freaky
[02:22:29] * pfred1 didn't last at that job for too long
[02:22:59] <pfred1> one guy went out for lunch never came back
[02:23:50] <djdelorie> anyway, really going to bed this time. Back tomorrow for more!
[02:23:54] <pfred1> nite
[07:04:14] <jthornton> can anyone make sense of this tracert pastebin.com/hdh21MMD
[07:05:24] <jthornton> I don't understand the first two lines of the second tracert
[07:05:47] <Valen> 1 is your modem
[07:05:51] <Valen> or router or whatever
[07:06:05] <jthornton> ok
[07:06:06] <Valen> 2 is something thats eating a hop but not responding to a ping
[07:06:11] <Valen> its not uncommon
[07:07:09] <jthornton> for some reason yet unknown to anyone I can't log into my control panel at webhost4life.com when connected to the satellite
[07:07:31] <Valen> brb something is b0rked
[07:07:40] <Valen> the half second ping could be bothering it
[07:07:48] <jthornton> ok
[07:10:42] <Valen> what was that pastebin again?
[07:10:59] <jthornton> http://pastebin.com/hdh21MMD
[07:12:38] <archivist> is webhost4life.com also one of your isp's, do they expect you to come from their ip range
[07:13:07] <Valen> its making it to the same destination, is the url something like foo.bar.com:8080 for the admin page?
[07:13:20] <jthornton> no webhost4life.com is my hosting account
[07:13:54] <Valen> what error do you get?
[07:14:15] <jthornton> I keep getting a redirect to another page with and error
[07:14:53] <archivist> we cant guess we cannot see teh error message
[07:16:56] <jthornton> it doesn't give a sensible error
[07:17:47] <archivist> might be sensible if you understand it
[07:17:50] <jthornton> when I contacted Wildblue they asked me if it was GoDaddy as they are not compatible with satellite internet
[07:18:28] <jthornton> so I asked Webhost4life if they are compatible with satellite internet and I'm still chatting with them
[07:18:47] <jthornton> so I think it is some kind of time out on their log in page
[07:20:08] <jthornton> it sends me to this page https://secure.webhost4life.com/secure/login.bml?err=
[07:23:13] <jthornton> brb gotta take the trash out to the road
[07:41:33] <jthornton> anyone use halui jog increment? I can't make it work and neither can Rick
[08:41:59] <SolarNRG> Hi guys, I put the crucible with some beer cans into the microwave outside today, here's the video link of my first attempt at casting recycled aluminium. I'd love to hear what you think: http://www.youtube.com/watch?v=5tqpAdM7pZI
[08:46:33] <awallin> did you get some of it to melt?? what power is the microwave you are using?
[08:48:08] <SolarNRG> 1000 watts
[08:48:19] <SolarNRG> I certainly did something, no melting though
[08:48:34] <SolarNRG> At about 13 mins in the video or 1 hour 30 mins in, I chucked graphite in
[08:48:42] <SolarNRG> Then another 30 mins of cooking
[08:50:08] <awallin> have you tried something easier like lead or tin ?
[08:50:46] <JT-Shop> or peanut butter
[08:54:16] <SolarNRG> peanut butter!?
[08:57:40] <joe9> i have the gecko g540 ready to go with the motors. I fire-up linuxcnc, but, do not see anything matching the G540 configuration. Any suggestions on which I should be picking?
[08:57:58] <pfred1> joe9 run stepconf
[08:58:28] <joe9> pfred1: ok, thanks.
[08:58:40] <pfred1> well you're going to need to know your driver's parameters
[08:58:53] <pfred1> like your timing and pin outs
[08:58:56] <joe9> http://codepad.org/j8yRX7ty i do not have gnome installed.
[08:58:59] <joe9> is that a problem.
[08:59:08] <joe9> is there a textfile that I can change?
[08:59:18] <pfred1> I think gnome is installed on my CNC box i just don't use it
[08:59:28] <pfred1> stepconf makes initial setup a lot easier
[08:59:32] <joe9> oh, ok.
[08:59:35] <awallin> if you know what youre doing you can just copy/paste/mod an existing HAL/INI stepu
[09:00:01] <joe9> alex4nder: can you give me your g540 configuration?
[09:00:52] <cradek> I think g540 is a very easy stepconf config.
[09:01:08] <joe9> ok, thanks.
[09:01:27] <ebe23> Is there sombody responsible for the forum. I can not register?
[09:01:42] <cradek> are you getting an error?
[09:01:47] <FredrikHson> isn't halui.feed-override.counts*feedscale = feed override cause its set to 100% at the start and i have to turn my pot to max then go down to be able to get down to 0 even if the counts could start as zero anyway
[09:02:22] <JT-Shop> ebe23, is that the name you registered with?
[09:02:48] <cradek> FredrikHson: that's meant to be used with an encoder, which is a relative device. this lets it interact with the other FO controls in the other guis.
[09:03:17] <cradek> starting at 100% is the intended behavior, and any gui can move it from that value
[09:03:26] <ebe23> ebe23 was the username i have entered in the register form
[09:03:40] <FredrikHson> even tho the docs say counts*scale=FO
[09:04:32] <mcinquino> I am starting to work on a Hardinge HNC retro. Machine is in pieces and is missing many. I am looking for info on the sequence of operations of the turret. Thinking of replacing air motor with stepper.
[09:04:52] <JT-Shop> ebe23, did you get the conformation email?
[09:05:02] <cradek> mcinquino: the airmotors work great as-is. lots of people have retrofitted these.
[09:05:18] <JT-Shop> mcinquino, there are a couple of examples on the forum
[09:05:30] <JT-Shop> one a rebuild and one a refit with a servo
[09:05:31] <cradek> mcinquino: the turret has absolute position feedback so it's trivial to run with hal/ladder
[09:06:03] <JT-Shop> mcinquino, my config files for my CHNC are on my web site gnipsel dot com
[09:06:28] <cradek> how do CHNC and HNC differ other than original control?
[09:06:34] <cradek> oh encoders I bet
[09:06:44] <JT-Shop> and the spindle drive is different
[09:06:45] <ebe23> @JT-Shop no i did not get a confirmation. I am usin my android tablet fyi
[09:07:14] <mcinquino> I am missing so many parts I think it would be easier to change
[09:07:27] <JT-Shop> ebe23, I don't see your registration can you try again?
[09:08:02] <JT-Shop> mcinquino, rob_h converted his to servo drive and has some info on the forum in CNC machines I think
[09:08:12] <mcinquino> does anyone how the turret lifts? I know it's pnuematically but is it driven by the same valve as the air motor?
[09:08:27] <JT-Shop> yes, at least on the CHNC
[09:08:48] <mcinquino> I will take a look at rob_h.
[09:08:52] <JT-Shop> put some air to it and see
[09:09:43] <cradek> there's one solenoid+motor for "lift and spin"
[09:10:14] <mcinquino> the other is for a stop pin?
[09:10:22] <cradek> yes
[09:10:40] <mcinquino> probably not necessary with a stepper or servo?
[09:10:45] <cradek> you engage that when the feedback says it's in the right place, then you turn off "lift and spin"
[09:11:06] <cradek> mcinquino: the feedback is too coarse. you'd have to reengineer the whole thing to use a stepper.
[09:11:34] <JT-Shop> or use the stop pin...
[09:11:36] <cradek> the stop orients it perfectly to drop into place, it's built in
[09:11:39] <JT-Shop> and stall the stepper
[09:11:42] <cradek> ugh
[09:11:45] <JT-Shop> yea
[09:11:46] <cradek> why?
[09:11:53] <cradek> why fuck it up when it works perfectly?
[09:12:12] <mcinquino> it's not there
[09:12:25] <cradek> haha
[09:12:29] <cradek> so it doesn't work perfectly then
[09:12:35] <mcinquino> nope
[09:12:40] <JT-Shop> mcinquino, the air motor is missing?
[09:12:51] <mcinquino> yes
[09:13:02] <mcinquino> but i have the gear
[09:13:15] <JT-Shop> that's a plus
[09:13:28] <cradek> how about a dc motor
[09:13:30] <mcinquino> was concerned about the lash in the gear drive though
[09:13:37] <cradek> it only turns one way
[09:14:03] <mcinquino> that would work if I had the stop or could make a new stop
[09:14:04] <cradek> use the stop and no perfection is required except what's built in to the stop
[09:14:10] <cradek> oh no stop either?
[09:14:31] <cradek> tell us what parts you do have
[09:14:44] <JT-Shop> mcinquino, the stop is under the turret down in the gunky oil/water mix
[09:15:17] <JT-Shop> ebe23, are you still here?
[09:15:43] <mcinquino> i am not sure what the parts are called Kirk Wallace is going to get me a parts list
[09:17:57] <mcinquino> basically most of the stop side was missing as far as I can tell.
[09:18:22] <mcinquino> no valve and one part from a linkage of some sort.
[09:19:12] <mcinquino> hall effect switches are there but who knows if they work? was planning on remaking that.
[09:19:29] <mcinquino> they do not look healthy
[09:20:14] <mcinquino> I am planning on getting some pictures of what I have posted somewhere and to document the rebuild
[09:21:02] <JT-Shop> http://s47.photobucket.com/albums/f163/johnplctech/Hardinge/
[09:28:26] <mcinquino> link broke to Robert Harpham's page
[09:29:46] <pfred1> that went well
[09:29:51] <pfred1> 10:19 -!- Cannot join to channel #fedora (You are banned)
[09:34:28] <ebe23> Does someone know if there is a german distributor for the mesa cards?
[09:35:27] <awallin> there was a check webshop iirc..
[09:35:42] <cpresser> ebe23: there is one in austria
[09:35:54] <cpresser> cant remember the name right now, but google will help :)
[09:37:13] <ebe23> The one in austria i already found. Must check again if they have my parts
[09:39:43] <ebe23> I found some servo drive and motor combo. Can someone check out my hardware needs for that?
[09:41:44] <ebe23> I think about a 5i20 or may be a 5i22 anythin io card tending to the 5i20.
[09:43:41] <ebe23> I read the servo drive manual. An they can setup as position, velocity an torque mode. What is the right one for emc?
[09:51:52] <pfred1> anyone know the latest kernel version I can patch with RTAI?
[09:55:21] <joe9> pfred1: 2.6.38.8
[09:55:28] <joe9> pfred1: with rtai-vulcano
[09:55:30] <pfred1> joe9 thanks
[09:55:38] <pfred1> ah the vulcano
[09:55:51] <pfred1> yeah the vanilla seems to have fallen by the wayside
[09:55:59] <joe9> yes, I could not get anything else to compile.
[09:56:02] <pfred1> 3.8 is from 2010
[09:56:28] <pfred1> so i won't waste my time with this stuff then
[09:57:47] <pfred1> joe9 what distro are you running on?
[09:57:58] <joe9> i wasted mine. i could not even get the kernel used by the livecd to compile.
[09:58:01] <joe9> pfred1: crux
[09:58:19] <pfred1> I have a custom lenny box here I built
[09:58:33] <pfred1> it is being all it can be
[09:58:59] <joe9> as long as the latency is good and you are happy with the distro, why change?
[09:59:00] <pfred1> but I want to give this new box a shot
[09:59:06] <pfred1> new machine
[09:59:29] <pfred1> that one has issues running axis
[09:59:50] <joe9> what do the latency tests say? kern/latency of rtai.
[09:59:50] <pfred1> I can run tkemc on it but I would like the newer interface maybe I don't know I'd like the option
[10:00:26] <pfred1> I could see the trajectory window coming in handy sometimes
[10:01:48] <pfred1> joe9 I get 18400 on my present build
[10:02:08] <pfred1> I think I have it set to 20K ?
[10:02:21] <joe9> oh, ok.
[10:02:38] <pfred1> it is an issue if I try to go beyond 8th stepping mode limits my top speed
[10:02:51] <pfred1> good up to that though
[10:03:22] <ssi> morn
[10:03:31] <pfred1> good morning!
[10:03:35] <pfred1> really good here
[10:04:30] <ssi> good!
[10:04:42] <pfred1> joe9 I think I borked up my GL libs on that other box but that machine is so low perf I don't see the point in fixing what I think is wrong
[10:05:09] <pfred1> it is a 1 GHz P3
[10:05:10] <ssi> JT-Shop: http://i47.photobucket.com/albums/f163/johnplctech/Hardinge/ToolHolder.jpg
[10:05:13] <ssi> JT-Shop: holy cow
[10:05:43] <pfred1> but I doubt this box can do RTAI I still want to try
[10:05:56] <joe9> pfred1: if it works. that is cool. i thin i barely got there with a 2.2GHz amd
[10:06:02] <pfred1> the CD image wasn't promising last night
[10:06:07] <ssi> pfred1: I have a via c3 1GHz mini-itx board that's successfully running my g0602 lathe
[10:06:14] <ssi> I don't use software stepping though
[10:06:24] <pfred1> yeah I software step
[10:06:38] <ssi> well there's yer praaaablem :D
[10:06:40] <joe9> pfred1: what is the lowest latency that you are seeing?
[10:06:53] <pfred1> you mean before it spikes?
[10:07:01] <pfred1> heck that box will run a 7000
[10:07:10] <joe9> pfredl, the stepconf wants gnome.ui and that is installing a bunch of stuff.
[10:07:19] <joe9> Is there anyway to configure without using stepconf?
[10:07:43] <joe9> i use a ramdisk so all the gnome install will cost me at some point.
[10:07:51] <joe9> would you know what files it generates?
[10:08:05] <pfred1> joe9 just install gnome but don't run it
[10:08:12] <pfred1> I use fluxbox
[10:08:29] <joe9> this is a headless machine, so, none of that stuff.
[10:08:29] <pfred1> ah the size
[10:08:54] <joe9> it has been installing stuff for the last hour.
[10:09:04] <pfred1> I think my full install messed up is 5.6GB ?
[10:09:10] <pfred1> 5.4 somewhere around there
[10:09:13] <joe9> samba, bonobo, all kinds of stuff.
[10:09:17] <pfred1> like i could pare it down a lot
[10:09:30] <pfred1> but it isn't an issue so I don't bother
[10:09:41] <joe9> do you know what files stepconf writes to?
[10:09:49] <pfred1> your machinename.ini
[10:10:08] <pfred1> but stepconf generates the skeleton for you
[10:10:21] <pfred1> there might be example inis that ship with LinuxCNC
[10:10:38] <pfred1> writing the whole file by hand would be an exercise though
[10:11:05] <pfred1> you'd be better off installing to another system running stepconf then copying the file I'd imagine
[10:11:45] <pfred1> everytime i run stepconf it sets my DISPLAY to axis so I have to edit it I've edited my scale by hand too
[10:12:15] <pfred1> that is as much as I've ever hand edited it
[10:12:34] <joe9> alex4nder: you there?
[10:12:43] <pfred1> yeah get an ini off someone
[10:12:50] <pfred1> something to start out with
[10:13:32] <pfred1> drop it into the directory and you're on your way
[10:15:28] <pfred1> joe9 here is someone on the forum asking about a g540 ini http://www.linuxcnc.org/index.php/english/component/kunena/?func=view&id=8130&catid=16
[10:15:41] <pfred1> seems you're going to need a hal file too
[10:16:20] <joe9> ok, thanks.
[10:16:41] <pfred1> stepconf makes initial setup a breeze
[10:17:04] <pfred1> being as i used it I can't help you how not to use it
[10:17:58] <pfred1> although initially i couldn't figure out how to run it cradek helped me on that note
[10:18:17] <pfred1> you have to execute the file in the scripts directory
[10:19:09] <pfred1> joe9 withut the libs how is axis running?
[10:22:08] <joe9> pfred1: don't know if the axis is running yet.
[10:22:23] <joe9> i hawe the tk stuff and linuxcnc starts up.
[10:22:31] <pfred1> well does it pop up a dialog box looking for your machine's ini?
[10:22:33] <pfred1> ah OK
[10:22:39] <pfred1> yeah tk is all different
[10:22:39] <joe9> stepconf has a requirement/dependency to gnome.ui
[10:23:04] <joe9> and, gnome.ui is a big massive install, it appears.
[10:23:18] <pfred1> if you can get someone with a g540 to give you their files you should be set
[10:23:24] <pfred1> they're just text files
[10:23:48] <pfred1> be smart and make backups
[10:24:15] <joe9> will wait for alex4nder. i have it on raid-1. so, I am probably good on that front.
[10:24:28] <pfred1> good from you editing it and messing it up?
[10:25:33] <joe9> i have backups of the rtai and kernel config files. the rest is just the vanilla install in my case.
[10:53:26] <JT-Shop> http://linuxcnc.org/index.php/english/component/kunena/?func=view&catid=21&id=18951&limit=6&start=6
[11:03:29] <cradek> I've got the idea but unfortunatly I am mising the programming skills.
[11:03:30] <cradek> But probably one of the developers likes the idea?
[11:03:32] <cradek> hahahaha
[11:04:30] <cradek> JT-Shop: thanks for sharing :-)
[11:10:18] <JT-Shop> I thought you would get a kick out of that cradek
[11:10:25] <cradek> :-)
[11:18:19] <joe9> there is a Gecko G540 configuration file for Mach3. It is in .xml format. Does linuxcnc have the same config format? can I reuse the mach3 config file with linuxcnc?
[11:18:24] <joe9> http://geckodrive.com/ark-2/support.html?pid=15&id=89
[11:18:51] <cradek> no
[11:18:59] <joe9> ok, thanks.
[11:21:34] <JT-Shop> joe9, is it a basic 3 axis machine?
[11:22:07] <joe9> JT-Shop: yes. it is a taig cnc machine.
[11:22:23] <joe9> i will wait for alex4nder. he uses a similar setup.
[11:22:39] <JT-Shop> any sample config that uses the parallel port will work if you disable the charge pump
[11:25:27] <JT-Shop> ok
[11:33:46] <JT-Shop> joe9, how much fun is it to wire the connectors for the steppers?
[11:35:08] <archivist> what size cluestick is that!
[11:47:59] <motioncontrol> good morning.Please want help about the tool change position.On my machine i want go in base position move only z axis.I have impose in in file Tool_change_position= and tool_change_quill_up=1 .In tool change move only z but at position to 0 , can change the z tool change position only ?
[11:48:56] <djdelorie> I don't know the answer, but AFAIK, you should configure your Z so that 0 *is* "up" and the bottom is some negative number
[11:54:35] <ssi> hrm
[11:56:09] <JT-Shop> motioncontrol, http://linuxcnc.org/docview/html/config/ini_config.html#_emcio_section_a_id_sub_emcio_section_a
[11:56:30] <JT-Shop> and what djdelorie said
[11:56:51] <ssi> whoa
[11:56:53] <ssi> is that stuff new?
[11:57:12] <JT-Shop> what stuff?
[11:57:17] <ssi> the EMCIO section docs
[11:57:31] <JT-Shop> no, I don't think so
[11:57:32] <ssi> I searched and searched last week for docs on the tool change with spindle on stuff, and couldn't find it
[11:57:54] <JT-Shop> you should have asked the Doc Master :P
[11:57:58] <ssi> I was missing the first underscore in it... I dunno if pncconf got it wrong, or if I somehow removed it, but I dunno :)
[11:58:43] <ssi> these docs look really nice btw
[11:59:06] <motioncontrol> ok thanks
[11:59:21] <JT-Shop> thanks
[11:59:38] <ssi> you best be careful or I might start trying to hire you as a tech writer ):
[11:59:39] <ssi> er, :)
[12:02:02] <djdelorie> sweet! I was looking for tool change config stuff a few days ago...
[12:02:46] <ssi> ok so I was having a problem with my spindle pid last night... I have to abs my pwm value because the vfd takes a 0-10v signal plus a fwd/rev enable
[12:02:48] <WCMD> is there away to prevent emc from being closed or minimized by an operator?
[12:03:06] <ssi> and I have the problem that if I go from a relatively fast command to a relatively slow command with an S command while spindle is running
[12:03:30] <ssi> I get that sharp transition, and the error goes sharply negative... so much that the PID gives me a negative output, which goes through the ABS, and the spindle actually speeds up
[12:03:59] <ssi> I need a way to limit the bottom end of the PID scale to 0
[12:04:00] <djdelorie> you should use sign(val) to configure fwd/rev, not a separate hal signal
[12:04:20] <djdelorie> i.e. do the pid stuff *first*, *then* split it into the two signals
[12:04:28] <ssi> well that doesn't solve the problem, I still have to send a positive signal to the pwm
[12:05:13] <djdelorie> right, you still need to fix the pid stuff, or tell hal not to do sharp transitions like that. I'm just saying, calculate the velocity as a velocity, split it into speed and direction afterwards
[12:05:28] <ssi> I'm already doing that
[12:05:46] <djdelorie> so why isn't your fwd/rev signal changing to rev when that spike happens?
[12:05:47] <ssi> i don't specifically use sign velocity to drive the enables, I use spindle-cw and spindle-ccw signals, but it doesn't really matter
[12:06:01] <ssi> because I don't want to actually reverse the vfd
[12:06:06] <ssi> I just want to slow it down
[12:06:20] <ssi> it's not a servo spindle, it's a vfd-driven 3ph ac
[12:06:44] <djdelorie> I would have thought there would be a "max acceleration" value for spindles, like there is for axes
[12:07:18] <ssi> not sure, I can check
[12:07:26] <ssi> if so, I can match the accel values to the vfd's accel values
[12:07:51] <thinpete> you can put spindle speed through the limit2 comp
[12:07:58] <djdelorie> JT-Shop: that INI doc, is that (1) comprehensive, and (2) for my default .ini file?
[12:08:02] <ssi> thinpete: aha
[12:08:31] <ssi> djdelorie: I have a max accel set to 2.0
[12:08:39] <ssi> which I think in this case would be 2 r/s/s
[12:08:59] <djdelorie> nowhere near a step response :-)
[12:09:00] <ssi> but in halscope if you use S commands on a running spindle, you always get infinite accel changes in the commanded position
[12:09:13] <ssi> so I don't know that that actually works
[12:09:17] <ssi> or if I have it hooked up correctly
[12:09:28] <ssi> how the stuff in the ini interacts with axis is somewhat magic to me
[12:10:00] <ssi> and I see that the fancypants new ini docs don't have a section about [SPINDLE_n]
[12:10:05] <thinpete> limit2 is for rate limiting but you also need a bound on the PID output to limit it to positive numbers
[12:11:04] <ssi> thinpete: ahh I see, I can run my pid.s.output through limit.s to constrain it to positive values and limit the delta V
[12:11:14] <JT-Shop> djdelorie, the link was for motioncontrol but you can use it too :-)
[12:11:48] <thinpete> Yes
[12:12:01] <ssi> thinpete: btw what do you want me to do with my original '49 card?
[12:12:10] <thinpete> send back
[12:12:13] <ssi> ok no problem
[12:12:15] <djdelorie> I mean, if I edit my one main .ini file, is that the documentation I need, or is there more?
[12:13:07] <JT-Shop> that page should cover the INI file with a bit more expansion on this page http://linuxcnc.org/docview/html/config/ini_homing.html
[12:13:30] <djdelorie> thanks
[12:13:35] <JT-Shop> np
[12:37:25] <IchGuckLive> hi all
[12:37:31] <djdelorie> hi
[12:40:44] <alex4nder> joe9: I'm here now.
[12:44:16] <joe9> alex4nder: can you please give me your config?
[12:44:20] <joe9> the linuxcnc config
[12:44:28] <pfred1> the ini and hal files
[12:44:38] <joe9> pfred1: thanks for that.
[12:44:41] <alex4nder> joe9: I'll be back at the shop in a couple of hours...
[12:44:41] <pfred1> np
[12:44:51] <alex4nder> joe9: but just use the wizard, that's how I generated mine
[12:44:58] <pfred1> he can't no gnome
[12:44:59] <alex4nder> I didn't do anything special.
[12:45:02] <alex4nder> dude
[12:45:07] <alex4nder> stop trying to piss up a rope
[12:45:19] <pfred1> alex4nder just give him yours
[12:45:27] <joe9> alex4nder: the wizard has no setting for "gnd".
[12:45:28] <alex4nder> you make your life so much harder than it needs to be by trying to customize everything bfore you get it working.
[12:45:31] <IchGuckLive> joe what do you need ? witch mashine configuration
[12:45:49] <joe9> pfred1: i am using the linuxcnc cd to get the stepconf up.
[12:45:59] <pfred1> joe9 heh
[12:46:17] <IchGuckLive> joe9: tewll me your poinlayout
[12:46:25] <joe9> pfred1: but, i find that the parallel port setup of stepconf does not match up to the g540 manual.
[12:46:34] <IchGuckLive> joe9: tell me your pinlayout
[12:46:38] <pfred1> yeah you're going to have to go through it all
[12:46:45] <alex4nder> it's not this hard
[12:46:55] <pfred1> I just used the default on my machine
[12:47:01] <joe9> IchGuckLive: the g540 manual http://www.geckodrive.com/images/fck_uploads/G540 REV8 Manual.pdf sasy that the pin out is
[12:47:03] <pfred1> I made the default my default
[12:47:12] <alex4nder> the G540 is just X Y Z A ...
[12:47:15] <joe9> on page 7
[12:47:48] <joe9> the Pin 10 - 13, is the Digital Input 0 - 3, correct?
[12:47:59] <IchGuckLive> yes
[12:48:23] <joe9> the pin 14 of the spec is VFD PWM
[12:48:42] <joe9> what would be the equivalent in stepconf.
[12:48:52] <IchGuckLive> the 4th axis is A or C
[12:49:32] <alex4nder> joe9: you're not using VFD
[12:49:35] <joe9> IchGuckLive: the Pin 14 of the DB-25 pinout in the G540 spec is "VFD PWM"
[12:49:42] <joe9> alex4nder: yes, I am not.
[12:49:47] <joe9> can I leave it as unused?
[12:49:53] <alex4nder> yup
[12:50:04] <joe9> pin 15 is "Fault"
[12:50:10] <IchGuckLive> yes you can all what you want
[12:50:30] <IchGuckLive> joe9: are you now configuration yourself or do you need files
[12:50:30] <joe9> is it the same as "ESTOP in" of stepconf?
[12:50:49] <joe9> IchGuckLive: if you can give the files, that would be great.
[12:51:00] <joe9> IchGuckLive: i am using Gecko G540
[12:51:56] * pfred1 is so happy he has his autoraise and focus follows mouse!
[12:52:13] <pfred1> I hate click to focus
[12:52:20] <joe9> pfred1: i like that too. I use that in xmonad
[12:52:29] <pfred1> oh it drives me up the wall
[12:52:33] <djdelorie> I have focus follows, but not autoraise. My desktop would be a wild zoo if the windows started moving on their own...
[12:52:50] <alex4nder> I use a mac.
[12:52:54] <alex4nder> herp derp.
[12:52:54] <pfred1> once you do autoraise and autofocus it is addictive
[12:53:08] * djdelorie wants focus-follows-eyes
[12:53:09] <joe9> alex4nder: pin 17 of the spec is GND. whereas, there is no GND in stepconf.
[12:53:11] <pfred1> I usually set it up so single click activates too
[12:53:22] <IchGuckLive> joe9: http://www.onel.se/all_files/gecko_g540.html
[12:53:23] <pfred1> because double clicking is spastic
[12:53:24] <joe9> i also like keyboard switching of windows.
[12:53:26] <alex4nder> joe9: GND isn't an assignable pin.. it's just ground.
[12:53:37] <pfred1> djdelorie I got it in xfce
[12:53:49] <djdelorie> focus follows what you're looking at?
[12:53:52] <joe9> IchGuckLive: thanks.
[12:53:54] <pfred1> oh eyes
[12:53:56] <djdelorie> independent of mouse or keyboard?
[12:54:09] <pfred1> yeah we'll have to work on that
[12:54:20] <djdelorie> I want the window focus to follow MY focus ;-)
[12:54:22] <pfred1> like the HUD in attack helicopters
[12:54:29] <joe9> i mean using the keyboard to move focus instead of using the mouse.
[12:54:41] <pfred1> the guns go where they look
[12:55:20] <pfred1> now i have to get rid of this lockward stuff
[12:55:47] <pfred1> if someone comes in my garage I'm not going to be too worried if they're accessing my machine
[12:56:07] <joe9> alex4nder: is "FAULT (input to PC)" of Pin 15 == "ESTOP in" of stepconf?
[12:56:48] <alex4nder> joe9: sure
[12:56:53] <joe9> IchGuckLive: in your configuration, why do you have "Y direction" inverted?
[12:57:17] <joe9> and why do you have "Y step" twice? is it ok to do that? I do not use the 4th axis.
[12:57:46] <Tom_L> http://www2.electronicproducts.com/Intelligent_servo_drive_features_compact_size-article-BPJH07_May2012-html.aspx
[12:58:05] <IchGuckLive> i got 2 y motors
[12:58:21] <pfred1> IchGuckLive cool I'm setting up twin X and twin Y
[12:58:58] <alex4nder> joe9: the inverted axis depends on your wiring.. the taig's X and Y axis are 'bakwards' to each other
[12:59:20] <alex4nder> Tom_L: cool
[13:01:00] <djdelorie> odd thought: is there any need/desire for a "micro mill" desktop toy? Something with the smallest weakest servos, embedded driver, and parallel port connector, *just* for helping develop/test linuxcnc ?
[13:01:27] <Thetawaves> kickstarter had some projects like that
[13:01:29] <pfred1> djdelorie that is what a lot of people make initially
[13:01:32] <djdelorie> maybe a desktop lathe too
[13:01:43] <Thetawaves> they are crap though
[13:01:44] <pfred1> pretty much what I'm making
[13:01:59] <djdelorie> it wouldn't *cut* anything, just move the axes around so you can see them
[13:02:03] <Thetawaves> pfred1, yours is much sturdier than the reprap style machines people are making
[13:02:16] <djdelorie> I'm thinking a 6" square size, runs off a wall wart
[13:02:29] <pfred1> yeah like use floppy disk drive motors
[13:02:32] <Thetawaves> yeah, look at kickstarter
[13:03:39] <pfred1> djdelorie check these out http://www.pololu.com/catalog/product/1182
[13:03:44] <pfred1> the cheapest!
[13:03:47] <ReadError> alex4nder
[13:03:55] <ReadError> they said the handles have to be factory installed :((
[13:04:04] <alex4nder> nah
[13:04:05] <ReadError> so i think ill go with dual shaft motors+handles
[13:04:13] <alex4nder> that doesn't make any sense
[13:04:19] <ReadError> yea it didnt to me either
[13:04:23] <ReadError> thats what taig told them
[13:04:24] <alex4nder> I've taken them off , and installed them, on my mill.
[13:04:31] <djdelorie> don't even need a driver chip, just two n-mosfets
[13:04:36] <alex4nder> the handles and the CNC adapters use the same interface.
[13:04:48] <alex4nder> ReadError: they misunderstood, or they're lying to you... taig shipped my unit with both.
[13:04:56] <alex4nder> from the factory
[13:04:57] <pfred1> djdelorie that is really hard on LinuxCNC to make all the phase steps
[13:05:09] <pfred1> it can do it
[13:05:19] <ReadError> do stepper motor have a heavy cog?
[13:05:23] <ReadError> or they move pretty easy
[13:05:25] <alex4nder> they have detents
[13:05:26] <pfred1> not little ones
[13:05:47] <pfred1> the bigger they are the more they cog
[13:05:55] <djdelorie> pfred1: I was thinking, one mcu or fpga to drive it all
[13:06:02] <alex4nder> ReadError: the couplers on the taig are a held on with a single locking nut.
[13:06:14] <pfred1> djdelorie they already make ICs to do this stuff
[13:06:17] <djdelorie> instead of one $12 card per stepper
[13:06:25] <djdelorie> trying to minimize total cost
[13:06:37] <djdelorie> make them cheap enough to be worth the cost, since they're not going to be able to cut anything
[13:06:44] <pfred1> yeah cheapest driver chips are about $4 or so but transistors still cost
[13:06:50] <djdelorie> 0.50 each
[13:07:00] <pfred1> the chinese tb6560 boards are hard to beat for the price
[13:07:05] <ReadError> what are some good dual shaft motors for a smaller mill?
[13:07:17] <pfred1> $22 for a 3 axis board plugs right into your parallel port
[13:07:28] <pfred1> I mean plug it in and go
[13:07:40] <pfred1> I like vexta motors
[13:07:48] <alex4nder> ReadError: vexta PK266-02Bs
[13:07:53] <pfred1> yupper right there
[13:07:54] <alex4nder> would be the right choice
[13:08:45] <pfred1> I have the unipolar ones of those
[13:08:47] <alex4nder> the PK266-02As are half the price.
[13:09:06] <pfred1> is that the unipolar ones?
[13:09:13] <djdelorie> the tb6560 chip is only $6 too...
[13:09:17] <alex4nder> pfred1: it's the single shaft out the front ones
[13:09:22] <pfred1> check digikey?
[13:09:33] <djdelorie> that's digikey single-unit price
[13:09:37] <pfred1> last i saw Tb6560 ICs they were $.17
[13:09:42] <pfred1> 4.16
[13:09:43] <alex4nder> haha
[13:09:52] <pfred1> this keyboard is kind of stiff
[13:10:17] <pfred1> djdelorie I made my own drivers out of Tb6560s
[13:10:22] <djdelorie> digikey isn't always the cheapest place to buy parts
[13:10:28] <pfred1> but the chinese boards are so cheap it isn't worth the trouble today
[13:10:37] <pfred1> maybe i got mine at mouser?
[13:10:58] <pfred1> check mouser for them
[13:11:28] <djdelorie> wait, one chip per motor... now it's 3x the cost
[13:11:46] <pfred1> yeah one chip just does one motor but they do 3.5 A a phase
[13:11:52] <pfred1> you don't need anything like that
[13:12:09] <djdelorie> nope. One cpld for $3 and a handful of jellybean mosfets
[13:12:19] <pfred1> but with sequencers onboard they don't get much cheaper
[13:12:46] <pfred1> I made a half stepping sequencer out of TTL ICs
[13:12:54] <pfred1> let me find that schematic
[13:13:38] <djdelorie> 2N7002 - 0.38 each, down to 4.5 cents on a reel, 300mA, probably enough for a toy
[13:15:12] <pfred1> http://img718.imageshack.us/img718/646/hsoptos.png
[13:15:27] <pfred1> TTL half stepping sequencer
[13:15:28] <djdelorie> add a $10 fpga or $5 cpld, done!
[13:15:41] <djdelorie> or a $6 MCU
[13:15:46] <alex4nder> yes
[13:16:05] <djdelorie> with a $10 fpga, you could put the mcu *in* it, and get all the custom driver hardware for "free" :-)
[13:16:10] <pfred1> I have piles of old TTL ICs so free for me
[13:17:55] <djdelorie> spartan 3ANs even have ttl-compatible inputs, just need a protection diode to allow 5V tolerance
[13:18:18] <pfred1> thing is a real motor driver has PWM
[13:18:28] <pfred1> so you can get real performance out of it
[13:18:45] <IchGuckLive> SORRY i wars off
[13:18:49] <pfred1> you can do it with transistors but it is involved
[13:19:18] <IchGuckLive> i usa in all 26 nmahines i got tb6560
[13:19:24] <djdelorie> it's a toy, it doesn't need "real" motor drive, and you can pwm a transistor.
[13:19:40] <alex4nder> you might as well do it in a uC, unless you're doing an FPGA learning kit.
[13:19:47] <pfred1> yeah I've made flat out transistor drivers
[13:19:57] <djdelorie> but the real question is, how cheap does it have to be, that it's worth the price *just* to debug linuxcnc ?
[13:20:04] <pfred1> evne with current limiting resistors
[13:20:22] <alex4nder> djdelorie: anyone debugging linuxcnc has a mill, or some LEDs and a parallel port.
[13:20:30] <alex4nder> and a scope
[13:20:30] <IchGuckLive> the tb6560 boards 3axis are below35USD
[13:20:31] <djdelorie> alex4nder: for me, fpga and mcu are essentially the same effort-wise, the electronics aren't my problem :-)
[13:20:34] <pfred1> I'm telling you today if people want cheap they get one of them chinese 3 axis boards and even at that they have trouble
[13:20:55] <alex4nder> djdelorie: well that's assuming you're the only one using it.
[13:21:01] <alex4nder> I thought you wanted something to sell.
[13:21:03] <CareBear\> pfred1 : the TB board doesn't look bad at all
[13:21:07] <djdelorie> no, just the only one designing it :-)
[13:21:17] <pfred1> CareBear\: if you know what you're doing they're great
[13:21:23] <IchGuckLive> on this boards you need to start linuxcnc first if the axis is not running and you give power to the board its gone
[13:21:24] <djdelorie> I don't *debug* linuxcnc in the shop, I debug it in my office, I *run* it in my shop
[13:21:40] <alex4nder> djdelorie: well anyone who was interested enough to buy it, would want to be able to tweak it.. if you introduce an FPGA, you all of a sudden have to deal with FPGA bullshit
[13:21:45] <alex4nder> like, bad Windows development tools
[13:21:58] <alex4nder> djdelorie: yah, you put LEDs and a scope in your office.
[13:22:03] <djdelorie> alex4nder: sell the board as part of a kit perhaps. I don't use Windows for FPGA development anyway
[13:22:13] <djdelorie> I'm thinking this is something between LEDs and a real machine
[13:22:14] <pfred1> CareBear\ the downside to the chinese boards is the documentation
[13:22:23] <pfred1> I mean they speak chinese
[13:22:41] <djdelorie> so, for example, you could test path setup and *see* the path, or test homing and limits, or test tool change position, etc.
[13:23:11] <CareBear\> pfred1 : I immediately found the Toshiba datasheet for the driver, which is in english
[13:23:20] <djdelorie> it would have a breakout header for all the signals you'd want to check on a scope or logic analyzer, too, I suppose
[13:23:25] <pfred1> CareBear\ evne it is a little misleading
[13:23:41] <pfred1> CareBear\ take the maximum input voltage with a grain of salt
[13:23:45] <CareBear\> djdelorie : what are you about to design? a mockup machine with a pen, for debugging?
[13:23:48] <djdelorie> CareBear\: if you look up the chip on digikey, they have a link to the datasheet too
[13:24:02] <djdelorie> CareBear\: yes, a desktop debugging tool
[13:24:05] <CareBear\> nod
[13:24:10] <pfred1> CareBear\ I run mine at 24V in and no problems I've heard prople crank them to the "32" claimed and they have problems
[13:24:20] <alex4nder> djdelorie: I'd be far more interested in a board that received step and direction, and acted as a virtual mill, that drew the path on the screen.. so I could perform automated testing and analysis of my mill code/system in extreme circumstances.
[13:24:38] <alex4nder> or whatever
[13:24:47] <djdelorie> you mean, something that had a parallel port on one side, and say USB on the other?
[13:25:20] <alex4nder> right, but with accurate timestamping, and possibly the ability to test closed loop scenarious
[13:25:23] <pfred1> CareBear\ this is my driver http://www.youtube.com/watch?v=cgbeyNNBZ68
[13:25:27] <alex4nder> basically a smart USB logic analyzer.
[13:25:47] <alex4nder> less physically interesting, more interesting for developing and testing.
[13:25:47] <CareBear\> alex4nder : you could do it with the OLS hardware
[13:25:50] <alex4nder> CareBear\: yup
[13:26:29] <pfred1> I'd like to see LinuxCNC come with xoscope and instructions on building the input amps for it
[13:26:49] <pfred1> I bet that'd help out a lot of new users
[13:27:16] <archivist> pfred1, it comes with halscope
[13:27:28] <pfred1> archivist can you probe with halscope?
[13:27:49] <archivist> probe what
[13:28:13] <pfred1> your actual pin outputs
[13:29:09] <archivist> it sees your hal pins, you need an external scope to actually see voltages
[13:29:44] <pfred1> archivist all I know is I'd have been lost trying to build my machine without a real scope
[13:30:15] <pfred1> but i know most people all they have is a multimeter
[13:30:30] <pfred1> you can't really tel lthem OK go out and buy a scope
[13:30:42] <Thetawaves> why do you need a scope?
[13:30:47] <archivist> multimeter is good enough for a lot of problems
[13:31:04] <djdelorie> scope gives you voltage and timing
[13:31:07] <pfred1> it is you can see if a pin is high or low
[13:31:30] <Thetawaves> in what situations would that information be necessary to configure or debug?
[13:31:31] <pfred1> but you're not going to track down like noise problems with it
[13:31:50] <pfred1> I used mine to setup my step pulse width
[13:31:58] <Thetawaves> ahhh
[13:32:14] <pfred1> what emc told me was going on wasn't exactly what I saw
[13:32:17] <archivist> you can see your pulse widths with halscope
[13:32:24] <Thetawaves> a lot of people buy the driver and so have the timing specifications right there
[13:32:37] <Thetawaves> archivist, i assume he wants to look at distortion at higher speeds
[13:32:48] <pfred1> not it was at all speeds
[13:32:53] <pfred1> the width was just wring
[13:32:57] <pfred1> wrong
[13:34:32] <pfred1> OK lunch time
[13:34:35] <Thetawaves> so what was wrong with your machine that made you discover this?
[13:34:43] <pfred1> it didn't run
[13:34:49] <pfred1> bbiab
[13:37:42] <JT-Shop> Tom_itx, that's funny
[13:38:25] <gene_> I have to agree, that is a good comeback
[13:39:06] <gene_> but I have an abs.0in(out) problem, its a black hole, npthing comes out
[13:39:55] <ssi> abs.0.in I hope
[13:40:41] <gene_> I have this in my hal:
[13:40:43] <gene_> et spindle-cmd <= motion.spindle-speed-out => abs.0.in
[13:40:44] <gene_> net spindle-abs-speed <= abs.0.out => pwmgen.0.value
[13:41:00] <gene_> s/b net etc above
[13:41:42] <gene_> according to halmeter, nothing comes backoutof abs, does it need a thread assignment?
[13:42:22] <gene_> answered my own question I think...
[13:42:25] <IchGuckLive> <- Todays styrocut smalltest http://www.youtube.com/watch?v=i4X4BPrT6Ws
[13:43:00] <IchGuckLive> this is one cut al including in one ngc
[13:44:50] <ssi> gene_: yes that's right :)
[13:45:59] <gene_> by golly, I'll learn how to write a hal file from scratch yet
[13:47:00] <gene_> Now if I can get Arturos C41 card to work, its being difficult. Is any one else using one of those?
[13:54:30] <Tom_itx> JT-Shop, ??
[13:58:40] <gene_> silly Q, the virtual machine is at rest, should I be seeing a lot of noise in the encoder-position--interpolated?
[14:03:05] <Tom_itx> if i convert from emc to linuxcnc 2.5 do the config files (ini, hal) remain the same or do i need to make some mods to them
[14:03:40] <Tom_itx> just loaded the iso kimk posted to try
[14:03:42] <cradek> that depends. check out the bottom of the page http://wiki.linuxcnc.org/cgi-bin/wiki.pl?UpdatingTo2.5
[14:04:03] <Tom_itx> i started over from scratch
[14:05:24] <Tom_itx> so i presume all the name fixes were incorporated into it
[14:05:25] <WCMD> does anyone know if there is a way to lock emc2 from being minimized or exited
[14:05:49] <cradek> if so it would not be specific to the linuxcnc application, since those are window manager functions.
[14:06:09] <cradek> it is such an unusual desire that I suspect the answer is no
[14:07:15] <WCMD> could i edit the screen to remove the buttons?
[14:07:17] <ssi> gene_: I'm using a C41 for my little lathe
[14:07:52] <cradek> those buttons are not part of the linuxcnc application at all.
[14:07:57] <ssi> I need to add pulldowns (or maybe pullups) to it, because when I shut down axis the spindle goes to full-speed reverse :)
[14:08:22] <cradek> be aware that AXIS uses more than one window, so disabling the window manager is not something you want to do.
[14:08:29] <ssi> I guess I should say when I shut down the hal layer that is
[14:09:13] <WCMD> is there a full screen mode where the buttons aren't visible similar to mozilla in fullscreen?
[14:09:14] <cradek> ssi: you should have your hardware set up so that when the mesa watchdog bites, everything becomes safe. then you get a safe exit in all cases.
[14:09:39] <cradek> WCMD: no, and if there was you'd have problems with AXIS's popup windows such as touch off.
[14:21:02] <ssi> cradek: I know I SHOULD do it that way
[14:21:08] <ssi> cradek: but getting around to it is a different story :)
[14:21:14] <cradek> understand :-)
[14:21:32] <ssi> cradek: on the HNC, the only issue I have in that regard is on exit, my turret solenoid signals float and it pops up and rotates a quarter turn
[14:21:34] <cradek> the idea of the watchdog makes me happy
[14:21:56] <cradek> hm, that could be a bit crashy couldn't it
[14:22:04] <ssi> yes, definitely has the potential to be
[14:22:10] <ssi> I'm gonna pulldown those signals soon
[14:22:11] <ssi> maybe tonight
[14:22:25] <ssi> cradek: have you had issues with your tachs at all?
[14:22:39] <cradek> I think I took apart and cleaned one of them
[14:22:51] <ssi> I cleaned my X tach, but it's still somewhat unhappy
[14:22:55] <cradek> I had some trouble getting Z stable
[14:23:01] <ssi> I get about 10% voltage differential between the two directions
[14:23:02] <cradek> can you describe unhappy?
[14:23:10] <cradek> ah
[14:23:15] <ssi> run the axis one way at 60ipm, it generates 19v, the other way at 60ipm generates 17v
[14:23:23] <ssi> it's worse at speed, 3ips gives me like 70/63v
[14:23:34] <ssi> (and it's really 70/-63)
[14:23:54] <ssi> anyway, in tuning the x axis, the error values center around a non-zero bias
[14:24:00] <alex4nder> ssi: magnetic sensors?
[14:24:02] <cradek> something makes me think there's a way to adjust that. rotate the brushes maybe??
[14:24:07] <alex4nder> i.e. variable reluctors
[14:24:18] <cradek> you know the whole base part where the brushes mount
[14:24:20] <ssi> cradek: you mean rotate them 90 degrees within their housing?
[14:24:22] <ssi> or swap them
[14:24:26] <ssi> oh rotate the housing?
[14:24:33] <cradek> I think you can rotate them with respect to the permanent magnets
[14:24:38] <ssi> hm
[14:24:52] <cradek> ... I might be pulling that from a dark place though
[14:24:59] <ssi> I'm gonna pull the X tach out tonight and screw with it
[14:25:11] <ssi> I can chuck it up in a drill and measure output voltages
[14:26:36] <cradek> I bet KimK would know
[14:30:59] <Tom_itx> KimK, is the iso you posted supposed to install linuxcnc 2.5? after running the install, all i have on the dropdown menus are the docs
[14:32:10] <Tom_itx> has anybody else tried the iso yet?
[14:32:27] <Tom_itx> http://linuxtracker.org/index.php?page=torrent-details&id=58c3d84f5124725969bbbc24b1c8cad291ebbcb4
[14:32:30] <Tom_itx> the one in question
[14:34:25] <cradek> you mean the CNC menu?
[14:34:48] <cradek> what entries are on it?
[14:35:19] <Tom_itx> listed under 'Other' i have 4 doc files
[14:35:20] <pfred1> Tom_itx I tried it but as soon as I selected latency test in the menu my machine froze
[14:35:20] <Tom_itx> that's it
[14:35:39] <cradek> do you have a CNC menu?
[14:35:42] <Tom_itx> no latency test no launcher for linuxcnc like the old one
[14:35:45] <Tom_itx> cradek, no
[14:35:57] <pfred1> I used the torrent
[14:36:10] <cradek> what's the md5sum of the iso you got?
[14:36:40] <Tom_itx> how do i determine that?
[14:36:46] <cradek> md5sum isoname.iso
[14:37:18] <Tom_itx> from windows or linux?
[14:38:03] <Tom_itx> lemme check
[14:38:41] <pfred1> I'll check mine here
[14:39:35] <Tom_itx> i don't have the iso on the linux pc
[14:39:49] <pfred1> I'm ftping mine over up got it
[14:40:11] <pfred1> 3177b657d3a6826954ab377232b556f9 ubuntu-10.04-linuxcnc2-i386.iso
[14:40:29] <cradek> that is correct: http://linuxcnc.org/index.php/english/download/21?task=view
[14:40:30] <ssi> I'm writin' me up some ugly python cam code :D
[14:40:56] <pfred1> cradek yeah but mine worked :P
[14:41:11] <cradek> yes but it tells us the torrent is good
[14:41:15] <cradek> that's nice to know
[14:41:18] <pfred1> it is
[14:41:51] <pfred1> I'm going to try to do a custom build in Fedora but that is going to take me some time
[14:41:57] <cradek> ssi: I can't get google to tell me how to balance a tacho.
[14:42:31] <pfred1> I finally got my window manager how I like it
[14:42:50] * pfred1 is very particular you must understand ...
[14:43:17] <pfred1> now I'm reading about yum?
[14:43:19] <cradek> ask joe9 before you decide to start that... :-/
[14:43:49] <ssi> cradek: hrm
[14:45:26] <Tom_itx> cradek, is that the checksum for the one KimK posted for 2.5?
[14:45:34] <cradek> yes
[14:45:44] <pfred1> I got mine off the torrent
[14:45:50] <Tom_itx> so did i
[14:46:07] <pfred1> well your torrent might have went bad?
[14:46:15] <pfred1> but the torrent itself is good?
[14:46:22] <Tom_itx> it installed linux
[14:46:29] <pfred1> when you boot up the disk can check itself
[14:46:29] <Tom_itx> and the linuxcnc docs
[14:46:39] <Tom_itx> i'll try that
[14:46:45] <pfred1> it is in the menu
[14:46:46] <Tom_itx> would be alot quicker
[14:46:53] <pfred1> that blue box
[14:47:36] <pfred1> I've had them that failed checks but sort of worked
[14:49:23] <pfred1> I'm dying to latency test this box I was so bummed last night when the CD didn't do it
[14:49:48] <pfred1> so I'll build an RTAI kernel for this thing
[14:50:21] <pfred1> but I haven't run RH in about 7 years so I'm a little rusty ...
[14:51:56] <Tom_L> 3177b657d3a6826954ab377232b556f9 ubuntu-10.04-linuxcnc2-i386.iso
[14:52:27] <Tom_itx> so the iso appears good
[14:52:40] <pfred1> Tom_itx then it must be you :)
[14:53:06] <Tom_itx> it comes up with an install screen with 2 options
[14:53:15] <pfred1> I don't know I didn't run it long enough to know much about it i just found latency test on the menu hit it crashed and rebooted
[14:53:20] <Tom_itx> try ubuntu 10.04 LTS or install it
[14:53:31] <pfred1> well I ran live
[14:53:36] <pfred1> I didn't install it
[14:53:49] <pfred1> which I'm hoping is why it didn't work for me
[14:53:51] <Tom_itx> ok, so can someone else confirm the install?
[14:54:15] <pfred1> I've heard live works and live doesn't
[14:54:29] <cradek> live works
[14:54:40] <pfred1> cradek well it didn't here
[14:54:42] <cradek> perhaps you got a bad burn, Tom_itx
[14:54:52] <pfred1> he did the disk check
[14:55:02] <cradek> ah
[14:55:03] <Tom_itx> i'll select the 'try' option and see what i get
[14:55:06] <cradek> then I don't know
[14:55:18] <pfred1> I've had disk checks fail and used them anyways
[14:55:30] <pfred1> the problems can be subtle
[14:55:36] <Tom_itx> it's on an atom 525 that i previously had emc on
[14:56:18] <Tom_itx> ok, with the 'try' option i get cnc listed
[14:56:30] <Tom_itx> with the install i don't
[14:56:31] <pfred1> running live?
[14:56:34] <Tom_itx> yes
[14:56:43] <Tom_itx> someone may wanna look into that
[14:56:44] <pfred1> interesting
[14:57:01] <pfred1> yeah it was there for me too but like i said I never installed it
[14:57:14] <pfred1> I wanted a quick latency test
[14:57:24] <Tom_itx> and linuxcnc comes up ok with the live cd
[14:58:02] <Tom_itx> i can reinstall it again and see
[14:58:02] <Tom_itx> but i could do that for a week and get nowhere too :)
[14:58:25] <pfred1> yeah they say the definition of insanity is doing the same thing over and over and expecting a different outcome
[14:58:47] <Tom_itx> gotta reboot. brb
[15:04:54] <Tom_itx> logger[psha]
[15:04:54] <logger[psha]> Tom_itx: Log stored at http://psha.org.ru/irc/%23linuxcnc/2012-04-04.html
[15:07:24] <Tom_itx> i'll try it once more
[15:13:13] <pfred1> OK time to take a red magic marker to the Windows Vista sticker on this box
[15:15:15] <joe9> alex4nder you at your shop?
[15:15:31] <joe9> alex4nder: do you have access to the config (hal and ini files) now
[15:16:00] <ReadError> joe9: you got the vexta PK266-02Bs ?
[15:16:18] <joe9> ReadError: no
[15:17:01] <joe9> ReadError: what is that?
[15:17:28] <joe9> i posted my bom yesterday. if you are serious about taig, work off of it.
[15:17:35] <joe9> I spent a lot of time coming up with that list.
[15:18:04] <Tom_itx> cradek, do you know anybody successfully installing from the new iso yet?
[15:18:13] <joe9> if not, check with ichgucklive, he always has a cheaper option for almost anything.
[15:19:19] <Tom_itx> all i get after booting from the cd is 'Try UBUNTU 10.04 LTS' or 'Install UBUNTU 10.04 LTS'
[15:19:39] <joe9> "try .." does not work.
[15:19:46] <Tom_itx> with the 'try' i get the CNC menu but with the install i don't
[15:19:48] <joe9> i use that iso and it works for me.
[15:19:51] <pfred1> you can try
[15:20:03] <Tom_itx> i did 'try' and linuxcnc started up
[15:20:20] <Tom_itx> the install didn't install it, however it did install the docs
[15:20:37] <pfred1> well there you go
[15:20:38] <joe9> oh, i did not install it with the iso cd.
[15:20:45] <joe9> i just "try" it from there.
[15:20:58] <pfred1> when I tried it my machine instantly froze
[15:21:14] <Tom_itx> i have the old one i could reinstall and update but this 'should' work
[15:21:15] <pfred1> as soon as I picked latency test off the menu
[15:21:17] <joe9> it spins the motors for me.
[15:21:26] <joe9> and, the latency test works for me.
[15:21:49] <pfred1> I'll try building an RTAI kernel and see what happens
[15:22:07] <joe9> pfred1: then, go with the 2.6.38.8 and vulcano.
[15:22:13] <joe9> that is the only combo that worked for me.
[15:22:29] <joe9> do not bother with the kernel on the linuxcnc site. it would not compile for me.
[15:22:33] <pfred1> joe9 right now i have to setup a dev environment on this box I don't think it has one
[15:22:59] <pfred1> no i get a generic off kernel.org then patch it
[15:23:15] <joe9> and, then the big trouble would be with the latency readings and the custom kernel/rtai configurations
[15:23:37] <joe9> yes, checkout ketchup. it will help in downloading the kernel release from kernel.org
[15:23:55] <pfred1> I just hit their ftp
[15:24:02] <joe9> get the kernel .config and rtai config from linuxcnc or cradek.
[15:24:13] <joe9> and work off of them.
[15:24:15] <pfred1> not a bad idea
[15:24:20] <joe9> if you want mine, I can post them.
[15:24:26] <pfred1> always fun to grep configs
[15:24:27] <joe9> but, they are heavily customised
[15:24:43] <joe9> and will (atleast the kernel config) only work with my hardware
[15:25:12] <joe9> i did not have much luck with either linuxcnc or cradek's configs with the latency readings.
[15:25:15] <Tom_itx> also, on the install 'steps' it goes thru the first 5 then skips to 7 fwiw
[15:25:29] <pfred1> Tom_itx heh
[15:25:40] <joe9> be prepared to get your hands dirty with the configs.
[15:25:41] <Tom_itx> I WANT 6 dammit!
[15:25:44] <pfred1> like in monty python and the holy grail 1 2 4
[15:27:47] <pfred1> joe9 it took me a while to tune my other custom build
[15:28:10] <pfred1> there are something like 1300 options in a kernel config these days
[15:28:34] <pfred1> wc -l .config
[15:28:34] <Tom_itx> next i'll try the script from the website
[15:28:35] <joe9> it took me almost (or, maybe more) a week to get mine done. but, I had no experience with rtai/linuxcnc.
[15:29:42] <pfred1> I need to go upstairs and turn that box back on the tree idiots knocked my power out this morning working in front of my house
[15:30:10] <pfred1> it has my nfs share dir on it with some notes
[15:31:18] <pfred1> joe9 when I did my first custom build it took me about a week to setup the whole machine
[15:31:51] <pfred1> it don't happen overnight
[15:34:42] <pfred1> yea I finally found a package I want!
[15:36:07] <joe9> the Gecko G540 gets hot and the motors are pretty warm.
[15:36:21] <pfred1> put a fan on the g540
[15:36:28] <joe9> oh, ok.
[15:36:35] <pfred1> the motors are going to get hot
[15:37:02] <pfred1> hotter than pretty warm holding they're going to get hotter than running
[15:37:15] <pfred1> but your g540 has hold current control
[15:37:40] <joe9> the g540 is hotter than the motors, in my case. just holding it. had them idling.
[15:37:48] <pfred1> steppers are goofy they draw the most power at rest
[15:38:36] <pfred1> it is because of that they they eventually stall out of you run them fast enough they can't draw enough power to keep going
[15:39:22] <pfred1> which is why servos are so popular
[15:42:20] <cradek> ok I installed the linuxcnc2 cd and everything works perfectly
[15:42:41] <pfred1> so its just Tom?
[15:42:44] <cradek> the cnc menu is there, with all the expected entries, and linuxcnc runs fine
[15:43:04] <pfred1> now I wish I'd installed it here
[15:44:17] <Tom_itx> cradek, what screen do you get when you begin the install?
[15:44:37] <Tom_itx> mine shows the languages and the 2 options to try or install
[15:44:42] <cradek> I'm also happy to see that you can still install on a 4GB disk and have plenty of room left
[15:44:59] <cradek> I picked English, then the install option
[15:45:03] <Tom_itx> same
[15:45:14] <Tom_itx> still no CNC menu
[15:45:18] <Tom_itx> 3rd try
[15:45:34] <Tom_itx> what folder does it install to?
[15:45:38] <cradek> that is very hard to understand
[15:45:41] <Tom_itx> maybe i can see if the files are there
[15:45:46] <Tom_itx> the docs are there
[15:45:47] <cradek> dpkg -L linuxcnc
[15:46:13] <Tom_itx> they are listed under 'other'
[15:46:16] <Tom_itx> the docs that is
[15:46:16] <pfred1> I'm looking for that command in Fedora
[15:46:57] <Tom_itx> says it is not installed
[15:47:20] <pfred1> can you apt-get it?
[15:47:31] <pfred1> try apt-get install linuxcnc
[15:47:33] <cradek> it says linuxcnc is not installed!?
[15:47:37] <Tom_itx> yes
[15:47:44] <cradek> you've got something really wrong
[15:47:45] <Tom_itx> however the docs are
[15:47:52] <Tom_itx> :)
[15:47:56] <Tom_itx> no shit sherlock
[15:48:04] <pfred1> Tom_itx try to apt-get it
[15:48:08] <Tom_itx> the checksum is good
[15:48:29] <Tom_itx> pfred1, i'm not worried about it, i want to verify the iso is good
[15:48:35] <cradek> how trusted is your hardware? have you let memtest run for a few cycles?
[15:48:39] <Tom_itx> on more than a couple systems
[15:48:43] <pfred1> I'm just curious if it'd work
[15:48:50] <Tom_itx> cradek, i was using emc on it
[15:48:59] <Tom_itx> just decided to clean the hdd and try the iso
[15:49:10] <Tom_itx> i can go back to the old one any time
[15:49:36] <Tom_itx> i've got everything backed up (ini, hal etc)
[15:49:51] <cradek> sudo dpkg -C
[15:50:33] <cradek> maybe it's your cd drive or something weird like that. or you ran out of space during the install. or your hard disk is going off.
[15:50:36] <Tom_itx> nothing
[15:50:47] <Tom_itx> it's a brand new hdd
[15:50:57] <Tom_itx> save for the previous emc install
[15:50:57] <cradek> ok so totally untrusted
[15:51:08] <pfred1> yeah like they never made a bad HDD
[15:51:13] <Tom_itx> :)
[15:51:16] <Tom_itx> i'm aware of that
[15:51:24] <Tom_itx> however everything else works
[15:51:30] * pfred1 had this Quantum Fireball once ...
[15:51:30] <cradek> any evidence of hard disk problems in dmesg?
[15:51:46] <pfred1> it was aptly named that's for sure
[15:52:16] <cradek> pfred1: my horror memory is the 1GB seagate barracudas all our customers had
[15:52:29] <cradek> scsi drives, big ugly white fish on them
[15:52:37] <pfred1> yeah I've had a spotty relationship with seagate too
[15:52:39] <Tom_itx> i'm no linux guru however i don't see anything unusual
[15:52:52] <Jymmm> cradek: They make GREAT coasters!
[15:53:31] <Tom_itx> i can try the ssd
[15:53:53] <Tom_itx> it's also new
[15:53:59] <Tom_itx> just mostly for testing stuff
[15:54:05] <cradek> Tom_itx: not sure what to tell you except experiment/troubleshoot. your iso is ok because you can md5sum it. nothing other than that is sure.
[15:54:26] <Tom_itx> i'll burn another iso
[15:54:28] <Jymmm> boot the iso in a VM
[15:54:30] <Tom_itx> from a fresh download
[15:54:33] <pfred1> do the apt-get
[15:54:42] <cradek> don't download again if you have an iso with the right md5sum
[15:54:44] <pfred1> oh do you know about unetbootin?
[15:54:46] <cradek> that's silly
[15:54:54] <pfred1> Tom_itx you don't have to waste CDs
[15:55:10] <pfred1> if you have a USB flash drive you can use it
[15:55:18] <Jymmm> Tom_itx: Just boot the iso you have in a virtual machine.
[15:55:19] <Tom_itx> 8G
[15:55:36] <pfred1> yeah install unetbootin and feed it the iso
[15:55:42] <pfred1> worked here
[15:56:11] <pfred1> its dead simple to do
[15:56:42] <Tom_itx> i don't see how that's gonna fix anything
[15:56:51] <pfred1> it'll save you a CD
[15:57:09] <djdelorie> CDs are cheaper than your time
[15:57:11] <pfred1> be warned anything on the flash drive gets erased
[15:57:20] <Tom_itx> duh
[15:57:26] <pfred1> well ...
[15:57:43] <pfred1> ah my fedora expert is here
[15:58:00] <pfred1> djdelorie is there a command that lists the files of an installed package?
[15:58:10] <djdelorie> rpm -ql <package>
[15:58:14] <pfred1> ta!
[15:58:37] <pfred1> I'm reading about yum and it mentions rpm in passing but nothing comprehensive
[15:59:05] <pfred1> exactly what I needed
[15:59:24] <djdelorie> rpm manages individual pacakges, yum manages dependencies and the remote repositories
[15:59:43] <pfred1> gotcha as soon as you said it I rememberd it
[15:59:51] <pfred1> it's been a loooong time
[16:00:06] <pfred1> I bet I still have my RPM cheat sheet someplace
[16:00:16] <pfred1> I have to dig it up
[16:05:57] <pfred1> I just love editing files that begin with # DO NOT EDIT THIS FILE
[16:14:56] <ssi> pfred1: you just love breaking the rules, that's all
[16:15:12] <pfred1> ssi I am following different rules
[16:15:26] <pfred1> bbiab I hope
[16:22:41] <DJ9DJ> gn8
[16:30:53] <pfred1> who wants to see the ugly picture I just made?
[16:57:54] <ssi> what's the highest #xxx variable you can use before you start to interact with linuxcnc's internal magic registers?
[16:59:42] <Tom_itx> well the script seems to have worked
[16:59:49] <Tom_itx> after the iso failed
[17:02:19] <alex4nder> hey
[17:02:32] <ssi> alex4nder: my lathecam is coming along
[17:02:36] <alex4nder> joe9: do you still want those configurations?
[17:02:42] <alex4nder> ssi: cool, what're you hacking on first?
[17:03:01] <ssi> alex4nder: a combination of a simple post-processor transducer and some simple operations
[17:03:12] <ssi> I'm working on a rough_od function first
[17:03:14] <ssi> it's simple enough
[17:03:28] <alex4nder> cool
[17:03:52] <ssi> I have some fancy magic where you ask for a sub and the post keeps track of what O-number it is, and when you close that sub it handles the close block, etc
[17:04:10] <ssi> also I have fancy magic where you can push modals, and then later pop them to restore an earlier modal state if there was one
[17:23:50] <mhaberler> ssi: ever looked at M70-M73?
[17:32:04] <ssi> no, but that would have saved me some work :)
[18:10:06] <alex4nder> fner
[18:41:17] <ssi> hrm are polar notation moves only valid in XY plane?
[18:41:22] <ssi> or do they apply to whatever plane you're in
[18:41:33] <cradek> only xy
[18:41:55] <ssi> also, does the weird behavior about spindle synchronized motion not working in G18 still exist?
[18:42:20] <cradek> I don't know what you mean. more details?
[18:42:56] <ssi> I've run into issues before where if i'm in XZ plane (which I usually am as I'm lathing), and I try to do a G33 or G33.1 synchronized move, I get some error about it not being possible in XZ plane
[18:43:08] <ssi> and I have to remove my G18 word (or perhaps set G17?) in order to do the motion
[18:43:53] <cradek> g33.1 only taps in Z
[18:44:04] <cradek> I think you might be confusing two things? are you thinking about drill cycles?
[18:44:12] <ssi> maybe I'm thinking about drill cycles
[18:44:14] <cradek> g33 can go in any direction
[18:44:33] <cradek> if in G18, a drill cycle is fine, but it must be in the Y direction
[18:44:40] <cradek> G18 G81 Z... makes no sense
[18:44:53] <ssi> it makes sense in the context of a lathe
[18:45:21] <cradek> in linuxcnc you have to be in G17 to do a drill cycle in Z
[18:45:33] <ssi> I guess the concept is that the drill cycle always moves orthogonal to the selected plane?
[18:45:43] <cradek> but then you can do it in X too (in G19, like peck parting)
[18:45:51] <cradek> yes exactly
[18:45:53] <ssi> that's fair enough I suppose, just seems odd
[18:46:00] <cradek> you're not the only one to say so
[18:46:30] <ssi> well I've gotten confused in the past, because being in G18 means drill cycles don't work and being in G17 means my arcs don't work
[18:46:38] <cradek> "if there is no Y axis and you are in G18 and you do a drill cycle, pretend you're in G17 and move Z" is something we could do but haven't because it's a bit nasty
[18:46:40] <ssi> and the right answer is that I can just set G17 for the drill and then set it back
[18:46:43] <ssi> but I'm not always that smart
[18:47:10] <ssi> and yeah that is nasty
[18:47:13] <cradek> yep you've got the idea, and I agree it seems weird as a lathe user
[18:47:28] <ssi> because what if you have a lathe with adjustable height axis (probably doesn't exist but what the hey)
[18:47:34] <ssi> and that height axis would possibly be Y
[18:47:38] <ssi> and then your drill code doesn't work
[18:47:40] <cradek> yes
[18:48:12] <cradek> it's hard to make a gcode dialect that makes sense for every machine - the weirder the machine the weirder it gets
[18:48:21] <ssi> yeah
[18:48:29] <cradek> in master we have pluggable interpreters and it's possible to have some interpreter divergences in the future
[18:49:03] <cradek> lathes are kind of weird in several ways - diameter mode is another
[18:49:08] <cradek> we do have that, though
[19:14:33] <Valen> http://www.youtube.com/watch?v=C9QaFTI2F9c non machine shop tool porn
[19:31:02] <joe9> alex4nder: yes, can you please give me those configurations.
[19:55:33] <ReadError> hey yall
[19:55:40] <ReadError> joe9: you around?
[19:55:45] <ReadError> just had a quick question
[19:55:57] <ReadError> the couplers that attach the motors to the mill
[19:56:04] <joe9> ReadError: yes.
[19:56:04] <ReadError> did you have to get those seperately as well?
[19:56:19] <joe9> i think they come with the package.
[19:56:29] <joe9> i did not order them separately.
[19:56:37] <ReadError> ah cool
[19:56:53] <ReadError> is there any good site in the USA in which I can buy the motor/handles ?
[19:56:54] <joe9> also check with alex4nder as I tried to replicate his setup as much as I could.
[19:57:07] <joe9> motor comes with the package.
[19:57:10] <ReadError> i used the link in your txt
[19:57:14] <joe9> you mean the stepper motors?
[19:57:17] <ReadError> yessir
[19:57:32] <joe9> i got them from kelinginc, i think.
[19:57:45] <ReadError> dualshaft setup?
[19:57:49] <joe9> yes.
[19:58:02] <joe9> though, in retrospective, I would check out the other motors too.
[19:58:13] <joe9> the Gecko G540 has a max current of 3.5 A
[19:58:18] <ReadError> which handles did you end up with?
[19:58:22] <joe9> whereas the motors that I bought have 4.2A.
[19:58:32] <joe9> it wuold be a good idea to stick with 3.5A
[19:58:35] <ReadError> yea they said you got some huge motors
[19:58:53] <ReadError> like 400oz/in ones
[19:59:08] <joe9> no mines are: kl23276-30-8b
[19:59:18] <joe9> just a little big. not that big
[19:59:39] <joe9> alex4nder bought the vextas.
[19:59:51] <ReadError> cant seem to find them ;/
[20:00:17] <ReadError> NEMA 23 Stepper Motor: KL23H276-28-4B (1/4" Dual Shaft with flat ) 270 oz-in Specification Price: $39, 270 oz In. Hybrid Motor,1.8° /200 Steps Per Rev.; 2.8 Amps Current Per Phase ( Bipolar Parallel)
[20:00:27] <joe9> i am waiting for alex4nder to get online too. he said he would be at the shop around this time. so, will probably get online sometime soon.
[20:01:10] <ReadError> did you get the handles from kelinginc as well?
[20:01:21] <joe9> there is another for 48$ with 3.5Amps
[20:01:24] <joe9> i think
[20:01:36] <joe9> i would have bought them, if I could do-over.
[20:01:48] <joe9> no, I do not have any handles.
[20:01:48] <joe9> do I need them?
[20:01:57] <joe9> isn't that for manual operation only.
[20:03:02] <ReadError> yes
[20:10:00] <alex4nder> ok
[20:10:08] <ReadError> http://www.ebay.com/itm/Taig-Handcranks-for-manual-CR-Mill-set-of-3-TaigCrank-T-A2Z-a-USA-Auth-Taig-Dlr-/320867231039?pt=LH_DefaultDomain_0&hash=item4ab52d653f#ht_1027wt_905
[20:10:10] <ReadError> niiice :)
[20:10:13] <alex4nder> joe9: I just grabbed my taig mill configuration
[20:10:16] <alex4nder> http://www.andern.org/alexander/outgoing/millton_config-v0.1.tar.gz
[20:10:32] <joe9> alex4nder: thanks a lot.
[20:10:50] <alex4nder> no problem
[20:10:53] <alex4nder> run them at your own risk
[20:11:08] <alex4nder> if you have an issue, this is what I'll say
[20:11:09] <alex4nder> http://i.imgur.com/cq8au.gif
[20:11:24] <joe9> why do you name it milton_config?
[20:11:37] <joe9> just curious.
[20:11:50] <alex4nder> because the machine is named millton
[20:12:07] <joe9> oh, ok.
[20:12:11] <ssi> aww you name your machines? how cute :D
[20:12:24] <alex4nder> gotta have something to ping
[20:12:39] <alex4nder> IPs are so 1989. ;)
[20:17:03] <joe9> do you know how it calculates the http://codepad.org/C2lwQNw2
[20:17:11] <joe9> the one on the right is yours.
[20:17:26] <joe9> http://codepad.org/eAlRDR0z
[20:17:28] <joe9> full diff
[20:17:58] <ReadError> alex4nder: you know where one could obtain some decent handles for a stepper?
[20:18:03] <ReadError> ebay doesnt have too much ;(
[20:18:08] <ReadError> nor does a2z
[20:18:24] <joe9> alex4nder: diff of the .hal file: http://codepad.org/8WjJk3ym
[20:18:40] <joe9> ReadError: why do you need handles for a stepper?
[20:18:58] <joe9> ReadError: it is for manual operation only.
[20:19:18] <joe9> I think alex4nder bought them as he wanted to use the machine manually before converting.
[20:19:34] <alex4nder> yup
[20:20:18] <joe9> alex4nder: in your .hal file, why don't you have the pins 10-13 not mapped?
[20:20:59] <joe9> net estop-ext => iocontrol.0.emc-enable-in |net estop-out => iocontrol.0.emc-enable-in
[20:21:02] <joe9> what does that do?
[20:21:22] <joe9> the one on the left is what I generated and the one on the right is yours.
[20:21:41] <ReadError> joe9: ide like the ability to do some quick work manually
[20:21:52] <ReadError> since im doing a bit more than just PCBs
[20:22:08] <ReadError> so being able to use it in manual operation would be nice :)
[20:23:07] <alex4nder> joe9: I'm not using any inputs right now.
[20:24:03] <joe9> alex4nder: and, your values here are different. did your stepconf calculate them differently or did you manually fudge them? in the diff of the .ini file.
[20:24:40] <joe9> or, it could be that my units are in mm and your's are in inches.
[20:26:14] <alex4nder> you'll have to figure out the accel settings based on your steppers
[20:26:32] <joe9> alex4nder: the only thing that I am worried about is that you have invert on X and not Y.
[20:26:37] <joe9> http://codepad.org/XfSHQN9a
[20:26:42] <alex4nder> why does that worry you?
[20:27:06] <joe9> because, I am under the impression that only Y Direction should be inverted.
[20:27:06] <alex4nder> it depends on the wiring
[20:27:12] <joe9> oh, ok.
[20:27:27] <ssi> PCW: so I'm trying to measure my tach by spinning it with a hand drill and measuring the voltage output
[20:27:36] <ssi> PCW: and my damn drill spins slower in reverse than forward! D:
[20:27:42] <ssi> at least it sounds like it does anyway
[20:27:47] <joe9> how do I figure out whether I have X or Y inverted?
[20:28:47] <alex4nder> turn your machine on and run your steppers
[20:28:52] <alex4nder> if X or Y go the wrong way: invert them
[20:29:01] <joe9> oh, ok.
[20:29:26] <joe9> alex4nder: all my motors are working and the Gecko does get pretty hot.
[20:29:33] <alex4nder> yah, they do that
[20:29:38] <joe9> I need to connect the motors to the taig now.
[20:29:47] <alex4nder> if you feel the need, get an infrared thermometer or something
[20:29:55] <djdelorie> another bonus for servos :-) Mine barely get over room termperature
[20:29:55] <alex4nder> I have a handheld fluke
[20:30:21] <alex4nder> djdelorie: yah, because servos have no negatives. ;)
[20:31:58] <djdelorie> because servos only consume power when they need to, not when they're stopped
[20:32:41] <djdelorie> they certainly have their negatives though
[20:33:58] <ReadError> servos expensive
[20:33:59] <alex4nder> alright gents
[20:34:02] <alex4nder> joe9: good luck
[20:34:07] <djdelorie> and harder to control
[20:34:19] <alex4nder> joe9: remember: don't overtorque your locking coupler nut
[20:34:28] <alex4nder> or you'll be buying new bearings tomorrow
[20:34:32] <ReadError> oh alex4nder!
[20:34:36] <ReadError> did you get the couplers?
[20:34:39] <ReadError> in the CR kit?
[20:34:42] <alex4nder> yah
[20:34:45] <alex4nder> that's what the CR kit is
[20:34:54] <ReadError> i thought it was the mounts and such
[20:34:59] <ReadError> didnt realize it had the coupler
[20:59:41] <ReadError> http://deepgroove1.com/tagsherline/sherlinetaigcomparison.htm
[20:59:46] <ReadError> 1st time seeing that
[20:59:50] <ReadError> the taig vs sherline
[20:59:56] <ReadError> glad i paid a bit extra for the taig
[21:00:00] <ReadError> looks alot more beefy
[21:14:10] <joe9> alex4nder: in my case, I just noticed that the axial screws/nuts seemed to be already in place.
[21:14:19] <joe9> alex4nder: I just need to put the motors on.
[21:19:40] <ReadError> deepgroove has some nice videos
[21:19:51] <joe9> ok, thanks.
[21:19:51] <ReadError> about how to put the motors on and assemble it
[21:20:12] <ReadError> i mean im sure you are past that point
[21:20:18] <ReadError> but i found them informative :)
[21:20:27] <joe9> no, I am not.
[21:20:34] <joe9> I need to put the motors on now.
[21:20:50] <joe9> i checked the motors are working and the G540 is too.
[21:21:03] <pfred1> joe9 you're running?
[21:21:04] <joe9> now, I need to assemble the taig together.
[21:21:13] <joe9> pfred1: not yet.
[21:21:20] <pfred1> well the motors
[21:21:23] <ReadError> http://deepgroove1.com/videos.htm
[21:21:28] <ReadError> excellent resource there joe9
[21:21:35] <ssi> holy cow my X axis is looking better
[21:21:37] <joe9> pfred1: yes, the motors are fine.
[21:21:37] <ReadError> but all in wmv mostly ;(
[21:21:49] <pfred1> joe9 thats a big step congrats
[21:22:29] <joe9> pfred1: why do you say that? unless I am missing something. it was pretty easy to solder the DB-9's and hook the motors to the G540.
[21:22:34] <joe9> Am I missing something?
[21:22:49] <pfred1> joe9 OK
[21:46:44] <ReadError> is there a decent "hobby machinist starters bundle" ?
[21:46:53] <ReadError> machinist square and other misc stuff
[21:47:40] <Tom_itx> one of everything?
[21:47:58] <Tom_itx> no not really
[21:48:11] <Tom_itx> you'll get varying opinions on what to start with too
[21:51:57] <ReadError> what would some of the must have essentials be?
[21:52:13] <ReadError> i realize this chan is for linuxcnc
[21:52:27] <ReadError> but im not sure where else a bunch of machinst hang out on IRC :)
[21:52:41] <cradek> 6" dial caliper. good 6" rule with 1/10,1/100 inch marks, NOT stupid fractions
[21:52:57] <ReadError> plus i work with linux all day so maybe i can help some folks out with OS related questions
[21:52:57] <cradek> 1" micrometer if doing turning, otherwise skip it
[21:52:58] <Tom_itx> calipers, dial indicators, last word indicator
[21:53:17] <Tom_itx> clamps of various types
[21:53:44] <ReadError> i got a cheapo set of calipers
[21:53:50] <Tom_itx> once you start you will realize what you don't have
[21:53:51] <cradek> yes a decent dti, don't bother with the dial type at first, edgefinder
[21:53:58] <Tom_itx> and acumulate it over time
[21:54:01] <cradek> yeah don't buy too much until you need it.
[21:54:21] <Tom_itx> oh yeah, an edge finder is a good idea
[21:54:22] <cradek> but 6" dial calipers (not vernier, not electronic) you will need
[21:55:05] <Tom_itx> i don't care for the mechanical calipers due to the fact a chip can knock em off .020" when they jump a tooth
[21:55:22] <Tom_itx> which happens quite a bit in a true machining environment
[21:55:34] <cradek> I've never had it happen on my beloved B&S
[21:55:44] <ReadError> i need a machinst square i know to build it
[21:55:45] <Tom_itx> my B&S are digital :)
[21:55:56] <Tom_itx> i have but i worked in a production shop
[21:56:11] <Tom_itx> i did own a pair though
[21:56:14] <ReadError> any good videos tutorial sites?
[21:56:20] <cradek> youtube
[21:56:20] <ReadError> i have the machinist handbook ;)
[21:56:22] <ReadError> step1
[21:56:26] <Tom_itx> yeah
[21:56:28] <cradek> bonus, it will show you how to crash your machine, too
[21:56:30] <Tom_itx> that's a good start
[21:56:39] <Tom_itx> get the little one that goes with it
[21:56:43] <Tom_itx> the spiral
[21:56:50] <Tom_itx> reference
[21:58:15] <Tom_itx> "Machinists' Ready Reference"
[21:58:45] <Tom_itx> i guess it's not really part of the Machinists handbook
[21:59:29] <Tom_itx> http://www.amazon.com/Machinists-Ready-Reference-C-Weingartne/dp/0911168907/ref=sr_1_1?ie=UTF8&qid=1333594163&sr=8-1
[21:59:36] <Tom_itx> that's the one i have
[22:00:10] <djdelorie> my dial calipers are off by a tooth, also from dropping them
[22:00:26] <joe9> ReadError: i hear "parallel" are essential for machining.
[22:01:02] <ReadError> PPT?
[22:01:28] <cradek> you need parallels as soon as you need a vise for your mill
[22:01:28] <Tom_itx> parallels are for blocking up material in a vice etc
[22:01:43] <ReadError> something i was wondering
[22:01:44] <cradek> if you don't use a vise yet, 123 blocks are probably better for the task
[22:01:56] <Tom_itx> yeah you need 123 blocks too
[22:02:15] <ReadError> ill be cutting through material completely
[22:02:21] <ReadError> like on a routing table
[22:02:30] <ReadError> so i need something that works as a decent backstop
[22:02:34] <Tom_itx> well a good aluminum workplate would be in order then
[22:02:39] <ssi> cradek: figured out how to adjust the bias out of the tach
[22:02:46] <ssi> cradek: the alignment of the brushes was in fact critical
[22:02:54] <ReadError> Tom_itx: would i not tear it up?
[22:03:01] <ReadError> or it doesnt matter that much?
[22:03:16] <Tom_itx> http://tom-itx.dyndns.org:81/~webpage/boards/USBTiny_Mkii/Boxes/milling1.jpg
[22:03:20] <Tom_itx> it's made to tear up
[22:03:49] <Tom_itx> i drilled and tapped mine every inch
[22:04:11] <Tom_itx> get a thick enough plate you can fly cut it a bunch of times
[22:04:12] <ReadError> how much it run ya?
[22:04:25] <Tom_itx> i got it at the scrap yard by the pound
[22:05:08] <cradek> ssi: yay! how exactly is it done? rotation?
[22:05:10] <Tom_itx> that one is ~1" thick
[22:05:39] <ssi> cradek: yeah, loosen the two flathead screws in the back of the tach, they tighten the plastic endcap down against an inner ring that gets pulled into a taper
[22:05:54] <ssi> cradek: loosen them and you can rotate the endcap, which changes the relationship of the brushes to the magnets
[22:06:15] <ssi> cradek: when I cleaned it the first time, I had no concept of the importance of that relationship, so god knows where I put them
[22:06:34] <ssi> on cleaning them the second time, I noticed there's a notch in the case and a line on the endcap. I aligned those, and it was closer
[22:06:40] <cradek> aha!
[22:06:47] <ssi> I actually tweaked it on the machine and got it even closer
[22:06:52] <ssi> now that axis is running MUCH MUCH MUCH better
[22:06:57] <cradek> yayyy
[22:07:10] <cradek> so sometimes I actually have good advice.
[22:07:31] <ssi> frequently :)
[22:07:40] <ssi> that particular little hesitant tidbit really was the lynchpin for me this evening :)
[22:08:01] <ssi> so my question now is... how much ferror is "acceptable"
[22:08:24] <ssi> at 60ipm now, I have about .0005" noise on the position feedback, and the ferror is centered around about 0.0002"
[22:09:32] <ssi> looks like this:
[22:09:32] <cradek> I think there's no answer to that question
[22:09:40] <ssi> https://p.twimg.com/Apr4_BVCIAQ9oOi.png:large
[22:10:41] <cradek> I like to plot velocity vs ferror, not position as you have done
[22:11:05] <cradek> a move long enough that you can see accel, cruise, decel, final position
[22:11:59] <ssi> I can certainly show you that
[22:12:01] <cradek> I don't like those big spikes in your ferror. that looks like .003ish and 1ips is not fast
[22:13:01] <ssi> yeah, I don't like them either, but peter's been saying "get cruise right and then we'll worry about accel/decel"
[22:13:19] <cradek> yes that's smart, and to do that, set I=0 and adjust FF1 only
[22:13:38] <cradek> your I gain makes it impossible to see how to set FF
[22:13:49] <ssi> yeah ok
[22:14:12] <cradek> a bit of D may smooth it
[22:14:17] <cradek> it's easy to overdo the D, be gentle
[22:14:33] <cradek> are you using mesa enhanced velocity feedback into pid? that helps too
[22:15:26] <cradek> net Xvel hm2_5i20.1.encoder.00.velocity => pid.0.feedback-deriv
[22:15:53] <ssi> cradek: D is how I broke my coupler before... scared of it now :)
[22:16:12] <ssi> do the mesa resolvers have the enhanced velocity feedback?
[22:16:22] <cradek> I don't know
[22:16:31] <cradek> they oughta
[22:16:44] <cradek> easy for me to say :-)
[22:16:58] <ssi> do that in addition to the position feedback?
[22:17:28] <cradek> yes their encoder module does both, dunno about the resolvers
[22:18:54] <cradek> http://linuxcnc.org/docview/html/man/man9/pid.9.html
[22:19:25] <cradek> interesting. there is a pid command-deriv as well, but I've never tried it. the motion controller does give nice velocity command outputs for each joint.
[22:19:35] <ssi> https://p.twimg.com/Apr7MefCQAEHbfV.png:large
[22:19:39] <ssi> there it is again with no I term
[22:20:04] <cradek> that's not bad
[22:20:18] <ssi> .003 of error during accel
[22:20:18] <cradek> you might be able to move those spikes down with FF2
[22:20:41] <cradek> if you add a little D it'll smooth out and then you can probably increase P some more
[22:21:18] <cradek> but try FF2 first, just a little
[22:21:47] <cradek> also notice you have steady state error of about .0002. you should turn the offset knob on the amp to cancel that.
[22:22:27] <cradek> hope djdelorie is watching this conversation :-)
[22:22:33] <djdelorie> what?
[22:22:45] <cradek> check out how awesome pid tuning in halscope is
[22:22:46] <ssi> I'll have to find the offset knob :)
[22:23:10] <ssi> FF2 helped
[22:23:12] <ssi> pic incoming
[22:23:14] * djdelorie needs to put an inside-scope on desired-vs-actual position and see
[22:23:26] <djdelorie> my FF1 made a huge difference, but didn't get it to "zero"
[22:23:33] <cradek> cool
[22:23:35] <ssi> https://p.twimg.com/Apr8PMfCIAA94OK.png:large
[22:23:58] <cradek> ssi: now you're getting somewhere
[22:24:01] <ssi> :D
[22:24:32] <cradek> try a little D, like maybe .1
[22:24:41] <ssi> .1 is a LOT
[22:24:50] <djdelorie> it went from "close" to "unstable" :-)
[22:24:57] <cradek> then try .05 :-)
[22:25:18] <cradek> if it oscillates, hit F2 to disable your amps and set it back
[22:25:46] <ssi> 0.001 gives me a bunch of error opposite my velocity command
[22:25:52] <cradek> also notice you can now set your ferror low, like .001, and if it goes wild it'll disable
[22:25:52] <ssi> should I add some FF1 to compensate?
[22:26:12] <cradek> D=.001 does what?
[22:26:41] <cradek> that sounds weird. have another pic?
[22:26:45] <ssi> sure, sec
[22:28:11] <ssi> https://p.twimg.com/Apr9UU2CIAIwdWA.png:large
[22:28:16] <ssi> only change is D.001 instead of D0
[22:29:01] <cradek> odd
[22:29:08] <cradek> no smoother either
[22:29:37] <ssi> not really
[22:29:45] <cradek> do you have a hal pin for resolver velocity?
[22:29:50] <ssi> lemme check
[22:30:28] <cradek> you might add P and see if it stays stable
[22:30:35] <cradek> I have a feeling your P is pretty loose
[22:30:45] <cradek> and if it gets unstable try a bit more D
[22:30:47] <ssi> yes, I have resolver.velocity
[22:31:04] <cradek> often you can raise P and D together (proportionally) until it gets nice and tight
[22:31:10] <cradek> ... without becoming unstable
[22:31:56] <ssi> yeah I turned the P way down cause I was getting some oscillation
[22:31:57] <cradek> you might try hooking resolver.velocity to pid.feedback-deriv, that can help a lot
[22:32:02] <ssi> but it was likely related to the tach being screwed up
[22:32:07] <ssi> P200 is helping
[22:32:17] <cradek> yeah instead of turning P down, you can use D to damp that oscillation
[22:32:28] <cradek> (to an extent)
[22:33:14] <ssi> https://p.twimg.com/Apr-Zn6CMAIk5Cj.png:large
[22:33:54] <cradek> that's getting decent
[22:34:03] <cradek> what's your feedback resolution?
[22:34:36] <cradek> do you even have counts? normally I'd ask how many counts of noise you have there, and if it's just a few you can't really improve any more
[22:34:42] <ssi> 12 or 14 bits, not sure which
[22:34:51] <ssi> I don't know how that works exactly
[22:34:54] <cradek> same here
[22:35:04] <cradek> does it sound and feel good? smooth?
[22:35:06] <ssi> there's a rawcounts pin on the resolver
[22:35:27] <ssi> yeah feels smoother than it has before
[22:35:43] <ssi> I get more error noise on rapids
[22:35:44] <ssi> 3ips
[22:36:00] <ssi> total noise signal is about .001
[22:36:10] <ssi> but my overall ferror stays under +/-.001
[22:36:12] <cradek> I bet you can do better
[22:36:16] <ssi> I hope I can
[22:36:28] <ssi> so the one last little thing that I'm thinking
[22:36:34] <cradek> try looking for a sweet spot in D, and try feedback-deriv
[22:36:42] <cradek> seems to me you are very close
[22:36:55] <ssi> is I have 3" of wire between the shielded resolver cable and the terminal blocks on the '49
[22:37:00] <ssi> and it's twisted together, but not shielded
[22:37:15] <ssi> I have this weird little pulse of error every two seconds whenever I'm jogging
[22:37:44] <cradek> sounds sinister
[22:37:55] <ssi> I know, right
[22:37:59] <cradek> :-)
[22:38:02] <cradek> I've got to go to bed
[22:38:02] <ssi> it's subtle but it's there
[22:38:14] <cradek> I expect to see perfect pics in the morning!
[22:38:15] <ssi> oh one last question before you go
[22:38:18] <ssi> I have spindle feedback working
[22:38:25] <ssi> but I can't get my synchronized moves to happen
[22:38:30] <ssi> what magic words am I missing?
[22:38:40] <ssi> I'm scared it's somethign around index-enable
[22:38:43] <cradek> it needs to be hooked to motion.spindle-revs and motion.index-enable
[22:38:50] <ssi> hrm ok
[22:39:23] <ssi> net spindle-index-enable <=> hm2_5i23.0.resolver.02.index-enable <=> pid.s.index-enable
[22:39:28] <ssi> net spindle-index-enable <=> motion.spindle-index-enable
[22:39:43] <ssi> net spindle-revs <= hm2_5i23.0.resolver.02.position
[22:39:46] <ssi> net spindle-revs => motion.spindle-revs
[22:39:50] <cradek> spindle pid!?
[22:39:53] <pfred1> ssi get am AM radio maybe you can track down your noise?
[22:40:07] <ssi> haha yeah I dunno if it's a good idea or not, but I wanted to try it :)
[22:40:14] <ssi> it works reasonably well!
[22:40:54] <cradek> do you have anything hooked to spindle-at-speed?
[22:41:00] <cradek> it'll wait for that too, if so
[22:41:01] <djdelorie> ssi: get some thin wire, magnet or wire wrap, wrap 20-30 turns around a pencil, trim and strip the ends, tape it right to the end of a scope probe
[22:41:13] <djdelorie> instant "emi" probe
[22:41:21] <ssi> it's just wired true at the moment
[22:41:23] <ssi> which is probably wrong
[22:41:27] <ssi> I need a "near" for that, huh
[22:41:35] <cradek> possibly
[22:41:44] <cradek> but if you're sure it's true, that's not the problem
[22:42:05] <cradek> does spindle-revs increase 1.0 for every forward turn of the spindle? maybe you've got it backwards.
[22:42:12] <ssi> I might well have it backward
[22:42:16] <cradek> then it won't go
[22:42:25] <pfred1> Apr 4 12:39:05 dollar rtkit-daemon[1251]: The canary thread is apparently starving. Taking action.
[22:42:37] <cradek> the m3 direction must increase spindle-revs 1.0 per rotation
[22:43:16] <ssi> bingo, it's backwards
[22:43:18] <cradek> aha
[22:43:20] <cradek> goodnight
[22:44:02] <ssi> thanks cradek :D
[22:46:22] <ssi> so spindle pid's a bad plan, huh
[22:57:56] <pfred1> ssi it is?
[23:01:16] <ssi> I dunno
[23:01:20] <ssi> 23:30 <@cradek> spindle pid!?
[23:01:46] <ssi> thing is, I'm having a hard time getting my spindle to run exactly at commanded speed across the whole range without it
[23:02:07] <Tom_itx> velocity mode?
[23:02:08] <ssi> which makes getting a spindle-at-speed signal to work reliably quite difficult
[23:02:22] <pfred1> ssi you have a lathe don't you?
[23:02:30] <ssi> Tom_itx: it's a VFD, so command is for frequency
[23:02:30] <ssi> pfred1: yes
[23:02:44] <pfred1> how you thread without a spindle pid?
[23:02:53] <ssi> you can thread with feedback without pid
[23:03:00] <ssi> my little lathe does it
[23:03:13] <pfred1> oh
[23:03:13] <Tom_itx> yeah just simple encoder feedback
[23:03:14] <ssi> but this one is more complex cause there's a gearbox
[23:03:22] <ssi> well high/low clutches rather
[23:03:33] <pfred1> I'd think you should be able to do it
[23:03:36] <ssi> and so I have speed command going through a gearchange component, and crazyness
[23:03:43] <ssi> yea I had mostly working pid before
[23:03:44] <ssi> but I pulled it out :)
[23:03:50] <ssi> I think imma put it back
[23:04:15] <pfred1> be the first kid on your block!
[23:05:46] <pfred1> I'm out before today slips int otomorrow
[23:28:12] <ssi> that's all I can do tonight :P