I would like to monitor the OFFLINE status of Modbus device.
For now I'm using SERIAL comunication.
If the device is OFFLINE I would lit RED LIGHT.
If it is ONLINE the light would be GREEN.
I tried with STATUS (link below), but if device goes OFFLINE the function does not execute...
How can I show OFFLINE status?