#emc | Logs for 2010-01-07

[00:26:55] <MarkusBec> MarkusBec is now known as MarkusBec_away
[00:50:22] <krushia> danimal_garage: looking for power resistors
[00:50:24] <krushia> ?
[00:51:55] <mshaver> is anyone here running the experimental karmic packages?
[00:52:19] <cradek> hi matt!
[00:52:27] <mshaver> I ask because when I run "/etc/init.d/realtime start"...
[00:52:32] <mshaver> hi chris!
[00:53:12] <mshaver> iget .\n.\n.\n etc (meaning I get a dot followed by a newline)
[00:53:31] <mshaver> needless to say, I can get emc running
[00:53:37] <mshaver> can't
[00:53:39] <mozmck> hi matt, I think I made those packages.
[00:53:50] <mshaver> so it's your fault!
[00:53:56] <mozmck> I guess so!
[00:54:02] <mshaver> great!
[00:54:07] <mshaver> does it work for you?
[00:54:07] <cradek> that's just a script, so you can just look and see what it's doing
[00:54:39] <mshaver> i.e. try to find out what is sending the dots
[00:54:41] <mozmck> I haven't had that problem. I have had an intel computer with onboard graphics that won't boot...
[00:55:17] <mshaver> darn! At least I can boot...
[00:56:09] <mozmck> my dual core amd runs it fine and at least two other computers I tried it on.
[00:58:00] <mshaver> maybe I'll try to insmod things one at a time
[00:58:45] <mozmck> run this command and see what it returns: www.LarkenCNC.com
[00:59:00] <mozmck> oops, wrong thing in the clipboard!
[00:59:11] <mozmck> try this: rtai-config --prefix
[00:59:22] <mshaver> it returns a web page :)
[00:59:31] <mshaver> ok, hold on
[00:59:59] <mshaver> /usr/realtime-
[01:00:37] <mozmck> that should be correct. I think my first set of packages didn't set that correctly
[01:03:01] <danimal_garage> krushia: yes
[01:03:02] <mshaver> the funny thing is, lsmod | grep rtai shows math, sem, shm, fifos, sched, and hal loaded
[01:03:14] <mshaver> once you cntl-C out of the script
[01:03:24] <danimal_garage> got some?
[01:04:37] <jt-plasma> crap, I forgot to put anti-freeze in my tractor
[01:05:08] <krushia> danimal_garage: a few. waht value are you looking for?
[01:07:11] <danimal_garage> krushia: manual says a serries of 4 resistors, and they're 300watt, 5 ohm each
[01:07:25] <danimal_garage> jt-plasma: ouch! is it ok?
[01:08:00] <krushia> danimal_garage: ah, don't have any that high
[01:08:17] <krushia> I have a bunch of them but they are all under 2 ohm
[01:10:43] <danimal_garage> ah, bummer
[01:11:15] <krushia> 1.7 down to .12
[01:11:26] <krushia> all 600 watt
[01:11:39] <krushia> i'll never get rid of these :P
[01:15:29] <danimal_garage> any reason why i cant just get a 20 ohm resistor?
[01:16:00] <krushia> would be hard to find one
[01:16:00] <danimal_garage> i'd assume i'd need to go from a 300watt to a 1200 watt, right?
[01:16:05] <krushia> yes
[01:16:23] <krushia> they typically don't go that high
[01:16:36] <krushia> well they do, but we call them heating elements :)
[01:16:39] <danimal_garage> oh
[01:16:43] <danimal_garage> lol
[01:34:20] <PCW> Danimal: http://www.amazon.com/Camco-Bake-Element-2400W-240V/dp/B000IJWZWO
[01:34:56] <PCW> (24 Ohm)
[01:35:55] <Jymmm> resistance changes as temperature changes
[01:36:09] <PCW> Who cares
[01:37:53] <danimal_garage> lol $20? i think i can handle that
[01:37:58] <danimal_garage> thanks!
[01:38:14] <danimal_garage> you think 24ohm is close enough?
[01:38:38] <PCW> Probably wont slow down quite as fast is all
[01:39:25] <danimal_garage> would it hurt to use the 15ohm one i have?
[01:40:24] <PCW> The magic number for 20 Ohms is 2880W at 240V
[01:40:25] <PCW> Dont know about 15 Ohm, depends on the current rating of the brake IGBT
[01:40:45] <krushia> Jymmm does have a point though
[01:46:24] <PCW> Well asuming the element is nichrome it shouldnt change more than a few percent (~100 PPM tempco)
[01:48:40] <danimal_garage> how hot is it actually gunna get anyways
[01:49:31] <PCW> Depends on how often you stop from high speed
[01:49:48] <tom3p> maybe wind your own to the correct resistance http://www.surplussales.com/Wire-Cable/Resistance.html need a ceramic core and mounts
[01:53:52] <PCW> Danimal: definitively hot enough to get badly burned!
[01:56:24] <tom3p> the heat generated can be huge, like the wire glows ( the wire is inside the stove element ) but here's commercial stuff http://www.isotekcorp.com/dataSheets/PDF/irp.pdf
[02:00:49] <tom3p> i like the idea of using electric logs, reminds me of winter in chicago apartments.
[02:01:56] <danimal_garage> i'll be sure not to touch it
[02:02:34] <danimal_garage> i wonder if i could get the right resistance from a soldering iron. then at least it'd be functional :)
[02:04:25] <PCW> The brake resistor runs off the DC bus (up to 400 VDC) watch out what you connect there...
[02:05:58] <danimal_garage> thanks, will do
[03:16:41] <danimal_garage> phew, finally got my servo amps installed and mostly hooked up
[03:16:53] <danimal_garage> damn 2 day job
[03:16:53] <Dave911> danimal_garage: >>are brake R's specific for the drive, or are they somewhat generic?
[03:16:55] <Dave911> Pretty generic. The Ohm and watt ratings are important..
[03:16:57] <Dave911> There is a company in northern KY that used to make most of them for AB, Siemens etc in the US.
[03:17:27] <danimal_garage> thanks Dave911
[03:17:51] <cradek> mechanical stuff is the worst
[03:18:20] <Dave911> http://www.postglover.com/ I used to live in Cincinnati and I worked for Siemens... when we were out of stock we would just have the customers buy them directly from these guys. Same parts without the markup. :-)
[03:21:32] <Dave911> AutomationDirect.com also sells braking resistors..
[03:34:57] <danimal_garage> thanks alot Dave911, i'll check it out
[03:35:20] <danimal_garage> cradek: yea, it came out pretty clean though, so i'm happy with it
[03:35:48] <danimal_garage> i got maybe an hour left in servo wiring if i take my time
[03:36:31] <danimal_garage> and that's just the wires between the pico and mesa boards
[03:37:12] <danimal_garage> then it's off to limit switch land
[03:38:00] <danimal_garage> and then the fun task of configuring and tuning
[03:39:51] <Dave911> Anytime ...
[03:51:38] <krushia> hey, a fellow ex-Siemens employee
[04:27:19] <mshaver2> Everyone is probably asleep now, but I figured out what my earlier problem was: I have to run "/etc/init.d/realtime start" (and emc, and latency-test) as root because the CheckLoaded function tests that /dev/rtai_shm is writable.
[04:27:44] <cradek> your udev configuration is wrong for running emc as non-root then I think
[04:27:56] <mshaver2> hey! you're up!
[04:28:00] <cradek> dangit
[04:28:04] <mshaver2> ha!
[04:28:07] <cradek> I always do that wrong
[04:28:42] <mshaver2> that dev file is crated with the owner and group as root and the permissions at 660
[04:29:23] <mshaver2> I suppose there's a nice graphical tool for configuring udev?
[04:29:33] <cradek> uh yeah right
[04:29:39] <cradek> one sec
[04:30:04] <mshaver2> I'll try "gnome-udev-configurator" :)
[04:30:37] <cradek> hm, I bet it's in the rtai package
[04:30:50] <mshaver2> you mean the problem
[04:32:18] <cradek> the udev entry that's supposed to handle rtai_shm for you
[04:32:44] <cradek> chris@buster:/etc/udev/rules.d$ cat emc2.rules
[04:32:45] <cradek> KERNEL=="RTAI_SHM" SYMLINK=="rtai_shm" MODE="0666"
[04:32:45] <cradek> DEVPATH="/module/rtai_fifos" RUN="/etc/udev/scripts/rtai_fifos.sh"
[04:33:21] <cradek> chris@buster:/etc/udev/rules.d$ dpkg -S emc2.rules
[04:33:21] <cradek> emc2: /etc/udev/rules.d/emc2.rules
[04:33:26] <cradek> nope I am wrong - it is in the emc2 package
[04:33:34] <mshaver2> so, i'll make that file, or look at what's there...
[04:33:44] <cradek> but ... it's not in master anymore
[04:33:55] <cradek> maybe someone found a better way, or it's different for newer systems
[04:34:08] <cradek> I haven't touched this stuff for years now :-/
[04:34:30] <mshaver2> there's no emc2.rules file in that dir
[04:34:48] <mshaver2> if I make the file, is it read only at boot time?
[04:35:07] <cradek> http://git.linuxcnc.org/gitweb?p=emc2.git;a=tree;f=debian/extras-Ubuntu-6.06/etc/udev/rules.d;h=32cabebbd79de015af6e864db3beeead48eb368f;hb=45d27a393866097d36ca2666ed0747b8102e93a2
[04:35:23] <cradek> looks like we put that in our dapper packages but not our hardy packages
[04:35:29] <Jymmm> Eh, use knoppix - no security to worry about =)
[04:35:48] <cradek> it may depend on the rtai version, or god-knows-what-else
[04:36:31] <mshaver2> there's no scripts dir under /etc/udev either...
[04:36:43] <cradek> [btw, sure kicks ass to have our releases tagged in git - all projects should be as good as us at doing that]
[04:36:58] <cradek> /etc/udev/rules.d
[04:37:21] <Jymmm> cradek: tagged? (md5?)
[04:37:33] <cradek> Jymmm: revision control system tagged
[04:37:58] <cradek> iow, I can see exactly what source makes up every version we've ever made
[04:38:04] <mshaver2> no, I mean the dir refered to in emc2.rules" DEVPATH="/module/rtai_fifos" RUN="/etc/udev/scripts/rtai_fifos.sh"
[04:38:14] <cradek> oh, hmmmm
[04:38:16] <Jymmm> cradek: ah
[04:38:16] <cradek> I see what you mean
[04:38:25] <cradek> his rtai version might not need that script thing
[04:38:34] <mshaver2> maybe udev in karmic is different somehow
[04:38:45] <cradek> the first line may be what you need to get the permissions on rtai_shm set right
[04:38:55] <cradek> (or something much like it)
[04:38:59] <mshaver2> I'll make a file like that & see!
[04:39:07] <cradek> yeah try line 1
[04:43:53] <mshaver> I made the file, but it didn't make any difference. I'll try it after a reboot. Maybe these rules are only read then.
[04:44:04] <cradek> /etc/init.d/udev restart
[04:44:11] <mshaver> ok!
[04:45:51] <mshaver> nope. no go :(
[04:46:28] <cradek> /dev/rtai_shm is still not 666?
[04:47:19] <cradek> try just KERNEL=="rtai_shm" MODE="0666"
[04:47:35] <mshaver> ok
[04:47:40] <cradek> if you typed it by hand, did you get your == vs = right?
[04:47:49] <mshaver> i cut/pasted
[04:50:13] <mshaver> nope: 660
[04:50:43] <mshaver> wait a minute...
[04:51:40] <mshaver> nope, still 660
[04:52:46] <cradek> you did another /etc/init.d/udev restart?
[04:53:28] <mshaver> yes
[04:53:43] <mshaver> that's what the "wait a minute" was
[04:56:12] <cradek> can you run udevadm monitor
[04:56:19] <cradek> then in another shell try starting realtime
[04:56:24] <cradek> see what events you get, if any
[04:56:26] <mshaver> ok!
[04:58:42] <mshaver> looking through all this stuff for rtai_shm related lines:
[04:58:52] <mshaver> KERNEL[1262840225.299530] add /module/rtai_shm (module)
[04:58:52] <mshaver> KERNEL[1262840225.299558] add /devices/virtual/misc/rtai_shm (misc)
[04:59:25] <mshaver> UDEV [1262840225.317111] add /devices/virtual/misc/rtai_shm (misc)
[04:59:42] <cradek> ok now .. uh ....... use that information to know what to put in your udev rule file
[05:00:18] <mshaver> UDEV [1262840225.328294] add /module/rtai_shm (module)
[05:00:51] <mshaver> I was hoping for some sort of smoking gun...
[05:01:25] <cradek> well the smoking gun is the wrong permissions on rtai_shm - we just don't know how to fix it :-/
[05:01:35] <cradek> what's your udev rule currently? is it the second thing I guessed?
[05:01:36] <Jymmm> chmod 777
[05:02:05] <mshaver> yes: KERNEL=="RTAI_SHM" MODE="0666"
[05:02:21] <cradek> no that's not what I typed
[05:02:23] <cradek> one sec
[05:02:29] <cradek> try just KERNEL=="rtai_shm" MODE="0666"
[05:02:30] <mshaver> Jymmm: don't think I didn't think about doing that!
[05:02:34] <mshaver> ok
[05:03:01] <cradek> Jymmm: it'll go away at reboot - udev stuff is ephemeral
[05:03:05] <Jymmm> mshaver: :)
[05:03:16] <cradek> mshaver: note lowercase
[05:06:06] <mshaver> well, that solves one problem: I can now do /etc/init.d/realtime start as a normal user
[05:06:29] <cradek> yay
[05:07:12] <mshaver> now when I start emc I get:
[05:07:17] <mshaver> RTAPI: ERROR: failed to map shmem
[05:07:17] <mshaver> HAL: ERROR: could not open shared memory
[05:07:25] <mshaver> looking at dmesg...
[05:07:35] <Jymmm> grp membership???
[05:07:36] <cradek> huh
[05:07:46] <cradek> does this kernel+rtai work for moses??
[05:08:21] <mshaver> nothing more in dmesg
[05:08:28] <mshaver> he says it does
[05:08:43] <cradek> you didn't have realtime running when you tried to start emc did you?
[05:09:02] <cradek> are you running 2.3 or master?
[05:09:18] <Jymmm> * Jymmm pulls out of his ass... do you have o be a member of a group to use shared memory, kinda like when you want to use serial ports?
[05:09:28] <mshaver> nope, I did a realtime stop first
[05:09:36] <cradek> Jymmm: I think that's what we just fixed
[05:09:41] <Jymmm> ah
[05:10:01] <mshaver> running http://www.linuxcnc.org/experimental/Karmic/emc2_2.3.5-pre0_i386.deb
[05:10:24] <mshaver> latency-test fails with the same error too
[05:11:15] <cradek> but you're getting /dev/rtai_shm with 666 perms?
[05:11:29] <mshaver> Jymmm is on the right track though, since I can run it as root, it must be some sort of permission thing
[05:11:43] <mshaver> I'll check...
[05:12:28] <mshaver> 666 root:root
[05:13:32] <mshaver> maybe Moses runs it as root; he is a Windows guy ;)
[05:13:46] <cradek> do you have "* hard memlock 20480 #EMC2" in /etc/security/limits.conf?
[05:13:58] <mshaver> hold on...
[05:15:12] <mshaver> yes, the last line in the file
[05:15:22] <cradek> hm, ok
[05:15:34] <cradek> I think I'm out of clues then
[05:15:44] <mshaver> yea, mee too
[05:15:54] <cradek> well we solved one
[05:16:00] <cradek> have you tried touchy yet?
[05:16:03] <mshaver> it's not a tragedy, I can run it as root if need be
[05:16:17] <mshaver> no, I need a touch screen
[05:16:24] <mshaver> where are the cheap ones?
[05:16:28] <cradek> you're not going to inflict that on a customer are you? I'll curse you under my breath if so
[05:16:49] <cradek> ebay - wish there was a stable source, but no
[05:16:59] <mshaver> not a smithy customer, maybe a guy whose lathe I've been working on for the last 10 years
[05:17:37] <mshaver> any criteria? serial, usb, capacitive, light beam type?
[05:17:57] <cradek> 'works with linux'
[05:18:10] <mshaver> mshaver hasn't fooled with a touchscreen since 1987
[05:18:21] <cradek> mine stops working if my fingers are wet - would be nice if you could find one without that 'feature'
[05:18:24] <mshaver> riiiight
[05:18:33] <mshaver> what do you use?
[05:18:51] <cradek> it's an ... um intellitouch?
[05:18:57] <cradek> I think
[05:19:08] <mshaver> ...and how small (physical and resolution) can it be?
[05:19:27] <Jymmm> Wow... I never realized Miriah Carey was so well endowed
[05:19:35] <cradek> elo, surface wave technology, glass
[05:19:45] <mshaver> there are some little 7"-9" ones available
[05:19:55] <cradek> mshaver: touchy is very flexible about screen size
[05:20:03] <cradek> I know it will happily work on 800x600
[05:20:18] <mshaver> Well, I do mean to try it!
[05:20:32] <cradek> I bought a 9"? and it sucked. the touchscreen part worked for about 5 minutes.
[05:20:47] <Jymmm> cradek: used?
[05:20:49] <cradek> I spent more time hacking on drivers than it kept working afterward
[05:20:52] <cradek> no, new
[05:21:01] <mshaver> I've just got a sample of Mesa's 3x20 borad to try, so that's next on my list
[05:21:06] <Jymmm> cradek: would it still work on M$ ?
[05:21:08] <cradek> some crap product meant for wankers to put in their cars
[05:21:23] <cradek> no, it actually failed, thinking one spot was constantly being touched
[05:21:29] <Jymmm> ah
[05:21:44] <cradek> the display still works, so I can use it when I need a portable/temporary screen
[05:21:53] <mshaver> yep, those are the car wanker ones I was talking about
[05:21:59] <cradek> but I'd never recommend using one for a real application
[05:22:28] <cradek> mshaver: it's throwing money away... buy an elo or microtouch
[05:23:18] <mshaver> ok - I'm really tired of struggling with junky stuff
[05:23:18] <mshaver> it's almost my full time occupation!
[05:23:22] <Jymmm> Come on, you know you want the slide out and tilt up 7" touch screen =)
[05:23:48] <mshaver> Jymmm: I would, if it worked.
[05:24:28] <Jymmm> mshaver: A friend did for his car pc
[05:24:58] <mshaver> they've even got 'em motorized
[05:25:04] <Jymmm> My only issue is the tlet mechanics fail in them a lot
[05:25:09] <Jymmm> tilt
[05:26:15] <mshaver> I've never seen one in person. I'm 48 & marries, so me and my friends are too poor to afford any of that! Maybe one of my son's friends will show up with one someday...
[05:26:32] <Jymmm> lol
[05:26:52] <Jymmm> just hit a electronics store
[05:27:01] <Jymmm> best buy or whatever
[05:27:36] <mshaver> might do that one day - if I bought one there I could return it when it breaks
[05:28:39] <mshaver> Well, the big hand is past the 12, I've got to take my Geritol and go to bed. Good night all!
[05:29:02] <Jymmm> * Jymmm kicks mshaver walker out from under him
[05:29:19] <mshaver> Get off my lawn!
[05:29:22] <Jymmm> HE'S FALLEN AND CANT GET UP!
[05:29:53] <mshaver> You'll get old too, and then it won't be funny! :)
[05:30:09] <Jymmm> yeah it will
[05:30:32] <mshaver> It will be to me! OK, over & out!
[05:31:11] <Jymmm> I'll install BRB's all over the place 6" above the floor connected to an air raid siren
[05:31:44] <Jymmm> I may not be able to get up, but you aint gonna sleep till you get me some help damnit!
[07:10:43] <Dave911_> Dave911_ is now known as Dave911
[09:08:55] <lilalinux_away> lilalinux_away is now known as lilalinux
[10:16:06] <piasdom> g'mornin all
[12:02:13] <Yoshi47> can i technically take a parallel cable and just wire it directly to my stepper drivers since they are fairly small?
[12:02:28] <Yoshi47> if so someone got a link for what pins do what?
[12:02:55] <eric_unterhausen> it's in the integrator's and user's manual
[12:03:12] <eric_unterhausen> but it's also configurable
[12:04:00] <Yoshi47> eric_unterhausen, thanks, so you think it would be fine? im using easydrivers
[12:04:17] <eric_unterhausen> I wouldn't do it
[12:04:32] <Yoshi47> feedback voltage?
[12:04:46] <eric_unterhausen> it might not drive it
[12:05:05] <eric_unterhausen> and there is the possibility that you could fry your motherboard
[12:05:11] <archivist> drive voltage/current from the pins is not large
[12:05:22] <Yoshi47> isn't it 5v?
[12:05:26] <archivist> ish
[12:05:38] <eric_unterhausen> mobos almost never are any more
[12:05:41] <Yoshi47> but i only need a high low into my easydrivers,
[12:05:45] <eric_unterhausen> because they don't have to be
[12:06:01] <archivist> they can have resistors in series as well, some are 3.3 v
[12:06:14] <eric_unterhausen> it probably will work, you asked if it would be fine:)
[12:06:20] <Yoshi47> is there a cheap breakout board that you recommend? i look on the site but they all too overkill i think for this tiny machine
[12:06:35] <eric_unterhausen> cnc4pc has a cheap one
[12:06:47] <eric_unterhausen> there are a couple of others
[12:07:09] <archivist> for mine a kluge a buffer from a few ttl chips or a uln2003
[12:08:14] <archivist> if your stepper driver includes an opto input then it needs a lot more current
[12:09:08] <Yoshi47> so this is my best cheap bet http://www.cnc4pc.com/Store/osc/product_info.php?cPath=33&products_id=45
[12:10:07] <eric_unterhausen> yes
[12:10:24] <archivist> make your own is cheaper :)
[12:10:51] <eric_unterhausen> there are designs on cnczone
[12:11:30] <eric_unterhausen> I just find that I can't really build things cheaper than that if I have to order parts
[12:11:35] <archivist> I that one has chips in sockets for ones little accidents :)
[12:11:41] <archivist> I see
[12:17:41] <Yoshi47> here is the drivers im using http://www.schmalzhaus.com/EasyDriver/
[12:22:03] <archivist> so no opto in as far as I can see
[12:23:23] <archivist> may well work with direct connections bot DO check grounds to make sure no motor noise(electrical) can effect the PC,
[12:23:50] <archivist> breakout board with opto fixes that
[12:25:06] <Yoshi47> so that board from cnc4pc will do that job for me then?
[12:25:15] <archivist> yes
[12:33:24] <Yoshi47> thanks
[12:33:37] <Yoshi47> * Yoshi47 scravanges for parts to build something with 3 axis!
[13:49:08] <erwin> erwin is now known as Guest87679
[14:44:16] <mozmck> cradek_ this kernel+rtai does work for me. I remember now that I forgot (didn't know) to put the emc2.rules in the rtai package.
[14:45:21] <mozmck> seems like I had to put a * soft memlock 10240 in /etc/security/limits.conf as well as the hard memlock too.
[14:58:28] <ries> Is there a list of errors with the resolutions and/ or explanations for Axis? I am getting a error I don't understand "Linear move on line 3 would exceed joints 2's positive limit"
[15:00:42] <pjm> ries it means that your G00 or whatever move would go beyond the dimension you have on axis 2
[15:02:10] <cradek_> mozmck: wonder what problem he's still having then - he does have the memlock thing, and we figured out the udev rule.
[15:02:15] <cradek_> cradek_ is now known as cradek
[15:02:26] <ries> pjm: Hmmmm
[15:03:23] <cradek> often you have your origin set wrong if you get something like that error
[15:04:30] <archivist_attic> you can see the extents in axis and where your path crosses the extents
[15:04:58] <cradek> but if it's an initial entry move (which I bet it is, considering it's line 3 of the program) AXIS won't show it
[15:05:47] <SWPadnos> or lines 1 and 2 were not used to set G21 as intended ... :)
[15:05:56] <cradek> heh
[15:06:06] <ries> cradek: it's indeed during start
[15:06:17] <jepler> sparkfun free day is starting to look like sparkfun fail day. An hour before the event starts, and their website already melted. "SparkFun Electronics is Temporarily Closed!"
[15:06:42] <ries> The piece does fit 100% sure on the machine...
[15:08:17] <SWPadnos> axis 2 is Z, so the offset for Z may just be wrong
[15:08:19] <Yoshi47> jepler, what do you expect with inhouse hosting
[15:08:25] <Yoshi47> and new servers recently
[15:08:59] <jepler> ries: do you use home switches, or do you home by jogging the machine to a known position "by eye"?
[15:10:22] <ries> jepler: planning to use home switches, but currently learning the software on my desk
[15:11:58] <jepler> ries: are you running a configuration that accurately reflects the working envelope of the real machine?
[15:17:26] <jepler> even if you're not controlling any real machine, you need to do the same steps as you would -- home, then set your origin on the workpiece
[15:17:35] <ries> jepler: yes.... I can see that also in axis
[15:17:54] <ries> the workpiece fits roomly on my table
[15:20:01] <jepler> but the origin offsets (set with touch off) are important. If your part program has 1" of Z movement and your machine as 10" of Z movement, that doesn't mean you can run the program with just any origin offset
[15:21:08] <jepler> for example, if you configured your Z soft limits to be -10 .. 0 and never modify the Z offset then a part program that uses Z values from -.5 .. .5 will be rejected because (.5+0) > 0
[15:22:37] <jepler> AXIS tries to help this be apparent by showing the dotted box and the program extents http://linuxcnc.org/docs/2.3/html/gui_axis.html#r1_3_3_3
[15:24:18] <jepler> but any initial G0 moves aren't shown; you can change the G0 on line 3 to G1 and it will show up as a move from the machine origin (this confusing move coming from the machine origin is why it's not shown when it's a G0)
[15:27:55] <ries> jepler: extensive answer! Thanks you for that
[15:28:27] <ries> The gcode was written by cut3d and I am trying to understand the workflow of all this...
[15:45:53] <Dannyboy> Hey.. have any of you worked with the Hobby CNC boards?
[15:46:01] <Dannyboy> specifically the 4AUPC revision 1 :P
[15:48:39] <cradek> this page on our wiki is someone's experience with a flawed hobbycnc board. I don't know if that's the same as the one you have though. http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?HobbyCNC
[15:50:25] <Dannyboy> yea I checked the wiki :/
[15:51:03] <Dannyboy> I can't even get my motors to spin up... I think it's my "Step Time" "Step Space" that needs to be setup right
[15:52:47] <Dannyboy> mine isn't the 'Pro' revision that he mentions in the wiki so I guess it's got different specs
[15:55:45] <Dannyboy> well I just joined their support group in yahoo :P
[15:55:49] <Dannyboy> maybe I'll find something there
[15:56:22] <Dannyboy> EMC looks pretty awesome, just need to get it driving my system
[16:18:15] <mozmck> logger_emc?
[16:18:46] <archivist_attic> logger_emc: bookmark
[16:18:46] <archivist_attic> Just this once .. here's the log: http://www.linuxcnc.org/irc/irc.freenode.net:6667/emc/2010-01-07.txt
[16:19:48] <mozmck> thanks!
[16:20:50] <mozmck> cradek: seems like I had problems until I rebooted IRC...
[16:23:02] <MarkusBec_away> MarkusBec_away is now known as MarkusBec
[16:52:36] <isssy> hi all
[17:23:29] <bill20r3> yo.
[17:31:41] <Jymmm> ho ho
[17:56:02] <danimal_garage> yo
[18:49:35] <MarkusBec> MarkusBec is now known as MarkusBec_away
[19:24:45] <eric_unterhausen> sparkfun gave away $100k of electronics today
[19:25:04] <eric_unterhausen> how, I don't know since their servers were down most of the time
[19:27:29] <bill20r3> slowly.
[19:32:35] <jepler> I made the mistake of hanging out on their irc channel while that was going on
[19:33:18] <jepler> enough whiny "I didn't get any free stuff" babies to overwhelm any other discussion or information
[19:33:56] <Dannyboy> Why didn't I get any...
[19:33:58] <Dannyboy> :P
[19:34:23] <Dannyboy> I just want burn notice to come off their break :(
[19:38:49] <eric_unterhausen> Dannyboy, their marathon really screwed up my sleep cycle
[19:39:04] <Dannyboy> lol
[19:39:15] <Dannyboy> I just watch online
[19:39:56] <eric_unterhausen> good idea, there are a few shows I haven't seen yet
[19:41:54] <eric_unterhausen> http://cgi.ebay.com/Grass-Model-7-Polygraph-Lie-Detector-Police-PSU_W0QQitemZ190363249605QQcmdZViewItemQQptZLH_DefaultDomain_0?hash=item2c5288abc5
[19:42:05] <eric_unterhausen> Penn State is selling a lie detector
[19:43:40] <eric_unterhausen> that thing is awesome, I wonder if you could build something out of it
[19:43:40] <Dannyboy> I cannot think of any uses for this :o
[19:44:17] <Dannyboy> maybe you could start a religion based off it's results?
[19:46:16] <bill20r3> nah, nobody's that stupid...
[19:50:17] <eric_unterhausen> I think that gig is already taken
[19:52:43] <alex_joni> that thing looks like from a really bad 60s science fiction movie
[19:52:53] <alex_joni> with all those knobs on it
[19:58:20] <bill20r3> funny, the religion is loaded with knobs too.
[20:00:46] <cradek> I think it's only fair to insult all religions equally
[20:01:13] <cradek> (I love the look of that machine - it's obviously made to look intimidating!)
[20:01:34] <frallzor> hello boys
[20:01:48] <Dannyboy> it is rather frightening
[20:02:23] <alex_joni> it's a great UI
[20:02:25] <frallzor> show show
[20:02:28] <frallzor> I want to see
[20:02:35] <alex_joni> logger_emc: bookmark
[20:02:35] <alex_joni> Just this once .. here's the log: http://www.linuxcnc.org/irc/irc.freenode.net:6667/emc/2010-01-07.txt
[20:02:48] <alex_joni> frallzor: http://cgi.ebay.com/Grass-Model-7-Polygraph-Lie-Detector-Police-PSU_W0QQitemZ190363249605
[20:12:11] <DaViruz> it certainly has a lot of knobs
[20:14:06] <R_Dan_P> Greetings EMC gurus: I am trying to configure an install Ubuntu8.04, EMC2.3 (current version) I want to use the mini interface as that is what I am used to. I have found and changed the display = line in the Sherlin4Axis_Inch file and when I launch EMC2 I know get the Mini interface. MY remaining problem is that the incrementsare a factor of 10 too large. I tried adding the INCREMENTS = line, but that doesn't seem to do it for mini. What d
[20:14:48] <cradek> you got cut off at "What d"
[20:15:35] <R_Dan_P> Should read What do I need to do to change the increments for mini?
[20:16:08] <cradek> from looking at the code I think they're not changeable. for inch, you get 1, .1, .01, .001, .0001
[20:16:16] <cradek> for mm you get 10, 5, 1, .1, .01
[20:16:25] <cradek> are your results different from this?
[20:16:38] <cradek> (1 inch is a ridiculous increment)
[20:17:23] <cradek> looks like there's another set of values for a rotary axis: 90, 15, 1, .1, .01
[20:17:35] <R_Dan_P> It looks like I am getting the MM increments even though inch is selected.
[20:17:52] <cradek> ok, interesting
[20:18:07] <cradek> is this emc 2.3.4?
[20:19:34] <R_Dan_P> Where can I verifiy the version? I just burned the 8.04 boot image from the site an hour ago.
[20:20:14] <cradek> does help/about show it?
[20:20:22] <cradek> (sorry, I haven't looked at mini for years)
[20:21:04] <cradek> was this you? http://sourceforge.net/tracker/?func=detail&aid=2919676&group_id=6744&atid=106744
[20:21:28] <R_Dan_P> About opens a popup talking about TkMini (No versions)
[20:21:37] <cradek> bleh
[20:21:53] <cradek> at a shell, dpkg -l emc2
[20:23:54] <R_Dan_P> dpkg -1 emc2 from a shell reports unknown option -1
[20:26:33] <cradek> you should fix your font so you can see the difference between 1 and l
[20:27:20] <cradek> (not your fault - so many crappy fonts out there)
[20:28:35] <alex_joni> l = lowercase L
[20:28:57] <alex_joni> or shou1d I say 1owercase L ?
[20:29:02] <R_Dan_P> OK -lowercase L return emc2 1:2.3.0
[20:29:17] <alex_joni> I doubt there's any change to mini since 2.3.0
[20:29:39] <alex_joni> R_Dan_P: last emc2 version is 2.3.4, which you'll get as an update when your PC is connected to the internet
[20:30:04] <cradek> yep I agree (but there are many other reasons to update)
[20:30:21] <cradek> I can't figure out how mini decides what units to show - alex can you decipher it?
[20:30:36] <R_Dan_P> OK, I am running a test install will that up date as well?
[20:33:55] <R_Dan_P> Sorry lost my session I am back
[20:34:23] <alex_joni> cradek: looking
[20:34:52] <cradek> something about linearUnitConversion in emcsh.cc
[20:35:58] <alex_joni> set units [emc_program_linear_units]
[20:36:53] <cradek> yeah that function is in emcsh.cc
[20:36:57] <alex_joni> the set units 0 is odd
[20:37:08] <alex_joni> lines 221, 242
[20:38:04] <EbiDK> EbiDK is now known as EbiDK|AWAY
[20:41:06] <alex_joni> sorry .. NMI
[20:43:35] <alex_joni> I'd try uncommenting line 452
[20:46:33] <R_Dan_P> I am using the current Live-CD, so I won't be editing any source at the moment.
[20:47:09] <frallzor> how do I make a bootable usb-memory with the live-cd? :)
[20:48:13] <cradek> frallzor: the internet knows how, but we don't
[20:49:44] <alex_joni> R_Dan_P: it's just a text file
[20:49:59] <alex_joni> you don't nrrf to compile or anything
[20:50:09] <alex_joni> need ;)
[20:50:23] <R_Dan_P> OK what is the name and location of the file?
[20:50:53] <alex_joni> dpkg -L emc2 | grep mini
[20:51:23] <alex_joni> I *think* it's in /usr/local/emc/tcl/mini.tcl
[20:59:44] <R_Dan_P> It is in usr/share/emc/tcl
[21:00:04] <alex_joni> right.. a bit rusty here
[21:01:41] <R_Dan_P> what is the default password for su on 8.04
[21:01:53] <alex_joni> there isn't one
[21:01:56] <alex_joni> use sudo -s
[21:02:20] <skunkworks_> R_Dan_P is old school.. ;)
[21:02:40] <alex_joni> skunkworks_: it's the proper way :D .. but sudo is convenient
[21:02:48] <skunkworks_> heh\
[21:02:56] <alex_joni> sudo passwd works too :)
[21:06:08] <LawrenceG> skunkworks, did you buy those 4 drives?
[21:06:17] <skunkworks_> LawrenceG: yes
[21:06:31] <LawrenceG> ( had my eye on those!
[21:06:42] <skunkworks_> well when I say yes - dad did. told my dad that was probaby the best deal so far.
[21:06:49] <skunkworks_> sorry...
[21:07:09] <skunkworks_> we only need 3 so we have a spare too.
[21:07:22] <LawrenceG> they should make a nice system with a mesa card
[21:08:10] <skunkworks_> yes - the pressure is off for me getting those h-bridged manufactured.. (so that also means the pcbmill will probably be put on the back burner)
[21:08:31] <R_Dan_P> Ok what does the string that I want to uncomment contain?
[21:09:05] <LawrenceG> did you find the specs for them? 40A peak at what volts
[21:09:34] <LawrenceG> looked like 400v
[21:09:55] <skunkworks_> they take 270max 3phase. (they have thier own rectifier/filter)
[21:10:20] <MarkusBec_away> MarkusBec_away is now known as MarkusBec
[21:10:31] <skunkworks_> LawrenceG: http://www.a-m-c.com/download/datasheet/b40a40ac.pdf
[21:10:35] <LawrenceG> beefy littlw suckers
[21:10:37] <skunkworks_> tons of bells and whistles.
[21:10:59] <skunkworks_> looks like they will do encoder velocity
[21:11:23] <cradek> skunkworks_: no transformer is scary but nice
[21:11:30] <alex_joni> R_Dan_P: # set oldlinjogincr 1.0
[21:11:49] <skunkworks_> cradek: why? jsut more stuff?
[21:12:03] <cradek> yeah
[21:12:03] <alex_joni> R_Dan_P: that should be: set oldlinjogincr $templin
[21:12:07] <cradek> transformers are big and heavy
[21:12:12] <cradek> but isolation is nice
[21:12:25] <cradek> (Jr is that way too)
[21:12:57] <alex_joni> cradek: you can always put a separation (1:1) transformer for the whole machine
[21:15:02] <LawrenceG> those would make a nice spindle drive as well....
[21:15:04] <alex_joni> R_Dan_P: this probably won't fix your jogging, but at least you can add one default value which you mostly use
[21:15:13] <R_Dan_P> Ok I have a # set oldlinjogincr 1.0 close to line 452
[21:15:14] <alex_joni> I don't understand why your problem appears
[21:17:02] <skunkworks_> LawrenceG: we already had put a vfd on the spindle. 5hp
[21:17:48] <alex_joni> R_Dan_P: hang on a second, looking at something else now
[21:18:19] <LawrenceG> skunkworks, very nice drives.... a bit overkill for the 300w brushless servos I have
[21:18:26] <R_Dan_P> Standing by,
[21:18:42] <skunkworks_> heh - we will be running the as brushed for now.. but it gives us options
[21:19:00] <skunkworks_> LawrenceG: http://cgi.ebay.com/3-AXIS-A-M-C-PWM-Brushless-SERVO-AMPLIFIER-ASSEMBLY-NEW_W0QQitemZ260516353589QQcmdZViewItemQQptZLH_DefaultDomain_0?hash=item3ca7fc1635
[21:19:07] <LawrenceG> yea... I like the single or 3 phse input as well
[21:19:08] <skunkworks_> 30 peak
[21:19:14] <skunkworks_> pwm+dir
[21:20:49] <skunkworks_> 80v max
[21:23:14] <skunkworks_> LawrenceG: http://www.a-m-c.com/download/datasheet/bd30a8.pdf
[21:23:15] <LawrenceG> skunkworks, not bad..... I cant remember what my Sanyo denki motors take.... I think 100v bus... probably close enough
[21:24:10] <skunkworks_> he has them in singles also for $69+shipping.
[21:25:12] <skunkworks_> they are only trapizoidal.
[21:25:52] <LawrenceG> just noticed that.... low end stuff
[21:27:25] <LawrenceG> I need to experiment with the mesa 3ph drive and some ir power modules
[21:27:42] <LawrenceG> of the fairchild power modules
[21:27:55] <skunkworks_> I have a b15a8 running a keling bldc motor - and other than the ticking from the comutation changing - it seems smooth. have not closed the loop yet.
[21:30:40] <alex_joni> R_Dan_P: looking at it now, it fails for me too
[21:30:44] <alex_joni> might take a bit to fix it
[21:31:06] <R_Dan_P> Well I guess thats good news?
[21:31:23] <alex_joni> who knows ;) . like I said.. I'm rusty :D
[21:32:57] <R_Dan_P> FYI uncommenting set oldlin... did not change anything I could see.
[21:36:23] <alex_joni> R_Dan_P: if you want a quick&dirty fix
[21:36:32] <alex_joni> go to line 1553 or thereabouts
[21:36:48] <alex_joni> there's a 'grid configure $immframe -column 5...'
[21:36:51] <alex_joni> comment that line
[21:40:24] <alex_joni> ok, I have a proper fix too
[21:41:41] <R_Dan_P> My file is slightly different, but commenting out a similar line fixes the jog increments. What is the proper fix?
[21:41:52] <alex_joni> http://pastebin.ca/1741898
[21:46:16] <R_Dan_P> I think that I better update my version of emc before proceeding. Everyplace your patch references col 6, mine references col 5
[21:47:18] <alex_joni> I might be on something newer than 2.3.x
[21:47:28] <alex_joni> this is an undated 2.4.0~pre
[21:47:34] <alex_joni> no idea how old ;)
[21:47:47] <R_Dan_P> I am 2.3.0
[21:49:12] <alex_joni> things shouldn't change too much for 2.3.x releases
[21:49:17] <alex_joni> only bugfixes
[21:49:37] <alex_joni> getting a fresh git checkout on this machine, then I'll commit a fix for this
[21:49:49] <alex_joni> although that will be only part of 2.3.5 eventually
[21:50:25] <cradek> thanks alex
[21:51:43] <alex_joni> did I say I miss lxr?
[21:51:58] <alex_joni> that kind of information is not in gitweb
[21:52:01] <alex_joni> :(
[21:52:39] <alex_joni> and the ability to look at the same file with different tags/branches/versions
[22:08:54] <alex_joni> R_Dan_P: I commited the fix, thanks for finding it
[22:09:00] <alex_joni> (and reporting it ;)
[22:09:35] <cradek> alex_joni: maybe you should respond to or close that sf report too now?
[22:11:10] <alex_joni> was there a SF report?
[22:11:14] <alex_joni> * alex_joni goes looking
[22:15:06] <R_Dan_P> Thanks to all for the help: I am going offline to knit a patch for my version. Best, Dan
[23:22:53] <jt-plasma> yea my 5i20 and other cards are on the way :)
[23:23:07] <skunkworks_> for the lathe?
[23:23:19] <jt-plasma> yes
[23:23:24] <alex_joni> cool
[23:23:39] <jt-plasma> they have been back ordered for a bit
[23:24:08] <skunkworks_> I thought the original controller worked?
[23:24:19] <jt-plasma> almost :)
[23:24:35] <skunkworks_> heh
[23:24:57] <jt-plasma> robh tried to help me revive it but a small bit refused to work
[23:25:18] <skunkworks_> we thought it was time for an upgrade when the smoke rolled out of the controller.
[23:25:34] <jt-plasma> heh
[23:25:55] <jt-plasma> no smoke just refused to complete the boot up install
[23:38:56] <jt-plasma> http://i47.photobucket.com/albums/f163/johnplctech/Hardinge/RotaryPhaseConverter01.jpg
[23:45:18] <Guest320> hello
[23:45:28] <andypugh> Hi Guest320
[23:45:48] <jt-plasma> andypugh: is quick today
[23:46:00] <frallzor> hello Hernandez
[23:46:09] <andypugh> Why a rotary convertor, jt
[23:46:28] <jt-plasma> I don't have 3 phase out here in the woods
[23:46:53] <Jymmm> jt-plasma: Just toss in another 1954 pick em up truck
[23:47:10] <andypugh> Yeah, but a VFD from eBay is better, and cheap?
[23:47:14] <jt-plasma> have a belt off the rear rim to my generator
[23:47:31] <jt-plasma> 10 hp
[23:47:54] <Jymmm> add another
[23:47:55] <andypugh> OK, 10hp is not so cheap
[23:48:21] <jt-plasma> motor was free and I have $75 in all the rest of the components including a self start
[23:48:36] <jt-plasma> and new bearings for the motor
[23:49:05] <Guest320> is there anyone from Polish?
[23:49:19] <Jymmm> Poland?
[23:49:26] <Guest320> yes
[23:49:27] <alex_joni> micges is
[23:49:46] <Jymmm> alex_joni: I've been meaning to call you
[23:49:58] <micges> Guest320: hello what's up?
[23:50:18] <alex_joni> Dobry wieczór, na drodze
[23:50:29] <alex_joni> Jymmm: was just about to head out
[23:50:34] <jt-plasma> * jt-plasma wanders back to the house
[23:50:58] <Jymmm> alex_joni: head out, I just wanted to test/play with my VoIP overseas
[23:52:01] <alex_joni> ah ok, it's a bit late here for using my phone anyways
[23:52:20] <Jymmm> alex_joni: no bigg, like I said just playing
[23:52:20] <alex_joni> morrow morning maybe ..
[23:52:28] <alex_joni> got my number?
[23:52:40] <Jymmm> alex_joni: Nah, I can get it whenever
[23:53:04] <alex_joni> I'm sure that's true
[23:53:49] <Jymmm> I FINALLY got my LED's from HK an hour ago, gonna play with them =)
[23:55:06] <alex_joni> I got OpenWrt to install on a router ;) to each his own toy
[23:56:02] <Jymmm> alex_joni: It's easy to install.
[23:57:00] <MarkusBec> MarkusBec is now known as MarkusBec_away
[23:59:27] <celeron55> LEDs are also easy to get from HK. 8)