beckhoff TF2000 — 4.2.2 Beckhoff RT Linux®

Configuration | Version 1.14 4. You can also pass the following additional parameters --endpoint=http://127.0.0.1:2010 / Creates a local endpoint for http on port 2010 --name=MyProject / Creates the server instance with the corresponding name р The server has been initialized. /etc/TwinCAT/Functions/TF2000-HMI-Server/service (Server /var/lib/tchmisrv/service (Server >= 14.5.73) To display further settings, use the command TcHmiSrv --help Whitelisting of further paths 1. Use the CLI directly on your device. Alternatively, you can also connect via SSH. 2. Log in as an administrator. 3. Open the configuration of the TcHmiSrv service. sudo systemctl edit TcHmiSrv 4.

Enter the required paths in the configuration. Example entry: [Service] ReadWritePaths=/path/to/your/extension_files ExecPaths=/path/to/your/executables 5. Save and close the file. р The configuration was modified successfully. Firewall 1. Create a configuration file in /etc/nftables.conf.d/ , named 20-hmi.conf, for example. 2. Insert the following content and adjust the values to your network requirements: sudo nano /etc/nftables.conf.d/20-hmi.conf table inet filter { chain input { # accept TcHmi tcp dport 2020 accept } } 3. Save and close the configuration file. 4. Load the new rule with the command 5. Check the settings and make sure that the configuration has been applied correctly.

sudo systemctl reload nftables р Port 2020 has been released for the HMI server. sudo nft list ruleset Notes on ports By default, the creation of ports below port 1024 is not allowed. In order to run the HMI server on a lower port, the service configuration must be adapted. 1. Use the CLI directly on your device. Alternatively, you can also connect via SSH. 2. Log in as an administrator. 3. Open the configuration of the TcHmiSrv service. 4. Add the following entries so that the server can also run on lower ports. sudo systemctl edit TcHmiSrv TF2000 31 Version: 1.8.0