Basic Program to detect whether a device is online or offline

Hello,

I want to know how to catch error when the slave doesn’t reply.
For example :
10 VAR1=1.2.MB_REG12
If the slave replies then VAR2=VAR1
ELSE do nothing

I can see how this would be useful in both Bacnet and Modbus. Then we also have to consider both RS485 and IP mode as well. This could get complicated but its worth spending time to do it right. We will discuss and report back soon.

The remote access point can currently be determined by determining whether Status is “OK” and the time of the last communication. But there’s nothing else to do something in the program right now.
If the value of MB_REG12 cannot be read, VAR1 gets the last successful read. This can be used to determine if the device is offline.

This is good enough for the USER to see something is going on. What we need is something where the T3 controller can do something if a device goes offline. Its a bit complex and I know we’re busy but its something we could use soon.