Finally it is working.
The seller had said that the motor was run before it left their shop so the switch settings should stay as they come.
Well guess what! They were wrong.
I changed the PPR settings and the motor runs!!
It is interesting I ran through all of the settings.
The default ON-ON-ON-ON 400 PPR fails.
The Max OFF-OFF-OFF-OFF 40,000 PPR fails.
But everything else works.
800 appears to be the best, fastest.
I bought an optical RPM checker but that does not show consistent readings so it is useless.
Now I need to set up an encoder for RPM.
Plus I have to program an ON/OFF button.
I am "thinking" of putting in a range of setSpeed that I will select with a encoder.
Of course I am not a programmer but I have Jim's leadscrew program so I'll copy his button routine.
Ralph