The Dialog of Device Parameters

<< Click to Display Table of Contents >>

Navigation:  Multi-Protocol MasterOPC Server > Multi-Protocol MasterOPC Server > The Design-Time Mode > Parameters of Tree Objects >

The Dialog of Device Parameters

The Dialog of Device Parameters

Device parameters are set in the editor:

multi_img92

In the editor title, the following parameters are displayed:

mbul   A protocol (see The 'Add Protocol' Command )

mbul   A device (see The 'Add Device' Command )

In the General Settings section, the following parameters are set (see also Operations in Dialogs of Parameters ):

mbul   Comment – a comment to the device

mbul   Available – if TRUE, the device and its components are executed in real time; if FALSE, are not executed

mbul   Response timeout (ms) – maximal time to wait for a device reply; the default value is 1000

mbul   Attempts to reconnect on error – number of repeated attempts to connect with the device after a connection error; the default value is 3

mbul   Attempts to reconnect on write error – number of repeated attempts to write after write error; the default value is 3

mbul   Reconnect timeout (s) – timeout of a repeated connection with the device; the default value is 10

mbul   Node reinitialization on error – if TRUE: if a preset number of attempts to connect with the device is used up, either the socket is re-opened or the COM port is closed/opened, depending on a node type (network or RS)

mbul   Request period – a period of device inquiry; the default value is 1000 (the period dimension is set by the Request period dimension parameter)

mbul   Request period dimension – a dimension of the Request period parameter (ms, s, min or h); the default value is ms

mbul   Initial phase – time between switching the server to the run-time mode and the first inquiry of the device. This parameter is set as a shift with respect to the day beginning. The default value is 0. A dimension is set by the Phase dimension parameter.

mbul   Phase dimension – a dimension of the Initial phase parameter (ms, s, min or h); the default value is ms

mbul   Start after run – if FALSE, an inquiry is started an inquiry cycle time later the server is launched

mbul   Debug messages – this flag enables (TRUE) or disables (FALSE) writing (to a message log) messages generated by the function mps_DebugMessage (see Run-Time Interface ).

mbul   Request delay after response (ms) – 0 by default

In the Extra modem settings section, the following parameters are available (the section is available only if Modem=TRUE for the node):

mbul   Own telephone – TRUE/FALSE.

For some devices, the Script section is available. In that section, the following parameters are set:

mbul   Script execution – enable/disable script execution. If Script execution=TRUUE, the following parameter is available:

mbul   Edit script code – a value cell of that parameter contains the button multi_img93 to open the script editor

In the Protocol settings section, parameters defined in the respective plugin can be configured.