Hi
it won't let me upload .conf files...any way around this?
Just rename the extension to .txt. Easiest way would have been to zip all the files into one, its quite happy with zips.
I still haven't figured out how to get several pictures in one post though:}
Your errors specified a problem with loading rtai_shm.ko
/etc/emc2/rtapi.conf: line 21: : command not found
insmod: can't read '/usr/realtime-2.6.32-122-rtai/modules/rtai_shm.ko': No such file or directory
In your rtai.conf file the MODPATH entry for rtai_shm is
MODPATH_rtai_shm=/usr/realtime-$(uname -r)/modules/rtai_shm.ko
In my rtai.conf file and that of a fresh install it is
MODPATH_rtai_shm=
Don't ask me why, but this appears to be correct and that line is what insmod had trouble with.
(It is possible that rtai_shm is a dependency of other modules and automatically loaded, so does not need to be specifically addressed?)
Also your rtai,conf has a corrupted line here
#List of realtime kernel modules to be loaded
if [ "3" = "3" ] ; then
which should be "3" = "3"
(again don't ask me why bother testing if 3 = 3, why not just dispense with the rest of the options in the file ?)
Looks like a HTML mark up, don't know if that is how it is in the original, because we only have a paste of it, the paste into the forum might have done that bit.
I have attached my rtapi.conf file (you will have to rename it to that) which you can substitute for yours.
It does not load rtai_smi.ko by default, but I have included the lines commented out for substitution later.
Regards the .ini and .hal files, they look pretty standard stepconf generated ones.
The only thing that strikes me in the .hal file are the figures
setp stepgen.1.dirhold 42000
setp stepgen.1.dirsetup 42000
If those are the manufacturers figures then so be it, they are 3 times the size of the figures for my small stepper mill however.
In you .ini file I noted that your acceleration figures are extremely high, especially in comparison to your modest and probably realistic velocity figure.
Has no bearing on your current problem, but when you get running, very high ACCELERATION in combination with a very high SCALE figure (gearing plus very high micro-stepping?)
and your slow
dirhold and
dirsetup figures look like a sure fire recipe for lost steps.
regards
This attachment is hidden for guests. Please log in or register to see it.