homing with Phase Z encoder on MESA 7i96s

More
30 Jun 2025 20:08 #331045 by JackRay
Replied by JackRay on topic homing with Phase Z encoder on MESA 7i96s
Are you saying that my .ini file is misconfigured and that's why I can't detect my Z homing?

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

More
30 Jun 2025 21:10 #331049 by PCW
Did you check the home switch operation?

That is, does  joint.2.home-sw-in go true (change from red to yellow in halshow)
when you manually trip the home switch?
 

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

More
01 Jul 2025 17:07 #331069 by JackRay
Replied by JackRay on topic homing with Phase Z encoder on MESA 7i96s
my configuration works very well on the x,y,z axes with on/off switches. homming is all done at the same time without any problem. the problem is only on this rotary axis where i have an encoder with which i want to use the Z phase to do my homing.

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

More
01 Jul 2025 18:24 #331070 by PCW
OK, that's probably to be expected since there does not seem to be any B axis home switch
and you have setup a homing scheme that requires that switch.

If you don't have a home switch on B, and you want to home to index, you need to setup
Index-only homing:

linuxcnc.org/docs/html/config/ini-homing.html#_configuration


 

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

More
02 Jul 2025 07:35 - 02 Jul 2025 07:35 #331091 by JackRay
Replied by JackRay on topic homing with Phase Z encoder on MESA 7i96s
Yes, that's what I've done. My axis is configured in my .hal & .ini files with Z pulse detection on my rotary axis ( B ), which has no switch. The problem is that I can't detect my Z pulse during homing on this axis ( B ). The hardware tests you made me do comply.
On all my other axes, homing is done correctly (with switches) in accordance with the attached documentation.
Last edit: 02 Jul 2025 07:35 by JackRay.

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

More
02 Jul 2025 13:40 #331102 by PCW
Did you set HOME_SEARCH_VEL to 0 as required by Index-only homing?

Otherwise homing B will search for a home switch before searching for index.

linuxcnc.org/docs/html/config/ini-homing.html#_configuration

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

More
02 Jul 2025 19:34 #331121 by JackRay
Replied by JackRay on topic homing with Phase Z encoder on MESA 7i96s
ok, I understood that, but how will my axis move if I don't give any speed? it will never detect my plus Z. I can't understand the logic ☺

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

More
02 Jul 2025 21:05 - 02 Jul 2025 22:16 #331125 by PCW
The search velocity is the speed when searching for the first
home switch actuation, the latch velocity is the velocity used
for for the actual homing switch/index move so only the latching
velocity is needed in this case.

Basically, Index-only homing is specified by setting the search
velocity to 0. (as the homing documentation specifies)
Last edit: 02 Jul 2025 22:16 by PCW.

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

More
03 Jul 2025 14:22 #331160 by JackRay
Replied by JackRay on topic homing with Phase Z encoder on MESA 7i96s
OK, thanks for the explanation, so I've set all this up correctly on my other axes with switches
I've performed the action, search velocity to 0 on my b axis with encoder. but the axis doesn't stop. it doesn't seem to find the index? still the same problem.

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

More
03 Jul 2025 15:11 #331164 by PCW
Can you:

1. Post your current hal and ini files

2. When homing B use halshow to watch joint.3.index-enable
and report it's behavior

joint.3.index-enable should get set true (yellow) when B homing starts
and get cleared at the index

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

Time to create page: 0.265 seconds
Powered by Kunena Forum