Alert when controller goes offline

Currently using/testing Flexy to remotely monitor and control critical produce applications. Trying to figure the best way to alert us if a controller/PLC were to go offline or malfunction. Flexy and PLC are typically connected through customer LAN. Thinking maybe send an alarm to notify us when a value stays the same for a certain time constraint. Floating values such as Temperature and Humidity are being monitored so they always changing. Just would have no idea how to do this as I don’t have any experience with this device.

Hi @JustinDSC,

You should be able to write a function that checks to see if the value has changed or not. Then if the value hasn’t changed in x seconds then have it send you an email.

RG-006-0-EN-(Programming Reference Guide)(1).pdf (865.6 KB)

I had some example code that was written a little while ago that you might be able to use as a template here: