Spindle encoder wiring check

More
9 years 3 months ago #95686 by timmert
I checked with HALmeter
spindle-index-enable is true. When I turn the spindle manually it doesn't switch to false.

Phase A is working fine though.

When I check the encoder.00.count I get a - value. No matter which side I turn the spindle. Don't know if that's good?

I also don't fully understand how the scale is being calculated?
It asks for the pulses per revolution. It will multiply by 4 and that's the encoder scale.
The PPR is 360. But why does it multiply with 4 to calculate the encoder scale?
Do I need to fill in 90? 90 x 4 = 360

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

More
9 years 3 months ago - 9 years 3 months ago #95698 by PCW
Replied by PCW on topic Spindle encoder wiring check
Yes, if you are not using quadrature ( A and B ) the scale should not be multiplied by 4
You also need to change the sign of the scale value so it counts up so if pncconf multiplies
by 4 you should enter -90.

Also at some point you are better off not using pncconf and just editing the hal file directly
pncconf is good for creating the basic structure of the configuration, but for anything beyond
the basics, you will need to edit the hal file by hand, and once you have done this you cannot use
pncconf again without losing your changes
Last edit: 9 years 3 months ago by PCW.
The following user(s) said Thank You: timmert

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

More
9 years 3 months ago #95715 by timmert
Index and PhaseA is working!
I changed 360 to -360. And the pin: encoder.position (checked with halmeter) is counting upwards instead of negative.
All seems good I think? :)

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

More
9 years 1 month ago #99247 by timmert
I want to upgrade the encoder on my machine to a quadrature so I can do rigid tapping on my lathe.

Currently a rotary encoder is connected with a belt to the spindle.
Which kind of things I need to check for a new encoder? or does a quadrature encoder always got a index, a and b pulse?

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

More
9 years 1 month ago #99254 by Todd Zuercher
They always have an A and B pulse. They may or may not have an index pulse. But the encoder will have to be connected to the spindle in a 1:1 ratio in order to make use of the index pulse on the encoder. If your current setup has a separate index pulse you can continue to use it with the new encoder.

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

More
9 years 1 month ago - 9 years 1 month ago #99263 by timmert
Thanks Todd!
I need to find an encoder with index pulse, because it saves some work adding a second encoder for only the index pulse
It's 1:1 belt connection
'Edit

robokitsworld.com/sensors/encoders/rotar...-10000cpr-with-index

This would work I think
Last edit: 9 years 1 month ago by timmert.

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

Time to create page: 0.061 seconds
Powered by Kunena Forum