homing with Phase Z encoder on MESA 7i96s

More
25 Jun 2025 21:26 #330874 by PCW
OK so it looks like the hardware works.

When testing you should have a halshow WATCH tab setup like this:


 


When you set b-index-enable true (yellow) with the "Set" button, it
should go false (red) when you move the encoder past the index position.
Attachments:

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

More
28 Jun 2025 14:15 #330955 by JackRay
Replied by JackRay on topic homing with Phase Z encoder on MESA 7i96s
My button never change when color , is always RED . same when i click on "set"

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
28 Jun 2025 14:46 #330957 by tommylight
Replied by tommylight on topic homing with Phase Z encoder on MESA 7i96s
This topic has been tainted entirely so i will try to separate it into two topics later, now, what should the topic title be ?

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

More
28 Jun 2025 15:11 - 28 Jun 2025 15:24 #330958 by PCW
Can you post you current hal file? 

This really makes no sense.

It sounds like either some basic error in the hal file or a
continuously changing index signal

Also: Is the encoder position cleared to 0 when you set b-index-enable?
Last edit: 28 Jun 2025 15:24 by PCW.

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

More
29 Jun 2025 07:49 #330993 by JackRay
Replied by JackRay on topic homing with Phase Z encoder on MESA 7i96s
here are my files  .hal and .ini

Thanks
Attachments:

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

More
29 Jun 2025 14:03 #331003 by PCW
setp [HMOT](CARD0).encoder.00.index-enable true

This is wrong and should be removed

Also: Is the encoder position cleared to 0 when you set b-index-enable?
(set in the halshow:watch tab)

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

More
29 Jun 2025 14:07 - 29 Jun 2025 16:23 #331004 by JackRay
Replied by JackRay on topic homing with Phase Z encoder on MESA 7i96s
so I tested it and switched the red button to yellow. and it turned red at the same position when I turned my encoder.
Last edit: 29 Jun 2025 16:23 by JackRay.

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

More
29 Jun 2025 16:26 - 29 Jun 2025 16:27 #331009 by PCW
OK that means that index is working as expected, so if homing
to index fails, its likely a homing setup issue.
Last edit: 29 Jun 2025 16:27 by PCW.

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

More
29 Jun 2025 20:33 #331014 by JackRay
Replied by JackRay on topic homing with Phase Z encoder on MESA 7i96s
what do you mean by a configuration problem, in a .hal file?

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

More
29 Jun 2025 21:05 #331015 by PCW
Homing configuration is in both the hal file (index and home switch handling) and the ini file
(type of homing, directions, speeds etc) 

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

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

Time to create page: 0.167 seconds
Powered by Kunena Forum