help with coding a stepper motor triggered by a PIR motion sensor

And it would be good to be able to have the speed set to say 200

200 furlongs/fortnight? 200 steps per month? 200 months between steps?