The panel configures allows to configure TCP/IP port-redirections so that many UNICOS-Modbus PLCs may be used in the same project, with different driver numbers.
The actual redirection is configured on the server, while the panel may be used on a scattered UI (eg. "OWS"). A CTRL Manager running a script "unModbusRedirect.ctl" must be running on the server, and proper setup of sudo access rights must be firstly assured by the system administrator.
The top part of the panel indicates the state of the connection to the server as well as configuration parameters, namely the location of the configuration file and the location of the redirectMosbus.sh script. A "Lock" icon at the top-right corner indicates that operation is possible (necessary to properly use the panel if it is open in two different places - the one "owning" the lock has an active role and could configure the system. Clicking on the lock allows to acquire/release the lock, and an automatic unlock on inactivity is implemented.
The "Config file" and "Script" parameters are usually auto-configured, but they could also be edited manually. A red highlight in the fields signifies that the Server considers them as invalid (it marks them with the invalid bit on the configuration datapoint).
The combo box next to the "Config file" allows to set the default location and create a new file (from a template) at the default location; it is also possible to set the empty field, effectively disabling the functionality. Creating a default config file is possible if there is no file at the default location, or the file is empty.
The middle part shows the content of the configuration file, and allows to modify it using a tabular form. Clicking on a selected line allows to edit the fields. You may append new lines, remove all lines or remove the selected line using the button on the top of the table. The "Advanced" checkbox if selected allows to relax the protection mechanism and allows to edit the entries that do not refer to the current project.
Fields for which the "PLC IP" is set to "#" are considered as comments and they could be edited.
Note that the table combines the information from the config file as well as from the current state of the runtime configuration of redirection: this is indicated by the "Live" and "Cfg" columns.
The buttons at the bottom work as follows
For expert help please refer to the main component page