#emc | Logs for 2010-02-27

[00:01:07] <bosko> for all of you, if you do a I/O hal driver, you must do a "sudo comp --install arduino.py" command...
[00:05:44] <kanzure> what is arduino.py?
[00:15:58] <bosko> Atmel 328 development board
[00:34:10] <frallzor> anyone know a good source for telemecanique buttons
[00:55:51] <tom4p> aligning axis/tramming before servos arrive... using a hand drill chucked onto pulley journal
[01:00:53] <clytle374> My build that I can't load the 5i20 firmware into is being assigned IRQ 255. Think that is the cause?
[01:01:59] <clytle374> Worded badly. The system that doesn't work right is assigning irq 255 to the 5i20 card.
[01:10:30] <tom4p> i didn think you wanted irq's in rt. ´╗┐can you defeat the irq assignment in bios?
[01:13:04] <clytle374> No provisions for setting irq. Are they at least used for loading the firmware?
[01:14:13] <tom4p> dunno, best get seb or chris
[01:15:33] <tom4p> quick google suggests they are used in rtai
[01:18:03] <clytle374> I didn't think you could get away from them, but I've been wrong mostly all day today;)
[01:19:34] <tom4p> from 5i20 manual "One disadvantage is thathost based motor controllers depend on fast interrupt response time, since the control loop is an interrupt driven background task." but it says that HostMot is that sort (host based)
[01:19:43] <tom4p> so NM
[01:22:30] <tom4p> ah! the screw was bent on BOTH sides of the bearing, now feels nice and no wobble up & down ( phew! hard to replace )
[01:29:03] <tlab> ello
[01:29:58] <clytle374> tlab, hey. Any progress?
[01:30:12] <tlab> no didn't get to work on it at all today
[01:30:51] <tlab> but I emailed the vendor and he said I'd get faster movement in unipolar setup, just less torque.. which I don't need a lot of torque cutting pcb's
[01:31:24] <tlab> email another guy who said he was getting around the same speeds as me also.. 30 ipm
[01:33:09] <clytle374> You know what they say about "if it works"
[01:33:32] <aa-danimal-shop> "if it works, fuck with it till it doesnt"?
[01:33:51] <clytle374> aa-danimal-shop, that's it
[01:34:09] <aa-danimal-shop> yea, thought so
[01:34:29] <tlab> fuck with it till it breaks, so you can justify buying something better
[01:34:51] <aa-danimal-shop> yea
[01:35:37] <clytle374> I'm starting to loose faith in mine ever working.
[01:39:17] <tom4p> i love it, putting on the couplers, i have trouble with holding it still to tighten the screws because it turns so easy :) i suppose the bind is gone now
[02:00:03] <PCW> clytle374: The 5I20 can generate interrupts but EMC doesn't use them
[02:03:52] <PCW> (that is the hardware is capable of generating interrupts but the HostMot2 driver doesn't enable ints)
[02:14:08] <clytle374> I can't load the firmware. trying to figure out why. In the live cd the irq is 5 on my build it is irq 255.
[02:14:16] <clytle374> Was hoping I was onto something.
[02:16:04] <PCW> Maybe with your 64 bits and SMP you are exploring the land of bugs...
[02:16:34] <clytle374> surely
[02:17:39] <PCW> Maybe the SMP kernel is using the APIC or whatever the heck its called
[02:20:53] <PCW> Its possible to program the 5I20 so it wont request any interrupts
[02:20:55] <PCW> I know people are using the 5I20+EMC with SMP kernels but not sure if any have been brave enough
[02:20:56] <PCW> to try SMP 64 bit kernels
[02:22:04] <cradek> my only smp machine is a P3 - pcw do you have one to try?
[02:22:14] <cradek> well I guess it's a crazy amount of work to even give it a shot
[02:23:05] <PCW> I have several I could try including the d945mumble that clytle374 has
[02:23:56] <PCW> fighting with kernel build options is not one my favorite things however
[02:24:04] <Jymmm> cradek: HEY! YOU SON OF A THREE HEADED JACKAL!
[02:24:14] <cradek> PCW: no kidding
[02:25:26] <Jymmm> * Jymmm pokes cradek till it annoys the crap out of him!
[02:26:00] <Jymmm> cradek: poke
[02:26:11] <cradek> wtf
[02:26:27] <Jymmm> cradek: bout damn time!
[02:26:45] <Jymmm> cradek: you ready to etch some SMT pcb's?
[02:27:35] <Jymmm> cradek: PEEK POKE
[02:28:02] <cradek> try to say what you're talking about like a normal person
[02:28:14] <Jymmm> no fun in that, and I already did
[02:28:35] <Jymmm> cradek: Jymmm: cradek: you ready to etch some SMT pcb's?
[02:28:49] <Jymmm> s/etch/engrave/
[02:28:55] <cradek> what do you mean am I ready? I don't have any PCBs to make.
[02:29:29] <Jymmm> cradek: You might want to reconsider that... http://www.stencilsunlimited.com/
[02:30:46] <cradek> I've done some smt stuff, but I just hand solder it
[02:32:16] <Jymmm> ah, ok
[02:36:39] <aa-danimal-shop> like a normal person lol
[02:36:45] <clytle374> don't get to anxious yet, I'm still try yo eliminate my doing something stupid.
[02:37:53] <PCW> I seem to be getting better at doing stupid things
[02:38:16] <clytle374> PCW, did you see the errors I posted earlier?
[02:39:29] <PCW> Some, one an oops during the bitrev portion of the firmware loader
[02:42:37] <clytle374> http://pastebin.com/RTYwATmU http://pastebin.com/FesAXDNp
[02:42:53] <clytle374> Still thinking that the irq of 255 can't be a good sign.
[02:49:24] <PCW> Wheres that? I only see:
[02:49:25] <PCW> hm2_pci 0000:04:00.0: PCI INT A -> GSI 21 (level, low) -> IRQ 21
[02:51:35] <clytle374> lspci -v
[02:56:31] <clytle374> Anyone know what in the kernel handles such things?
[02:58:00] <clytle374> I confused APIC with ACPI in the kernel.
[03:00:29] <skunkworks> I actually inverted x and z once and sheared a 3/4 aluminum shaft off and shot it across the room. it ended up on my keychain for a while as a reminder.
[03:01:18] <PCW> I really have no idea whats wrong but my WAG is that its related to 64 bittedness and not interrupts
[03:01:19] <PCW> bbl
[03:13:47] <tom3p> i'm able to exercise hal/pyvcp stuff w/o emc by doing...
[03:13:47] <tom3p> cd ~/emc2-dev
[03:13:47] <tom3p> . scripts/emc-environment
[03:13:47] <tom3p> halrun - I -f /home/tomp/emc2-dev/tomp/blah.hal
[03:13:47] <tom3p> blah.hal invokes the .xml file.
[03:13:47] <tom3p> i get halscope, halmeter and my gui to test.
[03:13:47] <tom3p> add a text editor and you have the gui builder.
[03:14:25] <tom3p> ^^& bosko
[03:21:01] <clytle374> doesn't look like it was apic acpi since that option is now gone. (apic)
[03:24:35] <clytle374> going to remove smp to narrow it down, quicker than going 32bit. I need distcc & cross development running on my desktop for this.
[03:24:46] <clytle374> Gentoo had a few advantages.
[03:28:16] <tlab> I always fail to get smp + large memory (2GB) + normal stuff like sound, network, etc to compile for a kernel correctly
[03:28:45] <tlab> I get smp working then I only show 1gb of memory
[03:28:55] <tlab> I get 2gb memory working and smp isn't working
[03:31:34] <clytle374> really? Until last last summer I always ran Gentoo, you had to compile the kernel on it.
[03:31:52] <tlab_> I'm just using the ubuntu distro
[03:32:14] <clytle374> me too, now.
[03:33:03] <tlab_> like now it only shows I have 884.6MiB of memory
[03:33:07] <tlab_> but I have 2gb in it
[03:33:22] <tlab_> shows two processors tho
[03:34:11] <clytle374> what proc? MB?
[03:34:47] <tlab_> atom 330
[03:35:30] <tlab_> D945GCLF2 intel mb
[03:36:34] <clytle374> me too.
[03:36:41] <clytle374> real time?
[03:36:59] <tlab_> rtai kernel
[03:37:02] <tlab_> smp
[03:37:36] <clytle374> Ubuntu 8.04? or newer?
[03:38:00] <tlab_> 8.04
[03:38:14] <tlab_> you can get kernels for it here http://linuxcnc.org/experimental/hardy/smp/
[03:38:43] <tlab_> it's what I'm running, but no mesa
[03:39:11] <tlab_> it won't work well on the newer version of ubuntu, I've tried
[03:39:30] <tlab_> not atleast with some great hacking
[03:39:55] <clytle374> No you need a newer kernel. I'm going to write a wiki on this build. I jsut was hoping it would be for a mesa card.
[03:40:10] <clytle374> maybe I should write it for a stepper system
[03:40:19] <tlab_> newer kernel?
[03:40:49] <clytle374> I started with 9.10 and build the kernel and emc from source
[03:41:59] <tlab_> and everything works?
[03:42:59] <clytle374> I disabled sound, but everything else seems to work.. Oh, other than what I bought it for... the mesa card.
[03:43:29] <clytle374> I was proud of this http://imgur.com/ue2ay.png until the firmware issue.
[03:46:19] <tlab_> you only have 1 gb of memory?
[03:47:19] <clytle374> yeah. should have bought 2. 1 should work.
[03:50:13] <tlab_> so which kernel are you using?
[03:51:52] <ries_> ries_ is now known as ries
[03:52:03] <clytle374> ubuntu does something funny with the version #s. source says but it is the latest one from ubuntu 2.6.31-19-generic
[03:52:50] <tlab_> did you make deb files?
[03:54:57] <clytle374> no, next time. I'm new to Ubuntu and Deb. I got confused and did it old school. Gentoo is source code based, so it was the familiar devil so to speak
[03:56:46] <mozmck> I put debs for 9.10 at http://linuxcnc.org/experimental/Karmic/
[03:57:14] <mozmck> I plan to update them soon...
[03:57:53] <tlab_> so I could run emc on 9.10
[03:58:31] <mozmck> I do (or did until I broke my system the other day)
[04:04:06] <tlab> guess I'll upgrade then
[04:04:37] <mozmck> those packages are experimental still and might not work...
[04:05:25] <mozmck> I found out after I put them up that you need the python-xml package from jaunty...
[04:05:58] <mozmck> logger_emc: bookmark
[04:05:58] <mozmck> Just this once .. here's the log: http://www.linuxcnc.org/irc/irc.freenode.net:6667/emc/2010-02-27.txt
[04:08:31] <tlab> ?
[04:10:19] <clytle374> bookmarks the log for today, for future reference
[04:10:53] <tlab> oh
[04:11:40] <tlab> jaunty is 9.04 ?
[04:12:23] <mozmck> Yes. They removed python-xml from karmic, and my packages required it.
[04:15:23] <aa-danimal-shop> i keep getting following errors on my lathe now :(
[04:15:38] <aa-danimal-shop> it was fine before, i dont know what happened
[04:15:58] <aa-danimal-shop> i didnt change anything
[04:17:03] <clytle374> that's a list of stuff.
[04:19:39] <clytle374> cutting?
[04:19:48] <aa-danimal-shop> me?
[04:20:22] <aa-danimal-shop> it gets ferrors just by jogging
[04:21:05] <clytle374> yeah you
[04:22:17] <clytle374> :) dry ways, bad thrust bearing, or encoder/wire/connection of feedback are IMO most likely.
[04:22:51] <clytle374> of course if you have real thrust bearings that is unlikely to be the cause
[04:23:55] <clytle374> does it just error? Or lurch then error?
[04:24:26] <aa-danimal-shop> it's a hardinge so it's probably got real everything
[04:24:34] <aa-danimal-shop> it just errors
[04:25:02] <aa-danimal-shop> i even tried slowing it down real slow and it still does it
[04:25:31] <clytle374> can you check the screw by hand to check if it is free?
[04:25:32] <aa-danimal-shop> my ferror is set at .0015, and it used to not go any higher than .0002"
[04:25:41] <tlab> I used hardinges when I worked at chrysler
[04:25:46] <aa-danimal-shop> yea, brb i'll do that now
[04:27:00] <clytle374> some machines use angular contact bearings for thrust bearings... they can get tight under load and cause weirdness.
[04:28:04] <aa-danimal-shop> feels fine
[04:28:22] <aa-danimal-shop> i went end to end
[04:28:37] <clytle374> can you unhook the motor shaft easily?
[04:28:43] <aa-danimal-shop> no
[04:28:52] <clytle374> AC or DC servo?
[04:28:58] <aa-danimal-shop> dc brush
[04:29:20] <clytle374> error one axis only?
[04:29:39] <clytle374> I hope
[04:29:47] <aa-danimal-shop> yea
[04:29:50] <aa-danimal-shop> just x
[04:30:06] <clytle374> direct drive?
[04:30:11] <aa-danimal-shop> belt
[04:31:00] <aa-danimal-shop> could a dryrotted belt cause that?
[04:31:09] <clytle374> hard to remove the belt?
[04:31:24] <tom3p> low voltage in shop?
[04:31:26] <clytle374> I guess you answered that
[04:31:48] <clytle374> Or bad PS
[04:31:57] <aa-danimal-shop> i dont think there's low voltage, but anything's possible
[04:32:18] <aa-danimal-shop> well if it was a bad ps or low voltage, i think there would be issues with both axes
[04:32:27] <clytle374> gtood pint
[04:32:30] <clytle374> good
[04:32:34] <clytle374> point
[04:32:41] <aa-danimal-shop> good pint too
[04:33:15] <aa-danimal-shop> although it really isnt a pint, it's just 12oz
[04:33:34] <clytle374> I'd take the belt off.
[04:33:53] <aa-danimal-shop> man that's a headache
[04:34:11] <aa-danimal-shop> i think i would order new ones before i took it off
[04:34:47] <aa-danimal-shop> i tihnk i should though, they are 32 years old
[04:34:54] <clytle374> ouch. My other ideas are worse.. If nothing in the setup changed.
[04:35:21] <aa-danimal-shop> lol i dunno, that belt is tucked in there pretty good
[04:35:22] <tom3p> look at the belt the brushes and the phase(s) powering the amp, those are quick
[04:36:08] <clytle374> defiantly check power. easiest next step
[04:36:19] <clytle374> A stretchy belt can do it, but usually lurches first.
[04:36:25] <aa-danimal-shop> tom, only looking at the phases is quick, but like i said, they're on the same bus and z axis is fine
[04:36:49] <tom3p> ok, mighyt have been a 1 phase amp so couldve been diff
[04:37:31] <clytle374> if z motor is bigger it could have more 'head room' so to speak and not be as sensitive.
[04:37:48] <aa-danimal-shop> same motors, except z is moving more weight
[04:38:07] <aa-danimal-shop> same gearing as well
[04:38:15] <aa-danimal-shop> same pitch ball screw
[04:38:28] <aa-danimal-shop> btw, these have resolvers
[04:38:33] <aa-danimal-shop> and tachs
[04:38:45] <clytle374> scale feedback?
[04:38:52] <clytle374> oops
[04:39:17] <tom3p> check excitation voltage is same?
[04:40:08] <aa-danimal-shop> i havent, but this is a new problem, it was working great until 20 minutes ago
[04:41:00] <aa-danimal-shop> i got 1.5 parts left to do :(
[04:41:09] <aa-danimal-shop> due tomorrow morning
[04:41:14] <clytle374> ouch
[04:41:33] <aa-danimal-shop> i tihnk i'll have to turn the rapid down to like 20ipm just to get through these
[04:41:42] <tom3p> bad at low speed... can you swap drives by just cabling? can you swap motors?
[04:41:51] <clytle374> I hate to say it but you may be down to swapping motors, or cables, or amps
[04:42:02] <tlab_> lol
[04:42:06] <aa-danimal-shop> lol
[04:42:10] <clytle374> and tom3p types better
[04:42:17] <tom3p> lol
[04:42:27] <aa-danimal-shop> i can swap cables at the amp
[04:42:36] <aa-danimal-shop> good idea, i'll try that later
[04:42:39] <aa-danimal-shop> thanks
[04:43:08] <tom3p> its a good idea to layout servo cabinets to allow that as a debugging step
[04:43:37] <aa-danimal-shop> i am sooo tired
[04:44:08] <aa-danimal-shop> i gotta try and nurse it through these parts so i can go to bed
[04:44:22] <tom3p> get a cuppa
[04:44:30] <aa-danimal-shop> thanks for the help, i'll try that later
[04:44:34] <aa-danimal-shop> cuppa?
[04:44:40] <tom3p> coffee/tea
[04:44:52] <aa-danimal-shop> never had a cup in my life
[04:45:24] <aa-danimal-shop> not much of a caffine drinker
[04:45:28] <tom3p> good for you, dont start
[04:45:40] <clytle374> I guzzle the stuff
[04:45:48] <aa-danimal-shop> i was big into soda, but stopped
[04:46:25] <aa-danimal-shop> now if i have a can of coke in the morning, i have a hard time falling asleep at night
[04:47:12] <aa-danimal-shop> i replaced it with beer :)
[04:47:39] <clytle374> I need to cut back, but I'm quitting smoking now, maybe later
[04:47:54] <tom3p> stop that!
[04:48:15] <tom3p> everyday, its simple... dont
[04:48:36] <clytle374> stop drinking or smoking?
[04:48:59] <tom3p> tske your pick... that technique is the same, just dont
[04:49:39] <aa-danimal-shop> i like my beer, i'm not giving that up
[04:49:47] <tom3p> i think im just cheap when cigarretes went to 2$ a pack, that was 6$ a day, i quit
[04:50:29] <Jymmm> http://www.cnn.com/2010/LIVING/02/25/cnnheroes.soriano/index.html?hpt=Mid
[04:51:38] <clytle374> I get 3 smokes a day morning lunch and dinner
[04:52:11] <clytle374> The rest of the day I eat those nicotine candy things, they work pretty good.
[04:52:16] <tom3p> Jymmm: thats nice, more power to him.
[04:52:36] <Jymmm> POWER TO THE BURRO!!!
[04:52:38] <clytle374> But they'll give you gas that could "drive a starved dog off a gut pile" so to speak
[04:53:45] <tom3p> hah i was in Taiwan when I quit, and went to a store and bought hard candies. had a day of programming and eating candy. hack eat hack eat. at end of day i stood up and fell over... sugar shock, woke up in hosptial. stupid
[04:54:54] <tom3p> Jymmm: some kind of arduino kindel loaded with gutenberg dvd instead of the OLPC
[04:55:29] <Jymmm> ereader would be my thought, battery lasts for weeks
[04:56:11] <tom3p> gutenberg is just text and free 26000 books on a dvd free
[04:57:26] <tom3p> http://www.gutenberg.org/wiki/Main_Page heck they got a whole cd of sci fi i havent finished yet ( i have the pc read it to me with AT&T Naturaly Speaking )
[05:06:08] <aa-danimal-shop> phew, made it through those parts on the lathe, now let's hope the mill makes it
[05:08:42] <toastydeath> in soviet russia, lathe made it through those parts on YOU
[05:10:39] <clytle374> Built another kernel, now latency-test reboots the computer.. Been going backwards all day.
[05:11:14] <tlab_> you get a good .config file let me know heh
[05:14:00] <clytle374> I got one, but it doesn't load the mesa config.
[05:14:14] <tlab_> ya I don't need mesa
[05:14:39] <tlab_> I"m updating to 8.1 now
[05:17:19] <clytle374> 9.1?
[05:17:34] <tlab_> 8.1, then 9.04 then 9.1
[05:17:48] <tlab_> I dunno why, but that's how it's updating
[05:20:06] <tlab_> I'm just a linux noob, I can barely compile the kernel
[05:20:14] <aa-danimal-shop> are any of those supported by emc?
[05:20:33] <tlab_> experimentally they are
[05:21:39] <tlab_> bleeding edge
[05:22:49] <tlab_> clytle374: I figured out that the inductance on my stepper motors is to high, so it causes it not to charge up quick enough at higher speeds.. that's why my ipm are so low
[05:23:07] <clytle374> It won't load mesa firmware at the moment
[05:23:29] <clytle374> I thought that, but like I said.. I didn't want to publicly make the mathitical error
[05:23:41] <tlab_> did you try the debs mozmck posted?
[05:24:29] <clytle374> still trying to get 64 bit smp
[05:24:43] <tlab_> oh ya I forgot
[05:37:25] <clytle374> get the newest kernel source from ubuntu. the cvs magna tree and this http://pastebin.com/tL25AzK2 .config
[05:37:53] <clytle374> of course there is a list of stuff you need to build a kernel too
[06:38:16] <Guest815> Help!
[06:38:51] <Guest815> Anybody?
[06:40:26] <Guest815> frack
[06:49:17] <clytle374> ?
[06:49:43] <elmo40> !
[06:52:46] <toastydeath> ;
[06:53:46] <clytle374> I hate remote reboots. Do I have to get up and reset it? Or will it work?
[06:54:35] <clytle374> Now to see if it lockup again.
[07:02:35] <clytle374> Guest815, are you going to ask?
[08:01:18] <bosko> morning..
[12:47:44] <JT-Hardinge> hmmm, I have 5v at the mpg and can see voltage at A and B when I spin the mpg and I have triple verified the wiring
[12:47:53] <JT-Hardinge> * JT-Hardinge wonders what I missed???
[12:55:04] <Jymmm> * Jymmm wonders whats the issue
[12:55:47] <JT-Hardinge> no count pulses from the mpg at the encoder input
[12:56:12] <Jymmm> of?
[12:56:46] <JT-Hardinge> hm2_5i20.0.encoder.03.count
[12:57:00] <Jymmm> ground?
[12:57:11] <JT-Hardinge> the axis and spindle encoders work fine
[12:57:34] <Jymmm> swap em
[12:57:55] <Jymmm> see if its wiring or encoder
[12:58:22] <JT-Hardinge> I'll give that a try
[13:23:42] <JT-Hardinge> mpg works on encoder 01 :/
[13:24:17] <Jymmm> so, you have a bad encoder?
[13:25:31] <JT-Hardinge> on the 7i33 card?
[13:25:55] <Jymmm> I dont know what you did
[13:26:11] <Jymmm> Last thing *I* said was swap things around
[13:26:24] <Jymmm> to isolate where the issue may be
[13:26:30] <JT-Hardinge> I swapped the wires from encoder 3 to encoder 1 on the 7i33 card
[13:26:54] <Jymmm> On both ends of the cable or just one end?
[13:27:26] <JT-Hardinge> I don't understand that question
[13:27:43] <Jymmm> Did you isolate if it's the cable? the encoder? The input port on the mesa card?
[13:28:02] <JT-Hardinge> I didn't type that well
[13:28:21] <JT-Hardinge> I moved the wires from the mpg from encoder input 3 to encoder input 1
[13:28:51] <JT-Hardinge> now the mpg counts show up on encoder 1
[13:29:34] <Jymmm> Ok, now use the same good cable, leaving it where it is on the mesa card, but on the other end, unplug it from it's curent encoder, into the questionable one
[13:30:23] <Jymmm> If it works, then it's the cable. If it doesn't, then it's the encoder.
[13:30:24] <JT-Hardinge> the mpg was the only thing that did not work
[13:30:44] <JT-Hardinge> the axis encoders and the spindle encoder worked fine
[14:09:02] <pcw_home> JT-Hardinge: (should you read this later) did you set num-encoders to 4 in the 5i20.ini file? (default is 3)
[14:10:30] <jt-plasma> pcw_home: yes
[14:10:56] <jt-plasma> I think I might have an error in my print :/
[14:11:10] <jt-plasma> just verifying it now
[14:15:37] <jt-plasma> hmm in the 7i33 manual page for terminal block pinouts TB2 Pin 2 and 5 are both /ENCA1 is that correct?
[14:38:56] <pcw_home> no, thats a typo 5 is /ENCB1
[14:41:00] <jt-plasma> is TB2 the same pinout as TB1?
[14:41:31] <jt-plasma> pin 13 and 17 are different between TB1 and TB2
[14:43:59] <pcw_home> Supposed to be, looks like another typo
[14:44:23] <JT-Hardinge> ok I just wired it up like TB1 and it works now
[14:46:19] <JT-Hardinge> * JT-Hardinge wonders if it is possible to have a selector switch for mpg "off" "Z" "Chamfer" "X" like my buddies Anilam lathe :)
[14:47:13] <JT-Hardinge> I think I'll sort that out first before spending time installing and wiring a switch
[14:47:34] <JT-Hardinge> * JT-Hardinge reads the manual for a while
[14:49:44] <pcw_home> Sorry 'bout that, I'll fix the manual on Monday
[14:51:44] <JT-Hardinge> pcw_home: should the full encoders from the axis selectors be in rs422?
[14:52:00] <JT-Hardinge> right now they are all on TTL
[14:52:44] <pcw_home> If you have differential encoders, yes
[14:53:29] <JT-Hardinge> ok, I get fuzzy sometimes on electronics :)
[14:54:18] <pcw_home> differential encoders will work with with the 7I3 jumpered for TTL but you wont get the noise immunity
[14:54:26] <pcw_home> (7I33)
[14:54:36] <JT-Hardinge> ok next time I power down I'll swap them out
[14:55:01] <cradek> JT-Hardinge: you can definitely wheel jog both axes, if that's what chamfer means
[14:55:25] <JT-Hardinge> yes
[14:56:21] <JT-Hardinge> do you connect the counts to something to make an axis move?
[14:56:38] <cradek> I think it's axis.N.jog-counts
[14:56:53] <cradek> then there's axis.N.jog-enable and you turn on whichever one(s) you want
[14:57:11] <cradek> also halui.feed-override.counts, halui.max-velocity.counts, etc work the same way
[14:57:14] <JT-Hardinge> ok, I was looking in the wrong place
[14:58:30] <JT-Hardinge> cradek: thanks, got it now
[15:06:23] <JT-Hardinge> WEEE! that works
[15:07:46] <cradek> if you set the scales different, you could do other angles too
[15:08:34] <elmo40> JT-Hardinge: have any photos?
[15:08:51] <elmo40> use bayimg.com
[15:10:19] <JT-Hardinge> elmo40: http://s47.photobucket.com/albums/f163/johnplctech/Hardinge/
[15:10:35] <JT-Hardinge> that is all the photo's so far of the hardinge
[15:11:08] <JT-Hardinge> cradek: now your giving me too many ideas LOL
[15:15:16] <JT-Hardinge> YEA! I got a joint 0 following error :)\
[15:15:20] <JT-Hardinge> :0
[15:15:28] <JT-Hardinge> :)
[15:29:43] <aa-danimal-shop> morning
[15:29:52] <pcw_home_> pcw_home_ is now known as pcw_home
[15:29:56] <aa-danimal-shop> looks like you're making some progress JT-Hardinge!
[15:33:17] <aa-danimal-shop> my lathe is dying... i'm getting really bad following errors in X now :(
[15:33:50] <JT-Hardinge> closer than I have ever been Dan
[15:34:18] <JT-Hardinge> I have a worn out belt on my X that I have to change before I try and run that axis
[15:35:04] <aa-danimal-shop> JT-Hardinge: very cool, cant wait to see videos!
[15:35:22] <aa-danimal-shop> JT-Hardinge: i suspect the belts on mine are shot too
[15:35:51] <JT-Hardinge> when you figure out how to change one take some photos and teach me how LOL
[15:37:20] <clytle374> Are they that bad?
[15:37:29] <clytle374> I mean to change
[15:37:53] <aa-danimal-shop> clytle374: yes, a pita
[15:38:07] <JT-Hardinge> I don't know how easy/hard it will be yet LOL but it is not in plain sight or easy to get to
[15:39:26] <clytle374> They do kinda have to be hidden, chips and them don't get along.
[15:46:09] <clytle374> I'm trying another kernel config(SMP 64bit) now I can't emc to build again. output of ./configure and make http://pastebin.com/GtcnTCyA
[15:48:33] <JT-Hardinge> * JT-Hardinge celebrates with a nice cold... diet DP
[15:49:00] <JT-Hardinge> next item up for bid the spindle
[15:51:48] <clytle374> never mind, backing up to previous kernel .config
[16:16:01] <MarkPictor> MarkPictor is now known as MarkPictor-away
[16:16:32] <MarkPictor-away> MarkPictor-away is now known as MarkPictor
[16:29:11] <tomp> aa-danimal-shop: did you swap drives?
[16:29:25] <tomp> tomp is now known as tom3p
[16:31:35] <tom3p> (usually you leave the drive in old position and swap the cables, AND usually the drives are tuned same , ymmv)
[16:33:32] <tom3p> hmm the seriously black crud in toilets is from old rubber washers, hope i can find something better... btw bleach cleans it off hands
[16:34:03] <tom3p> bbl
[16:57:07] <aa-danimal-shop> tom3p: havent messed with it, had to finish up parts i have to deliver in a few minutes
[16:57:21] <MarkPictor> I'm testing skunkworks servo drive with a sine wave generated by siggen
[16:57:49] <MarkPictor> the motor acts like the signal is a square wave, though - ?!
[16:58:17] <MarkPictor> doesn't sound like it is gradually changing speed...
[16:59:09] <jmkasunich> anybody need opto-22 I/O modules?
[16:59:38] <jmkasunich> I just picked up a large lot - 259 pcs of OAC5, and 501 pcs of IAC5
[17:00:46] <Roguish> score!!!
[17:01:08] <cradek> cool, but nope
[17:01:12] <jmkasunich> I paid just under $100 ;-)
[17:01:41] <aa-danimal-shop> cradek: have you had any mysterious following errors on your lathe aside from when the compressor kicks on?
[17:01:42] <jmkasunich> I'm hoping they'll fetch $1 each on ebay, if I sell them in moderate lots
[17:01:42] <clytle374> jmkasunich, can't refuse that.
[17:01:46] <cradek> I didn't use any of the AC ones in jr, but I might eventually use 1-2 for running the fans more smartly
[17:02:01] <cradek> aa-danimal-shop: no
[17:02:06] <cradek> aa-danimal-shop: what does halscope tell you?
[17:02:26] <aa-danimal-shop> it's a little irratic
[17:02:33] <aa-danimal-shop> in scope
[17:02:36] <cradek> jmkasunich: I bet they will, if you spread it out and don't saturate the market
[17:03:00] <aa-danimal-shop> goes from .0002-.0015ish
[17:03:41] <cradek> aa-danimal-shop: .0015 seems kind of high. show us a plot?
[17:04:03] <aa-danimal-shop> how do i do that, just a screenshot?
[17:04:29] <cradek> yeah that's the only good way
[17:04:47] <aa-danimal-shop> it used to be a pretty steady .0002, but it started giving ferrors out of the blue
[17:04:57] <aa-danimal-shop> ok, brb, i'll go do it now
[17:06:39] <cradek> clytle374: maybe PCI_LEGACY kernel option is related?
[17:08:19] <aa-danimal-shop> seems like it gets worse as it gets warm, last night i couldnt go more than 20ipm without a ferror, and i was able to go 200ipm this morning without a single one
[17:09:12] <cradek> aa-danimal-shop: that's a strange symptom
[17:09:56] <aa-danimal-shop> cradek: i emailed it to you
[17:10:24] <cradek> aa-danimal-shop: imagebin.ca is better, so everyone can see it
[17:10:49] <aa-danimal-shop> cradek: i dont even know if it follows that pattern, it does seem a bit sporatic
[17:12:12] <clytle374> cradek, might be. I did obviously did something stupid while tired last night. Just started over.
[17:13:04] <cradek> dan's screenshot: http://imagebin.ca/view/cMro_2.html
[17:13:19] <clytle374> NOTE TO EVERYONE: Do not use the kernel .config I posted early this morning.
[17:13:31] <aa-danimal-shop> http://imagebin.ca/view/U6vIcixH.html
[17:13:35] <aa-danimal-shop> ah, you beat me
[17:13:57] <cradek> clytle374: looks like you could improve it by tweaking FF2, but it sure is noisy. Does it sound rough?
[17:13:59] <aa-danimal-shop> not suprising, this pc's IE barely works
[17:14:07] <aa-danimal-shop> a little
[17:14:49] <aa-danimal-shop> cradek: the thing is it was working great, then all of a sudden it pulls this crap
[17:15:08] <aa-danimal-shop> i gotta run and deliver some parts, i'll be back in 30 minutes or so
[17:15:15] <cradek> ok
[17:15:26] <aa-danimal-shop> cradek: the following error was awesome before, never went past .0002
[17:15:34] <aa-danimal-shop> very smooth line
[17:15:39] <aa-danimal-shop> bbl
[17:15:41] <cradek> I bet it's not uncommon to have to retune a few times if your amps haven't been used forever
[17:16:09] <cradek> could also be a noisy or bad tach signal, or you lost a ground wire somewhere
[17:16:24] <cradek> something has changed...
[17:19:40] <MarkPictor> something is strange with pwmgen, I see a big difference between min-dc=0.099999 and min-dc=0.1
[17:21:12] <MarkPictor> at 0.1 the motor reverses instantly
[17:21:38] <MarkPictor> with anything less (.09, .0999, etc) it sits for a bit
[17:22:19] <MarkPictor> I can add as many 9's as I want without seeing a difference but if I change to .1 there is a difference
[17:22:29] <MarkPictor> am I missing something?
[17:23:03] <MarkPictor> err, I'm running the motor using a sine wave from siggen, fed into pwmgen, then out the parallel port
[17:35:46] <MarkPictor> MarkPictor is now known as MarkPictor-away
[17:42:41] <pcw_home> MarkPictor: Parport PWM is pretty low res, maybe you hit a width jump at .1
[17:44:06] <MarkPictor-away> MarkPictor-away is now known as MarkPictor
[17:44:21] <MarkPictor> ahh. didn't think of that
[17:46:27] <MarkPictor> pwmgen is running at 20khz so I bet it is a parallel port limitation
[17:46:38] <aa-danimal-shop> back
[17:46:40] <MarkPictor> when I increase the amplitude it seems to have two steps
[17:47:25] <aa-danimal-shop> thanks cradek, i'll check the tach wiring and grounds
[18:03:41] <MarkPictor> MarkPictor is now known as MarkPictor-away
[18:08:30] <aa-danimal-shop> cradek: it's noisy in one direction (x positive)
[18:10:34] <archivist> dirty/sticky brushes?
[18:12:49] <aa-danimal-shop> no, apparently i'm just dumb. again.
[18:13:13] <aa-danimal-shop> i didnt notice the little oil caps on the x and z
[18:13:23] <aa-danimal-shop> apparently it was dry
[18:13:41] <aa-danimal-shop> i though the lub system took care of everything
[18:13:57] <aa-danimal-shop> i put some oil in there and it smoothed out
[18:14:55] <aa-danimal-shop> someone gave me a computer that has one of these in it: http://www.dealtime.com/xPF-MicroStar-MICROSTAR-MS-6758-040
[18:15:17] <aa-danimal-shop> was thinking of using it in the mill to replace the P3 that has been giving me issues
[18:17:29] <aa-danimal-shop> it's either that or trade ito ut for my windows mobo with a amd xp2800 in it
[18:18:18] <aa-danimal-shop> what would be better for emc, an amd xp2800 or an athlon 64 processor?
[18:21:43] <robotito> P3 not enough?
[18:23:30] <aa-danimal-shop> i think that pc has issues
[18:23:33] <acemi> aa-danimal-shop: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Latency-Test
[18:23:39] <aa-danimal-shop> so i just want to replace it
[18:24:18] <MarkPictor-away> MarkPictor-away is now known as MarkPictor
[18:26:10] <aa-danimal-shop> acemi: thanks, looks like some of the moards with the athlon 64 have low latency
[18:27:47] <acemi> but the processor is not the only criteria
[18:33:43] <aa-danimal-shop> i know
[18:33:52] <aa-danimal-shop> but my mobos arent on the list
[18:34:35] <aa-danimal-shop> well i gotta get ready, my parents are coming into town in a few, adios and thanks
[18:37:47] <L84Supper> I haven't used the Mesa 3x20, PCI-Express IO card. How well does it work with EMC? Any issues?
[18:38:17] <L84Supper> http://www.mesanet.com/fpgacardinfo.html
[18:48:06] <MarkPictor> MarkPictor is now known as MarkPictor-away
[19:03:54] <MarkPictor-away> MarkPictor-away is now known as MarkPictor
[19:15:00] <jt-plasma> Dan you figure out your following error?
[19:15:18] <jt-plasma> aa-danimal-shop: ^^
[19:24:02] <jt-plasma> * jt-plasma wanders in for a nap
[19:34:44] <tom3p> aa-danimal-shop: http://www.mcmaster.com/#gravity-feed-oilers/=6046d5 keep 'em in sight, dont want f-error in middle of part with loads of manhours in it (loads of $$)
[19:36:35] <beee> I'm interested to find out about Estop in EMC
[19:37:29] <micges> beee: just asj
[19:37:31] <micges> ask
[19:38:24] <beee> I don't have much experience in electronics, and would like to know the best way to incorporate an estop in my machine
[19:38:48] <beee> Esp. hardwiring
[19:39:05] <micges> describe your machine
[19:39:21] <Danimal-office> it got better then went bad again. it ferrors in one direction, and it sounds rough in that direction
[19:39:50] <tom3p> re: estop http://wiki.linuxcnc.org/emcinfo.pl?Sample_HAL_And_ClassicLadder its pretty visual because its ladder diagrams
[19:40:18] <beee> 4 axis router, controllable 18000 rpm spindle, pmdc servos all around
[19:40:38] <beee> runs on 230VAC
[19:40:43] <tom3p> Danimal-office: do you think it was just chance? stopping & starting? pushing those cables out of the way to get to the oil hole?
[19:40:45] <Danimal-office> if i go in the opposite direction so it doesnt ferror, sometimes i can reverse and get it to not ferror in the "bad" direction and then it's ok untill i let it stop and sit for a while
[19:41:15] <Danimal-office> no cables to push, it's right in the front
[19:41:34] <Danimal-office> might have been chance
[19:41:45] <tom3p> so just start/stop... any relay devices involved?
[19:41:50] <Danimal-office> it's an intermittient problem
[19:42:04] <Danimal-office> it's not start/stop, it's direction
[19:42:10] <Danimal-office> x- is fine
[19:42:16] <Danimal-office> x+ is the issue
[19:42:32] <Danimal-office> no relay devices involved
[19:42:38] <tom3p> right but x+ is intermittant, x+ made a bit better by start stop
[19:42:57] <pcw_home> Danimal-office: I'd swap amps first and if the trouble doesn't follow the amp I'd suspect
[19:42:59] <pcw_home> brushes (motor or tach)
[19:43:03] <Danimal-office> i think it's jamming possibly
[19:43:28] <Danimal-office> it sounds almost lumpy in the bad direction... not smooth
[19:43:33] <tom3p> werent amps swapped already?
[19:43:35] <pcw_home> can you crank it by hand?
[19:44:03] <Danimal-office> pcw_home: i can crank it by hand, but it's hard to determine if that's when it's free or when it's ferroring
[19:44:35] <Danimal-office> i didnt swap amps yet, i'm real short on time since my parents are flying in today
[19:44:41] <pcw_home> I would think you could feel a mechanical jam
[19:44:50] <tom3p> you can crank by hand with a vmeter on tacho to see if its reasonable ( not wacky disjointed or wildly jumpy by itself or at some posn )
[19:44:56] <tom3p> or scope
[19:45:21] <Danimal-office> x+ looks much worse than x- on scope
[19:45:33] <Danimal-office> very noisy
[19:46:02] <Danimal-office> i was thinking maybe a brush could be tempramental... that might happen in one direction only, right?
[19:46:04] <tom3p> when you pull out brushes make sure you put em back in same direction ( rotation grooves on bottom of brush)
[19:46:06] <pcw_home> Sure sounds like brushes
[19:46:24] <Danimal-office> it has resolvers and tachs
[19:46:35] <Danimal-office> it's brushed dc motors
[19:46:46] <tom3p> tach for speed resolver for angle posn
[19:46:53] <Danimal-office> i'll check the brushes when i get a chance
[19:46:58] <Danimal-office> tom3p: yep
[19:47:24] <Danimal-office> i might just order new belts and brushes
[19:47:31] <Danimal-office> i know the belts arent so hot
[19:47:47] <Danimal-office> the brushes are probably 32 years old
[19:47:50] <Danimal-office> as are the belts
[19:47:58] <tom3p> while out, look down bore to see if rotor scarred up or smoothe bright shiny copper ( ask skunkworks recent bout with brushes)
[19:48:23] <Danimal-office> yea, i saw his brush fiasco
[19:48:46] <frysteev> who uses whhat for cam software here?
[19:48:56] <Danimal-office> mastercam x
[19:49:07] <Danimal-office> well thanks guys, i'll look into it later
[19:49:49] <frysteev> ive been doing solidworks tutorials.. and want to try and get something to mastercam then emc
[19:49:55] <frysteev> but mastcam seems to baffle me
[19:59:20] <Dave911> Have you tried Featurecam? I found that pretty fast to learn.... and very effective
[20:00:07] <Dave911> I know it runs on Windoze ..... but the software was available and it was a paying job ...... the guy just wanted the part programmed ....
[20:00:48] <Dave911> I tried using Mastercam 9 a while back and got lost ....
[20:01:10] <frysteev> ya
[20:01:16] <frysteev> i have sheetcm downloaded as well
[20:37:05] <elmo40> jmkasunich: what are the specs to those opto-22 I/O modules? Any datasheet, pics?
[20:43:08] <elmo40> question. What is the HAL Oscilloscope for? Testing drives? How do you use it?
[20:47:52] <jt-plasma> elmo40: http://www.linuxcnc.org/docview/html//hal_tools.html#sec:Halscope
[20:48:37] <dmess> hi all
[20:50:52] <micges> hi
[20:51:49] <jt-plasma> hi
[20:53:05] <micges> jt-plasma: how is your plasma?
[20:53:37] <frysteev> why would someone design in mastercam?
[20:53:40] <frysteev> what a kludge
[20:54:13] <jt-plasma> covered up with hardinge prints but other than that and needing to try and flash my 5i20 it is good
[20:55:04] <micges> ah ok
[21:32:46] <Dave911> When I tried MasterCam 9 it was similar to running a dos based program. Nothing intuitive about it. I tried running EZ Cam recently also - don't bother. It is relatively cheap but EZ Cam is a total waste of time IMO. The manual absolutely sucks, the online help isn't much better. I figured it would take me 2-3 days to figure it out for the part I was trying to do. I got into...
[21:32:47] <Dave911> ...Featurecam and programmed the part completely in about 4 hours, but I used it for a few simpler parts a couple of times before. Of course there has been several tweaks since then. Somethings didn't work out, changed tools a couple of times etc. The result is a couple of thousand lines of G code. If you get everything setup right Featurecam is dead accurate.
[21:35:22] <renesis> frysteev: dunno for 2.5D shit i wouldnt complain
[21:37:41] <Roguish> hey all. anyone know if i can use halscope to see the pwm signal of 1 channel on an m5i20?
[21:38:31] <Roguish> i have looked through all the pins and signals and all for the m5i20 and do not see the actual pwm and direction signals that are on the board..
[21:44:44] <JT-Hardinge> Roguish: did you do a dmesg to get your pinouts?
[21:45:43] <Roguish> what debug level do ya need to see that in the dmesg?
[21:45:56] <JT-Hardinge> none
[21:46:26] <JT-Hardinge> load up your config then do dmesg > pins.txt
[21:47:16] <JT-Hardinge> are you using hostmot2
[21:47:39] <JT-Hardinge> http://www.linuxcnc.org/docview/html//drivers_hostmot2.html#r1_7
[21:49:14] <JT-Hardinge> Yea! the work light works
[21:50:29] <Roguish> workin on it
[21:51:11] <Roguish> ok, says pin6
[21:51:14] <JT-Hardinge> Roguish: I usually do a cd Desktop then the dmesg
[21:52:14] <JT-Hardinge> look at gpio.006
[21:55:06] <Roguish> think i have to create a signal and link it.
[22:24:46] <clytle374> pcw_home, looks like it is a 64 bit issue. I built a non smp kernel and got the same results.
[22:26:18] <clytle374> I've got it set up so I can build a kernel pretty quick. If anyone is interested in working on a fix, I'll help in anyway I'm capable.
[22:28:05] <clytle374> I'm giving up for now and working on some hardware.
[22:49:53] <elmo40> if i already have 8.04.4 is there a .deb file in a repo somewhere to install emc and related apps?
[22:51:00] <cradek> http://www.linuxcnc.org/content/view/21/4/lang,en/
[22:51:18] <cradek> read after the line
[22:52:44] <elmo40> i see it now, thanks.
[22:52:59] <elmo40> i see how-to's for Debian as well, is this supported?
[22:53:15] <elmo40> i already have Lenny installed, didnt know if i had to re-install with buntu
[22:53:26] <cradek> we only have binary deb packages for ubuntu 6.06 and 8.04
[22:53:59] <elmo40> ok.
[22:54:24] <cradek> you can use any linux you want, but you'll have to compile a realtime patched kernel, rtai, and emc2
[22:54:26] <elmo40> i had installed 8.04.4 a while back on my moms machine. was thinking i could use that disc for this machine.
[22:54:48] <elmo40> oh... so i need a new kernel ?
[22:54:52] <cradek> yep I bet that will work fine
[22:54:53] <elmo40> will that script to it all?
[22:55:01] <cradek> yes
[22:56:24] <elmo40> now i need internet on it... how is wifi support? i have a pci Linksys WMP54G card
[22:59:14] <cradek> I don't know that, sorry. I use wires...
[23:00:07] <cradek> http://ubuntuforums.org/archive/index.php/t-79742.html
[23:00:53] <cradek> looks like that card is so old that even ubuntu 5 supported it - it might just work
[23:02:13] <cradek> not all Linksys WMP54G's have the RALink chipset needed for the RT2500 driver.
[23:02:41] <cradek> ^ on the other hand, linksys is famous for putting the same model number on vastly different devices for marketing reasons. who knows what you have.
[23:02:49] <elmo40> true
[23:03:15] <cradek> if you can get the emc live cd, you could boot it without installing and just see if it works.
[23:03:22] <elmo40> do you suggest getting the linuxcnc iso? or use the one i have with the emc script?
[23:03:25] <elmo40> ok ;)
[23:03:47] <cradek> you can do either, if you don't care whether your system gets reinstalled
[23:04:02] <cradek> if you want to see if your linksys will work before installing, you need the emc2 live cd
[23:04:31] <elmo40> i am grabbing the emc2 iso. this is a fresh install.
[23:04:38] <elmo40> picked up a 40gb drive for $2 ;)
[23:04:52] <cradek> cool
[23:05:08] <cradek> I love that perfectly adequate used hardware is dirt cheap or free
[23:05:48] <cradek> I haven't bought a new motherboard for 5 years, or a new full machine for 10 years
[23:10:34] <jmkasunich> elmo40: input modules are Grayhill 70-IAC5, and output modules are Grayhill 70-OAC5
[23:11:57] <jmkasunich> http://lgrws01.grayhill.com/web1/images/ProductImages/IO_Mod_AC_Input.pdf
[23:12:21] <jmkasunich> http://lgrws01.grayhill.com/web1/images/ProductImages/IO_Mod_AC_Output.pdf
[23:13:14] <jmkasunich> I'v got some of the input modules on ebay already, output modules will follow in a few hours
[23:15:41] <alex_joni> good night all
[23:15:47] <jmkasunich> night alex
[23:25:34] <elmo40> burning disc now.
[23:30:07] <elmo40> jmkasunich: what is your eBay link?
[23:33:39] <jmkasunich> http://cgi.ebay.com/Grayhill-70-IAC5-Solid-State-Relay-qty-10-SSR-opto-22_W0QQitemZ180474845933QQcmdZViewItemQQptZLH_DefaultDomain_0?hash=item2a05239aed
[23:33:56] <jmkasunich> I've got separate auctions for 5, 10, and 30 pieces
[23:34:57] <elmo40> kernel panic...
[23:44:32] <elmo40> bad RAM ;)
[23:44:51] <elmo40> they guy who sold me the drive gave me 'free' sticks... one out of 3 was faulty.
[23:45:02] <elmo40> not bad for free, costing some troubleshooting time
[23:51:26] <frysteev> free rams with every duck