OPC UA - Create New Driver Configuration

  1. Start the KAS-IDE.
  2. Create a new project or open an existing KAS project.
  3. In the Project Explorer, double-click the Fieldbus node to open the Fieldbus Editor.
  4. On the vertical toolbar, click the Insert Network (Configuration) button (). (Figure 1)
  5. Figure 1: Insert Network (Configuration) button

    The Add Configuration dialog box opens.

  6. In the Select a configuration tree, select OPC UA Server. (Figure 2)
  7. Figure 2: Add Configuration dialog box - OPC UA Server selected

  8. Click OK to save the changes or selections and close the dialog box.
    The OPC UA - Server dialog box opens. (Figure 3)
  9. Figure 3: Server dialog box

  10. In the Name text box, enter a name for this specific server configuration.
  11. In the URI text box, enter the URL used for the certificate authentication.

    • Leave this text box blank to use the PCMM2G assigned default URL.

  12. Optional: In the Settings section, accept the defaults or:
    • In the Max. Sessions spin box, enter the maximum number of simultaneously connected OPC UA client sessions.
    • In the Max. Subscriptions per session spin box, enter the maximum number of subscription groups a client can create per session.
    • In the Max. Monitored Item per subscription spin box, enter the maximum number of items that can be monitored within a single subscription.
    • In the Max. Publish Request per session spin box, enter the maximum number of active publish requests per session.
    • In the Max. Data Changed Value per Monitored Item spin box, enter the maximum number of value changes stored in memory for each Monitored Item.
  13. Optional: In the Security settings section, click the Use certificates check box to use digital certificates for data encryption between the server and client.
    When selected, the text boxes of this section are activated.

      • Kollmorgen recommends accepting the defaults in the Security settings section to use self-signed certificates.

    • In the Certificates path text box, enter the relative directory path where the certificates are stored.
    • In the Server certificate text box, enter the filename of the server certificate used for encryption.
    • In the Server private key text box, enter the filename of the server private key used for encryption.

        • When the Use Certificates option is enabled, an SSL server certificate must be installed on the PCMM2G controller.
        • To establish a successful OPC UA connection, the SSL client certificates of each OPC UA client application must also be uploaded to the PCMM2G controller.
  14. In the Authentication settings section:
    • Click the Anonymous check box to use non-encrypted communications.
    • Click the User name/Password check box to activate the User name and Password text boxes.
    • Click the Certificate check box so the server allows the client to authenticate with a certificate.
      • The Certificate check box is used in conjunction with the OPC UA - Server dialog box, Security settings section - Use certificates check box.
  15. Click the Trace Level list box arrow and select the log level for OPC UA Server Runtime Service messages written to the controller log output.
    See Log Messages tabs.
  16. Click OK to save the changes or selections and close the dialog box.
    The Fieldbus Editor returns with the added OPC UA Server node. (Figure 4)
  17. Figure 4: Fieldbus Editor with the added OPC UA Server node

  18. Continue with OPC UA - Insert an Endpoint.