- Posts: 53
- Thank you received: 0
General questions on best method for installing Linuxcnc for software stepping.
9 years 10 months ago #85044
by MDM3D
Replied by MDM3D on topic General questions on best method for installing Linuxcnc for software stepping.
Thanks Andy
So I read the gantry.ini and I see how the axis and joints are defined but dumb question how would I go about setting the skew paramiters some setp style syntax paramiters or am I missing something? Also is there a way to map each axis to account for nonlinear errors. I have read a good chunk of the documentation manual but I probably missed how to store probe data for long term use.
So I read the gantry.ini and I see how the axis and joints are defined but dumb question how would I go about setting the skew paramiters some setp style syntax paramiters or am I missing something? Also is there a way to map each axis to account for nonlinear errors. I have read a good chunk of the documentation manual but I probably missed how to store probe data for long term use.
Please Log in or Create an account to join the conversation.
9 years 10 months ago #85045
by andypugh
Replied by andypugh on topic General questions on best method for installing Linuxcnc for software stepping.
There isn't any skew correction in trivkins, and illkins doesn't do gantries.
But what is the source of the skew? One of the main points of the new gantry handling is that with home-switches on each side of the gantry it will auto-square during homing.
Can you give us a lot more detail about what problems you have that need to be adressed?
But what is the source of the skew? One of the main points of the new gantry handling is that with home-switches on each side of the gantry it will auto-square during homing.
Can you give us a lot more detail about what problems you have that need to be adressed?
Please Log in or Create an account to join the conversation.
9 years 10 months ago #85046
by rodw
Replied by rodw on topic General questions on best method for installing Linuxcnc for software stepping.
To clarify, the gantry is squared during the homing sequence. In rough terms, the gantry travels towards the home switches and once it hits the first one, that side stops moving and the other keeps travelling until it hits its own switch at which pont the gantry should be square.
Of course its a bit more complicated than this as there are a couple of steps in the homing sequence but the description above sums it up.
Of course its a bit more complicated than this as there are a couple of steps in the homing sequence but the description above sums it up.
Please Log in or Create an account to join the conversation.
9 years 10 months ago #85048
by MDM3D
Replied by MDM3D on topic General questions on best method for installing Linuxcnc for software stepping.
Basically when I built my machine I did the best I could to build it as square and orthogonal as I could but I have a small squareness problem I'm off at about .oo4 over 24 inches of travel but I also have a .003 waveyness to my x axis(the gantry) unfortunately everytime I adjust the linear skew to 0 my tram goes out the window and because I am using double ball nut ballscrews my backlash is approximately .0001 I figured I could store a correction into each axis to account for both errors possibly using a table of probe data
Please Log in or Create an account to join the conversation.
9 years 10 months ago #85049
by MDM3D
Replied by MDM3D on topic General questions on best method for installing Linuxcnc for software stepping.
Ah I see the problem I only use one motor per axis I put the ball screw in the middle of the table and then ran a bar from each side of the axis to tie the carriages together so the skew is completely a build error and not a motor synchronizing issue. The picture in the first post shows my setup.
Please Log in or Create an account to join the conversation.
9 years 10 months ago #85057
by MDM3D
Replied by MDM3D on topic General questions on best method for installing Linuxcnc for software stepping.
#make a new text file with this in it.
sudo cp 07_rtai /etc/grub.d
sudo chmod +x /etc/grub.d/07_rtai
sudo update-grub
#
then modify etc/grub.d/07_rtai using the options listed in 07_rtai
finally run the script as a program and reboot
run the latency test and tweak until satisfied
my particular settings look like this
#MAV: uncomment isolcpus=1 for dual core, isolcpus=1,2,3 for quad
# these both assume hyperthreading is already disabled in bios
#
# optionally uncomment nohlt and idle=poll lines to experiment with those
# note: try idle=poll first as nohlt may cause increased power usage
#
#RTAI_OPTS="isolcpus=1"
#RTAI_OPTS="isolcpus=1,2,3"
#RTAI_OPTS="nohlt ${RTAI_OPTS}"
RTAI_OPTS="idle=poll ${RTAI_OPTS}" # this is the polling option that worked for me.
GRUB_CMDLINE_LINUX_RTAI="${GRUB_CMDLINE_LINUX_DEFAULT} ${RTAI_OPTS}"
sudo cp 07_rtai /etc/grub.d
sudo chmod +x /etc/grub.d/07_rtai
sudo update-grub
#
then modify etc/grub.d/07_rtai using the options listed in 07_rtai
finally run the script as a program and reboot
run the latency test and tweak until satisfied
my particular settings look like this
#MAV: uncomment isolcpus=1 for dual core, isolcpus=1,2,3 for quad
# these both assume hyperthreading is already disabled in bios
#
# optionally uncomment nohlt and idle=poll lines to experiment with those
# note: try idle=poll first as nohlt may cause increased power usage
#
#RTAI_OPTS="isolcpus=1"
#RTAI_OPTS="isolcpus=1,2,3"
#RTAI_OPTS="nohlt ${RTAI_OPTS}"
RTAI_OPTS="idle=poll ${RTAI_OPTS}" # this is the polling option that worked for me.
GRUB_CMDLINE_LINUX_RTAI="${GRUB_CMDLINE_LINUX_DEFAULT} ${RTAI_OPTS}"
Please Log in or Create an account to join the conversation.
Time to create page: 0.059 seconds