homing, store corrections in log file ?
08 Nov 2012 05:51 #26353
by vroemm
homing, store corrections in log file ? was created by vroemm
Hi.
Can linuxcnc after homing store the corrections in a log file ?
Could be useful during trouble shooting.
As i am doing now
also: I am trying to find the place in the linuxcnc source code where the value of the axis is set to zero after homing.
Can someone give me a hint where to find the place in the git source code ?
Thanks..
Vroemm.
Can linuxcnc after homing store the corrections in a log file ?
Could be useful during trouble shooting.
As i am doing now
also: I am trying to find the place in the linuxcnc source code where the value of the axis is set to zero after homing.
Can someone give me a hint where to find the place in the git source code ?
Thanks..
Vroemm.
Please Log in or Create an account to join the conversation.
08 Nov 2012 17:05 #26363
by jmelson
every time it shuts down, so that workpiece offsets (G54, etc.) can be restored
when it is next started up. I think that might be waht you are asking for.
src/hal/drivers. In hardware servo interfaces, this is often actually done
in the encoder counter module, external to the PC. When encoder
index pulses are available, the most accurate homing can be performed
when the hardware counter resets its count when the index pulse is
seen. This makes resolution more accurate than the typical 1 ms
\servo thread timing. So, the motion hal component sets encoder_index_enable
and when the index pulse is detected, the counter is zeroed.
Jon
Replied by jmelson on topic homing, store corrections in log file ?
LinuxCNC stores the offsets relative to the machine home position in the var fileHi.
Can linuxcnc after homing store the corrections in a log file ?
every time it shuts down, so that workpiece offsets (G54, etc.) can be restored
when it is next started up. I think that might be waht you are asking for.
This is done in various drivers, so they would mostly be in
also: I am trying to find the place in the linuxcnc source code where the value of the axis is set to zero after homing.
Can someone give me a hint where to find the place in the git source code ?
src/hal/drivers. In hardware servo interfaces, this is often actually done
in the encoder counter module, external to the PC. When encoder
index pulses are available, the most accurate homing can be performed
when the hardware counter resets its count when the index pulse is
seen. This makes resolution more accurate than the typical 1 ms
\servo thread timing. So, the motion hal component sets encoder_index_enable
and when the index pulse is detected, the counter is zeroed.
Jon
Please Log in or Create an account to join the conversation.
08 Nov 2012 20:39 #26372
by andypugh
Line 587.
Replied by andypugh on topic homing, store corrections in log file ?
git.linuxcnc.org/gitweb?p=linuxcnc.git;a...fs/heads/v2.5_branch: I am trying to find the place in the linuxcnc source code where the value of the axis is set to zero after homing.
Line 587.
Please Log in or Create an account to join the conversation.
09 Nov 2012 02:20 #26388
by vroemm
I think this is what i was looking for.
Thanks !
Vroemm.
Replied by vroemm on topic homing, store corrections in log file ?
git.linuxcnc.org/gitweb?p=linuxcnc.git;a...fs/heads/v2.5_branch: I am trying to find the place in the linuxcnc source code where the value of the axis is set to zero after homing.
Line 587.
I think this is what i was looking for.
Thanks !
Vroemm.
Please Log in or Create an account to join the conversation.
Time to create page: 0.112 seconds