TN DAS158 How to check the status of an individual topic within a DDESuitelink object utilizing the $Sys$Status tag
Description
This article from Insource walks through using the $Sys$Status tag to check communication status to an end device for a device connected through a DDESuitelink client object.
- Author: Joseph Hefner
- Published: 3/3/2017
- Applies to: Application Server 3.1 or later
Details
Step 1) Double click the DDESuitelink object that contains the topic you would like to monitor communication for:
Step 2) Click the Topic tab:
Step 3) Click the topic you wish to monitor and click the "+" to add and associated attribute for this topic:
Step 4) Enter $Sys$Status for the Attribute name and Item Reference:
Step 5) Click the Save and Close button in the top right:
Step 6) Click "OK":
Step 7) Right click the DDESuitelinkClient object and deploy the changes:
Step 8) Click the "OK" button:
Step 9) Click "Close":
Step 10) Open an object that will host the attribute to monitor the status of communication to the device. In this example I have created a User Defind object:
Step 11) Under the Attibutes tab click the "+" button to create a new attribute:
Step 12) Enter a name and select a type for the attribute. You can also select a message to display for the attribute as below:
Step 13) Click the I/O button:
Step 14) Click the"Read" radio button and click the button below to select the IO source:
Step 15) Select the item created in Step 5 above and click "OK":
Step 16) Click the Save and Close button in the top right corner:
Step 17) Click the "OK" button:
Step 18) Right click on the Object that holds the recently created attribute and deploy the change:
Step 19) Click the "OK" button to accept the default options:
Step 20) Right click the object and select "View in Object Viewer":
Step 21) Find the attribute and the message associated with the attribute and drag them to the watch list below:
Step 22) Confirm the status and the message associated with the connection status below: