![NANOTEC PD4-C5918M4204-E-01 Manual Download Page 23](http://html1.mh-extra.com/html/nanotec/pd4-c5918m4204-e-01/pd4-c5918m4204-e-01_manual_3241520023.webp)
Manual PD4-C (USB)
6 Configuration
Version: 1.4.1 / 22.07.2016 / FIR-v1626
23
4. Open this file with a simple text editor, such as Notepad or Vi. Do not use any programs that use
text styles (LibreOffice or suchlike).
After you have made changes to the file, take the following action to apply the changes:
1. Save the file if you have not already done this.
2. Disconnect the USB cable from the motor controller.
3. Disconnect the voltage supply from the motor controller for approx. 1 second.
4. Reconnect the voltage supply. At the next motor controller startup, the new values in the
configuration file are read out and applied.
Tip
You can also copy an empty file
reset.txt
to the motor controller in order to restart the
motor controller.
This restarts the motor controller. The file
reset.txt
is deleted at the restart.
6.4.3 Structure of configuration file
Comments
Lines that start with a semicolon are ignored by the motor controller.
Example
; This is a comment line
Assignments
CAUTION
Beforeyou set a value, find out about its data type (see the "Object directory description" section).
The motor controller does notvalidate any entries for logic errors!
Values in the object directory can be set with the following syntax:
<Index>:<SubIndex>=<Value>
<Index>
This value corresponds to the index of the object and is interpreted as a hexadecimal number.
The value must always have four digits.
<SubIndex>
This value corresponds to the sub-index of the object and is interpreted as a hexadecimal
number. The value must always have two digits.
<Value>
The value that is to be written into the object is interpreted as a decimal number. A "
0x
" is to be
added to the front for hexadecimal numbers.
Note
•
There are not to be any empty spaces to the left and right of the equals sign. The following
assignments are incorrect:
6040:00 =5
6040:00= 5
6040:00 = 5