Lenze OPC UA Server customizing
The customizing can be used to modify the Endpoint-Description and the Certificate-Fields of the Lenze OPC UA Server to replace any Lenze-related information from the OPC UA Server. Over this way, the machine builder can do a kind of -brand-labeling- to represent the specific machine over the Lenze OPC UA Server instead of the Lenze component supplier related information.
The Lenze OPC UA Server provides a couple of parameters to modify the Endpoint Description (and Application Description) and Certificate related fields.
By default, these parameters provide Lenze-specific information, that represents the Controller Device.
Customizing Discovery Url
In IP-based networks, without a Domain Name Server, it-s not possible to resolve the hostname for addressing devices. Just IP addresses can be resolved. Due to this reason, it-s possible to adapt the Endpoint (Discovery) URL of the OPC UA Server.
|
Index |
Sub |
Name |
Default |
Note |
|---|---|---|---|---|
|
0x2471 |
135 |
Endpoint IP |
Bit 0 = hostname |
Bit 0 = hostname Bit 1 = IP-Engineering 1 Bit 2 = IP-Engineering 2 |
If the parameter is set to 2 (Bit 1) the Endpoint URL of the OPC UA Server will be IP based instead of hostname based.
If the Endpoint IP parameter is set to 2 (Bit 1), the IP address is also automatically taken over to the certificate alternative name of the OPC UA Server.
The new Endpoint URL will be applied after controller reboot.
The new certificate alternative name will be applied after certificate re-creation.
Customizing Endpoint Description
To modify the Endpoint Description related fields, following parameters can be used. [hostname] is a placeholder for the current hostname of the device. This placeholder is automatically resolved with the hostname from parameter 0x2014:001.
|
Index |
Sub |
Name |
Default |
Note |
|---|---|---|---|---|
|
0x2471 |
131 |
Product Name |
Lenze Controller OPC UA Server |
|
|
0x2471 |
132 |
Product URI |
urn:Lenze:Controller:OPCUAServer |
|
|
0x2471 |
133 |
Application Name |
Lenze Controller OPC UA Server@[hostname] |
|
|
0x2471 |
134 |
Application URI |
urn:[hostname]:Lenze:Controller:OPCUAServer |
|
These parameters change the values of the Application Description defined in OPC UA Specification Part 4 - 7.1
|
Name |
Type |
Description |
|---|---|---|
|
ApplicationDescription |
structure |
Specifies an application that is available. |
|
applicationUri |
String |
The globally unique identifier for the application instance. This URI is used as ServerUri in Services if the application is a Server. |
|
productUri |
String |
The globally unique identifier for the product. |
|
applicationName |
LocalizedText |
A localized descriptive name for the application. |
|
- |
- |
- |
The Application URI should be based on the Product URI and only a device instance information should be added. Here the device specific instance information is reflected by the hostname of the controller.
In the same manner the Application Name should based on Product Name. Only the instance specific information must be added to follow the OPC UA standard accordingly.
The endpoint description related information will be applied after controller reboot
To check the endpoint related information on client side, just connect with the UA Expert and add the Server Diagnostics View. The product name can be checked in the ServerStatus-Object under the Server node.
Customizing Server Certificate
To modify the Certificate related fields, following parameters can be used.
|
Index |
Sub |
Name |
Default |
Note |
|---|---|---|---|---|
|
0x2471 |
141 |
Certificate Country |
DE |
A certificate country code is a two-letter code. |
|
0x2471 |
142 |
Certificate Domain Component |
Lenze.com |
|
|
0x2471 |
143 |
Certificate Locality |
Aerzen |
|
|
0x2471 |
144 |
Certificate Organization |
Lenze |
|
|
0x2471 |
145 |
Certificate Organization-Unit |
Controls |
|
|
0x2471 |
146 |
Certificate State |
Niedersachsen |
|
|
0x2471 |
147 |
Certificate IPs |
|
Use a comma -,- as separator for multiple IP addresses. Blank characters are not allowed. e.g.: -10.10.10.10,172.31.207.183- |
In general, the Endpoint-related information described above are interlinked with the certificate information. For instance, the Application Name and ApplicationURI is also part of the certificate information.
The settings are applied after deleting the current server certificate and creating a new one by controller reboot.
If a new Product URI or certificate has been created, a secure connection with previously trusted certificates is no longer possible.
A self signed Certificate has to be trusted again on client side.
A new CA signed Certificate has to be created by a GDS.