Configuration | Version 1.14 [Service] CapabilityBoundingSet=CAP_NET_BIND_SERVICE AmbientCapabilities=CAP_NET_BIND_SERVICE 5. Save and close the file. р The configuration was modified successfully. 4.2.2.1 Commands | Commands Overview of all commands: TcHmiSrv --help Initialize server: The server is initialized in the following paths, depending on the version. /etc/TwinCAT/Functions/TF2000-HMI-Server/service (Server /var/lib/tchmisrv/service (Server >= 14.5.73) sudo TcHmiSrv --initialize --password= Enable/disable server: sudo systemctl enable TcHmiSrv.service sudo systemctl disable TcHmiSrv.service Server start/stop/restart:
sudo systemctl start TcHmiSrv.service sudo systemctl stop TcHmiSrv.service sudo systemctl restart TcHmiSrv.service Factory reset: Reset all services. sudo TcHmiSrv --factoryReset --serviceDir= /var/lib/tchmisrv/service Reset a specific service. sudo TcHmiSrv --factoryReset --serviceDir= /var/lib/tchmisrv/service/ Follow the steps below to reinitialize the server. sudo systemctl stop TcHmiSrv.service sudo TcHmiSrv --initialize --password= sudo systemctl start TcHmiSrv.service 4.2.3 TwinCAT/BSD | TwinCAT/BSD Initializing the TwinCAT HMI Server 1. Use the CLI directly on your device. Alternatively, you can also connect via SSH or the web interface. 2. Log in as an administrator. 3.
Initialize the server. 4. You can also pass the following parameters doas TcHmiSrv --initialize –-password= --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 TF2000 32 Version: 1.8.0