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