i have my spindle vfd controlled by rs485. 2.2kw water cooled with the huanyang vfd.
the spindle rpm lower right of the screen one value is current/last commanded rpm. the other value is what rpm the spindle is at. but it just reports zero when the spindle is off or the rpm i set it to when its on but it dose not seem to ramp up from zero .
from my vfd.hal file.
Code:
setp vfd.enable 1 # This enables the VFD in the driver
net spindle-speed spindle.0.speed-out => vfd.speed-command
net spindle-cw spindle.0.forward => vfd.spindle-forward
net spindle-ccw spindle.0.reverse => vfd.spindle-reverse
net spindle-on spindle.0.on => vfd.spindle-on
net spindle-speed-fb => vfd.spindle-speed-fb
net spindle-current <= vfd.OutA
net spindle-comm-ok <= vfd.hycomm-ok
net spindle-at-speed => vfd.spindle-at-speed
net spindle-at-speed <= spindle.0.at-speed
i assume the last two are what telling the gui what to report.
all the guides want you to put some thing like this in the custom post gui hal file. (i didnt add anything to the custom post gui hal file.)
[code]net spindle-speed-fb <= gmoccapy.spindle_feedback_bar
net spindle-at-speed <= gmoccapy.spindle_at_speed_led
[code][code]for probe basic would i just change gmoccapy to qtpyvcp?
this is the guide i used to get spindle control to work.
https://wiki.printnc.info/en/controllers/linuxcnc/vfd
[/code][/code][/code]