13
2.3.2 Operation via own host application
Set your host application to the controller transfer rate (default 9600 baud) with the following con-
figuration:
8 data bits
1 stop bit
No Parity
The Xon/Xoff protocol must be used for rapid command sequences or transfer of sequence programs
and parameter sets.
An extensive set of ASCII commands is available for operating the FAULHABER Motion Controllers.
The ASCII commands have the following structure:
[Node No.]
Command
[Argument]
CR
The node number is optional and is only required if several drives are being operated on one inter-
face. The command consists of a letter character string. The optional argument consists of an ASCII
numeric value. The end is always a CR character (Carriage Return, ASCII decimal code 13). Space
characters are ignored, and no distinction is made between upper and lower case.
The response to query commands or asynchronous events is also an ASCII character string, followed
by a CR character (Carriage Return, ASCII decimal code 13) and an LF character (Line Feed, ASCII
decimal code 10).
Example:
Actual position queries:
Transmit:
POS[CR]
Receive:
98956[CR][LF]
Drive motor at 500 rpm:
Transmit:
V500[CR]
If ANSW2 is set, you will receive an “OK” when the command has been successfully executed. If an
execution error occurred you will receive one of the following character strings:
“Unknown command”
“Invalid parameter”
“Command not available”
“Overtemperature – drive disabled”
Example:
Transmit:
V500[CR]
Receive:
OK[CR][LF]
The EEPSAV command always responds with the character string “EEPROM writing done” after suc-
cessful saving of the current settings in the data Flash memory, or with “Flash defect”, if the save
has failed.
All commands are listed in Chapter 5 "Parameter Description".
2 Description
2.3 Quick start