Рет қаралды 43,733
Get a Motor + VFD set: bit.ly/2IO0cP5
1. Get a couple of those cheat RS485 USB Adapters
2. Connect to VFD with a twisted pair cable
3. Configure the VFD like this:
PD001 = 2
PD002 = 2
PD163 = 1
PD164 = 1
PD165 = 3
4. Make a fresh LinuxCNC config without any spindle pins
5. Put into the custom.hal:
loadusr -Wn vfd hy_vfd -n vfd -d /dev/ttyUSB0 -p none -r 9600
net spindle-cmd-rpm-abs =▷ vfd.speed-command
net spindle-cw motion.spindle-forward =▷ vfd.spindle-forward
net spindle-ccw motion.spindle-reverse =▷ vfd.spindle-reverse
net on motion.spindle-on =▷ vfd.spindle-on
7. Change the ▷to pointy brackets which youtube wont let me put in my description ...
8. Put into the custom_postgui.hal:
setp vfd.enable 1
Seems like it's been a little bit foggy when these videos were shot...