<< 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 |
Device parameters are set in the editor:
In the editor title, the following parameters are displayed:
A protocol (see The 'Add Protocol' Command )
A device (see The 'Add Device' Command )
In the General Settings section, the following parameters are set (see also Operations in Dialogs of Parameters ):
Comment – a comment to the device
Available – if TRUE, the device and its components are executed in real time; if FALSE, are not executed
Response timeout (ms) – maximal time to wait for a device reply; the default value is 1000
Attempts to reconnect on error – number of repeated attempts to connect with the device after a connection error; the default value is 3
Attempts to reconnect on write error – number of repeated attempts to write after write error; the default value is 3
Reconnect timeout (s) – timeout of a repeated connection with the device; the default value is 10
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)
Request period – a period of device inquiry; the default value is 1000 (the period dimension is set by the Request period dimension parameter)
Request period dimension – a dimension of the Request period parameter (ms, s, min or h); the default value is ms
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.
Phase dimension – a dimension of the Initial phase parameter (ms, s, min or h); the default value is ms
Start after run – if FALSE, an inquiry is started an inquiry cycle time later the server is launched
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 ).
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):
Own telephone – TRUE/FALSE.
For some devices, the Script section is available. In that section, the following parameters are set:
Script execution – enable/disable script execution. If Script execution=TRUUE, the following parameter is available:
Edit script code – a value cell of that parameter contains the button
to open the script editor
In the Protocol settings section, parameters defined in the respective plugin can be configured.