OK Lets try it and keep it all in the scripting language. It works fine here as well.
Message"Spindle Starting"
SpeedMax = GetDRO(17)
Speedstep = (Speedmax/3)
SetDro(17,SpeedStep)
DoSpinCW()
Message "Spindle at "&SpeedStep
Sleep(2000)
SetDro(17,(Speedstep *2))
Message "Spindle at "&(SpeedStep*2)
Sleep(2000)
SetDro(17,(SpeedStep *3))
Message "Spindle at "&(SpeedStep*3)
Sleep(2000)
Message"Spindle Up To Speed"
End