cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Connect to an Azure OPC UA Server Part 2

No ratings

 

Step 6: Create OPC UA Tag in ThingWorx

 

We will now create a Device in Kepware with a Tag whose value will be shown in ThingWorx.

 

  1. Right-click on Channel1 that was just created, then click Next to accept the default name Device1  
     

    add-device (1).png

     

  2. Click Next six times to accept the default settings, Then click the Select import items button.
     

    select-import-device.png

     

  3. Expand the remote OPC UA server URL, then expand OpcPlc and Telemetry.
     

    browse-remote-device.png

     

  4. Click SlowUint1 to select it, then click Add items >>.
  5. Click OK, Next, Finish.
  6. Return to ThingWorx Composer. Under Browse > Modeling > Industrial Connections, open IndConn_Server.
  7. Expand Channel1 > Device1 > OpcPlc, then click Telemetry.
     

    bind-tag.png

     

  8. Click the check-box next to SlowUint1.
  9. Click Bind to New Entity.
     

    bind-remote-thing.png

     

  10. Select RemoteThing, then click OK.
  11. Enter azure-opcua-plc in the Name field, then click Save.
     

    create-remote-thing.png

     

  12. Click Properties and Alerts, then Click Refresh to see the property value changing every 10 seconds.
     

    refresh-value.png

     

Step 7: Next Steps

 

Congratulations! You've successfully completed the Connect to an Azure OPC UA Server guide, and learned how to:

 

  • Create an OPC UA Server in Azure
  • Configure Kepware as on OPC UA Client
  • Connect Kepware to ThingWorx Foundation
  • Monitor OPC UA data in ThingWorx Composer

 

Learn More

 

We recommend the following resources to continue your learning experience:

CapabilityGuide
ExperienceCreate Your Application UI

 

Additional Resources

 

If you have questions, issues, or need additional information, refer to:

 

ResourceLink
CommunityDeveloper Community Forum
SupportGetting Started with ThingWorx
DocumentationKepware documentation
SupportKepware Support site
Version history
Last update:
‎Oct 25, 2022 02:09 PM
Updated by:
Contributors