Skip to main content
InSource Solutions

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:

Capture2.JPG

 

Step 3) Click the topic you wish to monitor and click the "+" to add and associated attribute for this topic:

Capture3.JPG

 

Step 4) Enter $Sys$Status for the Attribute name and Item Reference:

Capture4.JPG

Step 5) Click the Save and Close button in the top right:

Capture5.JPG

Step 6) Click "OK":

Capture6.JPG

Step 7) Right click the DDESuitelinkClient object and deploy the changes:

Capture7.JPG

 

Step 8)  Click the "OK" button:

Capture8.JPG

Step 9) Click "Close":

Capture9.JPG

 

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:

Capture10.JPG

 

Step 11)  Under the Attibutes tab click the "+" button to create a new attribute:

Capture11.JPG

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:

Capture12.JPG

 

Step 13) Click the I/O button:

Capture13.JPG

Step 14) Click the"Read" radio button and click the button below to select the IO source:

Capture14.JPG

Step 15) Select the item created in Step 5 above and click "OK":

Capture15.JPG

Step 16)  Click the Save and Close button in the top right corner:

Capture16.JPG

Step 17) Click the "OK" button:

Capture17.JPG

Step 18) Right click on the Object that holds the recently created attribute and deploy the change:

Capture18.JPG

 

Step 19) Click the "OK" button to accept the default options:

Capture19.JPG

Step 20) Right click the object and select "View in Object Viewer":

Capture20.JPG

Step 21)  Find the attribute and the message associated with the attribute and drag them to the watch list below: 

Capture21.JPG

Step 22) Confirm the status and the message associated with the connection status below:

Capture22.JPG