Problem:

When two or more physical devices are connected to the same logical device and if one of them is disconnected at that time the current status of the device remains the same.

 

Solution:

To validate connectivity between physical device and sever, when more than two physical device are present in Logical device following are the steps:

 

Steps 1 : Add variable // Add variables, one for each device in a format mention below.

 

Variable Name : Devicestatus_<devicename>  // name format must match with mentioned format

Type   : Analog

Source Type  : Constant

 

//Server write the value in Devicestatus_<devicename>  variable.              

             0=Device Connected

             -1=Device Disconnected

      

Step 2 : Add CBP 

Condition Name :  <Give any suitable name >

Action :   Conditional Alarm

Add Condition :  

            

       Variable               Operator   Limit Type      Limit

 Devicestatus_<devicename>       ==       Constant        1   

 

   

Evaluation Method :  Select Periodicity 

Periodicity        : <enter time to generate alarm >

Action Details     : Enter action details like Alarm name, mobile number,

          email address.

 

Step 3: Save