...
View file | ||||
---|---|---|---|---|
|
Haystack Device Status
There are cases where customers would like to know if certain devices in Niagara are down. In this case, its difficult to tell since they all come in under one haystack connector in FIN Stack and its not necessarily the status of the connector, but the devices in Niagara Network or Bacnet Network etc. So to create a program to check if any of those devices are down would be to create a program that runs on a point from each device. That way if the one of those points is down, you'll know which device it is even though the FIN Stack connector is 'ok'. To set this up, follow the below.
First the user will tag one point from each device that they know won't change like being renamed or moved etc. The tag in our example is "deviceStatus" so in this case tag the choose point as "deviceStatus" and "allowProgram".
Then create the program to run on the those points. It should look like something below.
Then create a new variable from the "Add Variable" from the right menu. We want to add the curStatus of the point. Then we use that in logic to trigger the alarm based on the status of the point.
Below is a copy of the program the user can upload that contains the logic and alarms setup. Also added the dis, equipNavName, siteNavName, and navName variables so that the users will be able to know which site, floor, equip, and point it is in case they have multiple of them. The program is called "deviceStatusProgram". Also added couple screenshots in case you would like to create it yourself.
View file | ||||
---|---|---|---|---|
|
So all the user has to do if they upload the program is make sure the point is tagged correct as mentioned above and it should work. Remember, only do one point per device.