#emc | Logs for 2009-03-01

[00:03:42] <twice2> cradek: never recieved my package!
[00:06:48] <cradek> twice2: ???
[00:07:02] <twice2> no wonder, the typo :)
[00:07:40] <twice2> your WWVB Clock
[00:09:28] <cradek> sorry, I have no idea what you're talking about! what important context don't I remember that would help me?
[00:09:34] <twice2> just kidding, very cool tho
[00:10:44] <cradek> oh I think I get it now
[00:18:13] <twice2> sorry for the lightness. is it good for me to remove unneeded coolant/llube/spindle/tool stuff from hal files, or just save some mem?
[00:33:47] <rob__> u can always comment them out twice2 with a # at start of lines, then when u want them back in just uncomment them and reroute them if needed,
[01:12:02] <twice2> rob_: thanks, i was just thinking doing so might unload my meager system a bit. sorry 'n cheers
[01:17:16] <dareposte> wahoo! I finally cut some pipe threads
[01:17:23] <dareposte> emc rocks
[01:31:34] <dareposte> except now i'm lusting over high resolution encoders
[01:34:55] <JymmmEMC> dareposte: congrat
[01:34:57] <JymmmEMC> s
[01:35:25] <dareposte> thanks...
[01:35:47] <dareposte> i'd like to make a nice function to do this.. it's a pain
[01:36:19] <JymmmEMC> dareposte: You could always bribe cradek or jepler
[01:37:05] <dareposte> cradek and i have discussed it, but we came to think that maybe the normal threading function could do it with the exit taper
[01:37:58] <dareposte> but i was too confused to make it work that way
[01:38:09] <dareposte> :-/
[01:38:51] <dareposte> i may attempt to hack out a patch, and see if one of them will review it
[01:40:59] <dareposte> maybe over my head though
[02:00:28] <dareposte> the single index pulse with interpolated encoder seems to work reasonably well, but it does fall behind at random places and then catch back up
[02:00:36] <dareposte> not sure what the deal is there
[02:25:21] <SWPLinux> dareposte: there are two outputs from the encoder, and two spindle inputs to the motion controller
[02:25:28] <SWPLinux> one is position, the other velocity
[02:27:39] <SWPLinux> you need the position one connected, and that should go from the encoder calculated-position (or however it's spelled) to the motion.spindle-revs input
[02:27:54] <SWPLinux> estimated-position maybe
[02:28:17] <SWPLinux> ah, position-interpolated
[03:31:47] <dareposte> SWPLinux: I think it got connected, it does do the g33 now *most* of the time it does good
[03:41:36] <jepler> 1PPR threading? if the speed is varying much, the position interpolation will do "bad things". If it slows down, emc will probably seem to pause at the end of a rotation until the pulse is seen. If it speeds up, emc will probably seem to jerk forward to catch up just after the pulse arrives.
[03:43:03] <dareposte> yeah thats what its doing
[03:43:05] <dareposte> jepler:
[03:43:14] <dareposte> I have a VFD on it though
[03:48:14] <cradek> how do you hook that up? I see encoder.position-interpolated is the output you use, and I suppose encoder.position-scale would be set to 1, but what do you hook the input to? just Z? Z and A?
[03:48:30] <cradek> did you find instructions somewhere?
[03:49:23] <jepler> I think you would hook up Z and A and turn on counter-mode; that's what I did when doing low-level testing of the software encoder and 1PPR
[03:49:28] <jepler> (Z and A from the same signal)
[03:49:47] <cradek> ah, I didn't think about counter mode - I bet you're right
[03:49:55] <cradek> otherwise the quadrature makes no sense
[03:50:32] <cradek> oh look, it even says that.
[03:51:45] <cradek> dareposte: are you sure your settings are right?
[04:06:49] <dareposte> i used encoder.position-interpolated
[04:07:04] <dareposte> i hooked the input to phase a and z
[04:07:39] <dareposte> cradek: I am not sure my settings are right, but it does seem to work. It created a 1/8-npt that threads onto my tapping die
[04:07:57] <dareposte> aside from the sporadic jumpiness it appears to be doing what its supposed to
[04:08:03] <JymmmEMC> OUCH!!! http://randomfunnypicture.com/archives/fixed/?id=544
[10:13:22] <emc2> Hallo an Alle Wie erfahre ich bei der Mesa 5i20 welche io/s bei der svst8_4.bit für endschalter nutzbar sind
[10:38:56] <alex_joni> emc2: hi
[10:39:11] <alex_joni> da sollte ein svst8_4.pin zu finden sein
[10:40:02] <alex_joni> http://cvs.linuxcnc.org/cvs/emc2/src/hal/drivers/mesa-hostmot2/firmware/5i20/SVST8_4.PIN?rev=1.1
[10:40:17] <alex_joni> emc2: auch dmesg sollte bescheid begen welchen pins benutzt werden
[10:49:41] <emc2> @ Alex ist richtig aber dort steht Quad-B oder Quad-IDX oder aber kein bit
[10:52:37] <alex_joni> emc2: wenn du ein QCount aktivierst dann kannst du den I/O nicht benutzen
[10:52:56] <alex_joni> wenn der QCount (sprich encoder) nicht aktiviert ist, dann ist der I/O frei
[10:56:19] <emc2> @ Alex also muss ich wenn ich in der *.ini die Anzahl der Encoder herrabsetzen Vielen Dank werde ich Testen
[10:58:55] <alex_joni> emc2: wieviele encoder hast du ?
[10:59:13] <alex_joni> (pass auf dass du nicht unter 1 absetzt, sonst gibts aerger mit emc2-2.2.8)
[11:00:17] <emc2> @ Alex keinen Den Ärger habe ich mir grade gemacht, muss ich jetzt den Rechner neu starten
[11:00:51] <alex_joni> ich denke du kannst die I/Os trotzdem benutzen
[11:00:57] <alex_joni> auch wenn der encoder aktiviert ist
[11:02:10] <emc2> @ Alex net min-x <= m5i20.0.in-24 und net min-x => axis.0.neg-lim-sw-in zeigt keine reaktion
[11:02:34] <alex_joni> m5i20 ?
[11:02:43] <emc2> @ alex ja
[11:02:56] <alex_joni> das heisst du benutzt den alten treiber nicht hostmot2
[11:04:11] <alex_joni> dann stimmt der SVST8_4 nicht, das ist fuer hostmot2
[11:04:17] <emc2> @ alex ich nutze den neuen loadrt [HOSTMOT2](DRIVER) config=[HOSTMOT2](CONFIG) und DRIVER=hm2_pci
[11:04:18] <alex_joni> http://www.linuxcnc.org/docview/html//hal_drivers.html#r1_5_4 <- das ist fuer m5i20
[11:04:31] <alex_joni> dann ist m5i20.0.in-24 schmarrn
[11:04:53] <alex_joni> das soll hm2_5i20.* heissen, nicht m5i20
[11:05:11] <emc2> @ Alex Wie nutze ich denn die Eingänge
[11:06:09] <alex_joni> emc2: emc2 starten und dann mit "halcmd show pin hm2_5i20*" die Pins anzeigen lassen
[11:06:24] <alex_joni> dann siehst du wie die genau heissen
[11:07:50] <alex_joni> (ich "denke" hm2_5i20.0.gpio.024 oder so was)
[11:08:58] <emc2> @ Alex Dafür muss ich erst den Rechner neu Starten Melde mich später Danke erstmal
[11:09:01] <alex_joni> emc2: mach mal "sudo dmesg -c" bevor du emc2 startest
[11:09:11] <alex_joni> dann "dmesg > datei" nach dem starten
[11:09:22] <alex_joni> in "datei" sollten dann alle Info zu finden sein
[11:09:49] <alex_joni> (sudo dmesg -c loescht die dmesg meldungen: z.b. die die vom Rechnerstart kommen, die brauchen wir im Moment nicht)
[11:15:23] <emc2> @ Alex wo finde ich die Datei "Datei"
[11:18:44] <alex_joni> in dem verzeichnis wo du den befehl geschrieben hast
[11:18:51] <alex_joni> bbl.. mittagsessen
[13:00:29] <fenn> gosh that's a lot of entries in the changelog
[13:50:08] <emc2> @ Alex Danke funktioniert jetzt mit net min-x <= hm2_5i20.0.gpio.P3.024.in_not Wie verhindere ich, das er immer auf die Endschalter fährt HOME_IGNORE_LIMITS = NO funktioniert nicht
[14:02:41] <alex_joni> emc2: http://www.linuxcnc.org/docview/devel/html//config_ini_homing.html
[14:03:16] <JymmmEMC> nicht ?
[14:03:35] <alex_joni> nicht = not
[14:03:47] <JymmmEMC> ty
[14:03:50] <alex_joni> np
[14:04:02] <JymmmEMC> auf ?
[14:05:29] <alex_joni> wie verhindere ich = how do I prevent it
[14:05:53] <alex_joni> dass er immer auf die Endschalter faehrt = so that it doesn't drive on the end limits
[14:06:22] <JymmmEMC> sorry alex, I was only interested in a couple of wprds, not what was actually said
[14:06:32] <JymmmEMC> the phonics if you will
[14:06:48] <alex_joni> auf can have a lot of meanings
[14:06:51] <JymmmEMC> but i guess it doens't translate literally
[14:06:55] <alex_joni> open, on, etc
[14:07:14] <alex_joni> aufstehen = stand up
[14:07:33] <alex_joni> aufmachen = open (literally: make open)
[14:08:33] <JymmmEMC> Kinda like 'de'; activate, de-activate, etc
[14:11:04] <alex_joni> maybe.. it also works standalone
[14:11:11] <alex_joni> Auf & Zu (Open and Closed)
[14:12:22] <JymmmEMC> ah
[15:25:55] <fenn> hmm. http://fennetic.net/pub/irc/fuglyfont.png
[15:26:11] <cradek> bleh
[15:26:33] <cradek> 2.2 wasn't like that?
[15:26:51] <fenn> this is a new computer
[15:27:00] <fenn> i'm probably missing some font package
[15:27:24] <cradek> yes that, or your screen dpi is bogus
[15:29:18] <fenn> usrmotintf: ERROR: could not open shared memory
[15:29:27] <fenn> why would I be getting that with --enable-simulator?
[15:32:02] <fenn> halcmd seems to work fine
[15:32:36] <cradek> sorry, I don't know
[15:42:06] <fenn> * fenn decides to do a new checkout
[15:54:42] <jepler> in 2.3, there's fancy code in emc.tcl that tries to pick a font size to match the gnome desktop
[15:54:45] <jepler> that wasn't in 2.2
[16:15:57] <fenn> i dont have any gnome desktop.. what's it looking for in particular?
[16:19:30] <fenn> anyone know how to get google to not substitute words? i'm trying site:linuxcnc.org +"spindle-speed-in"
[16:19:47] <fenn> and i get basically every document with "spindle" and "speed" in it
[16:20:38] <eric_unterhausen> that drives me nuts, it ignores quotes
[16:21:09] <fenn> quotes used to work, then you had to add +, now i dont know what to do
[16:21:11] <eric_unterhausen> and - is a character it doesn't think is worthy of searches
[16:21:34] <dareposte> yeah it doesn't index punctuation
[16:22:13] <fenn> argh
[16:22:16] <eric_unterhausen> if you search for "google sucks the bike wazoo" it works
[16:22:36] <fenn> there's an answer on google answers but they shut down the google answers project and dont let you look at the cache :(
[16:22:52] <dareposte> i think the answer was it doesn't work
[16:23:30] <dareposte> "You cannot use google to get the exact search AND ONLY the exact search; google sees their role as finding things; if not enough of your exact request, then similar options. "
[16:26:49] <fenn> dareposte: i think you're right
[16:27:13] <dareposte> maybe try yahoo or one of the other dino's
[16:27:28] <fenn> i hate yahoo. altavista is tolerable i guess
[16:27:40] <fenn> i dont understand why they broke it
[16:28:25] <eric_unterhausen> probably for spam
[16:28:50] <dareposte> i think there would be a good market for a regex search engine
[16:28:51] <fenn> why would that matter?
[16:29:00] <dareposte> all the coders could use it
[16:29:12] <fenn> supposedly google code search does regex but i could never get it to work.. (and it only searches code they've indexed?)
[16:33:41] <JymmmEMC> http://www.google.com/search?q=site%3Alinuxcnc.org+%22%2Bspindle-speed-in%22
[16:37:26] <fenn> JymmmEMC: close but no cigar
[16:38:03] <fenn> for example it returns this page http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?MillSetup
[16:38:25] <fenn> i'll keep that in mind though
[16:39:06] <JymmmEMC> I tried =)
[16:39:36] <JymmmEMC> I think it's sort by relevance too, but I culdn't get it to remove the ones with spaces in them instead.
[16:41:20] <fenn> you cant just remove the ones that have the phrase with spaces in it
[16:42:12] <JymmmEMC> site:linuxcnc.org "+spindle-speed-in" -"spindle speed in"
[16:42:30] <JymmmEMC> but the (-) character is a control character
[16:42:36] <JymmmEMC> in google that is
[16:43:36] <fenn> what if i was looking for a page that said: spindle-speed-in, spindle speed in revs per second
[16:44:18] <fenn> (which is not too far from what it actually says)
[16:48:15] <eric_unterhausen> can you use \
[17:22:19] <fenn> jepler: i find ::emc::standard_font_size of 9 or 11 to be much prettier; is there a reason it's 12?
[17:24:46] <fenn> i dont really understand why we have to define a standard font size i guess
[17:28:07] <fenn> fwiw my X thinks it's 120x130 dots per inch
[17:49:43] <jepler> fenn: if the 2.3 defaults are worse than 2.2 then I'll probably just rip that code back out
[21:29:28] <JymmmEMC> JymmmEMC is now known as Red70sShow
[21:40:38] <Red70sShow> Red70sShow is now known as JymmmEMC
[22:52:26] <BigJohnT_> BigJohnT_ is now known as BigJohnT
[23:48:55] <leito14> hi everybody, i've bought a mesa 5i20 and a 7i33 boards and i have a few questions about :)
[23:49:41] <leito14> the first is if the hostmod 2 config loads when i run the m5i20 example config on the emc2 ?
[23:59:36] <jmkasunich> that information is in the config files