Need help with spindle control

  • markd
  • Topic Author
  • New Member
  • New Member
More
6 years 10 months ago #152261 by markd
Need help with spindle control was created by markd
I am at the point in my lathe project that I need the spindle to be controlled by axis. I am controlling the VFD with its keypad and trying to get the pyvcp speed indecator to work. With VFD at 60Hz I measure a period of 67.9Ms which is 883 RPM there is no reading on the pyvcp panel.
In halmeter scale.spindle.out reads -880 (should this be negative?).

As far as I remember this section is directly from the mesa set up utility.

What am I missing?

Thanks in advance
markd

Attachment not found

Attachment not found

Attachment not found

Attachment not found

Please Log in to join the conversation.

More
6 years 10 months ago #152266 by cmorley
looking in your pyvcp HAL file:

net spindle-fb-filtered-abs-rpm => pyvcp.spindle-speed

So the pyvcp spindle indicator is controlled by spindle-fb-filtered-abs-rpm - what does that say?

looking in your main HAL file here is where that signal comes from;

setp scale.spindle.gain 60
setp lowpass.spindle.gain 1.000000
net spindle-vel-fb-rps => scale.spindle.in
net spindle-fb-rpm scale.spindle.out => abs.spindle.in
net spindle-fb-rpm-abs abs.spindle.out => lowpass.spindle.in
net spindle-fb-rpm-abs-filtered lowpass.spindle.out

now using halmeter probe each signal/pin till you find the problem.

Chris

Please Log in to join the conversation.

  • markd
  • Topic Author
  • New Member
  • New Member
More
6 years 10 months ago #152280 by markd
Replied by markd on topic Need help with spindle control
Thank You Chris

I did find the error I had to change a line in the pyvcp.hal file.

net spindle-fb-filtered-abs-rpm => pyvcp.spindle-speed
changed to
net spindle-fb-rpm-abs-filtered => pyvcp.spindle-speed

markd

Please Log in to join the conversation.

Time to create page: 0.082 seconds
Powered by Kunena Forum