Daniell:
If the PWM changes when you set a new value, then its probably the setup. I screwed up in the video. You need to set the
frequency in the box to the PWM base frequency you want. So set that number to whatever the base frequency in M3 was set to.
You get only the number of steps equal to the kernal freq / base. SO , if you set 5000 in that box, and your kernal is set to 40000, youll
get 8 steps of PWM. Here an example setup and result.
In M4, you have spindle min set to 0rpm and Spindle max set to 25000rpm in the spindle setup.
In Darwins Spindle output you have entered 4000 as the base pwm. The kernal freq is set to 40,000hz
You command an S5000.
The system will put out a base pwm of 4Khz since thats what youve entered in Darwins Spindle signals frequency.
The system will ratio 5000 into 0-25000 and come up with a power of 20%.
It will then see you have a base of 4Khz, and set its duty cycle to 20%.
Since your kernal is 40000, abnd the base is 4000, you have 10 levels of pwm.
the 10 levels availble are then S4000 , S8000, S12000,S16000 etc..
So in this example, you would need to use those S words for those power levels.
Any S word in between would give you the same pwm as the closest lower multiple of 4000.
So make sure the base frequency is what youve entered in the box.. not
some arbitrary output frequency.
Art