OPC UA - Establish Server Connection without Certificates - Exor HMI

  1. Verify the OPC UA - Exor HMI Installation procedure is completed.
  2. Start the KAS-IDE.
  3. Create a KAS project using an OPC UA Server configuration.

    See OPC UA - Create New Driver Configuration.
    1. Create a new KAS project using any application template.
    2. Configure the controller for the project as a PCMM2G.
    3. In the KAS-IDE Fieldbus Editor, create a valid OPC UA Server configuration with “Anonymous” authentication setting enabled and several PLC variables assigned to it.
  4. Compile and download the project to a PCMM2G controller.
  5. Start the KAS project.
  6. Launch JMobileStudio.
  7. Start a new project for the Panel type you have available.

    This example procedure uses eSmart10. (Figure 1)
  8. Figure 1: Exor Project Wizard - eSMART10

  9. Click Finish.

    The wizard closes and the ProjectView window opens.
  10. In the ProjectView tree, in the Configuration section, select Protocols.
  11. On the ProjectView toolbar, click the + button to open the Protocols tab.
  12. In the Protocols tab > PLC column, click the drop-down arrow and select OPC UA Client.

    The OPC UA Client dialog box opens.
  13. In the Host text box, enter the PCMM2G IP address.
  14. Accept the defaults for all other parameters. (Figure 2)
  15. Figure 2: OPC UA Client dialog box

  16. Click OK to save the changes or selections and close the dialog box.

    The ProjectView window returns.
  17. In the ProjectView tree, in the Configuration section, select Tags.

    The Tags tab opens.
  18. On the Tags toolbar, click the >] button.
    The HMISudio dialog box opens.
  19. Accept the default selection of OPC UA Discover v1.0. (Figure 3)
  20. Figure 3: HMISudio dialog box

  21. Click OK to save the changes or selections and close the dialog box.
    This imports the dictionary from PCMM2G host.
  22. The OPCUA Client importer dialog box opens. (Figure 4)

    Figure 4: OPC UA Client Importer dialog box

  23. Click the Full Browse button.
    The OPC UA Server Certificate dialog box opens.
  24. Click the Accept Temporarily button. (Figure 5)
  25. Figure 5: OPC UA Server Certificate dialog box

    The OPC UA Server Certificate dialog box closes.

    The OPCUA Client importer dialog box returns. (Figure 6)

    Figure 6: OPCUA Client importer dialog box

  26. In the Symbols found scroll box, verify all Tags setup in the KAS-IDE Fieldbus Editor have been found.
  27. Optional: Clear the check boxes of any variables that are not applicable.
  28. Click OK to save the changes or selections and close the dialog box.
  29. If successful, a confirmation message appears.
    This message shows the number of imported tags. (Figure 7)

    Figure 7: Imported tags confirmation message.

  30. Click OK to close the confirmation message.
  31. The Tags tab is populated with all imported tags from the KAS-IDE Fieldbus Editor. (Figure 8)

    These Tags can be used with objects in the Exor panel screens.

    Figure 8: Tags tab populated with all imported tags

    In the Page tab, the setup screens can now select object and add imported tag to DataLink parameter. (Figure 9)

    Figure 9: Example: 1:Page tab

    Example: Figure 10 show the screen running an eSmart10 panel with objects mapped to tags through OPC UA.

    Figure 10: Example: iSMART10 panel

See Also