#emc | Logs for 2006-12-12

Back
[00:27:22] <jepler> mdynac: In the GDM setup window (which you can get by executing 'sudo gdmsetup' at the terminal, or from somewhere in the gnome menus) you can enable automatic login on the Security tab.
[00:28:09] <jepler> mdynac: If you create a file in your user's home directory, named .xsession, make it executable ("chmod +x"), you can put commands in it that are executed instead of the normal gnome programs
[00:28:43] <jepler> when the .xsession script exits, the user is logged out
[00:29:43] <jepler> so you might have a simple script that starts a standalone window manager like icewm or fluxbox (after you install the package for the WM) and then runs emc with the desired configuration
[00:33:44] <mdynac> okay i will give it a try...i'm looking for a very bare bones pc, video onboard and one pci slot....i don't need lan,sound, hell i don't even need serial or parallal ports.....any suggestions?
[00:35:15] <jepler> nope -- none of my friends trust me when I tell them what hardware to buy
[00:36:58] <Jymmm> * Jymmm agrees with jepler
[00:37:39] <jepler> your ~/.xsession would look something like this: http://pastebin.ca/276085
[00:37:41] <Jymmm> jepler: Can you feel the love?
[00:37:51] <mdynac> i want my emc computer to boot just like any other cnc machine tool....
[00:38:39] <jepler> the "window manager" is the thing that draws the borders around each application window, draws the close and maximize buttons, etc. if your application will have more than one window, then you need a window manager.
[00:39:06] <jepler> metacity is the one that gnome uses
[00:39:14] <jepler> so you probably already have it installd
[00:39:23] <mdynac> i just need tkemc
[00:39:30] <jepler> it never opens other windows?
[00:39:37] <mdynac> nope
[00:39:52] <jepler> ok then you can do without the window manager
[00:39:58] <mdynac> kewl
[00:41:26] <jepler> you can define the size (800x600) and upper-left hand corner (0,0) of the tkemc window in the DISPLAY = line of your ini
[00:41:38] <jepler> for tkemc anyway, I think it doesn't work for AXIS
[00:41:46] <jepler> DISPLAY = tkemc -geometry 800x600+0+0
[00:41:54] <mdynac> i c
[01:11:44] <jmk-laptop> logger_emc, bookmark
[01:11:45] <jmk-laptop> Just this once .. here's the log: http://www.linuxcnc.org/irc/irc.freenode.net:6667/emc/2006-12-12.txt
[01:15:03] <jepler> hi jmk-laptop
[01:19:19] <cradek> hi all
[01:30:01] <jmk-laptop> hi
[01:30:33] <jmk-laptop> was reading back, apparently SWPadnos call to Mesa went well
[01:32:52] <jtr> phone -
[01:33:30] <jepler> jmk-laptop: it sounds like it
[01:33:48] <jmk-laptop> strange, I can't access my webmail
[01:34:05] <cradek> I'm waffling over whether to buy the H bridge setup
[01:34:23] <cradek> the price is right and if I didn't have the pluto stuff yet I'd jump on it
[01:34:23] <jmk-laptop> the browser works for a few seconds, then nada
[01:34:33] <jmk-laptop> cradek, go for it
[01:38:27] <cradek> I want to, but if I don't use the stuff I'm out $$
[01:39:14] <jmk-laptop> true, and even with the discount, its non-trivial $
[01:39:25] <cradek> yeah
[01:40:11] <cradek> if I get a big mill one of these days, I would want it for that
[01:41:17] <A-L-P-H-A> cradek... get a big mill. auction houses have them in and out all the time.
[01:41:29] <A-L-P-H-A> could pick on up for like $350CDN + shipping.
[01:41:39] <A-L-P-H-A> I could have... but I would have had to drive 5 hrs to pick it up.
[01:41:40] <cradek> I bet finding something nearby is the hard part
[01:41:44] <A-L-P-H-A> and it'd probably cost me $500 to ship.
[01:41:52] <A-L-P-H-A> exactly
[01:41:57] <A-L-P-H-A> shipping would have been more then the mill.
[01:41:58] <A-L-P-H-A> :(
[01:42:14] <cradek> that doesn't matter I guess, if it's worth more than the sum to you, you win
[01:42:18] <A-L-P-H-A> cradek, what's the nationality of radek? Eastern European?
[01:42:33] <cradek> elbonian
[01:42:49] <jmk-laptop> ;-)
[01:42:59] <jmk-laptop> got mud?
[01:42:59] <A-L-P-H-A> Is that the mortal enemy of Kazackstan (Borat)?
[01:43:35] <A-L-P-H-A> http://en.wikipedia.org/wiki/Elbonian
[01:43:39] <A-L-P-H-A> fictional country. :P
[01:43:41] <A-L-P-H-A> bastard.
[01:43:58] <cradek> I'd like to find something that used to be cnc, but the deader the control, the better (cheaper)
[01:44:14] <A-L-P-H-A> cradek, check out colleges, and HS.
[01:55:43] <A-L-P-H-A> ray Henry's stuff is thought as as spam. hahaha
[04:14:56] <skunkworks> easy sprocket making http://www.electronicsam.com/images/KandT/sprocket.JPG
[04:17:39] <SWPadnos> now is time to dance, with sprockets!
[04:22:15] <jmk-laptop> nice
[07:59:56] <anonimasu> skunkworks: nice
[09:00:53] <Vq^_> Vq^_ is now known as Vq^
[10:08:44] <alex_joni> anonimasu: greetings from skane
[10:21:51] <Vq^> alex_joni: thats skåne! :P
[10:23:12] <alex_joni> Vq^: I know.. but I don't have it on my keyboard
[10:29:39] <Vq^> alex_joni: buy one while you are in skåne then ;)
[10:30:31] <Vq^> ask around for a "skånskt tangentbord" :D
[10:47:15] <anonimasu> alex_joni: hey :9
[10:47:16] <anonimasu> :)
[10:47:20] <anonimasu> alex_joni: how's skåne`?
[12:26:25] <alex_joni> anonimasu: ok
[12:26:33] <alex_joni> unexpectedly warm
[12:26:56] <anonimasu> that sucks :/
[12:27:04] <anonimasu> that's the worst kind of winter :)
[12:34:24] <alex_joni> at least it doesn't rain :)
[12:34:28] <alex_joni> 5-6C and sunny
[12:35:45] <Jymmmmmm> Dumb question.... if I have 1920 and 1400, what is the ratio between the two in "x:y: format?
[12:36:09] <Jymmmmmm> "x:y"
[12:36:45] <anonimasu> 1.37
[12:36:54] <anonimasu> 1920/1400
[12:37:03] <Jymmmmmm> no, no, like "4 to 3"
[12:37:51] <Jymmmmmm> or "I'll give you 2:1 odds" like that
[12:39:40] <Jymmmmmm> test
[12:41:01] <alex_joni> 4:3 = 1.3333
[12:41:41] <Jymmmmmm> ok, I'll give it a shot
[12:42:02] <alex_joni> it's close to 11:7
[12:42:11] <alex_joni> 1.375 vs. 1.37
[12:43:09] <Jymmmmmm> oh gawd this is weird... I'm using synergy2 (IP KVM) and VNC at the SAME tight.
[12:43:21] <Jymmmmmm> between the two machiens.
[12:43:37] <anonimasu> 1.3715
[12:43:44] <anonimasu> ;)
[12:43:53] <alex_joni> Jymmmmmm: been there ;)
[12:44:11] <alex_joni> 1,3714285714285714285714285714286
[12:44:15] <alex_joni> anonimasu: :-P
[12:45:34] <anonimasu> lol
[12:45:35] <anonimasu> pwned
[13:08:09] <skunkworks> logger_emc: bookmark
[13:08:09] <skunkworks> Just this once .. here's the log: http://www.linuxcnc.org/irc/irc.freenode.net:6667/emc/2006-12-12.txt
[13:44:43] <skunkworks> cradek: nice call ;)
[13:45:24] <jepler> hi skunkworks
[13:45:26] <jepler> what's the sproket for
[13:45:30] <jepler> sprocket
[13:45:40] <skunkworks> it was for the z axis of the gantry.
[13:45:51] <skunkworks> made 5 of them
[13:46:00] <skunkworks> (oldish picture)
[13:47:38] <skunkworks> http://www.electronicsam.com/images/KandT/zaxis.JPG
[13:47:45] <skunkworks> you can see them mounted
[13:48:57] <jepler> ah yep
[13:49:16] <skunkworks> done with a 1/4 inch carbide cutter.
[13:49:19] <skunkworks> mill
[14:26:23] <skunkworks> I can't believe no one had replied to your post.
[14:28:45] <alex_joni> hi guys
[14:29:18] <jepler> hi alex
[14:31:40] <skunkworks> hi alex
[14:35:09] <alex_joni> greetings from sweden (again ;)
[14:38:09] <anonimasu> :)
[14:51:52] <skunkworks> my companies owner just got wild blue satellite internet. (glad I don't have it anymore)
[14:52:06] <skunkworks> better than dial up but... :)
[14:52:27] <skunkworks> slow
[14:55:56] <skunkworks> jepler: http://www.saturndaily.com/reports/Actel_Introduces_New_4_MillionGate_FPGA_RadiationTolerant_Device_For_Space.html
[14:57:26] <jepler> sounds like quite the device
[14:58:53] <skunkworks> I need radiation tolerant fpga ;)
[14:59:26] <anonimasu> skunkworks: there are thoose also
[14:59:54] <skunkworks> jepler: could you send me the current hal module for the pluto.. might hook it up and see how hot it gets. ;)
[15:04:51] <jepler> skunkworks: ok, but it won't match the pinout in the documentation.
[15:05:30] <jepler> http://emergent.unpy.net/pluto_servo.comp and servo_rbf.h
[15:05:44] <jepler> hm that's probably not quite the right version
[15:06:04] <jepler> the latest version of the .comp is: http://timeguy.com/cradek-files/emc/pluto_servo.comp
[15:06:21] <skunkworks> thats ok - all I would need to know is one output pin I could use to run an led.
[15:06:31] <jepler> and the real path URL for servo_rbf is http://emergent.unpy.net/files/sandbox/servo_rbf.h
[15:06:38] <skunkworks> Thanks
[15:07:52] <skunkworks> I can put this in the src\hal and then make?
[15:07:58] <jepler> src/hal/drivers I think
[15:08:02] <skunkworks> rigth
[15:08:12] <skunkworks> (not in front of it right now)
[15:08:27] <jepler> I think that the pins on the left side of the big connector (when the db25 connector is at the top) are the PWM outputs.
[15:08:39] <jepler> the LED will glow according to the PWM0 duty cycle
[15:08:46] <skunkworks> that would work
[15:08:48] <skunkworks> thanks
[15:09:16] <jepler> if you still have that "turn back and forth" hal file you can easily modify it for pluto_servo
[15:09:50] <skunkworks> The one you made to test the pwmgen?
[15:09:52] <jepler> yes
[15:09:57] <skunkworks> ok - I think I do
[15:14:39] <skunkworks> * skunkworks copies them to his thumb drive
[15:19:16] <skunkworks> you wouldn't happen to have cradeks hal file would you?
[15:19:58] <jepler> nope
[15:20:10] <cradek> I can upload it
[15:20:23] <skunkworks> gives me another reference
[15:21:31] <cradek> http://timeguy.com/cradek-files/emc/lathe-pluto.tar.gz
[15:25:37] <skunkworks> odd - when I download it on my xp machine - it changes to tar.tar :)
[15:25:54] <jepler> IE? or Firefox?
[15:25:59] <skunkworks> IE
[15:26:03] <skunkworks> of cource ;)
[15:26:05] <cradek> here's a nickel, kid, get yourself a real computer
[15:26:13] <skunkworks> :)
[15:26:18] <cradek> (dilbert reference)
[15:26:23] <skunkworks> do you remeber the dilbert
[15:26:24] <skunkworks> yah
[15:26:37] <skunkworks> unix guy
[15:27:04] <cradek> guess I need some suspenders
[15:27:17] <skunkworks> and a bushier beard
[15:27:43] <cradek> I could have that through simple inaction
[15:29:49] <skunkworks> I shave once a month if I need it or not ;)
[15:35:54] <CIA-8> 03jepler 07HEAD * 10emc2/src/Makefile.modinc.in: note that Makefile.modinc works for simulator configurations; get rid of unused rule; note order of include vs obj-m += required for the simulator to work; note that comp can be used instead of writing a Makefile
[15:37:37] <CIA-8> 03jepler 07HEAD * 10emc2/src/hal/utils/comp.g: make comp --compile/--install work for sim. Include the directory where the .c or .comp came from, so that #include directives work as desired
[15:37:45] <CIA-8> 03jepler 07v2_1_branch * 10emc2/src/Makefile.modinc.in: merge rev 1.7: mostly notes relating to compiling for the simulator
[15:38:10] <CIA-8> 03jepler 07v2_1_branch * 10emc2/src/hal/utils/comp.g: merge rev 1.10: --compile/--install for sim; make #include work
[15:40:31] <jepler> If I want to count quadrature in "1x", is a valid way to do it to only count when the new value is 00? (e.g., the transition is 01 -> 00 or 10 -> 00)
[15:42:59] <cradek> no
[15:43:21] <cradek> you have to count up and down at the same place in the cycle
[16:24:13] <rayh> whee. just created a ubuntu icon to start chatzilla.
[16:25:46] <skunkworks> rayh: your going to be a ubuntu person yet ;)
[16:26:24] <skunkworks> rayh: did you ever figure out the jogging issue?
[16:28:06] <rayh> I think I'm getting closer.
[16:28:27] <rayh> Jog works properly using the sherline drive box.
[16:28:32] <rayh> here.
[16:28:56] <rayh> It seems like the combination of gecko, and such didn't like the timing.
[16:38:01] <cradek> I'm surprised to hear that gecko drives have any unusual timing requirements
[16:44:47] <alex_joni> bbl
[16:45:37] <jepler> cradek: you mean on 01->00 and 00->01 ?
[16:46:20] <jepler> ah, I see the problem with counting on transition to 00 now
[16:48:40] <SWPadnos> in an FPGA, the easier way would be to count at 4x and drop the low 2 bits when routing to the output
[16:50:35] <jepler> yes, if you have the spare space for it
[16:50:47] <SWPadnos> skunkworks, a more interesting FPGA may be the Actel fusion: http://www.actel.com/products/fusion/
[16:50:56] <SWPadnos> note the analog inputs and gate driver outputs ...
[16:51:02] <SWPadnos> jepler, well, that's true
[16:51:03] <cradek> jepler: yes I'm pretty sure that would work
[16:51:06] <jepler> I was guessing that having a different equation for enable_count would take fewer FFs
[16:51:27] <jepler> and I'm still thinking from the point of view of the nearly-full pluto
[17:02:43] <skunkworks> jepler: I can't remember - did you think it would be posible to use it as a step generator? (pluto)
[17:13:31] <jepler> skunkworks: I wasn't sure that 4 stepgens would fit
[17:22:37] <tomp> hello
[17:23:26] <eholmgren> lo
[17:23:38] <tomp> problem: new install of cvs head
[17:23:40] <tomp> insmod: error inserting '/home/tomp/emc2-head/rtlib/motmod.ko': -1 Unknown symbol in module
[17:23:55] <tomp> had no probs on 3 other boxes !?!?!
[17:23:58] <jepler> tomp: you probably need to follow the steps outlined here: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?UpdatingConfigurationsForDevelopmentVersions
[17:24:03] <tomp> k
[17:24:15] <jepler> if you are trying to use a configuration file from 2.0.x
[17:25:17] <tomp> no, just installed from cvs, ran scripts/emc from .../emc2-head/ , got that error
[17:25:26] <tomp> chose a cfg from the gui
[17:25:41] <skunkworks> where is the config located?
[17:25:50] <tomp> looking
[17:26:28] <skunkworks> * skunkworks bets on someplace other than the emc2-head directory
[17:27:07] <tomp> /home/tomp/emc2-head/configs/sim/ ( i >think<, cuz I chose from the popup gui )
[17:27:37] <tomp> since i chose from gui you are asking what it did, not what i did ;)
[17:27:53] <tomp> and i'm trying to see what it did
[17:27:56] <jepler> give the config explictly: scripts/emc configs/sim/tkemc.ini
[17:28:01] <tomp> k
[17:28:10] <jepler> but it should show you the name of the directory in the dialog -- you may have to scroll up to the top to see it
[17:29:02] <tomp> that worked so, the dir must be wrong, going back to using gui...
[17:30:48] <tomp> uh, i have the 'EMC2 Configuration Slector' dialog window up, and when i scrol down, there's the new directories
[17:30:59] <skunkworks> :)
[17:31:06] <tomp> and that works, maybe we could collapse the tree? i didnt see the 'other'
[17:31:18] <skunkworks> * skunkworks has never had that problem before ;)
[17:31:47] <tomp> but thanks, i was just myopic
[17:42:50] <CIA-8> 03jepler 07HEAD * 10emc2/src/rtapi/rtai_ulapi.c: cause rtapi_print_msg to go to stderr, otherwise the test limit3.0 fails because the 'blocks' deprecation message appears in the output
[18:00:42] <rayh> I'm trying a PCI 2serial and 1 parport with ubuntu but can't seem to find the location of it.
[18:00:57] <rayh> lspci shows something but no addy.
[18:03:16] <tomp> rayh: see anything in /proc ( where i found my pci dual parport addr's )
[18:04:40] <rayh> That is the way we used to do it before ubuntu.
[18:05:16] <tomp> :(
[18:07:29] <SWPadnos> lspci and /proc are non-distribution-specific ...
[18:09:48] <Lerneaen_Hydra> 'lo
[18:11:22] <rayh> That may all be true SWPadnos, I suppose it's the specific usage of them that has changed over time.
[18:11:30] <SWPadnos> probably so
[18:11:36] <tomp> ubuntu discover library to find stuff
[18:11:44] <SWPadnos> what brand of IO card is it?
[18:12:06] <SWPadnos> it's possible (though unlikely) that the kernel doens't recognize it, and doesn't to the PCI config for the card
[18:12:12] <rayh> Now lspci does tell me that.
[18:12:13] <SWPadnos> s/to/do/
[18:12:15] <tomp> http://packages.ubuntulinux.org/edgy/admin/discover
[18:12:26] <rayh> Oxford
[18:12:40] <SWPadnos> that means that you have the pci-idsinstalled ;)
[18:12:43] <SWPadnos> argh
[18:13:03] <SWPadnos> can you try sudo lspci -vv
[18:15:23] <rayh> k
[18:15:49] <SWPadnos> that'll give you so much information, you'll need to increase the terminal scrollback buffer ;)
[18:15:52] <rayh> Ah. That's it thanks.
[18:16:06] <SWPadnos> cool. just in time for me to run to lunch
[18:16:22] <rayh> c000 bc00 and b800
[18:16:23] <SWPadnos> you can probably get by with one -v and no sudo
[18:16:38] <rayh> I'm already in it as root.
[18:16:43] <SWPadnos> ok
[18:16:44] <rayh> shame on me!
[18:16:48] <SWPadnos> back in a bit, for a little bit
[18:16:51] <SWPadnos> naughty
[18:16:54] <SWPadnos> naughty
[18:30:27] <Guest277> how make one code M
[18:30:30] <Guest277> how make one code M?
[18:31:15] <Guest277> watt is m100 a m199?
[18:40:03] <Guest277> how make one code M?
[18:41:12] <Guest277> somebody knows as to make a code M in the emc?
[18:42:03] <Guest277> necessary to create adcionais functions
[18:43:53] <Guest277> please help me
[18:48:37] <Guest795> I need to create adcionais functions
[18:49:21] <Guest795> see in the manual on m100 to m199
[18:49:27] <Guest795> but..
[18:50:23] <Guest795> in the manual not specified how to uses it
[18:50:33] <jepler> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?UserDefinedMcodes
[18:50:33] <Guest795> please..
[18:50:41] <Guest795> ok
[18:50:46] <Guest795> o go to see
[18:52:40] <Guest795> please you it could give an example to me?
[18:54:45] <Guest795> I like to make on ome motor
[18:54:46] <jepler> There's a sample called "M101". It just prints its arguments to the terminal
[18:55:01] <jepler> you can see this example in the directory /usr/share/emc/ncfiles/M101
[18:55:19] <Guest795> please one moment
[18:56:53] <Guest795> dont understand
[18:57:09] <Guest795> for exemple:
[18:57:43] <Guest795> m8 to bind refrigeration, ok?
[18:58:18] <Guest795> I like to bind other motor, this to make other function?
[18:58:42] <Guest795> likes to on in Mmode, its possible?
[18:59:03] <jepler> I can't explain the "user-defined m-codes" any better than the documentation does.
[18:59:59] <Guest795> thanks
[19:02:07] <rafa> heloo
[19:02:22] <rafa> please
[19:02:30] <rafa> i use slackware
[19:02:35] <rafa> and..
[19:03:26] <rafa> I am not obtaining to install emc in it
[19:04:01] <rafa> how to install?
[19:06:36] <eholmgren> rafa
[19:07:23] <eholmgren> I tried rtlinux with slack and couldn't get it going, so I'd try the other realtime environment instead
[19:08:19] <eholmgren> rtia or whatever
[19:08:52] <rafa> no realtime in the slack?
[19:09:02] <eholmgren> you have to compile it into the kernel
[19:09:25] <rafa> how, please?
[19:11:18] <eholmgren> rafa: have you compiled a kernel from source before?
[19:13:02] <rafa> no
[19:13:23] <rafa> i have slack 10
[19:13:37] <rafa> no compiled kenel
[19:13:57] <rafa> mi kernel is 2.4.26
[19:14:08] <rafa> but ..
[19:14:15] <rafa> i have source code
[19:14:40] <eholmgren> you might be better off using the EMC2 ubuntu live CD and installing from that
[19:14:52] <eholmgren> but then you have no slack ;)
[19:15:47] <eholmgren> basically, you have to patch the kernel source with one of the realtime implimentations (either rtlinux or rtai) enable realtime support, and then compile a new kernel
[19:16:12] <rafa> yes i see in the internet
[19:16:19] <rafa> but
[19:16:34] <rafa> my patch
[19:16:46] <rafa> no sucess
[19:17:27] <rafa> in site for realtime, the patch is for kernel 2.2
[19:18:02] <eholmgren> are you using rtlinux or rtai?
[19:18:14] <eholmgren> there should be a patch for at least 2.4.x
[19:18:31] <rafa> please one moment
[19:19:35] <rafa> i am in the site http://www.realtimelinuxfoundation.org/
[19:20:13] <rafa> in the page of downloads
[19:22:07] <jepler> Almost all people who are using emc today are using kernel 2.6 with the patches from rtai.org.
[19:22:07] <rafa> what I must lower?
[19:22:31] <jepler> we have support for rt-linux but I don't personally know anyone who is using it right now -- it may be bitrotted.
[19:23:48] <eholmgren> I spent a week trying to get slack/rt-linux to work with emc2
[19:23:50] <eholmgren> but no dice
[19:23:57] <eholmgren> I have up and installed from the live cd
[19:25:58] <rafa> ok
[19:26:26] <rafa> I go to try
[19:26:49] <eholmgren> download the 2.6 source and try patching it with rtai 3.4
[19:26:58] <eholmgren> https://www.rtai.org/RTAI/
[19:27:09] <eholmgren> https://www.rtai.org/RTAI/rtai-3.4.tar.bz2
[19:27:14] <rafa> ok very thanks
[19:27:45] <eholmgren> jepler: does 3.4 work better with a certain subversion of 2.6?
[19:28:24] <jepler> eholmgren: I don't know -- I just use the prepackaged kernel that Chris and Alex have made for Ubuntu.
[19:28:31] <jepler> eholmgren: I don't think it's even based on rtai 3.4.
[19:28:59] <rafa> please friends
[19:30:04] <rafa> somebody knows as to use the code m100 to m199
[19:30:08] <rafa> somebody knows as to use the code m100 to m199?
[19:32:12] <jepler> A monk asked D?ngsh?n, "What is Buddha?" Dongshan said, "Three pounds of flax".
[19:33:41] <rafa> please friends
[19:33:58] <rafa> i need to make..
[19:34:10] <rafa> my motor works
[19:34:35] <rafa> for this, i need one mcode
[19:34:42] <rafa> for exemple:
[19:34:58] <rafa> m8 on the refrigeration, ok?
[19:35:17] <rafa> how to make a new Mcode
[19:35:28] <jepler> Only codes in the range m100 to m199 can be user defined m-codes
[19:35:38] <rafa> yes
[19:35:50] <rafa> but how make it?
[19:36:54] <jepler> you create an executable file in the proper location, and it is executed when the user issues the M1xx command
[19:37:52] <jepler> the details of what this program or script will do depend on your machine, and I know nothing about your machine.
[19:38:34] <rafa> i want on on motor
[19:38:40] <rafa> i want on one motor
[19:38:46] <rafa> but
[19:39:07] <rafa> m6, m7,m8,m9,m3
[19:43:20] <eholmgren> hesus
[19:43:59] <rafa> heloo
[19:44:12] <rafa> i have problem iin my conection
[19:44:41] <rafa> please
[19:45:22] <rafa> somebody could enssinar me as to make a new code m?
[19:45:41] <jepler> rafa: Run the "halshow" program (if you're using the AXIS GUI, then it's available from the menu: Machine > Show Hal Configuration). Then click on "pins". Now, issue a command like m7 or m9 and see that the value shown on a pin changes.
[19:46:04] <jepler> rafa: the built-in m-codes that turn something on or off work by setting a value on a HAL pin, as described in the documentation.
[19:46:34] <jepler> when the documentation is incomplete, you can discover it yourself by using "halshow"
[19:47:48] <jepler> but of course almost all of it is already in the documentation: http://linuxcnc.org/docs/html/config/emc2hal/index.html
[19:48:10] <jepler> now, fish
[19:52:21] <rafa> watt is m100 to m199
[19:55:42] <rafa> i can to use?
[20:03:08] <A-L-P-H-A> ubuntu's annoyed me again. sound is dead again... and I can't get it to work. GAH!
[20:03:42] <skunkworks> sound is overrated
[20:03:49] <eholmgren> agreed
[20:07:45] <rayh> A-L-P-H-A: Does this box have the real time kernel?
[20:30:38] <rafa> please, please
[20:30:59] <rafa> how use m100 to m199?
[20:31:02] <rafa> please?
[20:32:36] <rafa> please?
[20:32:37] <rafa> please?
[20:47:34] <Vq^> he was irc:ing from the webserver?
[21:25:42] <ve7it> ve7it is now known as LawrenceG
[21:27:20] <LawrenceG> big wind storm here... been without power for about 18hrs... generator is keeping fridge and computers running... note priorities!
[21:27:55] <skunkworks> that is all I would need ;)
[21:28:20] <cradek> who needs a fridge in december?
[21:28:45] <LawrenceG> hi guys, its warm here about +10c
[21:30:50] <LawrenceG> local ISP seems to have about 24hr battery backup on the cable line amps.... it could go out anytime
[21:32:51] <jepler> LawrenceG: I hope you don't lose a lot of food .. do you anticipate any trouble keeping your own generator running?
[21:39:09] <LawrenceG> np... should be good for a few days then its off more more gasoline
[21:40:05] <LawrenceG> They are expecting another storm tonight and another Thursday, then its gets colder....
[21:41:08] <LawrenceG> Kind of fun camping out, but it drives my wife crazy when the lights dont switch on
[21:58:06] <eholmgren> where's LawrenceG from?
[23:00:37] <robin__sz> alex_joni, so .. this pesky 'bot I seem to have
[23:01:40] <mikejradz> Hi All! I have a G-Code error that I find confusing. Thought I would run it past the gurus to see if it is a known bug or problem between my ears.
[23:02:15] <robin__sz> alex_joni, I dont seem to find much info on the web about them, are Comau well known or a bit specialist? they seem to do a lot with automotive
[23:02:27] <robin__sz> mikejradz, shoot.
[23:03:13] <mikejradz> I try to run the following line of code. -> g17 g2 x0.416456 y-0.21875 i0.152294 j-0.109375
[23:03:37] <robin__sz> and?
[23:03:44] <robin__sz> endpoitn error?
[23:03:51] <mikejradz> The machine cuts the are perfectly and then stops.
[23:03:58] <robin__sz> great
[23:04:31] <robin__sz> just like it should.
[23:04:31] <mikejradz> The interperter returns the error: R i j k words all missing for arc.
[23:04:55] <robin__sz> mmm
[23:05:06] <mikejradz> I tried using capital letters and get the same response.
[23:05:15] <robin__sz> tried putting G17 on a seperate line?
[23:05:31] <mikejradz> Yes the previous line still the same.
[23:05:58] <robin__sz> mmmm ... and its not the last line of the program?
[23:06:33] <mikejradz> No. but wherever the first arc command is prevents any further lines from executing.
[23:07:10] <mikejradz> I was running it with the "tk
[23:07:44] <mikejradz> interface and tried the axis to see if it might fare better but the same answer.
[23:08:08] <mikejradz> By the way the axis interface is spectacular!!
[23:08:09] <robin__sz> emc2?
[23:08:23] <mikejradz> Yes the current version Live CD
[23:09:24] <mikejradz> I am also running into a different problem which I do not think is related but just in case here goes.
[23:10:41] <mikejradz> When I first boot up and run EMC everything works fine. If I stop the program from running to change the ini files and restart the controller will no longer turn the motors.
[23:11:01] <robin__sz> I suggest you try running one of the sample programs, tux.cnc or whatever and just prove to yourself it does work .. and then paste your program from head to tial in a pastebot somewhere so we can laugh at it, I mean examine it ;)
[23:11:18] <mikejradz> If I reboot the machine again then it works fine again... until I shut it down.
[23:11:38] <robin__sz> and how are you "stopping the program" ?
[23:12:01] <mikejradz> By clicking the red x at the top of the user interface
[23:12:09] <robin__sz> mmm ...
[23:12:29] <robin__sz> I think that just closes the GUI, the controller is still running underneath
[23:12:51] <mikejradz> Kind of sounds like a permission thing. You know like the pport is never released
[23:13:19] <mikejradz> What would be the correct way to shut it down??
[23:13:32] <robin__sz> emc2 from axis?
[23:13:58] <mikejradz> either axis or tk...
[23:14:05] <robin__sz> you have me there, I dont use it these days :) ... my brain is blocked
[23:14:37] <robin__sz> I always ran it from the command line, and stopped it from there too
[23:15:04] <robin__sz> isnt there a quit in the first menu?
[23:16:58] <robin__sz> try running chips.cnc or whatever the cute carved penguin is and make sure it runs fine, it should
[23:17:08] <mikejradz> I would have to check but the machine is at a different location where I was unable to get on the Internet. I drove out to my apartment to get online.
[23:17:29] <robin__sz> heh, bummer. a workshop with no internet?
[23:17:43] <mikejradz> Running the penguin sounds like a plan.
[23:18:01] <jepler> mikejradz: until you issue a different code, such as g0, each line after g2 will be assumed to be an arc too
[23:18:22] <jepler> mikejradz: for instance, if you have g2 x- y- i- j- / x- y- the second line is an error because it lacks r/i/j/k
[23:18:33] <robin__sz> thats true
[23:18:34] <jepler> just guessing since I don't have your full program to look at
[23:19:07] <robin__sz> G2 X1 Y1 I2 J2
[23:19:10] <robin__sz> X1 Y3
[23:19:21] <robin__sz> would cause that error ...well spotted jepler
[23:19:40] <mikejradz> I think that you hit it right on the head!!! That must be what is happening. The next line of code is a straight move with no g1 command.
[23:19:50] <robin__sz> right
[23:20:08] <robin__sz> G0 G1 G2 G3 are modal, ie once set, they stick
[23:20:41] <mikejradz> Man I was pulling hair till midnight. I am sure you have the answer!!
[23:20:53] <robin__sz> well, jepler did anyway
[23:22:07] <mikejradz> Thanks jepler!!
[23:22:59] <robin__sz> the modal groups are listed onthis page, near the bottom
[23:23:02] <robin__sz> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Gcode
[23:23:13] <mikejradz> I just got to junp in the buggy and get back to the shop to try it.
[23:23:30] <robin__sz> sad puppy ;)
[23:24:00] <mikejradz> I will also try different ways to shut down the program so that it will restart without a reboot.
[23:25:00] <robin__sz> yeah, try running it from the command line ...
[23:25:46] <A-L-P-H-A> OMG... this NEEDS to be watched... waking up a drunk friend. http://www.youtube.com/watch?v=LRFzcvCtYKM that just make me laugh pretty hard.
[23:34:20] <robin__sz> heh