#emc | Logs for 2009-12-26

Back
[00:00:25] <MarkusBec> MarkusBec is now known as MarkusBec_away
[00:01:01] <alex_joni> was the Hogfather kind to you?
[00:01:44] <jt-plasma> yes and you?
[00:02:00] <jt-plasma> my your up late alex_joni
[00:03:54] <alex_joni> not _that_ late ;)
[00:03:56] <alex_joni> only 2am
[00:04:10] <alex_joni> and yes, more than kind
[00:04:10] <jt-plasma> late for me that's for sure
[00:04:37] <jt-plasma> all I want is to wake up and I'm happy
[00:05:09] <alex_joni> scared of not waking up?
[00:05:19] <alex_joni> not going to sleep helps with that
[00:05:40] <jt-plasma> I ain't skeerd
[00:06:11] <alex_joni> heh, sure you're not
[00:06:17] <jt-plasma> I just figure that every day you wake up well it is just lagniappe
[00:06:44] <alex_joni> that's a new word for me all right
[00:06:57] <jt-plasma> Lagniappe?
[00:07:13] <alex_joni> yup
[00:07:38] <alex_joni> seems it's coming from the Inca's
[00:07:39] <jt-plasma> it is a cajun word for "a little something extra"
[00:08:05] <jt-plasma> Inca's?
[00:08:07] <alex_joni> taken over by spanish conquistadores, then it got to loisiana
[00:08:14] <alex_joni> +u
[00:08:31] <jt-plasma> oh you murdered the Louis and Anna
[00:09:33] <alex_joni> well.. sh*t happens
[00:09:44] <jt-plasma> never knew it came from the Inca's
[00:09:58] <alex_joni> the things wikipedia knows
[00:10:11] <jt-plasma> how is the baby? sleeping nights now?
[00:10:21] <alex_joni> mostly, yes
[00:10:25] <jt-plasma> cool
[00:10:27] <alex_joni> he goes to sleep around 1am
[00:10:45] <alex_joni> then sleeps till 8 for breakfast, then another nap till 10-11
[00:10:52] <alex_joni> so it's quite ok
[00:11:01] <jt-plasma> got the schedule down pat I see
[00:11:26] <alex_joni> and shifts covered
[00:11:30] <alex_joni> * alex_joni gets the late shift
[00:11:33] <jt-plasma> LOL
[00:11:41] <alex_joni> wife gets the early shift
[00:12:23] <jt-plasma> I better wander inside to check out the duck
[00:12:46] <jt-plasma> or should I waddle inside
[00:12:51] <alex_joni> got a duck inside?
[00:13:03] <jt-plasma> na, not that big anymore
[00:13:08] <jt-plasma> inside the oven :)
[00:13:14] <alex_joni> ah .. :P
[00:13:18] <jt-plasma> duck with orange sauce
[00:13:22] <alex_joni> I had a duck when I was young
[00:13:27] <alex_joni> called it Gustav
[00:13:29] <jt-plasma> Christmas dinner
[00:13:53] <jt-plasma> is Gustav a way to prepare the duck?
[00:13:57] <alex_joni> we had goose for dinner, spared the ducks
[00:14:01] <alex_joni> no, that was a pet :D
[00:14:11] <jt-plasma> LOL
[00:14:40] <alex_joni> you could call out to it, and it would come along
[00:14:43] <alex_joni> very cute
[00:14:52] <jt-plasma> kind of like a dog
[00:15:46] <jt-plasma> anyhow I need to wander into the house so I'll chat with you later
[00:16:43] <jt-plasma> say goodnight Gracie
[00:16:50] <alex_joni> night ;)
[00:17:09] <alex_joni> or should I say: "Goodnight Gracie" :P
[01:06:30] <lilalinux> lilalinux is now known as lilalinux_away
[01:25:44] <frallzor> baaah bloody vfd
[01:25:52] <frallzor> why wont it spin my motor
[01:26:02] <eric_unterhausen> what does it do?
[01:26:33] <frallzor> nothing
[01:26:58] <tom3p> does it cause the spindle to move less freely?
[01:27:10] <eric_unterhausen> they tend to do that if you don't understand the incomprehensible directions
[01:27:11] <frallzor> parameters are correct, wired as star and parameters set for it
[01:27:26] <frallzor> tom3p nope
[01:27:28] <frallzor> nothing
[01:27:29] <tom3p> or blink any leds?
[01:27:39] <frallzor> Im pretty sure there is some bloody setting i forgot
[01:27:46] <frallzor> cant figure what
[01:27:50] <tom3p> or develope the internal logic dc supply
[01:27:50] <frallzor> its all idle
[01:28:03] <eric_unterhausen> are you running it from a control panel or external switches/pot?
[01:28:08] <frallzor> controlpanel
[01:29:19] <frallzor> I had to "kill" the filter to get it running on my mains though
[01:29:20] <eric_unterhausen> did you hit "run" ?
[01:29:26] <frallzor> if It can have to do with that
[01:29:42] <frallzor> yes, of course I hit run =)
[01:29:47] <eric_unterhausen> you would think it would give you a phase fault or something
[01:29:57] <eric_unterhausen> do you have a link to the instructions?
[01:30:11] <frallzor> i can have in a minute
[01:30:14] <eric_unterhausen> we have one where you have to give it a non-zero speed in addition to hitting run
[01:30:32] <eric_unterhausen> but that's a tb woods
[01:31:28] <frallzor> http://mcliterature.danfoss.com/WebPublish/doc_MG61A602.pdf
[01:32:36] <eric_unterhausen> that doesn't download properly for me
[01:32:50] <frallzor> hmm now for me now
[01:32:52] <frallzor> either
[01:32:53] <frallzor> odd
[01:33:43] <frallzor> http://mcliterature.danfoss.com/WebPublish/main.do?series=VLT+6000+HVAC
[01:33:53] <frallzor> then choose handbook or something at the bottom
[01:34:13] <frallzor> first line/link under "vlt 6000 hvac"
[01:36:26] <frallzor> did that work?
[01:37:21] <eric_unterhausen> seems to have, sorry it crashed my browser somehow
[01:41:48] <frallzor> anyway, its very odd
[01:42:12] <eric_unterhausen> is it possibly a 480v model?
[01:42:28] <frallzor> nah
[01:42:38] <tom3p> are you wired like page 16? or how are you different?
[01:42:41] <frallzor> its proven to work with 400V
[01:43:10] <frallzor> page 16...
[01:43:37] <frallzor> using english uk version?
[01:44:10] <eric_unterhausen> i just see bukwas on page 16
[01:44:31] <frallzor> i see nothing related to wiring on 16 either
[01:44:45] <eric_unterhausen> tomp is smarter than us
[01:45:07] <frallzor> or didnt download the +170 pages pdf? =)
[01:45:39] <eric_unterhausen> why did you have to mess with the input?
[01:46:04] <frallzor> i had to disable filter to get it going
[01:46:04] <tom3p> http://mcliterature.danfoss.com/WebPublish/main.do?country=&language= document is installation manual, document name is " MG.60.C8.02
[01:46:04] <tom3p> 2"
[01:46:12] <frallzor> triggered our RCD
[01:46:14] <frallzor> leakage
[01:47:09] <frallzor> p 16, that huge wiring diagram?
[01:47:44] <tom3p> diagram shows how to wire 3 phases thru breaker and one phase constantly for control side, how to hook pin 27 (safety interlock' up
[01:48:10] <tom3p> i'll pastebin it...
[01:49:36] <tom3p> hmmm filebin is now an attack site, any suggestion?
[01:50:05] <lilalinux_away> lilalinux_away is now known as lilalinux
[01:50:08] <frallzor> aha mhm
[01:50:10] <tom3p> or get it from the danfoss site
[01:50:11] <frallzor> pin 27
[01:50:24] <frallzor> it was connected to pin 13 when i got it
[01:50:30] <frallzor> 13/12, same stuff
[01:50:32] <frallzor> 24V
[01:50:38] <frallzor> so that should be it
[01:50:39] <MattyMatt> * MattyMatt still reading the chapter titles of the quick setup guide :p
[01:50:59] <frallzor> "hardwired" instead of a swith
[01:51:22] <frallzor> that should be the fix then
[01:51:31] <eric_unterhausen> did you try connecting 18 to 13?
[01:51:39] <frallzor> no
[01:51:53] <frallzor> I just unconnected 27 and 13 since I didnt find info on what they did
[01:52:14] <eric_unterhausen> interlock* probably disables the drive when low
[01:52:27] <frallzor> might be why they had it wired
[01:52:33] <eric_unterhausen> probly
[01:52:41] <frallzor> since it worked before when the seller tested it with it in
[01:53:04] <frallzor> and I removed it when I got it before even testing
[01:53:14] <frallzor> guess ill try it tomorrow again then
[01:54:06] <frallzor> any last words before I go to sleep? :P
[01:54:52] <MattyMatt> merry christmas?
[01:55:45] <frallzor> oh well, TY and GN :P
[01:56:11] <tom3p> http://imagebin.ca/view/fXQO-OlX.html page 16 danfoss vfd install manual basic wiring
[01:56:15] <lilalinux> lilalinux is now known as lilalinux_away
[01:56:59] <eric_unterhausen> he probably just needed the interlock hooked back up
[01:57:15] <eric_unterhausen> but he's gone now, so we may never know
[01:57:42] <eric_unterhausen> I wish everyone put the service manual on line
[01:57:55] <MattyMatt> rs485 control. that would plug straight into a reprap mobo
[01:57:57] <tom3p> or read 'em ;)
[01:58:27] <eric_unterhausen> service manual was a dead link there though, nvr mind
[02:00:12] <tom3p> still thinking of how to use graphics for all the stuff emc instances and how to handle threads.
[02:00:12] <tom3p> i think i'll have a meta bundle "if-emc' that has...
[02:00:12] <tom3p> motion. axis.? axis_ui hal_manualtoolchange iocontrol.0 axis.? axis_ui tc traj
[02:00:12] <tom3p> and do a servo-thread & base-thread.
[02:00:12] <tom3p> just toss 'em on the schema for the user to wire..
[02:00:13] <tom3p> maybe several wires & signals pre-done.
[02:00:15] <tom3p> and threads would be like ttl gates in a dip...
[02:00:17] <tom3p> servo-thread.1 hooks to top priority servo-thread.2 is next,
[02:00:19] <tom3p> and thread 'pins' auto number like extra gates in real cad... drop another & its n+1
[02:00:36] <tom3p> ^^ regarding a gui hal file builder
[02:05:22] <MattyMatt> I've never used a decent circuit cad
[02:07:17] <MattyMatt> I been trying to do a general thing like Visio since 1986
[02:16:23] <MattyMatt> does the schema have dotted line boxes with arbitrary captions? That's one feature I'm adding to mine just for explanatory animations
[02:17:03] <tom3p> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?HalSchematicsUsingGschem i've been on & off for years ( as the wiki shows )
[02:18:37] <tom3p> the symbols are editable ( ~= arbitrary captions), but self numbering like sequential gates in chips, and nameable signals ... it hopefully gets auto-translated into useful hal files
[02:19:27] <tom3p> recently i tore it all up to take a new tack as described
[02:20:42] <tom3p> the symbols just need to follow the emc docs, the tool's function has to output useable hal files ( at least useful fragments )
[02:22:43] <tom3p> just recently i used it for hal-only stuff, but when i used it with emc, i saw emc automaticly created quite a few 'widgets' and signals by itself ( problem... 2 people driving the car , emc and the automagick hal file tool )
[02:22:55] <Valen> burned out our coolant pump motor :-<
[02:24:09] <Valen> and there are no councils having cleanups now :-<
[02:26:49] <MattyMatt> so emc needs to communcate its changes to the hal tool?
[02:27:35] <archivist_emc> or the tool becomes part of emc
[02:30:49] <tom3p> its just that i find text file description of wiring not very understandable... and traditional wiring diagrams make sense to my head
[02:31:32] <tom3p> (not ladder, never grokked that), but wiring diagrams made sense
[02:31:35] <MattyMatt> a picture is worth a thousand words
[02:32:05] <tom3p> literally, thats what 1 diagram becomes ;)
[02:32:28] <MattyMatt> animations can make things even clearer
[02:32:56] <tom3p> ah! you can highlight a net, but i dont have anim really
[02:33:21] <MattyMatt> the last bit of coding I was doing was importing SWF
[02:33:30] <tom3p> highlighting a net makes the signal & all its connection obvious
[02:34:30] <tom3p> swf & svg are cool
[02:34:38] <MattyMatt> in a live diagram yeah, but then I thought I wanted to animate examples in the docs and on youtube etc
[02:34:42] <tom3p> svg the poormans swf
[02:35:04] <Valen> i hate swf as a rule
[02:35:19] <MattyMatt> adobe have published the specs now without all the nda nonsense of openswf
[02:35:20] <Valen> probably because 95% of the time its used to make things irritating
[02:35:29] <tom3p> haha
[02:35:30] <Valen> thats nice of them
[02:35:41] <tom3p> 'youve won!"
[02:36:27] <MattyMatt> somethingawful invented the most irritating banner ad they could, but I've seen worse since
[02:36:44] <tom3p> keep xkill at hand for those sites, kill the messenger & be done with it!
[02:37:18] <Valen> I had a page that had a 1 pixel gif as the background then printed meh a user defined number of times over that
[02:37:30] <Valen> user defined was usually in the 50,000 word range
[02:37:50] <tom3p> but beautiful stuff too like praystation
[02:38:08] <Valen> and the gif was stretched to full screen and made animated, it cycled through all the "bright" colours as fast as it could
[02:42:48] <MattyMatt> sweet, got gschem off lenny server
[02:43:41] <MattyMatt> 1.4.0.20080127 is that new enough?
[02:44:59] <tom3p> yeah my symbols are not version dependant
[02:45:10] <tom3p> nor the idea
[02:46:03] <tom3p> actually exactly same version
[02:46:10] <MattyMatt> * MattyMatt trying to dock the symbol library window. wishful thinking
[02:52:31] <MattyMatt> I intend to install the emc simulator on this machine, but only when I've got a full install on the other machine to compare it with
[02:53:55] <MattyMatt> and that needs more hdds. all my small drive images are on one sata drive, gotta back that up at least
[03:01:28] <Valen> are there any emc sim vmware images floating about?
[03:13:41] <MattyMatt> I don't do VM if I can help it
[03:13:49] <MattyMatt> one OS to crash is plenty for me
[03:14:39] <Valen> lol, I was looking for my dad, he runs windows on his laptop
[03:15:49] <MattyMatt> the simulator could be done as vmware plugin, so emc thinks it's hardware
[03:34:09] <Valen> I was just going to install the emc livecd into a VM and run sim from there
[04:51:45] <MattyMatt> vmware player looks fun but not on my single core lappy, not without a ssd and more ram
[05:00:57] <Valen> VM's like the ram but theres no need for a SSD or anything like that
[05:01:11] <Valen> and single core isn't the end of the world
[05:01:28] <Valen> they dont run them emulated so the overhead is pretty minimal really
[05:58:06] <MattyMatt> I need an ssd anyway, or a faster bigger drive
[05:58:31] <MattyMatt> if I get a cardbus->cf adaptor I could boot any OS off that
[05:59:15] <MattyMatt> that'd be no faster, just bigger and more reliable
[05:59:57] <Valen> whats in it now?
[06:00:05] <MattyMatt> 30GB travelstar
[06:00:22] <Valen> yeah they can be a bit slow ;->
[06:00:48] <Valen> but yeah a VM isn't going to be much slower on that than it would be on the bare machine anyway
[06:01:02] <Valen> boot speed is usually dramatically improved lol
[06:02:30] <MattyMatt> I don't often reboot tbh
[06:04:04] <Valen> i meant booting the VM
[06:05:59] <MattyMatt> I only switched to gnome to try anjuta (because I was under the impression it needed gnome) and that was over a year ago
[06:06:42] <MattyMatt> so if I put Linux on lappy, it isn't ever changing back. I'll put XP in a VM for VS
[06:07:44] <MattyMatt> i presume emc will work ok on a bare thinkpad, even with ubuntu 7
[06:22:26] <MattyMatt> is this thing a stepper? http://cgi.ebay.co.uk/LEGO-Light-Bluish-Gray-Electric-Motor-9V-Power-Functio_W0QQitemZ360214765689
[07:52:53] <MarkusBec_away> MarkusBec_away is now known as MarkusBec
[08:05:31] <MarkusBec> MarkusBec is now known as MarkusBec_away
[10:58:29] <lilalinux_away> lilalinux_away is now known as lilalinux
[12:21:26] <lilalinux> lilalinux is now known as lilalinux_away
[13:11:10] <lilalinux_away> lilalinux_away is now known as lilalinux
[13:53:49] <Jim> Jim is now known as Guest82256
[15:30:06] <frallzor> hoyhoy
[16:07:32] <ninj3rk> hi all
[16:07:48] <ninj3rk> has anyone made an ebuild for emc2 gentoo?
[16:10:30] <ninj3rk> ?
[17:01:37] <lilalinux> lilalinux is now known as lilalinux_away
[17:20:17] <jimbo> I am setting up an encoder inside of hal. When I look at the pins phase-A and -B I see that a leads b which is good. when I look at encoder counts IT does not increment or decrement. ? any ideas
[17:23:04] <skunkworks> do you have the encoder functions running in threads?
[17:24:10] <skunkworks> like addf encoder.update-counters
[17:24:26] <skunkworks> and addf encoder.capture-position
[17:24:42] <skunkworks> top would be in the base thread - bottom would be in the servo thread
[17:24:59] <skunkworks> addf encoder.update-counters base-thread
[17:25:09] <skunkworks> addf encoder.capture-position servo-thread
[17:25:23] <jimbo> when I exicute these commands.
[17:25:25] <jimbo> addf encoder.capture-position servo-thread
[17:25:26] <jimbo> addf encoder.update-counters base-thread
[17:25:28] <jimbo> the base thread add fails
[17:25:37] <skunkworks> do you have a base thread?
[17:26:33] <jimbo> I start with loadrt encoder num_chan=1 and then try to add to the threads.
[17:27:29] <jimbo> So if the loadrt does not dreat a base thread then I am missing somthing.
[17:28:29] <jimbo> I am running 2.4 pre
[17:28:59] <skunkworks> you need to also have a fast base thread if your going to count the encoder. base_period_nsec=[EMCMOT]BASE_PERIOD needs to be added to the loadrt line.. plus you need the base_period added to the ini file. (if it isn't there)
[17:29:14] <skunkworks> brb
[17:58:13] <jt-plasma> jimbo does your ini file have a BASE_PERIOD = in the [EMCMOT] section?
[18:02:00] <jimbo> jt-plasma I added this line
[18:02:01] <jimbo> loadrt threads name1=encode-thread period1=1000000
[18:02:03] <jimbo> changed this line
[18:02:04] <jimbo> addf encoder.update-counters encode-thread
[18:02:06] <jimbo> I now get counts but it seems to be missing some.
[18:03:33] <skunkworks> that is way too slow for encoder counting..
[18:04:00] <skunkworks> it is only going to count every 1ms. what is your application?
[18:04:17] <jimbo> hand encoder wheel
[18:04:34] <jimbo> When I try to lower it it errors on load
[18:04:55] <skunkworks> what is the error?
[18:05:05] <skunkworks> try 50000
[18:05:17] <jimbo> OK
[18:06:42] <skunkworks> that would give you a maximum of 20khz count rate.
[18:06:49] <jt-plasma> jimbo: you can open up the Stepconf wizard and test your Base Period Jitter then enter the value you get and it will tell you the Min Base Period
[18:08:04] <jimbo> insmod: error inserting threads.ko -1 operation not permitted
[18:11:10] <MarkusBec_away> MarkusBec_away is now known as MarkusBec
[18:17:54] <jt-plasma> * jt-plasma heads in for a nap
[18:21:13] <jimbo> When I try to load this:
[18:21:14] <jimbo> loadrt threads name1=encode-thread period1=50000
[18:21:16] <jimbo> I receive the insmode error mentioned above.
[18:21:38] <SWPadnos> have you stopped the realtime system since you loaded the 1ms thread?
[18:22:43] <jimbo> I have stopped and resarted emc axis
[18:23:24] <jimbo> I am looking at all of this in axis
[18:28:09] <SWPadnos> ah, ok
[18:28:34] <SWPadnos> so you don't need to create new threads. You should already have a base thread and a servo thread, created for you by emcmot
[18:31:37] <jimbo> Yes. but when I try to load
[18:31:38] <jimbo> addf encoder.update-counters base-thread
[18:31:40] <jimbo> I receive an error..
[18:32:44] <jimbo> I am running 2.4.0pre
[18:33:35] <jimbo> I am going to rebase a compile and see if things change
[18:35:33] <SWPadnos> they probably won't
[18:35:54] <SWPadnos> it looks to me as though something is mis-spelled
[18:36:25] <SWPadnos> run emc/AXIS without your extra encoder stuff, then look at the names of the threads
[18:37:20] <jimbo> OK
[18:37:39] <jimbo> Need to compile first
[18:37:54] <SWPadnos> also, the actual error that halcmd gives you would be good to know
[18:38:05] <SWPadnos> you could try it with the currently-compiled version
[18:38:15] <SWPadnos> this stuff hasn;t changed in a long time
[18:38:21] <SWPadnos> s/;/'/
[18:38:39] <SWPadnos> bbiab - gotta change a headlight
[18:38:46] <jimbo> Already pulled down the base stuck with it now
[18:51:47] <KimK_afk> KimK_afk is now known as KimK
[18:54:53] <cradek> hey, the forecast says snow today! ... and tonight ... and tomorrow
[18:57:47] <jimbo> I do not have a base thread inside axis only an servo-thread. This could be because I am using a m5i20 board.
[19:03:38] <skunkworks> cradek: that is what we had the last few days.. rain/sleat/snow - repeat.
[19:04:31] <eric_unterhausen> well, at least here they melted all the old snow first
[19:05:16] <cradek> it'd be ok except the wind keeps piling it in the worst places
[19:07:59] <eric_unterhausen> where you at?
[19:10:35] <eric_unterhausen> newegg specials include a mobo with 10 USB ports on the back panel
[19:10:48] <eric_unterhausen> seems like that might possibly be overkill
[19:11:04] <cradek> eric_unterhausen: Lincoln NE
[19:11:40] <eric_unterhausen> I'd blame the Canadians
[19:13:04] <skunkworks> the canadians are responsible for too many usb ports?
[19:13:18] <eric_unterhausen> for the weather in Nebraska
[19:13:27] <eric_unterhausen> but probably the USB ports too
[19:13:37] <skunkworks> ah - ok. that makes sense
[19:13:43] <skunkworks> ;)
[19:14:15] <skunkworks> the atom board that has been running the latency test from wednesday is at 15us
[19:14:48] <eric_unterhausen> how are you stressing it?
[19:15:15] <skunkworks> youtube - few glxgears
[19:15:39] <eric_unterhausen> 20 copies of glxgears seems to be pretty hard to cope with
[19:16:05] <eric_unterhausen> although running open office from a CD isn't exactly easy on a system either
[19:16:31] <skunkworks> the video seems to run opengl really well. The glxgears run quite smooth at full screen.
[19:16:50] <tom3p> on board video?
[19:17:39] <skunkworks> yes
[19:18:42] <tom3p> which board?
[19:18:44] <skunkworks> http://www.newegg.com/Product/Product.aspx?Item=N82E16813121359&cm_re=330_atom_intel-_-13-121-359-_-Product
[19:18:47] <tom3p> thx
[19:20:41] <tom3p> intel 945, could you try turning the screen 90 degree? and mirroring it for a HUD ? ;)
[19:21:22] <eric_unterhausen> for some reason that type of effect really slows things down
[19:21:52] <tom3p> reassembling pixels in different order
[19:23:24] <skunkworks> is that reletivley easy>
[19:23:25] <skunkworks> ?
[19:24:24] <tom3p> easy but the bit shifting at 30fps is a bunch at hi screen rez
[19:25:19] <jimbo> I am using the Mesa boards for servo control. My configuration does no create a base thread as the sherline does. My BASE_THREAD is set to 50000. My jitter is less then 15000. When I create a base-thread using thread I am unable to enter a period less then 1ms. should I be using stepgen instead of thread to create the base thread?
[19:25:19] <tom3p> oh, easy to use the screen rotate if thats what you mean,,,, System|Preferences|Screen Resoulution
[19:31:43] <skunkworks> tom3p: ok - I will try when I get a chance
[19:33:38] <SWPadnos> jimbo, the first thread created determines the resolution of all remaining threads
[19:34:03] <SWPadnos> you need to make it so you do get a base thread, which you can do by changing the "loadrt motmod" line in your hal file
[19:34:25] <SWPadnos> and add the necessary setting to the ini file (BASE_PERIOD_NS=xxx)
[19:34:46] <SWPadnos> just look at a parport-based config to see what to add/change
[19:40:18] <jt-plasma> jimbo: can you add an encoder to the Mesa config and use that instead of software encoder?
[19:41:05] <SWPadnos> `oh - good point. if the I/Os are on the mesa card, they can't be read any faster than the servo thread without some amchinations
[19:41:36] <SWPadnos> (you'd need to add a faster, but not too fast thread, and use the mesa read-gpio function in that thread)
[19:47:11] <frallzor> sweetums
[19:47:20] <frallzor> gotz teh motor running
[19:48:24] <jimbo> The wheel is connected to the Mesa card. How do I add an additional encoder to the mesa card. I am using m5i20.0.in-30 and 31 as my pins.
[19:48:49] <MarkusBec> MarkusBec is now known as MarkusBec_away
[19:50:20] <SWPadnos> if you're using the hostmot2 driver, then you can increase num_encoders by 1
[19:50:31] <SWPadnos> on the loadrt hostmot2 line (I think)
[19:50:42] <SWPadnos> if you
[19:51:07] <jimbo> I am not using hotmot2. looks like i need to change.
[19:51:08] <SWPadnos> if you're already using all the encoders that your bitfile allows, then you may need to change bitfiles
[19:51:25] <lilalinux_away> lilalinux_away is now known as lilalinux
[19:51:32] <SWPadnos> you probably should. m5i20 is deprecated, and may be removed from a later version of emc2 (like 2.4 :) )
[19:52:13] <jimbo> I am already using all of my encoders. where do I find the bitfile with more encoders?
[19:52:43] <jimbo> big smily .... oh boy.
[19:53:10] <frallzor> http://www.vimeo.com/8397375 great success!
[19:53:58] <SWPadnos> you'll have to look at a sample hostmot2 config. the bitfiles are in the /lib/firmware directory, and they have some sort of pseudo-regular naming (SVST8_8 is servo/stepper 8 and 8 - ie, 8 servos and 8 steppers)
[19:54:16] <SWPadnos> check the manual and/or manpages for the hostmot2 driver for more info, I don't know all the specifics
[19:54:25] <SWPadnos> bbl - off to Home Despot
[19:54:55] <jimbo> Thanks SWPadnos off to the research farm again.
[19:55:02] <jt-plasma> yea, if you can switch to hostmot2 then you can pick
[19:55:23] <jt-plasma> jimbo: hang on a sec
[19:56:10] <jt-plasma> some reading material on hostmot2 http://www.linuxcnc.org/docview/html//drivers_hostmot2.html
[19:57:24] <jt-plasma> jimbo: I just picked a sample config and went from there for my plasma and added an encoder simply by increasing the encoder count
[20:03:19] <MarkusBec_away> MarkusBec_away is now known as MarkusBec
[20:11:19] <danimal_garage> yea, pretty easy to increase the encoder count in the ini file, assuming your bitfile allows more encoders
[20:11:39] <ries> frallzor: congrats with the monster back at home ;)
[20:11:49] <frallzor> ty :P
[20:11:56] <frallzor> congrat me on the motor too!
[20:12:00] <frallzor> just got it running
[20:12:05] <frallzor> http://www.vimeo.com/8397375
[20:13:11] <ries> I was just opening the movie :)
[20:13:17] <frallzor> I see!
[20:13:35] <danimal_garage> you got your machine base back?
[20:13:41] <frallzor> yeah
[20:13:51] <danimal_garage> what did you do to it again?
[20:13:58] <frallzor> I made it :P
[20:14:05] <frallzor> "mechmate" =)
[20:14:08] <danimal_garage> oh
[20:14:11] <danimal_garage> ahh
[20:14:11] <ries> frallzor: the spindle does make a bit of sounds, but how does it compare to a router?
[20:14:50] <frallzor> compared in what way
[20:15:01] <ries> frallzor: noice
[20:15:03] <ries> noise
[20:15:39] <frallzor> this little bugger has double angular ceramic bearings so that does make it sound a bit more, so all in all it makes more noise at full speed
[20:15:54] <frallzor> and its aircooled, that does add some noise too
[20:16:12] <frallzor> but compared to my old kress its about the same so far
[20:16:22] <frallzor> but I didnt max it yet
[20:16:26] <danimal_garage> my computer is slow, the vid is still loading
[20:17:15] <ries> frallzor: are angular ceramic bearing better?
[20:17:27] <frallzor> well they last alot longer
[20:17:55] <frallzor> and angulare makes it good for pure drilling too
[20:18:00] <frallzor> axial forces
[20:18:03] <danimal_garage> i need new spindle bearings for my mill.. they're $540 though... ouch
[20:18:33] <frallzor> I dont want to think about the cost for mine, but I will probably never have to change them :P
[20:18:50] <danimal_garage> mine are probably 30 years old
[20:19:49] <danimal_garage> i doubt they've been changed
[20:19:59] <frallzor> =)
[20:20:26] <danimal_garage> my mill is the same age as me i think
[20:20:33] <danimal_garage> my lathe is older
[20:21:18] <danimal_garage> in fact my only piece of iron that is newer than me by a few years is my surface grinder
[20:21:34] <frallzor> =P
[20:22:07] <danimal_garage> so you run it at 150hz?
[20:22:26] <frallzor> it goes up to 400 with a base at 300
[20:22:37] <frallzor> but I didnt wanna rev it all up
[20:22:54] <danimal_garage> how safe is that for a bigger motor?
[20:23:11] <frallzor> well its made for 400 :)
[20:23:16] <frallzor> so I guess its safe
[20:23:37] <danimal_garage> i have a larger 3hp 3500rpm 3 phase motor, just curious how fast i can run it safely
[20:24:06] <frallzor> specs should be on it
[20:24:15] <frallzor> I wouldnt use higher than those
[20:24:21] <danimal_garage> on the motor? no.
[20:24:39] <frallzor> thats the standard to put specs on it
[20:24:44] <frallzor> or "standard"
[20:25:01] <frallzor> should say all you need, Y or D and what specs for each connection
[20:25:02] <danimal_garage> it just says the rpm's at 60hz
[20:25:35] <frallzor> no idea on how to know then
[20:26:09] <danimal_garage> i dont think that's the standard for c frame motors
[20:26:51] <frallzor> All 3phasers ive seen has the specs on then, but then again, there are alot of motors in the world =)
[20:27:22] <danimal_garage> this isnt anything like yours, it's alot bigger
[20:27:32] <frallzor> well Ive seen alot bigger too =)
[20:27:54] <frallzor> friend of the family has a electric motor workshop
[20:28:08] <frallzor> so he does small and huge =)
[20:28:58] <frallzor> might be an overseas thing? :P
[20:29:14] <frallzor> european vs american standards?
[20:30:06] <danimal_garage> yea, i've never seen a single motor have any specs in regards to increasing the frequency to achieve higher rpm's
[20:30:17] <danimal_garage> but i am in the states
[20:30:59] <frallzor> min has max rpm, base rpm, max freq, base freq, Y and D connections specs: voltage and power
[20:31:15] <frallzor> *e
[20:43:59] <Jymmm> cradek: In respect to your TTT.c, when you're pulling the glyths, what do the raw output look like?
[20:46:56] <cradek> Jymmm: quadratic or cubic curves, depending on the type of font
[20:47:22] <Jymmm> cradek: do you have a tiny sample by chance?
[20:47:36] <Jymmm> It's more curiosity than anythign else.
[20:48:08] <cradek> Jymmm: the code is pretty minimal already - have you looked at it?
[20:48:40] <Jymmm> cradek: Yes, I see that FT is doing much of the work.
[20:49:06] <cradek> yeah the basic output is that ft calls your 'helpers' to handle the curves
[20:50:04] <Jymmm> cradek: Ok, if you were to save the raw glyths, are they text or binary?
[20:51:11] <cradek> I'm not sure what the storage format is in a ttf file
[20:51:26] <cradek> but you don't want to mess with it anyway - that's why you use the freetype library
[20:52:10] <Jymmm> cradek: no no I understand that, I was just curious of the "vector storage" method they used is all.
[20:52:28] <cradek> sorry, I'm blissfully unaware of that :-)
[20:52:39] <Jymmm> Like SVG, PS, etc
[20:52:47] <Jymmm> Heh, it's ok =)
[20:55:42] <Jymmm> Yeah, PS is about the most straight forward vector I've seen, then SVG, and then DXF is just cluster fsck gone wrong, but it works =)
[20:56:10] <cradek> yeah, PS is a programming language more than a file format
[20:56:25] <Jymmm> Yeah, that's why I love it
[20:56:34] <cradek> DXF was meant to be easy to read by BASIC programs in the early 80s
[20:56:57] <Jymmm> Ah, maybe that explains the newline abse in it
[20:56:59] <Jymmm> abuse
[20:57:12] <cradek> yeah, one number per line: INPUT X
[20:57:22] <cradek> or was it READ
[20:57:35] <micges> INPUT
[20:57:48] <cradek> right, READ was the terrible DATA thing
[20:58:03] <cradek> I'm sure glad we have better languages now
[20:58:21] <eric_unterhausen> Cobol, had to learn that to program a Wang computer
[20:59:30] <micges> jeez
[21:00:21] <Jymmm> I wish PS would would become public domain, it would be SO awesome if it was modernized and used instead of SGML... It would replace JS, SVG, PDF, and much of Flash
[21:00:44] <micges> two years took me to cover all DXF madness :)
[21:01:54] <cradek> Jymmm: the NeXTs are calling you from 1990
[21:02:20] <cradek> bbl
[21:02:26] <Jymmm> cradek: Hey now, I had to sell my TurboNeXT station =(
[21:02:46] <Jymmm> I loved that thing, just no room for it
[21:04:53] <Jymmm> circa 2005
[21:59:40] <frallzor> hmm
[21:59:57] <frallzor> if a motor is 24000rpm at 400Hz
[22:00:23] <frallzor> can you just divide 24k by 400 and get what it would be at like.... 100Hz?
[22:02:33] <cradek> I think so
[22:02:52] <frallzor> can you calculate power somehow too?
[22:02:56] <cradek> I think torque will be lower and heating will be higher if you run it at a slower frequency
[22:03:16] <frallzor> or yeah torque was what I meant
[22:03:23] <frallzor> "power" =)
[22:03:39] <cradek> don't know how it's calculated, sorr
[22:03:40] <cradek> y
[22:04:03] <cradek> I'd guess linear, and then I'd ask jmkasunich
[22:04:06] <frallzor> trial and error will be enough when its all done
[22:04:19] <frallzor> too see how slow stuff can be done
[22:05:41] <skunkworks> frallzor: got one of those water cooled spindles?
[22:05:57] <frallzor> nope
[22:06:14] <frallzor> a teknomotor branded one
[22:06:17] <frallzor> from damencnc
[22:06:38] <jmkasunich> torque will be roughly proportional to current, and constant as you vary frequency
[22:06:52] <frallzor> http://www.vimeo.com/8397375 http://www.vimeo.com/8397375 this baby here
[22:06:58] <frallzor> bah I hate mirc!
[22:07:00] <jmkasunich> voltage needs to be linearly proportional to frequency
[22:07:31] <frallzor> guess the vfd will fix that?
[22:07:58] <jmkasunich> yes, it should be configured to produce the proper voltage/frequency ratio for the motor
[22:08:25] <frallzor> Ive setup all that can be done so it should be A OK then =)
[22:16:17] <jt-plasma> when a motor spec says constant hp range 2:1 does that mean you can run it at 120hz?
[22:16:54] <frallzor> assuming its 60Hz then?
[22:17:03] <jt-plasma> yea
[22:18:59] <jt-plasma> * jt-plasma listens to Pink Bach Floyd
[22:20:04] <Jymmm> early floyd huh?
[22:20:10] <jt-plasma> yea
[22:20:27] <Jymmm> you know they were originally classically trained?
[22:20:37] <Jymmm> same with Led Zep
[22:21:07] <jt-plasma> yes, I guess that is why I like the music so much
[22:21:12] <Jymmm> =)
[22:22:26] <jt-plasma> well the temporary panel has been removed and we are all on warp power here in the shop :)
[22:22:34] <jt-plasma> all I have to do is clean up the mess
[22:23:02] <Jymmm> Got Bobcat?
[22:26:36] <jt-plasma> got John Deere 310A backhoe
[22:27:02] <Jymmm> That works, and you can widen the doorway at the same time
[22:27:03] <jt-plasma> I can pick up a bobcat with it
[22:27:16] <jt-plasma> and raise the roof!
[22:27:42] <jt-plasma> Coco really loves this jerky
[22:27:52] <frallzor> Coco Banana?
[22:28:03] <jt-plasma> black lab
[22:29:27] <jt-plasma> I think I'll take option "C" and pick it up by hand...
[22:32:44] <Jymmm> wuss
[22:32:49] <Jymmm> bbiab
[22:33:53] <frallzor> ttyl