I think for the chw bit I need to add a few lines in the spindle jog program that state

If speedvar is less than or = 1200 then set bit () else clear bit ().

I have no idea how that would be written in c but I will keep trying until I get a solution that works or someone else presents a better idea.

Thank you
Ben

Sent from my E6910 using Tapatalk