My previous post is still pending moderation, but I'd like to update that post as I found some useful information in the EMC2 documentation pertaining to my question. (Dear Moderator, please merge my two posts). Here 'tis below:
property name="spindlepwm1" type="float" value="0.2"
property name="spindlepwm2" type="float" value="0.8"
property name="spindlespeed1" type="float" value="100.0"
property name="spindlespeed2" type="float" value="800.0"
PWM Rate
The "carrier frequency" of the PWM signal to the spindle. Enter "0" for PDM mode, which is useful for generating an analog control voltage. Refer to the documentation for your spindle controller for the appropriate value.
Speed 1 and 2, PWM 1 and 2
The generated configuration file uses a simple linear relationship to determine the PWM value for a given RPM value. If the values are not known, they can be determined. For more information see section ([.])
If I am reading this correctly then, for the stepconf posted above, the spindle is assumed to run at 100RPM for a 20% duty cycle and 800RPM for an 80% duty cycle. And the relationship inbetween is assumed to be linear.
The EMC2 documentation goes on to talk about spindle speed calibrating and measuring the spindle speed. Does anyone know what tool could be purchased to measure spindle speed??