CODESYS TargetVisu for Linux SL
Configuring CODESYS TargetVisu for Linux SL
By default, the target visualization displays several dialogs at startup in order to get the information required to establish a connection to the controller. This information is saved and can be modified or deleted later by means of the configuration of the target visualization.
You can also define these parameters before starting the visualization for the first time. After that, dialogs are no longer displayed when the visualization is started.
Application | The name of the application where the visualization is running |
CODESYS Password | Password of the CODESYS user with which the visualization logs in to the controller. |
CODESYS User | User name with which the visualization logs in to the controller. |
Host Name | The host name of the PLC to which the visualization connects. The name can be determined on most Linux distributions using the |
Request Settings on Next Start | The settings are reset and the target visualization will request all information in corresponding dialogs the next time it is started. |
Autostart
After restarting the target device, the target visualization opens automatically. It can take up to a minute for all modules to load and the application to be displayed. The first time a connection is established with the PLC, it may take a little longer because the assets used in the visualization have to be transferred the first time.
Before CODESYS TargetVisu for Linux SL version 4.13.0.0
The autostart is implemented by a .desktop
file. There are 2 ways to install the package:
Save the
codesysvisualization.desktop
file in/etc/xdg/autostart/
Attach the start script in
~/.xinitrc
or alternatively in/etc/X11/xinit
If these directories do not exist on your system or you do not work with them, then you need to configure the autostart yourself. The start and stop scripts are located in /opt/codesysvisualization/scripts
. For more information about the directory structure, see: https://content.helpme-codesys.com/de/CODESYS Control/_rtsl_linux_installation_without_pm.html
Important
CODESYS TargetVisu for Linux SL does not change the login behavior of the current Linux account. If your Linux account has deactivated automatic login, then authentication is still required to start the visualization.
In CODESYS TargetVisu for Linux SL version 4.17.0.0 and higher
The autostart is implemented by systemd
. The unit file is located under ~/.config/systemd/user/codesysvisualization.service
. To configure the autostart yourself, you can deactivate the service permanently with systemctl --user disable codesysvisualization
or modify the unit file and reload it with systemctl --user daemon-reload
.