Quote Originally Posted by mitchejc View Post
Thanks silyavski. I'll be using a cheap controller I bought before I joined this group and I hope to upgrade to CSLABS CSMIO/IP-M later this year so no dual axis homing.

In bench testing I've been able to control my VFD speed from controller but I'm unable to figure out how to switch it on and off with my controller. My VFD is a Sunfar E300. The model number says E300-2S0022L. Attached is the manual



These are the basic steps to make the VFD work with your spindle:

F0. 0 1: External input signal (0~10V / 0~20mA)


F0. 2 1st part of LED 1:Control by external terminal
F0. 2 3rd part of LED 1: Valid
F0. 2 4th part of LED: Self-startup when power-on 0: Prohibit




F0. 4 Upper freq [F0.3] ~ 1000 Hz 400/ if your spindle is 24000rpm, if not divide RPM/60


Check if these 2 are by default 10: if not set
F0.5 Acc time 10:
F0.6 Dec time 10:


Spindle speed control:
connect from BOB to terminals 10V/+/ and CM/common/
F1. 1 AI input upper volt [F1.0] ~ 10.0V , Leave that to 10 if you board outputs 0-10VDC for spindle control, change to 5 if the board outputs 0-5VDC
F1. 3 Max setting freq 400/if your spindle is 24000rpm




Protection:
connect terminals Ta Tb /NC normally closed/ to the ESTOP circuit, so that if the inverter trips it will stop the machine


When you are finished with all of the above:
F0. 10 Parameter read-in protection 2: Only allow to modify this parameter


How to turn it on off and the speed control:

not all the info is relevant to your case, so remember your settings from above, but read about mach 3 , relay assignment and checking the speeds. You will need a cheap tacho
If you dont have a relay output/alsmost impossible/ , you will need a cheap ??V relay/depends of voltage output of your board/ from ebay.

http://www.cjh.com.au//PWM%20Spindle...ng%20Mach3.pdf