4 Commissioning
Tip
Because it is often necessary during commissioning to copy the same file to the controller following
an update, it is recommended that a script file be used to perform this task.
●
Under Windows, you can create a text file with file extension bat and the following content:
copy <SOURCE> <TARGET>
●
Under Linux, you can create a script with file extension sh and the following content:
#!/bin/bash
cp <SOURCE> <TARGET>
4.1.3 Configuration file
4.1.3.1 General
The cfg.txt configuration file is used to preset values for the object dictionary to a certain value during
startup. This file uses a special syntax to make accessing the objects of the object dictionary as easy as
possible. The controller evaluates all assignments in the file from top to bottom.
Note
If you delete the configuration file, the controller recreates the file (without content) on the next restart.
4.1.3.2 Reading and writing the file
How to access the file:
1. Connect and switch on the voltage supply.
2. Connect the controller to your PC using the USB cable.
3. After the PC has detected the device as a removable storage device, navigate in the Explorer to the
directory of the controller. File cfg.txt (for a PD4C, the file is named pd4ccfg.txt) is stored there.
4. Open this file with a simple text editor, such as Notepad or Vi. Do not use any programs that use markup
(LibreOffice or similar).
Tip
To be able to connect the controller with Plug & Drive Studio via the virtual COM port, insert the
following lines:
2102:00=0x190001
DD4C=1
After you have made changes to the file, proceed as follows to apply the changes:
1. Save the file if you have not yet already done so.
2. Disconnect the USB cable from the controller.
3. Disconnect the voltage supply from the controller for approx. 1 second until the power LEDs stop flashing.
4. Reconnect the voltage supply. When the controller is now restarted, the values in the configuration file
are read out and applied.
Version: 2.0.1 / FIR-v1650 24