Using Pro-Motion
3
The command window automatically inserts the axis number into the command word before
sending it to the Navigator motion processor. At startup, the axis number is set to 1. For motion
processors that support more than one axis, you can select the axis number using the following
commands:
> #axis 1
> #axis 2
> #axis 3
> #axis 4
// selects axis # 1
// selects axis # 2
// selects axis # 3
// selects axis # 4
The command window is capable of executing sequences of commands stored in external files using
the file-input command “<“ followed by the name of the file to execute.
> <setup.txt
As an example, the file “setup.txt†could have the following command sequence that initializes DAC
output mode and sets the servo parameters for the attached hardware.
Reset
SetOutputMode 0
SetKp 25
SetKd 200
Update
This file can then be used any time the system needs to be re-started. Any sequence of valid
commands can be contained within the script file.
The tilde symbol ‘~’ can be prefixed to any line to make that line a comment which will not be
executed.
3.3.1 Commands Available within the Command Window
CTRL-R:
Repeat the last command entered.
TAB:
Automatic command name completion. Press this key after having entered the first
few characters of the command you wish to execute. If more than one command
begins with these characters, a window containing a list of commands that match the
starting characters will appear. Select the correct command using the keyboard or
mouse.
UP-ARROW:
Sequentially scrolls back through previously entered commands.
DOWN-ARROW:
Sequentially scrolls forward through previously entered commands.
ESC:
Clears the command line.
#axis number:
Selects the current axis (e.g., #axis 3 selects axis number 3.)
All future commands will be executed on the selected axis.
<filename
Script file-input command. Executes the commands contained in the specified file.
TraceDownload filename: Reads trace data from the external memory and stores it to the specified filename.
Prior to executing this command, an actual trace must have been started as described
in section 7 of the Navigator Motion Processor User’s Guide.
For more information click on Help in Pro-Motion.
Navigator-PC/104 User’s Guide
47