Back
[00:04:29] <theorb> theorb is now known as theorbtwo
[00:49:55] <LabRat> I have encountered an error after installing EMC on Ubuntu 10.4 using the emc2-install.sh script.
[00:50:11] <LabRat> The I beleive the key part of the error is "ImportError: cannot import name StatMixin". I pasted the entire output of the EMC2 Errrors window at
http://pastebin.com/M1fuHVQX.
[00:50:38] <JT-Shop> why not use the LiveCD?
[00:51:32] <LabRat> My cd-rom drive was acting up and I wanted to upgrade from my old version.
[00:52:41] <SWPadnos> holy crap, google is fast
[00:52:59] <SWPadnos> that pastebin was the top hit for "Statmixin"
[00:53:13] <LabRat> that is fast
[00:54:26] <SWPadnos> huh. there was a question similar to this on the EMC forum, but that was due to using a Run In Place copy of EMC, not an installed one
[00:54:37] <SWPadnos> it sounds like some paths are wrong though
[00:54:58] <LabRat> Yeah I saw that but I am not using run in place
[00:56:43] <LabRat> Before I upgrade to 10.4 I was using a custom kernal/version and locally compiled EMC 2.4 Pre as run in place.
[00:57:14] <SWPadnos> hmmm
[00:57:32] <SWPadnos> did you add something to bashrc or somewhere to automatically source emc-environment?
[00:57:59] <LabRat> I will look, it has been awhile
[01:01:01] <LabRat> I don't see anything unusual in bashrc
[01:01:58] <SWPadnos> unfortunately, I don't know what the error actually is, but since the only thing I can find in a web search is stuff related to RIP, I'd keep looking for something that might cause a path mixup
[01:02:12] <SWPadnos> like env | grep -i emc
[01:04:11] <LabRat> I get no results for env | grep -i emc
[01:04:30] <SWPadnos> ok, that's probably good :)
[02:01:18] <elmo_cnc> LabRat: i just ran the install script on my 10.04.1
[02:01:27] <elmo_cnc> did you apt-get upgrade first?
[02:01:51] <elmo_cnc> the only issue i had was i needed to install 'bc' for the latency_test to run ;)
[02:04:16] <LabRat> I upgraded using the update manager
[02:05:58] <LabRat> I think my problem has something to do with the fact that I had been using a run in place emc on my old version
[02:11:14] <elmo_cnc> i am using an install of Bodhi 10.04
[02:11:43] <elmo_cnc> so far the install was great :) as i said, it only needed 'bc' to get the latency_test to work.
[03:02:13] <juri_> one axis complete.
[03:02:37] <juri_> now working on axis 2, 3.
[03:02:56] <atmega> 4 axis?
[03:03:21] <juri_> no, just 3. (well, and tool rotation)
[09:36:09] <mhaberler> mhaberler is now known as mhaberler_
[09:53:43] <mhaberler__> mhaberler__ is now known as mhaberler
[11:31:42] <psha> mhaberler__: here?
[11:32:24] <mhaberler__> yes, on mobile
[11:32:36] <psha> ah, then don't bother :)
[11:32:52] <mhaberler__> tell me
[11:33:11] <psha> i'm working on gladevcp-glib branch now
[11:33:36] <mhaberler__> good
[11:35:16] <mhaberler__> anything i can do?
[11:35:58] <psha> test :)
[11:36:10] <psha> i think i
[11:36:18] <psha> i'm nearly happy with current state
[11:36:31] <psha> so if it's not breaking anything - then it's ok to merge
[11:40:48] <theorbtwo> theorbtwo is now known as krnc
[11:41:16] <krnc> krnc is now known as theorbtwo
[13:16:00] <JT-Shop> interesting
http://www.linuxcnc.org/component/option,com_kunena/Itemid,20/func,view/catid,10/id,5979/lang,english/#5979
[13:20:59] <mhaberler_> use the les newell toolchanger
[13:22:15] <mhaberler_> * mhaberler_ works with run-from-line restart from manual or mdi mode
[14:14:16] <archivist> JT-Shop, is his head rotation just for toolchange or cutting too
[14:15:08] <JT-Shop> sounds like it can be for cutting in either but only one for toolchange
[15:40:58] <rizo> hello
[15:40:58] <the_wench> hello rizo, you have a question?
[15:45:23] <rizo> i would like to compile the dev version of emc. I downloaded the emc-dev using git (as described in wiki). Now i would like to compile it... I cd to /emc2/emc2-dev/src and typed the ./configure as written in documentation. It returns an error "bash: ./configure: No such file or directory".
[15:46:02] <rizo> Why is that?
[15:46:47] <JT-Shop> I'm guessing you missed something in the directions
[15:47:37] <JT-Shop> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Installing_EMC2#On_Ubuntu_with_EMC2_package_already_installed
[15:52:18] <rizo> will try that, thank you
[16:27:06] <skunkworks> http://www.electronicsam.com/images/house/IMG_1525.JPG
[16:29:02] <JT-Shop> skunkworks: got any ideas on this
http://www.linuxcnc.org/component/option,com_kunena/Itemid,20/func,view/id,5979/catid,10/
[16:29:29] <JT-Shop> ohh the shovel monkey has been at work at your house
[16:29:49] <JT-Shop> we got a light dusting this morning
[16:41:46] <skunkworks> this has been over 2 days - I roof raked twice
[16:44:19] <skunkworks> I do something similar (I think) with my tool change. - the spindle has to be oriented before the sequence happens. So the tool change bit goes through the spindle lock comp before it goes on to the ladder that actually does the tool change.
[17:25:32] <DaViruz> do we have any german speakers here? i have a few words i'd like translated
[17:26:12] <psha> i think german speaking group is second in size here
[17:26:23] <psha> after english speaking :)
[17:27:30] <DaViruz> like schruppnutzyklus, schlichtnutzyklus, entgratzyklus, HMWP-Fraeser
[17:27:31] <DaViruz> i see
[17:28:06] <psha> i see common part - zyklus!
[17:38:58] <L84Supper> roughing simple and deburring nuts?
[17:39:14] <L84Supper> deburring cycles
[17:41:08] <DaViruz> it has to do with keyway milling programs, i'm guessing "nut" is keyway and zyklus seems kind of obvious
[17:43:07] <rizo> I am reading the code in /emc/src directory and i cant find the main.c - where does this code actually starts? Sorry for my "stupid" questions :) I am new to programming.
[17:44:16] <psha> rizo: emc is not one program
[17:44:30] <psha> there are tons of components - both userspace and realtime
[17:44:48] <psha> for realtime components there are no 'main' functions at all -- they are loaded as kernel modules
[17:45:02] <psha> all userspace components are standalone programs
[17:45:06] <psha> with own 'main' functions
[17:45:50] <psha> so you'd better ask particular question :)
[17:46:40] <rizo> ok... but when you type emc (to console) where does the code start to execute?
[17:46:47] <psha> in 'emc' script
[17:46:59] <psha> it's shell scrip responsible for bootstrapping whole system
[17:53:08] <rizo> and where is this script located?
[17:54:04] <psha> find -name emc
[17:54:09] <psha> or emc.in
[18:00:34] <mikegg> just started snowing here
[18:01:06] <mikegg> hang on, i gotta run to the store and buy all the bottled water and bread. then put my car in a ditch
[19:16:49] <dimas> i'm getting error while trying to run axis from command line
[19:17:02] <dimas> emc.error: emcStatusBuffer invalid err=3
[19:18:35] <dimas> i run it as: axis -ini ~/emc2/configs/router/router.ini
[19:18:58] <dimas> what am i missing?
[19:19:15] <psha> axis needs proper status buffer
[19:19:32] <psha> status buffer is configured somewhere in 'emc' script
[19:19:40] <psha> i can not recall where exactly
[19:20:39] <psha> so you'd better run 'emc' with proper config
[19:22:50] <psha> e.g emc ~/emc2/configs/router/router.ini
[19:24:19] <dimas> psha, thanks, will look into it
[19:32:49] <theorb> theorb is now known as theorbtwo
[20:31:01] <elmo40> mikegg: great plan... minus the putting the car in the ditch :P
[20:35:28] <Jymmm> Unless it's a ditch witch...
http://www.ezrentit.com/Images/ditchWitch.jpg
[20:39:02] <leo> greetings all
[20:39:14] <leo> have a question on the spindle motor encoder
[20:39:44] <leo> using a twin 5120/7i33/7i37/7i37 mesa setup
[20:39:58] <leo> how do I tell emc where the spindle encoder is?
[20:42:37] <leo> and is there anything better than xchat-gnome to use fr irc relay chat in linux?
[20:43:19] <jthornton> I use chatzilla
[20:43:31] <psha> irssi!
[20:43:46] <archivist> I use the real xchat not the gnome version of if
[20:44:33] <psha> xchat was not bad when i've used it (not gnome, have not seen it)
[20:45:01] <archivist> gnomes version is not as good imo
[20:45:20] <psha> dunno
[20:45:29] <psha> i'd better sleep a bit
[20:45:31] <psha> bb
[20:46:39] <tom3p> bb me2
[20:48:55] <leo> i have the same question on the mpg pulse generator.... how do I tell emc what it is in hal?
[20:49:21] <leo> I have both the spindle encoder and mpg handweheel where I can see the counts in show hal
[20:50:22] <cradek> leo: I think you want this page:
http://linuxcnc.org/docs/2.4/html/config_emc2hal.html
[20:50:41] <cradek> it tells all (?) the things emc looks for from hal
[20:54:26] <rizo> I have one question... Is there some kind of graphical diagram what source files belongs to what part of emc code?
[20:54:52] <rizo> I have one question... Is there some kind of graphical diagram that shows which source files belongs to what part of emc code?
[20:55:21] <cradek> no
[20:57:47] <Jymmm> If by graphical you mean text, I'm sure there is.
[20:58:05] <Jymmm> ASCII ART RULES!!!
[20:59:46] <cradek> ugh
[21:00:43] <Jymmm> come on now, this isn't bad at all....
http://www.codeproject.com/KB/web-image/ASCIIArt/ASCIIArt2.gif
[21:01:40] <Jymmm> http://www.atariarchives.org/bcc1/pages/page120.gif
[21:02:23] <leo> whiskey tango foxtrot does m62-m65 do? I don't see it in the g code documentation but its in the hal link quite a bit
[21:02:40] <cradek> my ugh was because everyone who was a useful contributor to that discussion was having no problem at all.
[21:02:59] <cradek> leo:
http://linuxcnc.org/docs/2.4/html/gcode.html
[21:03:04] <cradek> click on m62-m65
[21:03:21] <cradek> that gcode quickref page is the single most useful page of the docs
[21:04:32] <Jymmm> HAHAHAHAHA look at the logo in the top-left corner
http://www.google.com/search?q=ascii+art
[21:07:31] <leo> so is this saying I need to program a m52 p1 when I want to be able to use a feed override and a m53p1 when I want to be able to do a feed hold? or are those always active?
[21:07:56] <JT-Shop> if you wanted to make a G71 (lathe roughing a profile) like subroutine would you use G10 L2 to shift the X for each pass?
[21:08:57] <cradek> I sure wouldn't
[21:09:07] <cradek> that breaks CSS for one thing
[21:09:28] <cradek> maybe just use G91 and repeat
[21:09:42] <cradek> it's going to be extremely tough to make it work for general shapes
[21:09:48] <cradek> for square shoulders, it's pretty easy
[21:10:01] <JT-Shop> cradek: thanks
[21:10:51] <cradek> leo: feed override is on by default - you generally don't have to worry about it unless you want it sometimes disabled
[21:18:18] <rizo> good night...
[21:18:57] <leo> the hal link is great for saying what the "standard" pins in emc hal are for, but it still does not make sense what I do with the spindle encoder
[21:19:09] <leo> if the spindle is not exactly an axis
[21:19:28] <cradek> it's in there
[21:19:29] <leo> do I need to make a ddt component to convert it to something different?
[21:19:42] <cradek> see motion.spindle*
[21:19:57] <cradek> you are right that the spindle isn't an axis
[21:23:14] <leo> so is the drvo pin on the 7i33 m esa the 0-10v analog that drives velocity?
[21:24:29] <cradek> on page 6 of the 7i33 manual it calls the +-10 signal AOUT0, AOUT1, etc
[21:24:35] <cradek> not sure what you mean by drvo
[21:26:04] <JT-Shop> this is what I was trying to do actually
http://technology.calumet.purdue.edu/met/met/285/handouts/lecture20.pdf
[21:26:30] <JT-Shop> but too complicated for a subroutine
[21:26:48] <JT-Shop> page 12
[21:28:30] <JT-Shop> * JT-Shop heads out for a bit
[21:29:26] <leo> its a 7i33ta - look at page 4 of the manual, thats what its labeled and ther is no aoutXX
[21:31:35] <leo> I am assuming the drvo and ena0 control axis port 0 of that cards onnthe +/-10vdc analog signal
[21:33:28] <davec> davec is now known as Guest25625
[21:36:12] <leo> its 20hp ac vector spindle and I'd rather not let the smoke out of it in the first 20 seconds.
[21:36:47] <cradek> I see what you're looking at now - I was looking at the table on page 6
[21:37:18] <cradek> err, 7 for TA
[21:37:22] <leo> I have a resolver in the motor going thru a pico systems quadrature converter
[21:37:55] <cradek> the spindle drive doesn't use the resolver itself?
[21:39:42] <leo> it has a resolver.... used to be a kollmorgen vfs5 but right now its hooked to a gs3 drive
[21:40:08] <cradek> ah, and the gs3 doesn't use the resolver, right?
[21:40:09] <leo> because I blew up my last vfs 5
[21:40:25] <leo> and its cheaper to get a gs3 than fix the kollmorgen
[21:40:39] <cradek> I'm asking because you can't hook a resolver to two things - just making sure that's not what you've done
[21:40:57] <leo> resolver opnly goes to the 7i33ta
[21:41:06] <cradek> ok good
[21:41:12] <leo> thru the converter
[21:41:19] <leo> seeing 4096 counts per rev
[21:41:35] <cradek> cool - you've got it counting already
[21:41:41] <leo> yes
[21:41:54] <cradek> I tried one of those converters on my spindle - the board did not have enough power to drive the very big resolver
[21:42:05] <cradek> sounds like you have had better luck.
[21:42:16] <cradek> different type of resolver
[21:42:51] <leo> harowe 21brcx-600-j12
[21:43:15] <leo> anyway its counting
[21:43:23] <cradek> great
[21:43:26] <leo> as is the fanuc mpg pendent.....
[21:43:38] <cradek> did you use a scope to set the amplitude?
[21:43:55] <cradek> I think that's important for linearity
[21:44:30] <leo> I don't have a scope handy.... played with it but seeing no difference just watching counts
[21:44:52] <leo> but I am pretty sure the 4.8v amplitude is correct from the data sheet on the resolver
[21:45:16] <cradek> ah
[21:45:25] <leo> I have a fanuc red cap motor and drive to try once the spindle works
[21:45:38] <cradek> fun
[21:45:50] <cradek> is that an amp that requires a fake tach signal?
[21:45:54] <leo> Seems some fanucs the encoder went to the main rack just like emc, not thru the drive
[21:46:01] <leo> this is one of those
[21:46:17] <leo> c series 20 nm
[21:46:19] <cradek> yep that's good
[21:46:47] <leo> it is an absolute encoder but I think I can use it incrementally too
[21:46:56] <leo> but back to the spindle
[21:47:18] <leo> it looks like the aout0 in the table is labeled drv0 on the card to me
[21:47:30] <cradek> I agree
[21:48:06] <leo> so the ena0 and drv0 combine for the =/-10vdc
[21:48:15] <leo> +/- 10vdc
[21:48:46] <leo> good, thats the only 2 wires except ground I don't have connected on that port
[21:48:48] <cradek> ena0 is just a digital output that's meant to be used for amp enable
[21:49:11] <leo> so I go from ground to drv0 for the analog signal then
[21:49:13] <cradek> the analog aout0/drv0 is with respect to GND on the connector
[21:49:16] <cradek> yes
[21:49:58] <cradek> gotta run - bbl
[21:50:06] <leo> i understand the spindle at speed, spindle at brake
[22:18:21] <Guest230> Guest230 is now known as micges
[22:24:01] <Connor> Hey, any of you all use Inventor ? If so, what do you use to export out from a .ipt file to some sort of CAM ?
[22:35:12] <Guest140> Guest140 is now known as micges
[23:32:35] <moldovean> moldovean is now known as qq-
[23:36:00] <tomaw> [Global Notice] We're restarting services to fix some database issues; please remain patient as it will return soon.