M19 and spindle-index-enable issues

More
18 Mar 2025 14:55 #324210 by Aciera
Replied by Aciera on topic M19 and spindle-index-enable issues
Constantly forcing index-enable low would explain the issue with G33.1 in the post above:
forum.linuxcnc.org/10-advanced-configura...sues?start=20#282461

Have you tried using spindle synchronized motion (eg g33 or g33.1)?

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

More
18 Mar 2025 14:58 #324211 by Aciera
Replied by Aciera on topic M19 and spindle-index-enable issues
Just so we are on the same page here is my version:
 

File Attachment:

File Name: s_orient_2...-18.comp
File Size:5 KB
Attachments:

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

More
18 Mar 2025 20:26 - 18 Mar 2025 20:51 #324227 by scda
Replied by scda on topic M19 and spindle-index-enable issues
What makes me wonder is why  constantly forcing index-enable low does not cause a problem for you.
 
You are right. I haven't used G33.1 yet. Will test it soon. 
But from the looks of it, this is not easily solveable --> need to disconnect the index somehow...

EDIT: Could we write a switch component that passes the signal in both directions (similar to mux2 but bidirectional... ) ?

EDIT2: The easiest solution for this is to probably just install a optical sensor as a second index signal... and then use this for indexing in M19 or for G33.1 ?
Last edit: 18 Mar 2025 20:51 by scda.

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

More
19 Mar 2025 06:21 #324263 by Aciera
Replied by Aciera on topic M19 and spindle-index-enable issues
the index-enable pin is of type 'io' which _is_ bidirectional. All you need to do is move the line 'index-enable = 0; ' inside the 'if (enable)' block as in my version (or possibly just remove it as the user in the post I linked above.
The following user(s) said Thank You: scda

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

More
22 Mar 2025 12:08 #324539 by scda
Replied by scda on topic M19 and spindle-index-enable issues
Thanks for that.

Will test it this weekend.

Dave

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

Time to create page: 0.081 seconds
Powered by Kunena Forum