- Posts: 17533
- Thank you received: 5334
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I never considered doing that. Thank you.Basically I bypassed the home switch on the final homing stage (when the homing uses the latch velocity) by means of detecting the joint.N.home-state of the joints on the machine. So my homing sequence is working only with home switchs, but when the time comes to do the final home switch tripping, I just use the index pulse to fool LCNC and get a more accurate homing. This is not as good as hardware counter reset, but it's working flawleslly (tested with a dial indicator). The best way to be sure the repetability is good is to use a really slow latching speed.
Please Log in or Create an account to join the conversation.
Will this require stepgen to be in velocity mode? I am currently running a machine in position mode and would like to get index homing back. Unless there's a way to get the Machdrive BRC's to work with stepgen in velocity mode. The drive PID fights with the velocity signal coming from the controller. I'm happy with the performance in position mode using the drive PID but no index homing.........There is new firmware and support in LinuxCNC 2.9
for homing to index on pure step/dir systems if you want to try
it. This does require a direct input for the stepgen index though
it can be shared with an encoder index say on a 7I85/7I85S
Please Log in or Create an account to join the conversation.
Sorry for the late reply and lack of updates on progress. Life in general and work has interfered with my chance to work on this problem.I don't know if you're still stuck with homing only with the switches or if you solved it closing the loop with the encoders but here's a solution I did on one of our machines (a Mazak lathe) to overcome the problem of homing with index using open loop configuration.
But, I could find a simple way of solving this with pretty good results. Basically I bypassed the home switch on the final homing stage (when the homing uses the latch velocity) by means of detecting the joint.N.home-state of the joints on the machine. So my homing sequence is working only with home switchs, but when the time comes to do the final home switch tripping, I just use the index pulse to fool LCNC and get a more accurate homing. This is not as good as hardware counter reset, but it's working flawleslly (tested with a dial indicator). The best way to be sure the repetability is good is to use a really slow latching speed.
Please Log in or Create an account to join the conversation.
There is new firmware and support in LinuxCNC 2.9
for homing to index on pure step/dir systems if you want to try
it. This does require a direct input for the stepgen index though
it can be shared with an encoder index say on a 7I85/7I85S
Will this require stepgen to be in velocity mode? I am currently running a machine in position mode and would like to get index homing back. Unless there's a way to get the Machdrive BRC's to work with stepgen in velocity mode. The drive PID fights with the velocity signal coming from the controller. I'm happy with the performance in position mode using the drive PID but no index homing.........
Please Log in or Create an account to join the conversation.