homing with Phase Z encoder on MESA 7i96s

More
1 year 4 months ago #330874 by PCW
OK so it looks like the hardware works.

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


 

Attachment not found




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.

Please Log in to join the conversation.

More
1 year 4 months ago #330955 by JackRay
My button never change when color , is always RED . same when i click on "set"

Please Log in to join the conversation.

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

More
1 year 4 months ago #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?

Please Log in to join the conversation.

More
1 year 4 months ago #330993 by JackRay
here are my files  .hal and .ini

Thanks

Please Log in to join the conversation.

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

More
1 year 4 months ago #331004 by JackRay
so I tested it and switched the red button to yellow. and it turned red at the same position when I turned my encoder.

Please Log in to join the conversation.

More
1 year 4 months ago #331009 by PCW
OK that means that index is working as expected, so if homing
to index fails, its likely a homing setup issue.

Please Log in to join the conversation.

More
1 year 4 months ago #331014 by JackRay
what do you mean by a configuration problem, in a .hal file?

Please Log in to join the conversation.

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

Time to create page: 0.978 seconds
Powered by Kunena Forum