homing with Phase Z encoder on MESA 7i96s

More
1 year 4 months ago #331045 by JackRay
Are you saying that my .ini file is misconfigured and that's why I can't detect my Z homing?

Please Log in to join the conversation.

More
1 year 4 months ago #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 to join the conversation.

More
1 year 3 months ago #331069 by JackRay
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 to join the conversation.

More
1 year 3 months ago #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 to join the conversation.

More
1 year 3 months ago #331091 by JackRay
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.

Please Log in to join the conversation.

More
1 year 3 months ago #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 to join the conversation.

More
1 year 3 months ago #331121 by JackRay
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 to join the conversation.

More
1 year 3 months ago #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)

Please Log in to join the conversation.

More
1 year 3 months ago #331160 by JackRay
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 to join the conversation.

More
1 year 3 months ago #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 to join the conversation.

Time to create page: 0.056 seconds
Powered by Kunena Forum