HAL for open-loop encoder homing

More
3 weeks 3 hours ago #350197 by Alexf2a
Hello.
I am using a Mesa 5i25/7i76/7i85s setup with LinuxCNC 2.9.4 on a milling machine.
I am using an open-loop control configuration. The axes are equipped with Chinese Sino optical linear scales, which I want to use for precise homing. AI helped me write the HAL and INI files for this setup. Before I added the BACKLASH parameter to the INI file, the system performed homing correctly and accurately using the scales' index mark; however, after adding BACKLASH, accuracy and repeatability were lost—sometimes it was accurate, other times not. I have attached the HAL and INI files. Could you please advise on how to fix this issue?
I read that this can be resolved using firmware that supports step/direction indexing, but I don't know where to download it.
Thank you.

Please Log in or Create an account to join the conversation.

More
2 weeks 6 days ago #350203 by PCW
Is this open loop in the sense that you do not actually use the encoder
or its index for position feedback?

Please Log in or Create an account to join the conversation.

More
2 weeks 6 days ago - 2 weeks 6 days ago #350204 by Alexf2a
Yes, I use the encoder solely for the homing procedure using the Z-mark on the Sino linear scale.
First, the axis moves to the inductive sensor, and then a precise homing sequence is performed at a lower speed using the encoder's Z-mark.
Last edit: 2 weeks 6 days ago by Alexf2a.

Please Log in or Create an account to join the conversation.

More
2 weeks 6 days ago - 2 weeks 6 days ago #350205 by Alexf2a

Alexf2a post=350204 userid=28355
Last edit: 2 weeks 6 days ago by Alexf2a.

Please Log in or Create an account to join the conversation.

More
2 weeks 6 days ago #350207 by PCW
I don't see any 5i25+7I76+7I85S firmware images with step/dir index
but I can compile one in the next day or so if you want to try it.

Please Log in or Create an account to join the conversation.

More
2 weeks 6 days ago #350218 by PCW
 

File Attachment:

File Name: 5i25_7i76_..._sdi.zip
File Size:112.58 KB


5I25 configuration for 7I76 +7I85S with Step/Dir index for
Step/Dir channels 0..3 (7I76)  on 7I85S encoder index pins 0..3

That is 7I85S encoder inputs 0..3 has shared encoder and stepgen
index function with the stepgen index function applying to stepgens
0..3 (on the 7I76)

Please Log in or Create an account to join the conversation.

Time to create page: 0.067 seconds
Powered by Kunena Forum