TwinCAT Modbus TCP Configurator
The configurator is installed per default to the directory \TwinCAT3\Functions\TF6250-Modbus-TCP. The tools allow to read and change the actual configuration of TwinCAT Modbus TCP server.
IP Address: IP of the server. If no address is set, the local one is used (default) .
Port: Configured port of the server (default port = 502).
Get Configuration: Read configured IP address and port.
Set Configuration: Set IP address and port.
Export Configuration: Read and save configuration.
Import Configuration: Import new configuration.
Set Default Configuration: Reset to default-settings (use local ip, Port = 502, and default mapping).
TwinCAT must be stopped if you want to use the configurator, which will be done by the tool. |
Export configuration
The configuration is XML-based and can be changed by a text editor. With "Export Configuration" the actual configuration can be stored local as XML-file.
It is easier to edit and activate an exported configuration. |
Import Mapping-Informations
With "Import Configuration" a changed configuration can be imported and activated.
It is possible to map by variablename or IndexGroup/Offset (better performance). |
Windows CE
The standard configuration is in the TcModbusSrv.xml (path: \TwinCAT3\Functions\TF6250-Modbus-TCP\Server). If you change the settings in the file, a restart is necessary.