- Posts: 60
- Thank you received: 8
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Hi, Andy.What is the index pulse wired to? Presumably to the encoder index?
Are you sure that there is only one index?
Is joint.N.index-enable connected to the encoder.M.index-enable pin in HAL?
Please attach your HAL file.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
PathPilot seems to be slightly different from vanilla LinuxCNC, as I couldn't use your halcmd, but when I had started PP, I could do ADMIN HALMETER and ADMIN HALSHOW, where I could run HAL commands. zindex-enable switched to false when passing the index mark. Index marks are every 100mm on Z-axis scale, same as on X-axis scale.To test the index pulses:
(assuming that PP isn't _too_ different from LinuxCNC.)
Open a terminal
halcmd loadusr halmeter
Then set the halmeter to look at the zindex-enable signal.
Then
halcmd sets zindex-enable 1
Though change the value in the halmeter
Then jog past an index, you should see the halmeter switch to false.
Tried jogging back and forth several times between two index marks. zindex-enable stayed true the whole time. The glass scale cable is metal-wrapped and the shield is grounded, but my electrical cabinet is made out of wood instead of steel. Don't know if that could cause any problems.Is it possible you have a noise issue? This could cause apparent random index locations
You can test this by setting index enable as Andy suggested and seeing if it ever
gets reset spontaneously (that is, when not actually at the index location)
Please Log in or Create an account to join the conversation.