#emc | Logs for 2009-10-30

Back
[00:01:29] <tom3p> does rtai-info help?
[00:09:18] <tom3p> /var/lib/dpkg/info/rtai-modules-2.6.24-16-rtai.list
[00:10:02] <tom3p> is a text file of all the modules with their paths
[00:11:12] <andypugh> Thanks, but no.
[00:11:37] <andypugh> The paths are local ones, the .conf file contains lots of lines like:
[00:12:30] <andypugh> MODPATH = /usr/realtime-$(uname-r)/modules/rtai_smi.ko
[00:13:04] <andypugh> So it is explicitly looking in a realtime directory named after your kernel version.
[00:13:50] <andypugh> But, even having fixed that to where the files really are, I get little further
[00:22:55] <andypugh> Is there a way to find when a file was last looked at?
[00:23:27] <andypugh> It would be enormously helpful to know if EMC was actually looking at rtapi.conf at all
[00:28:09] <Neo_The_User> andypugh do you want me to figure out a way to make it look for the modules in a different directory? i can check...
[00:28:33] <andypugh> Hang on a bit, I have found yet another rtapi.conf
[00:28:55] <andypugh> in /usr/local/emc2
[00:31:43] <andypugh> Aha! /usr/local/etc/emc2/rtai.conf it is!
[00:32:03] <dgarr> andypugh: the -ltu options of ls show last access time (but fstab mount options like noatime can disable updating of access time)
[00:32:34] <andypugh> I think I found the active file by changing its name
[00:32:44] <andypugh> Now to edit it...
[00:38:03] <andypugh> Progress, if not success. ' echo "yes this is the file" ' has at least shown which is the correct filr
[00:39:23] <andypugh> And now, sucess!
[00:39:38] <andypugh> Which is a cut-price version of success
[00:40:16] <andypugh> <heads off to edit the wiki>
[00:40:28] <Neo_The_User> you have wiki access??
[00:40:48] <andypugh> We all have
[00:40:54] <Neo_The_User> jeeze. i need to get a wiki account too
[00:40:55] <andypugh> It's the WWiki-way
[00:41:07] <ybit> hey you emc enthusiasts, what f/oss cam software is available?
[00:41:41] <ybit> wanting to convert cad drawings to g-code
[00:42:01] <andypugh> Neo_The_User: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?BasicSteps
[00:42:07] <Neo_The_User> Kcam?
[00:42:11] <andypugh> It's like a dummy login to baffle the bots
[00:42:53] <Neo_The_User> autocad version 2 i think does it as well
[00:42:57] <ybit> er, let me rephrase, foss linux software :)
[00:43:05] <andypugh> ybit : I thing HeeksCNC might
[00:43:39] <Neo_The_User> Kcad is open source if thats what you mean
[00:43:49] <Neo_The_User> its all in KDE which is under GNU.... I'm confused
[00:44:41] <ybit> Neo_The_User: oh, i was looking at http://www.kellyware.com/download/index.htm
[00:45:42] <Neo_The_User> forget everything i just said
[00:46:30] <ybit> yeah, looks like kcad is a screensaver
[00:46:46] <Neo_The_User> yeah i got mixed up
[00:49:51] <tom3p> conversion is often cad specific, like you need one for older acads, one for newer, (eg: >r13..) , one for mastercad, one for solidworks...
[00:50:18] <tom3p> and there's little foss, just a few scripts to peek into layers of older acads
[00:50:18] <andypugh> What is the tag for "a bit bigger and bolder" in wiki?
[00:50:39] <Neo_The_User> usually [b] [/b]
[00:50:47] <Neo_The_User> or replace b with bold
[00:50:54] <Neo_The_User> in most cases..
[00:53:16] <andypugh> <b> in this case
[00:53:18] <tom3p> = is big == i smaller ( rules on wiki are NOT html, look at 1st page )
[00:53:23] <andypugh> So like html
[00:54:34] <frallzor> * frallzor if feeling burned out
[00:54:41] <Neo_The_User> hahah
[00:54:53] <frallzor> *is even
[00:56:04] <frallzor> building a cnc-mill is pure therapy :P
[00:56:37] <Valen> lol
[00:59:01] <andypugh> I suspect it is better than hacking kernels and kernel modules
[00:59:36] <frallzor> only 1 down
[00:59:39] <frallzor> it costs :P
[00:59:59] <Neo_The_User> hacking kernels isn't _TOO_ bad.
[01:00:08] <Neo_The_User> just adding new features are.
[01:01:57] <andypugh> Flushed with partial success. How would one go about installing 2.4-pre rather than having it run-in-place
[01:02:24] <andypugh> leaving off the --enable-run-in-place doesn't do it.
[01:02:38] <Neo_The_User> cd your/emc/directory && cd src && sudo make uninstall && ./configure --prefix=/usr && make && sudo make install
[01:03:12] <Neo_The_User> just leaving out --enable-run-in-place installs to /usr/local
[01:04:44] <Neo_The_User> ermm... thats wrong sorry. cd your/emc/directory && cd src && sudo make uninstall && make distclean && make clean && ./configure --prefix=/usr && make && sudo make install
[01:05:56] <andypugh> The uninstall presumably uninstalls the RIP version, not the current installed version?
[01:06:11] <Neo_The_User> no it uninstalls the installed version
[01:06:29] <Neo_The_User> wait no wrong again
[01:06:39] <Neo_The_User> sudo make PREFIX=/usr/local uninstall
[01:06:56] <andypugh> Even if the installed version doesn't match the source being compiled?
[01:07:40] <Neo_The_User> sudo make PREFIX=/where/it/installed/to uninstall removes it from the installation directory hands down no matter what
[01:08:00] <Neo_The_User> or am i wrong yet again?
[01:08:09] <andypugh> How does it know what to uninstall?
[01:08:25] <Neo_The_User> because PREFIX is specified
[01:08:31] <Neo_The_User> im not sure really
[01:08:43] <andypugh> I am asking purely out of academic interest
[01:09:38] <Neo_The_User> I haven't installed and uninstalled emc enough to give you a straight answer.
[01:10:13] <andypugh> Hopefully my block of aluminium will arrive tomorrow and my priorities will shift from elegant kernels to pure function
[01:12:22] <frallzor> * frallzor wants packages too
[01:12:30] <frallzor> but no idea when they'll arrive :(
[01:14:31] <andypugh> Yes, darned those postal workers
[01:14:49] <frallzor> darn those UK postal workers
[01:14:53] <frallzor> they gotz me packages
[01:15:17] <frallzor> "lets get these packages going in a haste!!!" "oh wait, TEA TIME"
[01:15:22] <Jymm> Better than the US Postal workers having your pkg =)
[01:15:42] <archivist_emc> they are on strike over here
[01:15:48] <andypugh> "USPS, can lose an elephant and break an anvil
[01:15:56] <andypugh> was the phrase I heard..
[01:16:15] <frallzor> archivist royal mail only I assume?
[01:16:17] <Jymm> Actually, for the sheer volume USPS has, they are not bad at all.
[01:16:34] <archivist_emc> frallzor, yes
[01:16:56] <frallzor> im getting via ukmail
[01:17:02] <frallzor> which I've never heard of
[01:17:17] <archivist_emc> we have a few over here now
[01:17:31] <frallzor> know if ukmail.com is any good? :P
[01:17:35] <Jymm> What does a 1st class stamp cost in UK ?
[01:18:42] <frallzor> about 2 crumpets
[01:18:59] <andypugh> 37p I think
[01:18:59] <Jymm> isn't a crumpet a bakery product?
[01:19:02] <frallzor> it is
[01:19:05] <SWPadnos> 39p
[01:19:08] <frallzor> two of them
[01:19:10] <SWPadnos> 30 for second class
[01:19:25] <Jymm> so about $0.70 USD to mail a letter?
[01:19:33] <andypugh> I just print the postage direct onto the envelope nowadays
[01:19:39] <SWPadnos> no, I think it's ~1.6 UKP/$
[01:19:58] <SWPadnos> yep, $1.64
[01:20:09] <Jymm> andypugh: special software, or any UK citizen can print their own postage?
[01:20:14] <MarkusBec> MarkusBec is now known as MarkusBec_away
[01:20:24] <SWPadnos> you can do it online - I'm on the royal mail website now
[01:20:34] <andypugh> Anyone who logs into www.royalmail.com
[01:20:40] <Jymm> ah, ok.
[01:21:00] <Jymm> I wish the USPS would get that far. Only Priority Postage atm.
[01:21:14] <SWPadnos> note that the 39p rate is for a delivery aim of 1 day
[01:21:21] <SWPadnos> second class, which is 30p, is 3 days
[01:21:36] <Jymm> not much of a diff.
[01:21:50] <Jymm> I'll stick with $0.46 USD =)
[01:21:58] <SWPadnos> so it's about a nickel or so more than in the US for 3 day, and much less for 1 day (attempt)
[01:22:11] <SWPadnos> s/attempt/intent/
[01:30:58] <andypugh> But then nowhere in the UK is more than a 3 day brisk walk from anywhere else
[01:31:18] <Jymm> Isle of Man ?!
[01:31:38] <andypugh> I am not sure they are technically in the UK
[01:31:52] <Jymm> me neither =)
[01:32:59] <andypugh> The Channel Island bailiwicks of Jersey and Guernsey, and the Isle of Man are Crown Dependencies and are often not considered part of the UK,[19] though they are treated as part of it for many purposes including nationality.[20]
[01:33:06] <Neo_The_User> SWPadnos, I can't find that .ini file for EMC to make it open up in the nc_files directory. Can you help?
[01:33:45] <SWPadnos> err - if it's a quick thing, yes
[01:34:05] <SWPadnos> are you trying to set the directory that EMC looks at for nc files?
[01:34:10] <Neo_The_User> yes
[01:34:14] <SWPadnos> or set the directory where EMC starts up
[01:34:16] <SWPadnos> ok
[01:34:23] <JMS-KY> is emc2 for windows out yet?
[01:34:26] <JMS-KY> ;)
[01:34:53] <Jymm> JMS-KY: Yes, Widows 3.11
[01:35:01] <andypugh> Isn't that just in the general .ini file as "Program prefix"
[01:35:03] <Valen> sure is, even comes with a free version of windows 8
[01:35:12] <Valen> codename ubuntu
[01:35:29] <JMS-KY> i already have that version :O
[01:35:37] <SWPadnos> Neo_The_User, [DISPLAY]PROGRAM_PREFIX
[01:36:40] <andypugh> I saw Windows 7 today for the first time when a chap in the computer shop decided to show me how they have put the Mac dock at the top.
[01:37:22] <andypugh> And I might have to spend a lot of money on a new 27" iMac, 'cos they are lovely.
[01:37:31] <JMS-KY> i miss dos :(
[01:37:55] <andypugh> I don't. It's hopeless
[01:38:00] <Jymm> andypugh: Why an iMac over a MacMini + LCD ?
[01:38:18] <andypugh> Wires. I hate wires
[01:38:34] <Neo_The_User> SWPadnos, I mean the actual directory the .ini file is in
[01:38:38] <andypugh> But it is mainly the new mouse
[01:38:53] <Neo_The_User> I see no *.ini in the emc directory in my home folder
[01:38:54] <Jymm> andypugh: Eh, ok. i guess.
[01:38:56] <SWPadnos> err - you mean the command-line option to the emc script?
[01:39:11] <SWPadnos> no, it would be in ~/emc2/configs/something
[01:39:18] <Neo_The_User> oh ok :) thanks
[01:39:35] <SWPadnos> actually, ~/emc2/configs/something/something.ini, if you follow the pattern
[01:40:51] <andypugh> I was actually genuinely doing accounting in my head like "well, it is £1349, but I will be buying the mouse no matter what, and that is £55, which makes the iMac £1295, which is only just over 1k...
[01:41:11] <jfigie> Hi i am having trouble with hal_input - No input devices could be opened......... I read the section 'PERMISSIONS AND UDEV' and added a file to the rules.d directory called 50-keyboard.rules. file contains one line: SUBSYSTEM=="input", MODE="0660", GROUP="plugdev" any ideas on what is wrong?
[01:41:44] <SWPadnos> did you restart udev or reboot?
[01:41:46] <andypugh> It would be unusual to need rules for a keyboard
[01:41:53] <jfigie> no
[01:42:05] <SWPadnos> an extra keyboard, maybe
[01:42:22] <jfigie> this is the only keyboard
[01:42:27] <SWPadnos> oh
[01:42:37] <andypugh> which is presumably working outside HAL?
[01:42:39] <SWPadnos> will you be using a touchscreen?
[01:42:57] <jfigie> yes it works fine for everything else
[01:43:18] <SWPadnos> well, it'll be awfully hard to type on it if you're using any keys for HAL functions too
[01:43:30] <SWPadnos> but you may be able to use the lights for HAL output
[01:43:32] <SWPadnos> s
[01:43:54] <SWPadnos> (I'm not sure if that'll really work actually, but it could be fun to watch)
[01:43:55] <jfigie> well what I really wanted is to use some keys as inputs for hal
[01:44:48] <SWPadnos> I don't think hal_input can do that. you can select classes of functions to use (keys, lights, analog, and something else), but not a subset of one class
[01:45:01] <SWPadnos> you can of course just not connect anything you don't want to use
[01:45:43] <SWPadnos> but, those keys still work in X as well, so pressing the Z key will attempt to type a Z (and therefore select that axis), as well as activating whatever you have connected to the key_z pin in HAL
[01:45:53] <SWPadnos> AFAIK
[01:45:56] <jfigie> ok how do I use the F13 key for example as an intput
[01:46:15] <andypugh> Scroll lock and the windows key have no other uses...
[01:46:26] <SWPadnos> oh - I don't recall what the key will be called
[01:46:44] <SWPadnos> input.key_F13 maybe
[01:46:58] <SWPadnos> there will be a bit output in HAL, you can see them all with halcmd show pin input
[01:47:04] <Jymm> SHIFT+F1 == F13
[01:47:16] <Jymm> SHIFT+F2 == F14, etc
[01:47:29] <jfigie> ok This sounds easier that I was trying to make it.
[01:47:37] <andypugh> You should be able to adapt the instructions here:
[01:47:38] <andypugh> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Simple_Remote_Pendant
[01:48:03] <andypugh> To get the keyboard as an input device.
[01:48:03] <jfigie> than
[01:49:00] <andypugh> Just use an identifying string from the keyboard name
[01:51:58] <andypugh> SWP: Do you know if there is an elegant way round the fact that my installed EMC (2.3.4) won't run with the parport module installed, and the run-in-place 2.4-pre which I want to use for threading won't run without the parport installed?
[01:52:39] <andypugh> Obviously I can insmod and rmmod to switch configs, but that seems clunky
[01:52:41] <SWPadnos> no, not an elegant way around
[01:52:59] <SWPadnos> it will be necessary for that to happen though
[01:53:18] <SWPadnos> why use 2.3.4 instead of 2.4~pre all the time?
[01:53:53] <andypugh> Yes, why? Are there any reasons at all?
[01:54:00] <SWPadnos> I don't know :)
[01:54:16] <SWPadnos> if 2.4~pre works for you, then you may as well use it
[01:54:26] <andypugh> The main one is that I only seem to be able to do run-in-place from a git pull
[01:54:43] <SWPadnos> having 2.3.x around so you can check if something is a bug or regression may be useful, but you can always rmmod as necessary in that case
[01:55:03] <andypugh> I kind of had the impression that 2.4 was a flaky beta
[01:55:21] <SWPadnos> err, you mean you haven't been able to install a 2.4~pre version (via make install or by building packages)
[01:55:36] <andypugh> But then as a hobbyist I probably should be using the flaky betas to see how flaky they are
[01:55:56] <SWPadnos> you don't have to update and compile every day you know ;)
[01:56:54] <andypugh> Yes, that is correct. I tried a make install and it said I had configured for run in place, and at that point my 3 brain cells went on strike.
[01:57:23] <SWPadnos> ok, here's the answer to that one
[01:57:46] <SWPadnos> run in place and installed are mutually exclusive, and the make system is smart enough to know what you chose at configure time
[01:57:54] <andypugh> I can scroll back to Neo's answer, but I am curious to see if you have the same one
[01:58:03] <SWPadnos> so it refuses to install for RIP, and it refuses to setuid for non-RIP
[01:58:13] <SWPadnos> just reconfigure
[01:58:29] <SWPadnos> ./configure, and leave out the --enable-run-in-place option
[01:58:33] <andypugh> I tried that.
[01:58:37] <SWPadnos> then make clean and make
[01:58:41] <SWPadnos> then sudo make install
[01:58:44] <andypugh> and that
[01:59:08] <andypugh> it seems that --enable-run-in-place is sticky
[01:59:21] <SWPadnos> delete config.cache and try again
[01:59:37] <andypugh> Now, that I didn't try
[01:59:54] <andypugh> ( I am not fond of command lines, you can't explore)
[02:00:06] <SWPadnos> sure you can
[02:00:09] <SWPadnos> tab is your friend
[02:00:30] <SWPadnos> especially if you have a very large screen, if you're just looking for a list of all available commands
[02:00:41] <SWPadnos> (there are probably around 3000 of them)
[02:01:59] <andypugh> GUI's tend to have a context too. eg I wouldn't just find that "delete" existed, it would probably offer me a list of deletable things..
[02:02:32] <andypugh> But that is a fully-argued point by now
[02:02:35] <SWPadnos> sure - type rm<space> and then hit tab twice, and it will list all the files in the directory
[02:02:53] <SWPadnos> if you know it starts with a c, rm c<tab><tab> will list the files that start with c
[02:03:25] <andypugh> I think we are talking about different levels of abstraction
[02:03:31] <SWPadnos> heh
[02:03:45] <SWPadnos> there sure aren't little pictures at the command line
[02:04:45] <andypugh> Indeed. delete config.cache would probably be a checkbox marked "start from scratch" somewhere. That is sort-of my point
[02:05:19] <SWPadnos> oh, a GUI for the make system, not for the comand-line and file management
[02:05:56] <andypugh> In this case, yes,
[02:06:41] <andypugh> I am not saying there should be one, just that noobs like me would be able to guess their way through one more easily.
[02:07:11] <SWPadnos> sure
[02:07:13] <andypugh> And yes, I can see the arguments why the likes of me shouldn't be let loose with a compiler
[02:10:04] <andypugh> Completely random question prompted by the fact that I tried to VNC to the CNC box and it is shut down..
[02:10:24] <andypugh> Does RTAI interfere with software shutdown and WoL
[02:11:05] <SWPadnos> don't know about WoL, but it does interfere with shutdown on some systems
[02:12:44] <andypugh> I have a feeling that if I boot the CNC box and don't run RTAI then software power-off works, and WoL might. But generally I have to shut down, wait for the shutdown screen, then hold the power button down for 30s. And to restart I actually have to walk round the house to the garage, unlock the door and turn it on.
[02:13:13] <SWPadnos> that doesn't seem like such a bad thing, if it's expected to be running a machine
[02:13:40] <SWPadnos> since you'd have to walk out there to put the workpiece on the table, turn on the driver power supply, etc.
[02:14:13] <andypugh> Any workarounds on shutdown? It is a server board and getting shutdown without an immediate restart from the switch is tricky some days
[02:15:21] <SWPadnos> someone had posted a kernel compile option or kernel load option to the user list, I think
[02:15:36] <SWPadnos> but I don't recall who it was, what they said, or if it works
[02:16:10] <andypugh> Which bit seems like a good thing? Booted by itself the PC is impotent. The drivers and power supplies are in a seperate bay with their own switch
[02:17:27] <andypugh> which is not to say I haven't thought about the possibilities of WoL, webcams and remote switches
[02:18:41] <SWPadnos> sure, but turning on the PC manually seems like the least of your worries when you already have to go out to the machine to actually do anything with it
[02:20:59] <jfigie> Hi I am back. Reboot was all I needed after adding the rules file Thanks for your help.
[02:21:10] <SWPadnos> sure
[02:21:50] <SWPadnos> there should be a way of restarting udev without rebooting (like /etc/init.d/udev restart or something), but it's always good to be sure it'll work after a reboot anyway
[02:23:16] <jfigie> now it would be nice if there was a pyvcp widget that was a numeric entry device.
[02:23:18] <andypugh> SWPadnos: A fair point, but the button is a bit flaky, and has to be held in a long time.
[02:23:37] <SWPadnos> I'd suggest getting a new button
[02:24:14] <SWPadnos> RS should have some that would work
[02:24:22] <andypugh> 2-way switch soldered to the motherboard and mounted in the front panel
[02:24:40] <andypugh> And I am not convinced it is hardware-flaky
[02:25:26] <andypugh> The box can be configured to respond to the switch in different ways, or not at all. (1U server)
[02:26:49] <SWPadnos> ok - it may be set to wait for 4 or 5 seconds before powering up/down
[02:27:26] <andypugh> But if RTAI is known to meddle with shutdown, that's my question answered. I can live with it, and will stop looking for something I have mis-configured
[02:27:41] <andypugh> it is 30 seconds
[02:27:53] <SWPadnos> the problem is ACPI, parts of which can cause latency spikes
[02:28:01] <SWPadnos> other parts control shutting down the PC
[02:28:22] <andypugh> Then sometimes it does an immediate restart, cue another 30s
[02:28:23] <SWPadnos> so it's not clear which parts can be enabled without scrweing up latency, while still allowing a soft powerdown
[02:28:43] <SWPadnos> usually, when a system is booting, the power button will immediately shut it off
[02:28:53] <SWPadnos> but that's not necessarily usual for a server system like that
[02:30:31] <andypugh> It was cheap (£100), it mounts in the same box as all the other parts, it manages 2092nS latency. I can live with a flaky switch
[02:34:49] <andypugh> If anyone is bizarrely interested, the PC is the leftmost unit here: http://picasaweb.google.com/lh/photo/tpgXEB-7Jatf_3Cks8n2Xg?feat=directlink
[02:34:56] <Valen> andypugh check out make xconfig or menuconfig
[02:35:16] <Valen> also is it a multi processor machine?
[02:35:20] <andypugh> It is
[02:35:40] <Valen> if you compile the SMP kernel your latency will probably improve
[02:35:53] <andypugh> It did..
[02:36:10] <Valen> ahh lol all good then ;->
[02:36:37] <andypugh> 25,000 nS single CPU, 2092nS SMP with a dedicated RTAI CPU
[02:36:47] <Valen> yeah SMP is made of win
[02:37:18] <tom3p> i've been following the thread as much as possible for a couple days, would you wiki up how you got 2.1uS latency? ( and is this headless ?)
[02:37:50] <andypugh> Cradek described it best, it is a purely aesthetic thing, but having a CPU dedicated to RTAI just seems right
[02:38:34] <Valen> this the max jitter number isnt it?
[02:39:04] <andypugh> No, this is a totally standard Ubuntu installation on an old bit of kit from eBay
[02:39:17] <andypugh> And yes, the 2092 is jitter
[02:39:29] <Valen> I'm getting 2458 on mine
[02:39:38] <andypugh> I can't run a 2uS base thread
[02:39:53] <Valen> but that is with the nvidia binary driver running
[02:39:59] <L84Supper> coreboot can handle the power_off without acpi, it might be doable from usesrpace with factory BIOS, have to try sometime
[02:41:46] <andypugh> I was getting 2500 max jitter with 2.3.0 using the binaries from here: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?EMC_With_Custom_Kernel
[02:42:32] <Valen> yeah thats what I was using, but i'm running 2.3.2 I think
[02:43:03] <andypugh> You should be able to just do steps 1 and 6.2 and get an SMP system running 2.3.0 in moments.
[02:43:34] <Valen> it wasn't paticularly difficult
[02:43:36] <andypugh> However, you can't upgrade that with apt-get for reasons I think I now understand
[02:43:57] <Valen> yeah the emc in the repos is compiled against non-smp kernels
[02:44:31] <Valen> I wonder if the maintainers would consider perhaps an emc-smp meta package that would pull SMP kernels and EMC's from repos
[02:44:35] <Valen> that would be awesome
[02:44:54] <SWPadnos> we don't have an "official" SMP build
[02:44:55] <Valen> and leave the stock uniprocessor stuff unchanged
[02:45:01] <SWPadnos> so that's not really an option yet
[02:45:11] <andypugh> And the binary kernel in that link is compiled without the parport kernel module, which is great for 2.3.x, but is a problem for 2.4.x
[02:45:22] <Valen> could there be an official-unofficial one?
[02:46:14] <SWPadnos> there's an experimental one on the linuxcnc website, but it's not in the package repos, and I don't think we'll put it there until it's "official"
[02:46:31] <andypugh> One core to bind them all...
[02:47:03] <andypugh> Having a dedicated RTAI core just seems so "right"
[02:47:05] <Valen> but it wont be official because you dont "need" it
[02:47:18] <SWPadnos> when 8.04 came out, I don't think there was an RTAI version that we could all boot and run on our multi-core or SMP systems
[02:47:33] <cradek> is there now? (that would rock)
[02:47:38] <SWPadnos> so since we couldn't all use it, we figured that would carry over to the community at large
[02:47:41] <SWPadnos> I don't know
[02:47:50] <Valen> andypugh means i can nvidia drivers run on my box
[02:48:03] <SWPadnos> hopefully I'll get some time to tinker not long before/after 10.04
[02:48:49] <SWPadnos> I don't think I've heard about problems with the SMP builds in /experimental, so that may be a good starting point
[02:49:07] <cradek> if it's the one I did for my P3, it's superbly old
[02:49:18] <Valen> the one on the wiki?
[02:49:19] <SWPadnos> no, these are the ones ehj did for the Atom
[02:49:24] <cradek> oh ok
[02:49:30] <SWPadnos> the ones you did are still there too
[02:51:10] <SWPadnos> (and happily running some large power supplies :) )
[02:52:39] <andypugh> Anyway, I couldn't build an SMP + RTAI + parport kernel, but Neo_The_User seems to like this sort of thing and came up with a minimal .config and instruction page that let me compile a kernel and RTAI that does both current flavours of EMC2 and as a bonus is even faster (though if I ever want token ring or packet radio, I am in trouble)
[02:54:17] <andypugh> SWPadnos: Then let me inform you of a problem with the SMP builds in /experimental... No Parport so no 2.4.x
[02:54:27] <SWPadnos> well, he hasn't updated it ;)
[02:54:48] <SWPadnos> did it run on your machine with 2.3.x?
[02:55:12] <andypugh> But for 2.3.o then install straight from the .debs is the way to go
[02:55:23] <andypugh> Yes but no
[02:55:27] <Valen> there anything funky in 2.4?
[02:55:39] <SWPadnos> it handles parports differently
[02:55:41] <andypugh> Threading works?
[02:55:44] <SWPadnos> (among other things)
[02:55:52] <Valen> I'm using mesa
[02:56:10] <SWPadnos> 7i43 or a PCI card?
[02:56:14] <Valen> PCI
[02:56:20] <SWPadnos> ok, not a problem then
[02:56:28] <Valen> so any major new coolness?
[02:56:31] <andypugh> the experimental debs give you a nice, fast, reliable 2.3.0
[02:57:08] <SWPadnos> 2.4 isn't out, it's the development cersion
[02:57:11] <SWPadnos> version
[02:57:17] <cradek> ehj was nice to contribute those but it gives us (and users) a pain if they aren't kept up to date
[02:57:34] <Valen> yeah I know, I was wondering if there was some major new coolness in 2.4
[02:57:45] <SWPadnos> probably - check the git log :)
[02:57:45] <andypugh> I broke it all with an apt-get when I should have realised that custom-kernel == build from source
[02:58:36] <andypugh> cradek: I think it is fair that it only troubles the naive and dumb users
[02:59:05] <cradek> I didn't mean to imply that.
[02:59:09] <andypugh> Valen: Lathe threading is reportedly a whole lot better in 2.4
[03:00:50] <andypugh> cradek: I meant to type "fair to say", ie the experimental SMP builds are what they are, and they work well. But if you do daft stuff like an apt-get update then they break.
[03:00:51] <cradek> coordinate system rotation (which works right), nurbs (which don't work quite right)
[03:01:15] <Valen> cordinate system rotation would be handy
[03:01:38] <cradek> some kinematics stuff, not relevant to anyone except robot folks
[03:01:57] <andypugh> Are there many robot folks?
[03:02:05] <Valen> I build robots
[03:02:10] <Valen> but they don't run emc ;->
[03:02:11] <cradek> it's hard to tell how many of anyone there are
[03:03:44] <andypugh> Indeed. I have no real idea how many users there are for my dynamometer control software, and that is only released within one company. (albeit quite a big one)
[03:04:07] <Valen> what sort of dyno?
[03:04:17] <andypugh> Car engine
[03:05:13] <Valen> interesting, I was thinking how nice it would be to have a megasquirt work with the dyno so you can do a full map of an engine, rather than just pulls
[03:06:29] <Valen> so you use the dyno to hold the engine at a set RPM while you vary fuel + spark etc to get the optimum power for a paticular map point, then vary the throttle one point keeping the engine the same and repeat the mapping
[03:07:09] <andypugh> It doesn't actually control the dyno, it performs structured experiments of calibration parameters and acts as the glue between the dyno control firmware, the commercial ECU cmms softare and the logging system.
[03:07:51] <Valen> funky
[03:07:58] <andypugh> Valen: Yes, it can do that, but you lack ambition :-)
[03:08:05] <Valen> so do they run dyno's in the manner I was saying?
[03:08:11] <Valen> orly
[03:08:22] <Valen> how "should" it be done then ;->
[03:08:25] <andypugh> The gasoline guys do
[03:08:38] <andypugh> We do diesels
[03:08:50] <Valen> they need an ecu now? ;->
[03:09:02] <andypugh> 12 degrees of freedom and 4 noise factors
[03:09:31] <andypugh> (mathematically insoluble in finite time)
[03:09:54] <Valen> they don't just pour the fuel in the top and let it sort it self out?
[03:10:02] <andypugh> Yes, modern diesels are far more complex than gasoline
[03:10:41] <Valen> I thought they were typically direct injection and all they really changed was quantity and timing?
[03:11:03] <Valen> with multi sequence injection type stuff for stratified charge burns
[03:11:57] <andypugh> There are up to 5 injections per stroke, each of which is controlled for fuel mass and timing. At the same time we control boost pressure (variable vane turbo) and exhaust gas recirculation volume
[03:12:42] <andypugh> We also have full control of injection pressure
[03:13:10] <Valen> variable vane turbo, that sounds nasty
[03:13:30] <Valen> they do variable cam timing type things yet or not bothered too much given the RPM range?
[03:15:04] <andypugh> Fuel injection is disturbingly open-loop so we have a scheme where tiny amounts of fuel are injected on coast-down one cylinder at a time while watching the rank speed, to see what minumum time it takes to actually inject some fuel
[03:15:16] <andypugh> No vvt on diesel yet
[03:15:51] <Valen> I was looking at electric valving on petrol to replace butterfly valves and get really really variable timing
[03:16:19] <andypugh> But I am looking forwards to the day we get to control the valves electrically. A boosted 4-stroke diesel can switch to 2-stroke once the turbo is spinning...
[03:17:05] <cradek> just blow through for exhaust?
[03:17:58] <Valen> nah still run it electrically
[03:18:20] <andypugh> Context: Current 2.0 litre diesel family car engine 168hp. 1979 Z1 superbike, 1.0 litre, 7ohp.
[03:18:20] <andypugh>
[03:18:23] <Valen> andypugh, that would get you a decent power gain off the line
[03:19:06] <cradek> andypugh: heh can you retrofit my bus?
[03:19:20] <andypugh> cradek: yes You don't inject fuel till you need it, so you can purge with fresh air
[03:19:26] <Valen> I like it because you can get rid of pumping losses which is like 20-30 % on a petrol engine
[03:19:38] <cradek> andypugh: neat
[03:19:51] <cradek> can you retrofit my bus? you only have to beat 8mpg or so
[03:20:53] <andypugh> Nothing new: http://en.wikipedia.org/wiki/Napier_Nomad (a diesel, uniflow 2-stroke aero engine, with afterburner)
[03:21:46] <andypugh> Err, yes. We get 45-50mpg out of that 168hp engine
[03:22:45] <cradek> I think the only thing that would get me to trade in or sell my little vw would be to find the same model with the diesel
[03:24:07] <cradek> seems like we're getting more sporty diesels now, in the US
[03:25:08] <andypugh> You are, Fiesta and Kuga are due there next year\
[03:25:24] <Valen> nice chatting ttyl
[03:25:26] <andypugh> (Kuga is mine)
[03:25:31] <cradek> can't wait to have one in 6-10 years
[03:26:11] <andypugh> http://www.motorauthority.com/blog/1024128_ford-bringing-kuga-c-max-to-the-u-s-after-focus
[03:27:23] <andypugh> Which VW?
[03:27:27] <cradek> man, how long until we get decent looking cars back?
[03:27:52] <cradek> these big-assed no-back-window things are everywhere
[03:28:03] <cradek> baby SUVs I guess
[03:28:12] <cradek> '03 GTI VR6
[03:28:28] <cradek> even the new GTIs are uglier now
[03:28:30] <andypugh> You don't like Martin Smith's styking then?
[03:28:47] <cradek> I don't know what that is
[03:29:16] <MattyMatt> isn't he the dude that designed the imac ?
[03:29:25] <cradek> no idea :-)
[03:29:43] <andypugh> Kuga/Fiesta/Mondeo
[03:29:51] <cradek> mine is this model: http://dealerrevs.com/car/441462
[03:30:01] <MattyMatt> and by design I don't mean the circuit, just the case
[03:30:04] <andypugh> Follow the link
[03:30:21] <cradek> yeah, I did
[03:30:55] <andypugh> All the current euro-fords look so similar that I can't tell some models apart.
[03:31:02] <MattyMatt> gas turbine hybrids are surely the way forward
[03:31:23] <andypugh> Though I do like the styling, so that's fine by me
[03:31:47] <cradek> if I ever find a decent starter car I'll make a full electric for my tiny commute
[03:34:01] <andypugh> I rather suspect that gas-turbine hybrids will be the EDO-DIMMS of the automotive world, outmoded before they are even developed
[03:34:36] <MattyMatt> yeah I thought of fuel cells straight after
[03:35:05] <MattyMatt> that's the proper way to run an electric on liquid fuel3
[03:35:33] <andypugh> I bought a powermac 4400, one of only 2 computers ever to use EDO DIMMS
[03:35:57] <andypugh> cradek: How tiny is your commute? http://www.vectrix.com/
[03:36:34] <MattyMatt> I thought my P100 used EDO. the 486 used FPRAM
[03:36:39] <cradek> 8mi - short enough for bicycle if it was safe (it's not)
[03:37:17] <MattyMatt> hilly?
[03:37:30] <andypugh> EDO is normal, but were they DIMMS or SIMMS?
[03:37:32] <cradek> hilly and narrow 2 lane highway with no shoulder
[03:37:34] <MattyMatt> if it's flat, bet a bakfiets
[03:37:57] <cradek> I've biked it but it feels stupid the whole time
[03:38:18] <andypugh> No, even with offline key-transposition that made no sense
[03:39:19] <MattyMatt> get a bakfiets :) it's a dutch flatbed bike that can take a similar load to a Ford Transit
[03:39:30] <andypugh> Pedal faster? At 50mph it should be OK
[03:39:41] <MattyMatt> but utterly useless on the slightest hill
[03:40:52] <andypugh> Unless carrying a load of helium or unwrapped vacuum?
[03:41:50] <MattyMatt> the bak (dutch for the front bit) is made of wood, so the vacuum would drip
[03:42:11] <SWPadnos> oh, are those the ones that people carry babies and groceries in?
[03:42:25] <SWPadnos> kind of like trikes made of mostly wood
[03:42:37] <MattyMatt> yeah.
[03:42:50] <SWPadnos> those are darned strange
[03:43:13] <MattyMatt> overkill for babies & groceries. a dutch momma can get 3 kids & a weeks shopping on a 2 wieler
[03:43:19] <andypugh> The dutch are strange. Nice, but strange
[03:44:02] <SWPadnos> one thing I found odd was that nobody had a nice bike (in Amsterdam) - they get stolen too often
[03:44:14] <SWPadnos> so everyone is doing everything on these old POS boinger bikes
[03:44:34] <MattyMatt> it's all you need
[03:45:02] <andypugh> On a sunday, out of town, you will see folks in lycra on serious kit
[03:45:10] <MattyMatt> I find it strange how people can't ride a bike here without weraing lycra
[03:45:26] <andypugh> I can
[03:45:30] <SWPadnos> there ought to be a licensing program for that
[03:45:31] <andypugh> And do
[03:46:24] <MattyMatt> ok, you need 2 gears in britain because of the hills, but nobody needs a mountain bike or suspension for the road
[03:46:47] <SWPadnos> depends on the roads
[03:47:04] <andypugh> You need more than 2
[03:47:20] <SWPadnos> and in Vermont, the 21-speed is just barely enough
[03:47:54] <andypugh> The time the Milk Race went up Winnatts pass is the only time I have seen professional cyclist pushing.
[03:48:27] <SWPadnos> hmmm
[03:48:34] <SWPadnos> even with transposition, that makes no sense
[03:48:39] <MattyMatt> yeah that's my 2nd gear too :) If standing on the pedal doesn't do it, get off and push
[03:49:39] <andypugh> The classic alpine climbs are long, but not all that steep. In the UK we have roads so short it isn't worth wigling, but 1:3
[03:51:15] <andypugh> MattyMatt: You asked if there was a fee to spectate at the enduro last weekend. See if you can see a single spectator: http://www.youtube.com/watch?v=26qfN6s-BKg
[03:52:07] <MattyMatt> "The Milk Marketing Board also sponsored the Football League Cup from 1981-1986, renaming it the Milk Cup."
[03:52:17] <MattyMatt> I'd forgotten about that
[04:03:34] <andypugh> Eek! look at the time!
[04:06:18] <MattyMatt> I think 4am is a good time to wake up :)
[04:06:42] <MattyMatt> * MattyMatt lives on internet time
[04:15:01] <MattyMatt> SWPadnos: the Milk Race was the UK equivalent of the Tour de France
[04:16:10] <MattyMatt> but now the TdF does part of the race here usually
[04:17:30] <MattyMatt> that's not my idea of cycling tho. hills & bikes don't mix IMHO
[04:18:55] <MattyMatt> I came back from Holland and the skinny gears on my racer exploded on the first hill I came to
[06:00:49] <pjm> good morning
[09:23:19] <MarkusBec_away> MarkusBec_away is now known as MarkusBec
[09:42:23] <_Poincare> _Poincare is now known as Poincare
[09:47:21] <MarkusBec> MarkusBec is now known as MarkusBec_away
[10:09:01] <MarkusBec_away> MarkusBec_away is now known as MarkusBec
[10:20:20] <MarkusBec> MarkusBec is now known as MarkusBec_away
[10:21:57] <MarkusBec_away> MarkusBec_away is now known as MarkusBec
[12:20:35] <alex_joni> http://networkchallenge.darpa.mil/
[12:25:54] <tarzan_> i thought it was machine tool related..
[12:27:08] <archivist> I get a timeout...the interweb is stuffed with updates to ubuntu
[12:28:21] <MrSunshine> yeey, my cnc stuff arived at the post office today =)
[12:28:25] <MrSunshine> but not computer to run it :(
[13:05:55] <awallin> does anyone have access to this http://www.informaworld.com/smpp/content~db=all~content=a916388183 ??
[13:05:58] <awallin> I would be interested.
[13:07:19] <awallin> someone on the ETH (zurich) campus kindly emailed me last time I asked for something from this journal I think :)
[13:40:59] <cradek> awallin: looks like you can have it for only $37
[13:49:14] <tom3p> awallin didnt find it free but stumbled on this http://vision.ai.uiuc.edu/~wanghc/research/cad_cam/paper.pdf ( iput the title into google w/o quotes and got a load of papers )
[13:50:39] <tom3p> the paper begins with 'varying engagement' ( how much meat teh cutter has when turning a corner.. a classic problem in edm orbiting.
[13:52:37] <tom3p> teh patsh it creates for pockets are very interesting, almost a childs crayon dwg , the path is so curvelinear
[13:53:31] <tom3p> to keep the feed up? it definitly doesn't 'turn corners'
[13:58:43] <awallin> tom3p: thanks, I think I've seen this before(?).
[13:58:56] <awallin> the papers are free if your uni has access.
[14:02:52] <tom3p> aint got no uni ;) and library system , even thru local uni's in chicago, dont have it
[14:06:01] <tom3p> found it, for free, in National Library of Australia, Canberra, main reading room (sorry)
[14:06:20] <tom3p> http://catalogue.nla.gov.au/Record/1577438
[14:07:41] <archivist> bus ticket is going to cost!
[14:13:16] <SWPadnos> lots of frequent flyer miles though
[14:22:49] <Valen> tom3p you an aussie?
[14:23:15] <archivist> a googler
[14:23:51] <MrSunshine> dumdidum .. cnc stuffs in about 40 minutes .. yeey =)
[14:24:04] <MrSunshine> problem is that i need to find some fans for cooling:/
[14:26:49] <Valen> what you cooling?
[14:29:08] <MrSunshine> the driver chips =)
[14:29:22] <MrSunshine> according to where i bought it 24V+ needs cooling
[14:29:40] <Valen> probably needs heatsinks as well if they arent supplied
[14:30:06] <MrSunshine> they are
[14:30:15] <Valen> computer store then
[14:30:32] <MrSunshine> got some PII cpus i wont use anymore with fans on them i guess they should do =)
[14:31:27] <MrSunshine> but will be very fun to open the package, even tho i have no computer atm to drive it with :/
[14:31:34] <MrSunshine> more then an very old laptop that has parport =)
[14:31:42] <Valen> pentium 2's are not trivial as i recall
[14:31:52] <Valen> the slot 1 ones
[14:32:27] <MrSunshine> aye its slot ones ... trivial ?
[14:32:31] <MrSunshine> what do you mean by that? :)
[14:33:42] <Valen> taking the fan of a slot 1 cpu is not easy
[14:33:48] <Valen> (think pain in the ass)
[14:33:55] <MrSunshine> ahh, well i guess i have something more i can dismantle =)
[14:34:20] <MrSunshine> put the cpu cooler for my 140W cpu on it maybe :P
[14:34:24] <MrSunshine> should do ;)
[14:34:24] <Valen> I'm going to play with firewalls for a while back later ;->
[14:34:30] <Valen> that would manage I spose
[14:34:43] <Valen> I'd nip over to a computer store, 80mm fans are < $5
[14:35:06] <MrSunshine> Valen, ye true =)
[14:35:10] <MrSunshine> got some 80mm laying around also :)
[14:35:14] <MrSunshine> or maybe its 120
[14:35:18] <skunkworks_> I have used superglue to attach new fans to some verions of the slot 1 package. :)
[14:35:21] <MrSunshine> oh well, more air :P
[14:36:05] <Valen> that or not bother and see if you actually need it ;->
[14:36:20] <MrSunshine> Valen, well cooling is always good =)
[14:36:28] <MrSunshine> and a 120 should cool the whole damn board so :P
[14:36:36] <Valen> yeah, but its gotta be working first ;->
[14:36:47] <Valen> dont forget the blue LED's
[14:37:04] <tom3p> Valen: not from Oz, from Chicago ( close )
[14:37:16] <MrSunshine> blie LED's ?
[14:37:20] <MrSunshine> for pimping it up ? :)
[14:37:43] <MrSunshine> have to put that on BEFORE i try it
[14:37:43] <Valen> Ahh, I'm in sydney (300km from canberra)
[14:37:50] <MrSunshine> or maytbe get one of those neon light fans
[14:38:11] <Valen> MrSunshine, that is what i was suggesting, they are usually a LED
[14:38:22] <MrSunshine> aye true =)
[14:38:36] <MrSunshine> should get myself a computer dedicated to the mill later on
[14:38:42] <MrSunshine> will be run with my quadcore to start with :P
[14:38:54] <Valen> heh
[14:38:55] <MrSunshine> so realy hope the parport protection is good enough so a backfire wont burn the computer :)
[14:39:02] <Valen> make a SMP kernel ;->
[14:39:13] <Valen> actually think about getting a PCI port then
[14:39:20] <MrSunshine> a dedicated one so i can make the whole chassi into the cnc box .. powersupply, computer, driver and all
[14:39:21] <Valen> they are pretty cheap I believe
[14:39:27] <MrSunshine> ive got a pci parport board
[14:39:28] <MrSunshine> 2 ports on it
[14:39:41] <Valen> that will probably do for anything up to mains ;->
[14:40:21] <MrSunshine> time to hit the gym soon also =)
[14:40:22] <MrSunshine> yey
[14:40:38] <MrSunshine> its a good day )
[14:40:38] <MrSunshine> =)
[14:41:00] <Valen> have the fun
[14:41:01] <MrSunshine> then to draw up and create the motor mounts ...
[14:41:07] <Valen> I think i might have icecream and waffles
[14:41:16] <MrSunshine> Valen, damn you ... daaamn you
[14:41:17] <MrSunshine> :)
[14:41:26] <Valen> (it is 2:00 AM here)
[16:04:48] <frallzor> * frallzor yawns
[17:01:01] <frallzor> * frallzor likes milling cibatool
[17:16:30] <skunkworks_> jmkasunich: http://www.cnczone.com/forums/showpost.php?p=684350&postcount=86
[18:18:22] <frallzor> how come so quiet today? :P
[18:23:53] <skunkworks_> everyone is partying at work... (halloween)
[18:25:32] <tom3p> skunkworks_: do you know what the control side is like on mariss's 'analog stepper? std step&dir?
[18:40:08] <frallzor> halloweenie
[18:41:33] <skunkworks_> I am sure it is going to be step/dir
[18:41:48] <skunkworks_> That is his market :)
[18:42:07] <cradek> yes otherwise how could it work with any existing software? (troll!!)
[18:43:14] <skunkworks_> ;)
[18:44:02] <andypugh> Hmm, this might not be my lucky day. I just had my milling spindle motor go "pop" and blow the breaker. 3 times. Smoke too....
[18:44:24] <skunkworks_> didn't you just smoke some stepper drives also>
[18:44:26] <skunkworks_> ?
[18:44:33] <skunkworks_> step away from the cnc machine!
[18:44:37] <skunkworks_> ;)
[18:44:44] <frallzor> murderer
[18:44:50] <andypugh> Yes, but the drives was my fault.
[18:45:09] <andypugh> This was running no-load..
[18:51:50] <andypugh> Does anyone know what you would expect to find by way of resistance on the commutator of a permanent magnet motor?
[18:52:24] <celeron55> a cordless drill motor has something like 0.5 or 1 ohms
[18:53:03] <andypugh> This is a 230V motor.
[18:54:01] <andypugh> So I would expect higher. However I can't figure out which segment would be expected to connect to which.
[18:54:11] <celeron55> that thing had something like 100 ohms http://celer.oni.biz/wp-uploads/2009/10/dremelkopio-480x360.jpg
[18:54:28] <celeron55> per winding
[18:55:22] <andypugh> How many windings?
[18:55:28] <celeron55> many
[18:55:45] <celeron55> they're pretty much supposed to be connected from one side to the opposite... so that when you put woltage to the brushes, it goes through a winding
[18:56:06] <celeron55> obviously :-)
[18:56:16] <andypugh> That was what I thought, but then I wondered if it was more complicated that that.
[18:56:31] <andypugh> As just using one winding at a time seems inefficient.
[18:57:56] <celeron55> indeed. but i don't know, probably there is a reason :P
[18:59:59] <andypugh> Starting with one commutator segment I had 127 ohms to about half the others, and open circuit to the other half. The other half have about 4 ohms between all of them.
[19:00:32] <andypugh> I suspect that that is not as it should be, but I am not sure.
[19:01:22] <celeron55> at least when there's very few ohms at some point between it and the opposite side, there is a problem
[19:02:49] <cradek> could you hook your scope to the brushes and give it a spin with a drill? I think it should be easy to see a short that way.
[19:03:15] <celeron55> connect the meter to the brushes and turn the motor slowly, at least then you'll see what the electricity sees 8)
[19:04:08] <celeron55> that's a good idea, too, if you happen to have a scope
[19:05:22] <andypugh> I have, but it is rather fuzzy and doesn't trigger reliably.(I found it in a skip, probably for good reason)
[19:26:11] <MrSunshine> what happends if i connect a bipolar stepper A B, D C insted of A B, C, D ? :)
[19:28:00] <mozmck> it runs the other way.
[19:29:02] <mozmck> turns the other direction that is...
[19:34:44] <MrSunshine> mozmck, only ill effect of it ?
[19:34:57] <MrSunshine> i was thinking as you turn it from being + + to + - .. should mess up the steps
[19:36:07] <mozmck> as long as the A and B are the two ends of one coil, and the C and D are the two end of the other coil, swapping C and D or A and B will just change the motor direction.
[19:36:48] <MrSunshine> mozmck, humm ok =)
[19:37:19] <mozmck> but don't get one end of each coil together or you'll have problems!
[19:37:30] <bluntz_> hehe
[19:37:56] <bluntz_> could measure ohms
[19:38:45] <mozmck> yep, I do that all the time to make sure I have the right wires together. A lot of times I don't even know what is supposed be A vs B, but I know the two go together!
[19:39:13] <bluntz_> sweet
[19:39:14] <MrSunshine> what do you mean with go together ?
[19:39:19] <MrSunshine> on a 8 wire stepper or what? :)
[19:39:48] <andypugh> On an 8-wire you can put the coils in series and back to back. Normal current, zero torque. Very puzzling
[19:40:02] <mozmck> I mean they are the two ends of the same coil
[19:40:17] <andypugh> Especially when you have done that because the data sheet is wrong..
[19:40:20] <bluntz_> largest ohms reading
[19:40:28] <bluntz_> yup
[19:41:31] <MrSunshine> ye realy need to find that god damn multimeter
[19:41:39] <MrSunshine> cant for my life figure out wher eive put it :)
[19:41:45] <MrSunshine> or remember where i used it last
[19:42:01] <andypugh> Anyway. My milling head motor clearly has a shorted winding. Is it the worst idea anyone has ever had to cut the wires to that commutator segment?
[19:42:46] <mozmck> I don't know about that. I would think it would lose power at least.
[19:42:50] <bluntz_> andy I shudder to think of it
[19:44:51] <bluntz_> whered u cut@
[19:44:51] <andypugh> You will note a tone of disquiet in my voice, but I was planning on gettting some milling done today
[19:44:55] <andypugh> I would cut the wire where it is welded to the commutator segment.
[19:45:09] <bluntz_> that may work fine
[19:45:39] <bluntz_> anywhere else wood b spooky
[19:45:44] <andypugh> There is a chance that the motor will stop on that segment and not start, but this is only a temporary idea.
[19:46:09] <mozmck> I wouldn't think it could make it any worse than it is now!
[19:46:17] <bluntz_> add a big cap
[19:46:50] <andypugh> It would certainly be cheaper in fuses than the current situation.
[19:47:11] <andypugh> I wonder what the drive will think of it, though?
[19:49:31] <mozmck> what kind of drive? vfd?
[19:49:34] <bluntz_> may not like the impedance mismatch
[19:50:13] <bluntz_> never know less u try
[19:50:16] <cradek> before doing anything ruinous I'd take it to a motor shop
[19:51:50] <mozmck> those seem to be hard to find these days. used to be one near here that closed years ago.
[19:52:57] <andypugh> It is a DC motor, but seems to be a sensorless drive, and I can see that not liking a missing pole
[19:52:58] <bluntz_> is the wire black and sooty in one spot?
[19:53:16] <bluntz_> or the whole feild melted?
[19:53:27] <andypugh> I can get a new motor from the supplier for £65, so probably not worth trying for a repair.
[19:53:52] <bluntz_> smell it
[19:54:08] <andypugh> The windings actually look fine, if slightly blackened but that looks like brush debris
[19:54:26] <andypugh> Ah, it smells of burnt out motor, no doubt about that.
[19:54:28] <bluntz_> look for burn thru in varnish
[19:54:44] <andypugh> There was smoke, too.
[19:54:53] <bluntz_> ugggh
[19:55:02] <bluntz_> magic smoke not good
[19:55:47] <bluntz_> brushes?
[19:56:06] <andypugh> Look fine, basically as-new (it has done very little work)
[19:56:28] <bluntz_> fuse?
[19:57:07] <bluntz_> a black spot somewheres
[19:57:08] <andypugh> The fuse in the drive is fine, the breaker in the fuse box has popped 4 times (16A) and the fuse in the plug once (5A)
[19:57:44] <andypugh> (I thought at first it was a loose connection in the drive)
[19:58:28] <bluntz_> 5amps likely a short
[19:59:18] <andypugh> Yes, sorry. I thought I said? 0.06 ohms in one spot, 3k everywhere else
[20:01:48] <andypugh> Think is, as I have a VFD for the lathe, might I be better fitting a 3-phase motor?
[20:03:45] <bluntz_> if its just layin aroud....
[20:05:02] <andypugh> No, I would have to buy the motor. The VFD is already hooked up to the EMC machine in the box. I was thinking about switching between motors with a relay.
[20:07:23] <bluntz_> hard to believe transistors go up to 200 amps now
[20:09:38] <bluntz_> I got those uln2003an's (4) and picked up a stepgenie for 6 bucs
[20:10:07] <bluntz_> theres a development board for 25
[20:10:20] <bluntz_> all set up for 1 motor
[20:11:12] <bluntz_> you could use it also for the switch?
[20:12:13] <bluntz_> or mayby a solenoid
[20:12:51] <andypugh> Short-term I could just plug and unplug the motors. They are connected with Speakon loudspeaker connectors...
[20:13:22] <bluntz_> lol just use a wall shitch
[20:13:33] <bluntz_> switch even
[20:13:50] <andypugh> Wall switches are not ideal for 3-phase..
[20:14:17] <bluntz_> dimmer switch?
[20:15:47] <andypugh> "Attention! Speakon is not to be used as a mains electrical connection"
[20:16:12] <andypugh> http://www.neutrik.com/uk/en/audio/210_612654417/NL4FX_detailtechnical.aspx?title=NL4FX
[20:16:37] <andypugh> But as they are a very nice 250V / 50A connector with 4 poles, I am ignoring that advice.
[20:16:55] <andypugh> They would be good for steppers too.
[20:19:35] <andypugh> Anyway, 230V DC motor to suit the existing (cheap) drive in the milling head (no reverse rotation) is £65. I can get a 500W 3-phase motor from eBay for £35, wire it to the existing VFD and get industrial-strength control and a reverse facility. What would you do?
[20:20:57] <bluntz_> try a new set of brushes first
[20:21:18] <bluntz_> but thats just me
[20:22:09] <bluntz_> maybe even revarnish windings
[20:22:25] <bluntz_> and cross fingers
[20:22:30] <andypugh> Huh? The brushes are fine, the motor makes smoke, blows fuses and has a shorted winding.
[20:23:28] <bluntz_> can you see sparks from the brush?
[20:23:49] <andypugh> I don't get the chance.
[20:24:02] <bluntz_> you said you saw brush debris
[20:24:12] <andypugh> Only a little bit
[20:24:21] <andypugh> Black dust, like you always see
[20:25:28] <andypugh> Hmm, if it is blowing fuses through the drive, that probably doesn't say good things about the state of the drive either, does it?
[20:26:55] <bluntz_> hard to see how a winding and an upwind 16 a fuse got blown without tripping the 5
[20:27:14] <bluntz_> or burning out the brushes
[20:27:20] <andypugh> The 16A is an MCB, so rather faster than a fuse.
[20:27:45] <bluntz_> ahh some power spike from supply?
[20:27:53] <andypugh> Maybe.
[20:28:28] <andypugh> I am just going to see if the breaker trips without the motor connected to the drive.
[20:29:28] <bluntz_> motors prolly fine with some solder joint run togeather
[20:29:57] <bluntz_> doubt the wire is actually burnt thru
[20:34:55] <bluntz_> but you can sure smell burnt copper if it is
[20:37:01] <andypugh> There are no solder joints, all spot-welded commutator
[20:37:15] <andypugh> Drive with no motor is fine.
[20:37:49] <andypugh> I am going to see how it goes re-connected and not starting at the failed coil, just to check the drive is still OK-ish
[20:38:51] <bluntz_> uggh
[20:39:31] <bluntz_> you dont have anything else to test with?
[20:54:10] <andypugh> Like what?
[20:55:19] <bluntz_> shopvac
[20:55:56] <bluntz_> might work
[20:56:42] <bluntz_> so might the starter from your car...hehe
[20:58:40] <bluntz_> cordless drill motor?
[21:00:43] <frallzor> anyone know if these guys http://cgi.ebay.com/3KW-WATER-COOLED-SPINDLE-MOTOR-ENGRAVING-MILLING-GRIND_W0QQitemZ230392795570QQcmdZViewItemQQptZLH_DefaultDomain_0?hash=item35a47b11b2 are 3-phase
[21:04:51] <andypugh> bluntz: It's a 240V DC drive. I don't have anything similar
[21:05:29] <skunkworks_> is the motor acutally 240v?
[21:05:38] <andypugh> frallzor: I seem to recall from cnczone that they are, and you need a very high-frequency inverter to run them
[21:06:28] <andypugh> (It says 400Hz in the spec, and most inverters won't go that high)
[21:06:44] <andypugh> Yes, it says 230V DC on the end cover
[21:06:47] <bluntz_> how many amps?
[21:06:59] <andypugh> It doesn't say that, but it is 550W
[21:07:12] <bluntz_> 2 amp
[21:07:22] <andypugh> Anyway, I have concluded that the motor is dead, and the drive must be too.
[21:07:52] <cradek> it says in the auction that it's 3ph
[21:08:33] <frallzor> seems I can get a nice danfoss inverter
[21:08:38] <andypugh> Connect motor to drive, power up drive, motor turns a fraction, pop, lights go out. smell of burning. Considering that this is with the drive stopped and so the motor shouldn't be even trying to turn, this is a bad sign.
[21:09:06] <frallzor> if my model is the right one It can do 1000Hz =)
[21:09:31] <bluntz_> dont reconnect it
[21:09:51] <andypugh> No, it is not going anywhere but the skip now.
[21:10:30] <bluntz_> try a fan motor or something
[21:10:36] <andypugh> I never liked the drive anyway, it has an odd habit of fighting you when you try to turn the chuck, even when stopped.
[21:11:25] <andypugh> It's a 230V DC motor. They don't exist in great numbers in a domestic setting.
[21:11:52] <bluntz_> doesnt matter
[21:12:08] <andypugh> What doesn't matter?
[21:12:41] <bluntz_> you may burn up a less rated motor but
[21:13:06] <bluntz_> if amps arnt too high it may run
[21:13:19] <bluntz_> just to test
[21:13:58] <andypugh> I only have one other 12V DC motor, and I need that to start my bike (and it costs $600 for a new one)
[21:14:07] <bluntz_> hehe
[21:14:17] <bluntz_> 144 max on that 1
[21:15:09] <bluntz_> no old cordless drills dead in the garage?
[21:15:35] <bluntz_> I must have 4
[21:15:54] <andypugh> Previous to the failure I could turn on the power and the spindle didn't move.
[21:16:27] <andypugh> But you have a point. I do have an old mains powered drill.
[21:17:00] <andypugh> And they are DC field-coil motors run on AC,
[21:17:18] <andypugh> So that would probably work.
[21:17:44] <bluntz_> maybe see
[21:18:05] <andypugh> If I don't check back in in an hour call the undertaker (it will be too late for the ambulance)
[21:18:12] <bluntz_> hehe
[21:18:23] <bluntz_> follow smoke officer
[21:20:07] <bluntz_> "I wanna die in my sleep like my grandfather" "not screaming like the other 4 people in the car"
[21:27:49] <pjm> I have a question about tuning Stepper systems; I have migrated my control from parport to a 7i43, which is running very nicely. I want to optimise the speeds and accellerations etc of the x/y/z axis, and reduce the following error values, is there a procedure to do this?
[21:27:55] <andypugh> OK, that is pretty conclusive. Dead driver too, it runs full-speed as soon as it is powered up.
[21:28:36] <andypugh> I think that short might have killed the speed-feedback bits, or something.
[21:28:42] <bluntz_> what a shame
[21:28:52] <andypugh> pjm: Do you have encoders?
[21:29:01] <pjm> no, its open loop
[21:29:17] <andypugh> In that case isn't following error meaningles?
[21:29:33] <pjm> not really because its still used internally in emc
[21:29:45] <pjm> i.e. the stepgen_maxaccel value etc
[21:30:10] <andypugh> Yes, but I don't think it has a great deal to do with stepper tuning.
[21:30:33] <pjm> i could just set the ferror and min_ferror to high values, but i dont think that is the right thing to do
[21:30:37] <andypugh> (I am just keeping the conversation going until someone with a clue appears)
[21:30:43] <pjm> me too ;-)
[21:30:46] <bluntz_> hehe
[21:30:57] <pjm> but i guess i first need to optimise the max speed per axis
[21:31:23] <pjm> which i can do, but its tuning the accelleration and stepgen maxaccel etc
[21:31:54] <andypugh> You can do it all in stepconf
[21:32:07] <pjm> ah i'm using a 7i43 with hostmot2
[21:32:09] <andypugh> (If stepconf works with a 7i43)
[21:32:23] <pjm> its parport only as far as i know
[21:32:34] <pjm> i guess i need a stepconf for hm2
[21:32:37] <andypugh> Yes, it will be.
[21:32:46] <pjm> to play with the speed/accell values etc
[21:33:10] <pjm> i just thought i'd ask whilst picking thru the integrators manual etc
[21:33:41] <andypugh> However, the max speed and acell are a function of the PSU and stepper drivers, so that is unlikely to have changed much
[21:33:49] <pjm> i have tweaked my closed loop spindle speed control and it is now excellant, even when rigid tapping it keeps the spindle speed perfect
[21:34:08] <pjm> ah yes but in the old parport days, everything was clocked down due to parport IO speeds
[21:34:25] <pjm> i've got my microsteping drivers set at 51200 steps / rev
[21:34:26] <andypugh> The lower "granularity" of the hardware step generation might well allow higher speed, but I think max-accell will be the same
[21:35:03] <pjm> the problem is it was never really optimised in the parport days
[21:35:15] <pjm> so this is what i need to do now the controller is 'proper'
[21:36:01] <andypugh> Just max out the axis speeds in the ini file and see how fast you can go then, and then back it off a bit :-)
[21:36:34] <pjm> LOL yes that is possible, i just wondered if there was a proper way to do that!
[21:36:40] <andypugh> Without any actual position feedback you can't really do much actual tuning.
[21:37:12] <pjm> i guess then i just need to optimise the speed / accel of each axis
[21:37:40] <pjm> my Z is working very well indeed, on a pecking cycle its acting pretty damn fast
[21:38:35] <andypugh> You could try running a program that has a sharp stop and reverse (small radius) at one end, a long travel then a large radius at the other and run that cyclically. Keep increasing the accell till the motors stall at the fast end, or until you see the position creeping as it misses steps.
[21:39:46] <bluntz_> I found this interesting http://74.125.47.132/search?q=cache:8JGfdydFfJoJ:emergent.unpythonic.net/01188134101+emc2+ic+driver&cd=14&hl=en&ct=clnk&gl=us
[21:39:58] <pjm> yes thats an idea, is it possible to mod the accell value without restarting
[21:42:03] <andypugh> I don't know.
[21:42:51] <andypugh> You would need to look in the HAL guide and see if axis max accel is a parameter or a pin. If it's a pin you could wire it to a pyvpc custom control.
[21:42:53] <pjm> i need to do some more rtfm'ing
[21:43:05] <pjm> ah yes thats a good idea
[21:43:14] <pjm> i can use the hal meter to check that out easily
[21:43:30] <pjm> good thinking!
[21:46:57] <bluntz_> andy did you build the drive yourself?
[21:50:44] <andypugh> I am not seeing any max-accel parameters in the hal configuration
[21:51:00] <andypugh> No, it is the one that comes with the mini-mill
[21:52:53] <bluntz_> I need to build in some kind of overcurrent into my controller so that doesnt happen to my motors
[21:53:20] <andypugh> Mine is (or perhaps was) one of these http://www.kbelectronics.com/data_sheets/kblc_data_sheet.pdf
[21:54:26] <pjmcnc> andypugh, the MAX_ACCELERATION = etc is in the ini file
[21:55:02] <andypugh> Yes, I was hoping it was then used to set a parameter visible in HAL, but it seems not.
[21:55:29] <pjmcnc> ah ok, i was just picking through with the hal meter to see if i could see it
[21:56:42] <archivist> been out to help commission a new manual Sieg tonight
[21:57:19] <archivist> looks well made ish, but why dont the lazy bums adjust them properly
[21:57:24] <andypugh> It is used to set stepgen.n.maxaccell, so actually it should be available
[21:58:36] <andypugh> You can't wire a slider to it (I don't think) as it is a parameter
[21:59:59] <andypugh> But in the HAL configuration viewer you can type HAL commands, and "setp stepgen.0.maxaccel 100" works fine
[22:00:27] <andypugh> Because proper setup takes longer than building and would double the cost?
[22:00:57] <andypugh> pjmcnc: As you are probably not using stepgen, you might have to look elsewhere.
[22:04:09] <pjmcnc> apparently the hostmot2 stepgen uses these params too
[22:04:55] <andypugh> There you are then, fiddle with setp in the HAL Configuration viewer.
[22:08:43] <pjmcnc> doing that now, thanks for the pointer!
[22:09:25] <archivist> dont go to close to stepper limits
[22:09:55] <andypugh> I think the idea is to find the stepper limits
[22:10:31] <andypugh> Though I have heard that stalling a stepper can demagnetise them (rapidly oscillating field is basically a degausser)
[22:10:51] <andypugh> I am not sure if there is any truth in that
[22:10:59] <bluntz_> wow
[22:11:45] <bluntz_> maybe permanent damage to a PM motor?
[22:13:28] <bluntz_> that looks like a sweet drive andy
[22:13:44] <bluntz_> how much was it?
[22:13:54] <andypugh> It came with the mill
[22:14:12] <andypugh> I think they are about $75
[22:14:30] <bluntz_> nice 180 vdc
[22:15:42] <andypugh> http://cgi.ebay.com/KB-Power-KBPC-240D-Penta-Drive-DC-Motor-Speed-Control_W0QQitemZ270474074028QQcmdZViewItem?rvr_id=&itemid=270474074028#ht_500wt_780
[22:15:59] <andypugh> (I think that the KBPC has superceded the KBLC)
[22:18:03] <EbiDK|AWAY> http://www.eevblog.com/ This might interest the electronics geeks here :)
[22:23:24] <frallzor> is there a command to turn of the "tool" when seeing the paths being milled? my tool wont follow anymore
[22:23:36] <frallzor> *off
[22:24:12] <frallzor> in that little window to the upper right that is, with the paths
[23:42:58] <frallzor> http://www.youtube.com/watch?v=DFM140rju4k some nightly entertainment