7i96s Spindle Rpm Measure with Proximity Sensor

More
16 Nov 2024 19:01 #314612 by turan
Hi,
i have 7i96s and Hertz Hera519 spindle that has a proximty sensor and 2 pulse in one rpm. How can i measure it for feedback?

Hera 519 pdf
hertzmotor.com/wp-content/uploads/2023/0...090.380_ISO30-LN.pdf

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

More
16 Nov 2024 19:21 #314615 by PCW
You can use any periodic signal for RPM measurement
you just need to set the 7I96S encoder counter into counter mode
and get the scaling correct.

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

More
16 Nov 2024 19:26 #314616 by turan
Can you share codes?

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

More
16 Nov 2024 19:41 - 16 Nov 2024 19:41 #314617 by PCW
Basically you just set the counter mode to true:

setp hm2_7i96s.0.encoder.00.counter-mode true

Note that if you created a configuration with either pncconf
or MesaCT, that line is present  and likely:

setp hm2_7i96s.0.encoder.00.counter-mode 0

And then you set the encoder scale to 2 (counts per turn)

This may be done in the ini file, you need to see what ini constant
is used to set hm2_7i96s.0.encoder.00.scale in the hal file

 
Last edit: 16 Nov 2024 19:41 by PCW.

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

Time to create page: 0.066 seconds
Powered by Kunena Forum