Movicon Help on Line - Rel. 11.7.1301
As regards to the Real Time DB, the OPC UA server can be enabled and specified with which variables, from those defined in the project, can be displayed in it's address space.
The settings for the server are found in the Real Time DB's OPC Server group.
Enables/Disables the UA server.
Represents a user level. When set at a level different to 0, the client who connects in order to access the address space must specify the credentials (username and password) of a project user possessing a level equal to or higher than the one set. The 0 level consents anonymous access.
This is the String that represents the name with which the Server is visible to the Clients who want to connect. The ‘Movicon@[NodeName]’ default value contains the alias [NodeName], which the SDK substitutes with the ebay computer name on which the server is running on (e.g. ‘Movicon@StefanoG’).
Represents the name of the Server manufacturer that is shown to Clients together with other Server information. Along with this piece of information other information can be set such as the ‘Product Name’ and ‘Product Uri’, which will be published by the server as additional information.
This shows the list of Endpoints that the Server has. This is a description of the connection and transport mode of the information which the Server makes available to Clients who want to connect. The strings on the list have the following format: [transport]://[server name]:[port]
Eg. Opc.tcp://[NodeName]:63840 in which the transport is 'opc.tcp' type, the Server name is the alias [NodeName] which will be substituted with the name of the computer. 63840 is the TCP port used to connect to the server.
The Server supports opc.tcp and https transports. |
See the 'Enable OPC UA Server" paragraph in the "Variable Options Properties" document for further information on the project variable OPC settings. |
Security Settings
OPC UA Clients can choose to establish a secure connection in respect to the modalities provided and exposed by the Movicon OPC UA Server. The Connection Security Modalities are defined in the file located in the "ServerConfig.xml" project folder under the <SecuritySetting> section in the <UaEndPoint> node. Modes provided for default are: "None", "SignAndEncrypt" and "Sign".
Each Endpoint, defined by means of using the "Edit Endpoint List' window, contains a "SecuritySettings" section which is used to define the Client OPC UA connection Security Modes. |
Certificates
To create a Runtime connection between the Movicon OPC UA Server and OPC UA Client, the Client may be required to ask for a Server certificate in order to be inserted among those classified as Trusted.
The Movicon OPC UA Server generated its certificates based on the setting reported in the "ServerConfig.xml" configuration file in nodes:
"ServerCertificate" and "ServerPrivateKey":
The "MoviconUAServer.der" certificart is saved for example in:
"C:\ProgramData\OPC Foundation\CertificateStores\MachineDefault\certs\";
whle the "MoviconUAServer.pem" certificate is saved for example in:
"C:\ProgramData\OPC Foundation\CertificateStores\MachineDefault\private\".
The Movicon OPC UA Server will then consider the certificates of others classified as trusted once inserted in the path indicated by the "CertificateTrustListLocation" attribute has the default value:
"C:\ProgramData\OPC Foundation\CertificateStores\UA Applications\certs\" .
The OPC UA Server Certificates are automatically created by Visu + when the project is started in runtime if they are not already present. In the case of Windows CE, the Client and Server certificates are created when the Runtime is first started and the path where the "MoviconUaServer.der" certificate file is saved is relative to the project folder: [projectpath]\MachineDefault\certs\.
If you need to restore the Certificates, delete the OPC UA Server's .DER and .PEM files from the "C:\ProgeamData\OPC Foundation\.." folders if present. |
The paths and parameters defined in the "ServerConfig.xml" file are all customizable in respect the default values. |