buildbotics / bbctrl-firmware

Buildbotics CNC Controller Firmware
https://buildbotics.com/
Other
67 stars 24 forks source link

Support VFD speed feedback signal with PWM spindle #330

Open MagnmCI opened 2 years ago

MagnmCI commented 2 years ago

My current VFD (Dingtuoda DBLS-08-S) does not appear to support speed control over RS485, so I will go to PWM control to get moving.

However, this VFD does support speed feedback via a pulsed feedback pin, and would like to request that one of the db25 input pins be available for reading speed back from a vfd when pwm is used for the tool/spindle.

Speed signal output(PG) The speed pulse output is 0C, (output 30V/10mA max. ). Connect with a pull-up resistance (3K Ω ~10KΩ) between “PG” and power positive (5V-24V, If the user does not own power, it can also be directly connected to the “ +5V” of 8 pin CN2 ) . The formula of the output frequency F(HZ) and the motor speed N(RPM) is as follows: F=N * P / 60, where P is the pole number of the motor, that is, the pulse output per revolution of the motor is the pole number of the motor. DBLS-08-S manual.pdf