I spent a few hours working on this and made some changes to the component. Now my drives will with some caveats.
The changes I made was to ensure that system commands were made in a logical order and the homing command was only issued once. See below:
File Attachment:
File Name:
cia402.comp
File Size:11.24 KB
The issues I have seen have been discussed earlier on this thread.
the drives will home and rehome using the home all button but.
Movement is restricted to about 3/4 of a turn before a following error is raised. Hitting a homing switch attached to the drive in that distance will let it home correctly otherwise a following error is raised.
I don't understand why this happens as we are keeping pos-fb in sync with pos-cmd
These drives have provision to connect sensors for home, min limit and max limit which seems to be part of the cia402 standard.
Having read the earlier comments, I think we need to modify homing.c and create a new ini file homing flag for drives like this that bypasses checks for home and limit switches and other linuxcnc stuff. Eg homing should jump from
case HOME_INDEX_ONLY_START: (start homing)
to
case HOME_INDEX_SEARCH_WAIT: (until end homing ends)
After all, if you are going to use the dives homing, surely you will also use the drives lint switches too.
So any ideas about this would be appreciated.