archivist: is the circuit that critical?
* skunkworks is a well known hack
switchmode psu, one of a pair of fets
in a cheap device I would "modify", but dont want to kill an HP toy with a bit of cheap crap
primary switcher for the 30A 5V supply
just been trawling through HP bench briefs of the period, not found it
faraday cage suit? whoa! http://www.youtube.com/watch?v=9tzga6qAaBA
it seems couple of modules with rtai in its names will help. whole 5 mb to download. not now
i think rtai is just some kind of an emulation and nothing serious at all.
overheated CPU will Halt at 91-100 celsius degree
don't understand the way rtai helps.
rtai keeps the machine from running away and killing someone
unterhausen: and from e.g. suspend mode, but there's a way to use inhibit applet in ubuntu
or policeman applet
if you don't have rtai, your upper bound on an interrupt routine does not exist
this one: ~/policeman-female-90-60-legs90
unterhausen: well, i'm new to it.
unterhausen: can you give me a list of files from your /var/apt/cache/archives directory?
i'm on a machine with amd-64
plus it's so long the server would boot me for spamming
but, anyway, g-code isn't a hardest load for a computer. I think RTAI is all about other things
rtai is about machine control and realtime
i mean its names - i don't want to load anything
real time application interface or something like that
it is an operating system, linux runs as a task on top
my pants are grinded in the ass - sitting behind pc is real, not virtual one, believe me!
why couldn't linux be run as a realtime os?
redhat says they did that, but I don't know if it's mainstream or not
well, it's all about the programming and those nice leveles, nothing "new" as i thought before.
generally, it's fairly complex to enforce real time rules, so they emulate enough of the machine that linux doesn't take over
So, windows can handle cnc machines, too, even without a realtime preferences, right?
don't think so
there is something just like rtai for windows
but it's commercial
I have some licenses for it
but there are programs, which cut it from withing windows, aren't they?
yes, i meant commercial ones then.
sorry, forgot about mach3, which is not really realtime
i have few licenses to cam expert
but does it brings a stability? if yes, then which hardware configurations on? Pentium II 200 MGHz?
linux is reliable, e.g. when it stops openoffice.org, which fromats 5-mb html file. Another problem could be RAM. but many daemons can be swithed off to fill RAm with whole file with codes. And CPU - it must be free from charge or only partially loaded - this is probably what RTAi exactly does.
ok, can miss an answer - it's morning at home, want to sleep
Is there any body out there
could be, people don't usually answer questions like that though
I had nothing movinggI thought every one was gone
I am a EMC newbie Didn't know
people ask questions, usually they get help
sometimes everyone with answers is busy doing something and you have to come back later
sometimes the answers come later
Arkwhizzard: what's up?
Arkwhizzard: have you installed emc?
I am having a problem setting up my axis (cnc newbie too)
It keeps telling me that I am over mylimits
sounds familiar :)
the axis credit card
that's been answered on the list so many times
I wanna hear it again, daddy
usually the user assigned limit switches to input pins, but doesn't have limit switches
do you have limit switches Arkwhizzard?
I have switches assigned topinsz is fixed (just up or down table moves)
the input polarity may be wrong
the display shows a |<- icon when you're "on" the switch
if it is inverted (goes off when you push the switch), SWPadnos is right
x moves from my left - to my right + Y moves toward me - away from me + is this correct?
But if it starts blinking and you hear a beeping sounds that gets faster and faster... RUN LIKE HELL!!! It's a bomb =)
depends what you mean
the table origin is in the near/left corner
positive X is tool moving right, positive Y is tool moving away
have you seen the EASY Mill on instructables.com this is what I have
the limits work fine and it hasn't bolwn up yet
somebody was on here recently with one of those
and I think his y axis was backwards
I still think a hexapod is easier
that is what i am wondering where should 0 be on U
I hat this new keyboard
waring it as a hat huh?
or wearing it even
0 be on Y
I think it's really personal preference. I have my XY 0,0 as bottom left corner
roll up kyeboard from EBay
oh, those are hard to type on
but they are good with coffee on them
can I send son
can I send a pic
wait, you said you have a limit problem. what is the picture for?
to see if I have 0,0in the right place?
get the limit thing fixed first
I think the limits are right , I THINK I AM USING 0,0 IN H
0,0 in the wrong place
you need to decide where 0,0 will be
if you have 10x10 inches of movement, there's no rule that says it has to be from 0-10 in X and 0-10 in Y
you could choose to put 0,0 at the middle, and have limits of (-5,5) and (-5,5)
and all you need to do is change one number in the ini file, which tells EMC the actual location of your limit switch
does it matter? I have been trying to run the EMC LOGO PROGRAM
(I don't recall which one that is though, you'll have to look it up)
is the AXIS logo larger than your machine travel in either X or Y (or Z)?
the one shows 6 inches on the screen for x less than 1 inch for y and it shows z at 1
what are your machine travels?
I have 7.825 x by 4.50 y and 5 on z
ok, it should fit
if you have Z going from 0 to 5, then that could be the problem
I am facing the cutting tool with the x axis 0 to my left and travel to my right
that has nothingto do with your limits
what should z be? the limits work z will trip the limit just as the tool touches the table
X and Y trip at the ends of there travel
The machine will work fine on Mach 3
[Global Notice] Good Morning all, we'll be restarting two of our servers in about half an hour. niven (v4) and simak (v6) -- affected users are in the region of 2,000. We apologise for the inconvenience. Thank you for using freenode and have a good day!
[Global Notice] Hi again, it's 0903 and all is well. The two servers have been restarted and is linked back to the network. Thank you for your patience and have a nice day.
good afternoon :)
you too :)
if machine is on hard limit MDI isn't allowed ?
micges_emc: yes I'm pretty sure that's how emc behaves
like this error:
MDI SEND: M50 P0
joint 1 on limit switch error
MDI - my debug stuff
ok nm this stupid question :P
real or imaginary
wind chill is not real
* archivist reads ABC news
my head works in deg F for hot and C for cold these days
[13:41:01] <skunkworks_> http://forecast.weather.gov/MapClick.php?CityName=Trempealeau&state=WI&site=ARX&textField1=44.007&textField2=-91.436
archivist: did you see http://www.youtube.com/watch?v=qY-FCN5ZXkg&feature=channel_page
oh - you did - never mind
When I initially setup emc2, I had to resolve a latency problem. About 6 months ago I upgraded to the latest version and after that I began seeing a window popping up reporting rtaip error in task 1. I had never gotten that before the upgrade.
I do have an intel mb and originally had big latencies which got resolved to about 24 uS.
Now the latency test shows that my latency has not changed. Why am I now starting to see the error? I am using axis 2.2.8 and my base period is 50 uS.
when you run the latency test - do you run other stuff? browse - glxgears and such?
what are you getting for numbers?
Yes I run glxgears and open 3 browser windows with video on one and sound on another
I changed lthe base periode to 100 uS aand that didn't resolve the problem
jensor: the full message in dmesg shows the problematic numbers it sensed. what does it say?
oh, maybe not, maybe I'm thinking of a different error
the task 1 error is an error reported by rtai
hmm - I wonder if 24us is too high for a 50us base period.. (I bet it is a bit higher if you ran it longer)
oh - you changed the base period higher
it shouldn't be
what is the motherboard hardware?
intel with 82801BA I/O controller
I am currently running the new "latency-test" command and it is yeilding higher numbers than the old way where one had to type in a setup to run it. Why the different results between the j2 tests?
"latency-test" is showing 75.4 uS
different methods to gather the data
but I'm surprised the difference is that big
latency-test is more emc2 'like'
but I agree with alex_joni
it's built using emc2 components
isn't the 82801BA a usb controller?
on the one system i have handy to test, and in tests that each ran for only about a minute, the 'ovl max' and 'base thread max jitter' were in the same ballpark, about 8000ns.
comparing the rtai kern/latency test and the emc2 latency-test
The intel mb manual also lists 82850 memory controller hub
and 82801BA I/O Controller Hub
Don't kn ow would have to pull the case open to see
is it on the motherboard or a pci/agp/pci-e card?
jensor: lspci -vv should tell you everything
[17:09:42] <skunkworks_> http://www.pastebin.ca/
alex_joni: what does the second v do?
the video is a plug in pci card
eric_unterhausen: even more verbose
Very Verbose ;)
good morning all, jerry here
I am new to emc2 and have a small coordinate system problem I suspect.
jensor: Unknown post id, it may have expired or been deleted
Guest735: ask away
I jog the machine to x0y0z0, go to mdi and execute g92x0y0z0 to set zero. load and run a program that stops somewhere like x1y1z2. I then go to mdi and execute g0x0y0z0 and the machine is somewhere else
so I assume the coordinate system is off?
use "touch off", not g92, to set your origin
execute G92.1 to clear the G92 offset
Guest735: either that, or you have lost steps on your machine... (e.g. not set up right)
try what cradek suggests first
tried touchoff and the dro for the axis said something like 4.192 for the touched axis
instead of zero
yeah, that's the not turned off G92 offset
so should I put a g92.1 at the start of each program?
you have both kinds of offset in effect
no, just run it now
then use touchoff to define where you want 0 to be
then run your program
alex_joni,Sorry, try http://pastebin.com/d5bbe0a5
make sure your program doesn't have G92 in it
jensor: line 72: http://pastebin.com/d5bbe0a5
I mean: nVidia Corporation NV5M64 [RIVA TNT2 Model 64/Model 64 Pro]
so if I used g92 x0y0z0, then ran the program, mounted a new stock, ran it again and the axis is off, that is related to g92.1?
Guest735: can be
why is it going back to the other coordinate system?
is it related to an M code? I would have thought it would treat the next program the same from a coordinate system standpoint
in this case the next program is the same program, just executed again.
Guest735: M2/M30 unapplies (but does not clear) the G92 offset
Guest735: that's why it's simpler to use touch off (which sets the G5x coordinate systems)
just avoiding G92 generally gives the best behavior
I am converting from mach3. I generally used g92x0y0z0 to set zero. so to continue in that vain, right or wrong, I should do a g92.1 first?
alex_joni, Is that what could be causing the latency errror
Guest735: don't continue in that vain
Guest735: you will continue to have pain for no reason
is there a gcode to zero all the coordinate systems? is that what g92.1 does? I'll have to look at it
if you must use it, be sure to read the documentation for g92, g92.1, g92.2, g92.3
if you mean "set a g5x coordinate system's origin to the current tool position", no, there is no gcode for just that. the easiest way to do that is to use touch off
jensor: no, I don't think so
I mean, I'm not sure what it is
Guest735: Here's the article from our wiki that touches on some of these issueshttp://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?CoordinateSystems
jensor: few things... what video driver are you using? closed source/nv/vesa - also that chipset might have smi issues... http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?FixingSMIIssues
skunkworks, video driver - don't know. But why am I having this latency problem now when it never occurred before upgrading emc2?
jensor: it wasn't checked for before
is this hardy? or dapper?
check your xorg file.. /etc/X11/xorg.conf
it will give you what video driver you're using
you could pastbin that also
could you try "vesa" instead and re-run the latency test?
some have had good luck with nv and others have not.
how do change to vesa?
what is it.. sudo gedit /etc/Xll/xorg.conf <-anyone - is that correct?
Do I just edit the file?
xorg that is?
cradek: isn't that what I wrote?
not my fault
skunkworks, Just to be sure change from nv to vesa at one place in the file shown as line 93 in the pastebin?
then reboot - or if you are linux savy - restart x. (I am not linux savy)
oh, oh. When I reboot and do name and pw it just comes back and asks for the same again - i can't get in now
are you at a text screen?
no it is coming up with the default ubuntu log in screen
it only takes text input at this point
it seems as though it takes my entry ok and then cycles back to the same screen again
skunkworks IOn this screen I do have the following options: 1last session, Gnome, Failsafe Gnome,
what happens when you try failsafe gnome? Do you remember what resolution you where running?
not sure of res 600x800 maybe
skunkworks, I get quick msg "out of range" on a blue screen and then back to login screen. I got this before but it didn 't linger long en ough for me to read
skunkworks, I was able to select failsafe terminal and now have a terminal window
now how do I fix the log in problem
do a sudo dpkg-reconfigure -phigh xserver-xorg for shits and giggles.
sudo dpkg-reconfigure -phigh xserver-xorg
skunkworks, i was able to use the termin al to go back to xorg.conf and re-edit xorg.conf back to nu.
now upon reboot i get msg:
Failed to start Xserver. Would you like to view x server output to diagnose
I'll wait for your response
nu or nv?
not sure - I hope it was nu
it should be nv - not nu.
Then I screwwed up again
so - get back to terminal and change it. (you did great)
Well I'm not sure if I can get to that becuse when I last booted i got the msg that it failed to start Xserver before i get to a log on screen
It gives me the choice to veiw Xserver output to diagnose
I'll do that
it will drop you to a text only terminal.
I would guess
Got a command line. sudo gedit doesn't work. I need to edit from a command line. not sure how to do that.
there is a text editor - let me think
sudo nano /etc/X11/xorg.conf
you are going to have to play with it.. It takes a bit getting used to.
(it has been a while since I used it)
skunkworks, I think I got it changed from nu to nv and saved. now what would the command be to reboot?
I don't remember
sudo reboot I think works
it is rebooting now
skunkworks, Whew, logged in ok. Up again. Wonder why changing from nv to vesa loses up the login?
I would guess that the screen resolution and or color depth was too high for the vesa driver.. You may want to do some researching on that.
I still think you want to try the vesa driver and test latency. Also look at the smi link I sent you.
But now that you know you can get out of a screw-up - you can play around with the xorg file.
and you can always re-setup the xorg file by running sudo dpkg-reconfigure xserver-xorg
it runs you thru the config or the video/mouse/keyboard.
this is also a great source http://ubuntuforums.org/index.php
good evening.Some people have the hal,ini and core file for use the hm2_pci driver for mesa card 5i20? i now use the standard 5i20 driver , when select the hm2_servo driver the emc is in error because the hm2_servo use the 7i34 card. thanks
skunkworks, Thanks for the help. I'll persue your suggestions.
motioncontrol: to use the hm2_pci you first have to load the hostmot2 driver AFAIK
motioncontrol: there is actually more info here http://www.linuxcnc.org/docs/devel/html/man/man9/hostmot2.9.html
car started at -21 this morning.. hard anyways
next week in the 40's (they say_
good night all
does he sleep next to his computer or something?
he is the computer
then why does he sleep?
to make him seem more human
[21:09:40] <skunkworks_> http://www.cnczone.com/forums/showthread.php?t=63716&page=3
last couple posts
ah, still trying those linux-kernel-rtai versions.... Do I need some of kernel-images-....deb ??
when starting emc with the command emc -dd -vv what is the path to the info that gets stored?
are you looking for dmess
I suppose so
once second jensor
[22:27:14] <BigJohnT> http://www.linuxcnc.org/docs/devel/html/common_Linux_FAQ.html#r1_5_6
there you go jensor
is that what you seek jensor ?
Really, I'm trying to see what causes my rtaip error while running
[22:41:21] <BigJohnT> http://www.linuxcnc.org/docs/devel/html/common_Stepper_Diagnostics.html#r1_2_2
jensor, exactly what rtapi error message do you see, and how is it displayed (in a window or to the terminal)?
you don't want /nick
I found the "heh" key it is Ctrl Alt Shift Tab Spacebar windows key pgup pgdn del all at once :)
steves is now known as steve_stallings
I have a special 129 key keyboard, with heh, huh, hmmm, and uh keys
that's too easy
I don't have clearance for the one with waitaminute
I have to get the cat to help me
* BigJohnT wonders what happened to jensor?
Coco is taking /me for a walk bbl
friken cold out there
is it worse than this? http://www.wunderground.com/cgi-bin/findweather/getForecast?query=05452
the only significant digit is after the decimal point :)
SWPadnos, rtaip error on task 1
I don't believe that's verbatim :)
(since it's RTAPI :) )
so this is a message window that pops up at most once per time you run EMC?
no I'll determine it exactly the next time I see it
or multiple times, without you stopping and restarting EMC?
yes one time
first thing to do is to run emc from a terminal instead of an icon/menu item
there may be messages printed there which will be lost if run from the GUI
second thing to do is exit from EMC and capture the output of "dmesg" just after the error occurs
incidentally, you mentioned last night that you just upgraded EMC2 to the latest, but I don't think you mentioned what you upgraded from
I didn't just upgrade - it was maybe 6 months ago and ever since i've noticed the error and now am tryin g to do something abouit it
I' currently runnin g from a teminal and started it with emc -dd -vv
ok. either way, it would be good to know from what major revision you upgraded
I don't really knopw would that be in a log somewhere?
I don't think so
wow, the performance of this machine is abysmal.
it takes a dozen seconds for the latency test window to appear after I start it
is that your same celeron?
no, cpuinfo reports "AMD Athlon 64 3000+"
though it's running at 999MHz and it should be much faster in MHz
seems wrong then
it's using the 64-bit RT kernel -- it's a hard drive transplanted from a different system
into the box that used to be my main server
it's much faster-feeling booted into the -generic kernel
direct rendering: Yes
17 frames in 5.2 seconds = 3.274 FPS
this isn't quite right
after changing a power management setting in BIOS it's better (booted as 1.8GHz which I think may be right) but still feels slow
wow, going into X makes a huge difference. 1-minute "ovl max" on console: <2000ns. 1-minute "ovl max" in X: 28000ns
SWPadnos, No rtapi error yet after about 1 hour, I might not get it since I incresed the base period from 100 uS to 120 uS.
jensor, the error is generated in the servo thread
SWPadnos: no, you're wrong
this one is generated by rtapi based on an indication from rtai that a deadline was missed: RTAPI: ERROR: Unexpected realtime delay on task 1
oh, it's the other message (this period was anomalously large ...) that is generated in the servo thread?
if I knew whether "task" was 0-based or 1-based I could tell you whethre that means it's from base or servo :-P
and yuck, the opengl is buggy too: http://emergent.unpy.net/files/sandbox/bad-buggy-opengl
and yuck, the opengl is buggy too: http://emergent.unpy.net/files/sandbox/bad-buggy-opengl.png
this isn't a goal3+ board is it?
it's an old SFF PC
ok. it sounds like some reports about them :)
a couple of sockets ago, I forget which one. K8T800, VIA Unichrome
does it have an intel 810 video device?
LawrenceG: no, VIA Unichrome is the name of the video
hmmm. I'm pretty sure that's what was used on the Jetway boards Ray tested
JustinXJS2_ is now known as JustinXJS
adding an AGP Matrox card gives much better interactive performance and somewhat latency-test results
still up to 23us after running only a short time, but if I keep this system for emc it will be for either pluto or mesa so that'll be dandy
hmmm. I think there may be a Parhelia driver now. I should look into that
ooh but the best thing about this board is with the side panel off I can see the lights on th emesa
in a normal desktop case you can't see the sides of a PCI card..
I'd need a mirror for that
or a small video camera with macro
and then software that does image processing and outputs the state of the LEDs on HAL pins, so I can see them on a VCP panel
that is pretty much a terrible idea
I guess taking a dremel to the case would be more efficient
huh -- the fpga doesn't go back to the unprogrammed state when emc exits (hal_m5i20)?
actually, that may be a good idea - have the driver reset the FPGA so the pins are tristated
couple of questions on coordinate systems???
[23:59:04] <SWPadnos> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?CoordinateSystems
when I start emc2, axis dros are somewhat random. So I jog to a point and want that point to be g54 coordinate system x0y0z0. is there an easy way to do that or do I have to hit touchoff for each?