The ‘Configuration File’ Menu

<< Click to Display Table of Contents >>

Navigation:  Modbus Universal MasterOPC Server > MasterOPC Universal Modbus Server > The Design-Time Mode > The Menu Area. The ‘Configuration’ Tab >

The ‘Configuration File’ Menu

The ‘Configuration File’ Menu

This menu includes the following commands:

mbul   modbus_img17 New – create a new configuration; a newly created configuration contains only the root group Server.

mbul   modbus_img18 Open – load a configuration file; upon this command, the standard dialog to choose a file is opened.

If a configuration is loaded from the work folder \SERVERCFG\, it is opened and set as the start one (see below).

If a configuration is loaded from any other folder, the following dialog is displayed:

modbus_img19

The dialog tools are:

mbul   OK – configuration is copied into \SERVERCFG\, opened, and set as the start one.

mbul   Cancel – configuration is opened but is not copied into \SERVERCFG\ (and, hence, is not set as the start configuration).

mbul   modbus_img20 Save – if the current configuration was loaded from the work folder \SERVERCFG\, it is saved into the same file (the file is overwritten).

If the configuration was loaded from any other folder, it is saved into \SERVERCFG\ with the same filename (but is not set as the start configuration).

mbul   modbus_img21 Save as – save the current configuration as an arbitrary file into an arbitrary folder (upon this command, the standard dialog is opened, in which saving to \SERVERCFG\ is offered by default).

If a user chooses a folder that differs from \SERVERCFG\, the following dialog is displayed:

modbus_img22

The dialog tools are:

mbul   OK – configuration is saved as the specified file in the specified folder. In addition, the configuration is copied into \SERVERCFG\ and set as the start one.

mbul   No – configuration is saved as the specified file in the specified folder.

mbul   modbus_img23 Make default – set the current configuration as the start one. A start configuration file is

mbul   Automatically loaded at server launch.

mbul   Used in the run-time mode (see Operation Modes ). If the current configuration file is not the start one, the following dialog is displayed when switching to the run-time mode:

modbus_img24

If the current configuration is never saved as a file, the command to switch to the run-time mode is unavailable.

If the button OK is clicked, the current configuration file is set as the start one, and then the server is switched to the run-time mode.

If the button Cancel is clicked, the server is switched to the run-time mode (that is, the current configuration is not used in the run-time mode, but will be restored when the server is switched back to the design mode in future).

If a configuration is loaded from a folder other than \SERVERCFG\, the following dialog is displayed upon the command Make starting:

modbus_img25

The dialog tools:

mbul   OK – the current configuration file is rewritten to SERVERCFG\ and set as the start one.

mbul   Cancel – the current configuration file is not rewritten to SERVERCFG\, and, hence, is not set as the start one.

A configuration is saved to a file with the specified filename and extension *.mbp. By default, the work folder for configuration files is ..\SERVERCFG\. In addition, that folder contains the file __startconfigv3__ that stores a name of the start configuration file.

Only a configuration stored in \SERVERCFG\ can be set as the start one.

If a configuration specified in __startconfigv3__ does not exist, a new configuration is created at server start.