- Posts: 29
- Thank you received: 0
Homing direction problem
- robertjenkins
- Topic Author
- Offline
- Junior Member
-
Less
More
5 years 5 months ago #208805
by robertjenkins
Since I changed the configuration to make the homing speeds negative I am posting the files again.
Now, however, the Z axis has chosen to try to home in the wrong direction ...
I tried changing from (eg) X home to X max limit
but then I get "Joint 0 on limit switch error" (even when inverted)
It ought to be possible to get the machine to home at the limits and indeed it did for months before I had to replace the electronics. It would go to the end of the axis, hit the switch and back off a bit. The hal and ini files were pretty much as they are now
Replied by robertjenkins on topic Homing direction problem
Attachment not found
Attachment not found
Since I changed the configuration to make the homing speeds negative I am posting the files again.
Now, however, the Z axis has chosen to try to home in the wrong direction ...
I tried changing from (eg) X home to X max limit
but then I get "Joint 0 on limit switch error" (even when inverted)
It ought to be possible to get the machine to home at the limits and indeed it did for months before I had to replace the electronics. It would go to the end of the axis, hit the switch and back off a bit. The hal and ini files were pretty much as they are now
Please Log in to join the conversation.
5 years 5 months ago #208995
by andypugh
Replied by andypugh on topic Homing direction problem
You might learn something by watching the joint.N.home-state pins:
linuxcnc.org/docs/2.8/html/man/man9/motion.9.html#JOINT%20PINS
The meaning of each state is here:
github.com/LinuxCNC/linuxcnc/blob/master.../motion/homing.c#L48
This will tell you if, for example, the machine is not responding to the home switch, or is chaning from search to latch, but trying to latch in the same direction as search.
linuxcnc.org/docs/2.8/html/man/man9/motion.9.html#JOINT%20PINS
The meaning of each state is here:
github.com/LinuxCNC/linuxcnc/blob/master.../motion/homing.c#L48
This will tell you if, for example, the machine is not responding to the home switch, or is chaning from search to latch, but trying to latch in the same direction as search.
Please Log in to join the conversation.
Time to create page: 0.038 seconds
