<< Click to Display Table of Contents >> Navigation: Modbus Universal MasterOPC Server > MasterOPC Universal Modbus Server > The Design-Time Mode > Parameters of Tree Objects > The Dialog of Server Parameters |
The dialog of server parameters consists of 4 sections:
General Settings - general settings
Log - settings of logs of the run-time mode
OPC DA server - settings OPC DA server
OPC UA server - settings of the OPC UA server
IEC104 server - settings of the IEC104 server. In dongle versions, this option is available only in the Unlimited version.
MQTT Client - settings of the MQTT client
In the General settings section, the following parameters are set (see also Operations in Dialogs of Parameters ):
Comment – a comment to the server configuration
Open window from tray – if TRUE (the default value), opening the server window from the taskbar notification area is enabled, if FALSE, disabled (see Server Auto-Launch at Client Connection )
Password security – if FALSE (the default value), editing the configuration is not secured by a password. If TRUE, the Password parameter is available to set a password;
Editing functions Undo/Redo - setting disables the Undo-Redo features for this configuration. It is recommended to disable this function on large configurations (from 50 thousand tags) to speed up work in development mode (adding, changing tags).
Precision - the number of decimal places when presented to the OPC client.
Driver thread timeout - with this period, it is checked whether it is necessary to poll devices in the node or if there are new write commands.
Password – if this parameter is selected, the button
is displayed:
Click that button to open the Set a password dialog:
The tools of the dialog:
Password – the textbox to set a password
Confirm – the textbox to confirm the password that is set in the Password textbox
OK – the command of reversible prohibition of editing the configuration. If editing is disabled, the root group Server cannot be dropped down, and its properties are not displayed. Only commands New, Open and Make starting are available in the ‘Configuration File’ menu .
In order to enable editing such a configuration, execute the Enable editing command from the server context menu:
Upon this command, the following dialog is displayed (in that dialog, type the password and click OK):
A reversible prohibition of editing can be cancelled. To do this, assign FALSE to the Password security parameter.
Cancel – this command closes the Input password dialog
Prohibit editing – the command of nonreversible prohibition of editing the configuration (such a prohibition comes to effect after saving and reloading the configuration). Upon this command, the following warning is displayed:
To cancel the procedure, click Cancel. To set the prohibition, click OK.
If the prohibition is set, the message about impossibility to edit a configuration is displayed after right-clicking the Server group:
Nonreversible prohibition cannot be cancelled.
In the Log section, the following parameters of the server log are set:
Use – enable/disable writing to the log file (global permission/prohibition of the server log)
Maximal size, kB – a log size (100 kB by default; the limit size is 10 MB)
Information messages – enable/disable writing of information messages to the log (for instance, about successful connection)
Errors – enable/disable writing of error messages to the log (for example, about connection errors)
Command queries – enable/disable writing of MODBUS queries to the log
Manual operations (WRITE) – enable/disable writing of messages about manual setting a value (directly in the server shell)
Script messages – enable/disable writing of messages generated in scripts (using the function server.Message )
In the OPC DA сервер section there are settings OPC DA:
Disabling polling when there are no active tags — when this setting is enabled, if the OPC server no longer has active OPC DA tags (all clients have unsubscribed from receiving the values of all tags), then the OPC server polling stops completely.
In the OPC UA Server section, connection parameters of the OPC UA server are configured:
Connection – FALSE by default; that is, the built-in OPC UA server is not connected. If Connection=TRUE, the built-in OPC UA server is connected, and the following parameters become available:
Disable polling when no clients - when this setting is enabled, if the OPC server has no connected UA clients, polling in the OPC server is completely stopped.
Note. If uses simultaneous disabling of polling when there are no connections via UA and DA, then polling will go on if there are clients on one of these interfaces. If polling is disabled on only one interface (DA or UA), then the polling state is determined by the presence of clients on this interface. For example, if polling is disabled for the OPC DA server, and this setting is disabled for OPC UA, then polling will only occur if there are connections from OPC DA clients, and vice versa.
Port – port of the built-in OPC UA server
Connection Control - when enabled, the OPC UA server is monitored and reinitialized in case of failures. When the setting is turned on, the Сontrol timeout field appears - with this period attempts are made to connect to the TCP port, to monitoring of the work, in case of failure - the UA server is reinitialized.
Password access – if TRUE, a login and a password are required to access the server
User name – login
Password – the command
opens the following dialog:
In that dialog, the password must be specified in the text boxes Password and Confirmation.
In the IEC104 Server, the following parameters are set:
Connection – FALSE by default; that is, the built-in IEC-104 server is not connected. If Connection=TRUE, the built-in IEC-104 server is connected, and the following parameters become available:
IP port – IP port for exchange
Common address ASDU – station address