75
5.4.3 Terminal window
If the terminal window is not visible, select
Tools, Terminal from the main menu.
(Alternatively, click the Terminal button on the
standard toolbar or press CTRL+T).
The Terminal window can be used for
controlling the MintDrive directly and for
monitoring output messages from programs.
On the PC keyboard, press the Enter key
once to display the C001> or P001> prompt.
Commands typed in the Terminal window will
have immediate effect on the MintDrive,
although the command line will not be
available while a program is running.
5.4.4 Useful commands for testing
The Terminal window can be a useful tool for performing simple tests. Before testing can begin, check
that the enable button
on the motion toolbar is pressed; the MintDrive Monitor LED display should be
showing the
symbol.
The following examples can now be typed in the Terminal window:
To start the motor turning slowly, type...
JOG=1 followed by the Enter key.
The motor will begin to rotate at a speed of 1 user unit per second. If you have followed all the previous
examples, this means the motor will rotate at one revolution per second.
To stop the motor turning, type...
STOP followed by the Enter key.
The motor will stop.
To start the motor turning in reverse, then change direction type...
JOG=-1 followed by the Enter key. Then type:
JOG=1 followed by the Enter key.
The motor will immediately c hange direction. Type:
STOP to stop the motor.