I want to control my stepper motor using basic. I’ve finally established communication with the K8000/K8005 by using an old obsolete PC that was due to be skipped, rather than the nice new Dell that we bought specifically for this project Anyway, I’ve run Example 6 (the one with SendStepCCWFull) using QBasic. I’d like to do something a little more interesting, but I can’t find any documentation that gives info on usage of these and procedures.
What do the three sets of numbers mean? I guess one of them refers to the number of steps.
Result
Sends a step command to the stepper motor card that allows the motor to turn
counterclockwise and in full step mode, and this with a certain time delay between different steps and for a certain number of steps.
Parameters
Motor_No: Value between 0 and 15 that represents the stepper motor card that has to be driven.
Time: Value between 0 and 255 that is a time delay parameter, whereby the
speed of rotation of the motor can be controlled.
0:maximum speed ; 255:minimum speed
Steps: Value between 0 and 65535 that gives the number of steps that the motor has
to turn as a result of this command
0: the motor continues to turn until a new command is sent to the
stepper motor card
other value: the motor steps for the set number of steps (if the
command sent is a step command).