This is a guide to help you setup your Link Touch SM's LEDs to respond to alarm status in your Niagara station
The Link Touch SM is a very capable screen, having a kiosk mode app pre-installed as well as being able to bring in LoRa devices with its single channel LoRa gateway built in. As well as these great features it also has to LED strips either side of the screen, which we thought would be great to utilize so you can see if the system is in alarm at a quick glance in this particular example. Within Niagara you could make these LEDs respond to all sorts of status', so please share any creative use cases you might have with us!-
Install the module in the relevant module folder for your version of workbench.
- Open the module in your palette, and drop the “MilesightLed” block into your station.
- Go into the property sheet of the MilesightLed block, and you will see the below:
From here you will need to define then Url that you have set for your Link Touch's ethernet port. You do this on your Link Touch by going into the settings in the top left of the display shown below:
Password shown below is link1234.
From there you go into Network & Internet > Ethernet > Ethernet Ip Mode > Change this to a static IP that works with your network.
In my case it is http://192.168.1.165. From here you can right click the MilesightLed block, and go to actions > Ping device. This should then result in the below message: - Now you have confirmed that you can ping your Link Touch, we can login to the screen to allow it to take the commands we are sending it from our station.
Right-click MilesightLed > Actions > Login
Which should then give you the below: - You can now test out the functionality by choosing the different colours and brightness levels on the drop down in the property sheet view.
Once you are happy that they react as expected, we can then link this into your alarm count for a simple example. You can see in the example I have below, that I have link marked the InAlarmCount to a numeric writeable block which then has some logic to allow us to select red when there is any alarms, and reverts to green when there no present alarms:
The EnumSwitch has a table of the numeric values as they relate to the colours that you would be selecting, the same for the brightness levels. See below the tables for these respectively:
Colours
0 Red 1 Green 2 Blue 3 White
Brightness0 Off 1 Low 2 Medium 3 High
If you have any further questions please don't hesitate to reach out to us in support - support@innon.co.uk . Thanks!