VFD hm2_5i25.0.7i76.0.0.spinout

More
24 Feb 2020 17:55 #158400 by jgnoss
I'm so excited how my machine runs actually, I want to go further, but my brain is saturated.
one thing left for now, spindle speed.

basic config including spindle control created with pncconf, then done some tweaks.
After pncconf the spindle didn't move at all.
in custom HAL I tried then

net spindle-vel-cmd-rpm-abs => hm2_5i25.0.7i76.0.0.spinout
net spindle-enable => hm2_5i25.0.7i76.0.0.spinena
net spindle-ccw => hm2_5i25.0.7i76.0.0.spindir

I can control my VFD fwd/bkwd from axis but have some issues with velocity.

not sure how hal should be wired correctly
spindle-vel-cmd-rpm-abs gives me values up to xxx in 100 increments.
On the first click on the spindle speed + in axis my spindle runs at full speed.

I disconnected
hm2_5i25.0.7i76.0.0.spinout
and set some values with setp in halcmd
spindle runs at a value of 50 on hm2_5i25.0.7i76.0.0.spinout with max speed

someone has some link or idea how to do it the right way.

thanks Ju

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

More
24 Feb 2020 18:13 - 24 Feb 2020 18:13 #158404 by PCW
Replied by PCW on topic VFD hm2_5i25.0.7i76.0.0.spinout
You need to set the spindle scaling:
for example if your spindle RPM is 5000 RPM full scale, you would set

setp hm2_7i76e.0.7i76.0.0.spinout-maxlim 5000

setp hm2_7i76e.0.7i76.0.0.spinout-scalemax 5000

(this is likely set in the ini file if you have a pncconf generate ini/hal file set)
Last edit: 24 Feb 2020 18:13 by PCW.
The following user(s) said Thank You: jgnoss

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

Time to create page: 0.103 seconds
Powered by Kunena Forum