Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Open the SmartServer Configuration page as described in Accessing the SmartServer IoT Configuration PageThe Network tab appears as the default SmartServer Configuration page. Once the network settings are configured for the SmartServer system, then the System tab will appear as the default.
    Image Removed
    Image Added
    SmatyServer SmartServer IoT Network tab

    Image Removed
    Image Added
    SmartServer IoT System tab


    For SmartServer Pi, open the SmartServer Configuration page as described in Accessing the SmartServer Pi Configuration Page. The Configuration view that appears depends on your cache data. As needed, click the SmartServer IoT tab. The System tab (top) will appear as the default as shown below.

    Image RemovedImage Added
    SmartServer Pi System tab

  2. Click the OPC UA tab. 
    Image Removed
    Image Added
    SmartServer IoT OPC UA disabled status
    Image Removed
    Image Added
    SmartServer Pi OPC UA disabled status


  3. Enable the OPC UA Serverserver option and click Update.
    Image Removed
    Image Added
    SmartServer IoT OPC UA enabled status
    Image Removed
    Image Added
    SmartServer Pi OPC UA enabled status

  4. Click Update.

  5. For subscription-based monitoring (event-driven) at the OPC UA client, the Monitored and Polled datapoint setting needs to be enabled on the SmartServer CMS Datapoint Properties widget. See Defining Datapoint Properties for more information.

    This setting applies to datapoints on BACnet, LON (using IMM), and Modbus devices. For datapoints on LON devices using DMM, if polling is not enabled for the datapoint, the SmartServer automatically enables event-driver updates.



  6. Launch AVEVA Edge and add a new ProjectIn the example below, a new project “Windows InTouch Edge HMI 500 tags” is added that supports a maximum of 500 tags.



  7. Select the Insert tab from the main menu and add a new OPC UA Connection.



  8. Enter a name for the connection in the Connection Name field and SmartServer OPC UA end point in the End point field.

    The OPC UA endpoint URL that is used by the OPC UA client to communicate with the OPC UA server is opc.tcp://smartserver-xxxxxxx.echelon.echcorp.com:55000/UA/echopcua-server where xxxxxxx is the SmartServer's install code.



  9. Click Test Connection to verify the communication between the AVEVA Edge client and the SmartServer OPC UA server.

  10. Select the Insert tab and add a new OPC UA Client worksheet. 



  11. Link the OPC UA connection to the client and update the connection field by selecting the previously created OPC UA connection. Use the dropdown connection list to view all the available connections. 



  12. Double-click an empty Browse Path box to launch the OPC UA Browser.



  13. Select the datapoint to be monitored from the UA Browser and click OK.


    nvoLuxLevel network variable is selected, the datatype is UInt16 (unsigned long), and the current value is 48

  14.  Add a new tag by assigning a Tag Name and clicking Yes.


    Luxlevel tag name is added

  15. Add a new screen by selecting the Graphics tab, right-clicking the Screens folder, and defining screen attributes.



  16. Click OK.

  17. Select Text Box to add a new text box and set Tag/Expression to the previously created tag (Luxlevel in this example). Test the tag in the Database Spy area by entering the tag name in the Tag/Expression column. The Value column will display the current value of the network variable.



  18. Save all files and click Run to run the project.



...