Notes on testStepper
The testStepper program is a little program which can exercise the stepper
motor at a low level, plus it has built-in high level procedures. Used mostly
for testing and debugging of hardware.
1. to run the program:
Login in to littledogm as spex, chdir, and start program:
% rlogin littedogm -l littledog
% testStepper
2. Hints:
Type help to see a list of commands.
Run the 'init' command to do some initialization.
type the 's' command to see some status infor.
Use the ma,mr command to move absolute or move relative.
'SetPos' to initialize the position counter.
lhome to find the home magnet.
The 'io' command put the program into terminal mode with the motor.
Enter a blank line to exit terminal mode.
Here are some example pc58 commands:
1. Example init command:
at pa (hl or hh) (lf or ln) ac1000; vl1000;
2. set position:
lp0;
3. move absolute to step position 2000:
ma2000; go
4. move relative -1000 steps.
mr-1000; go
5. Other help full stuff
st - stop
rp - reports the current step position