Maybe you can use the modbus.CommFail. When the communication fails, CommFail turns ON. Create a DelayOn Timer. On/OFF = modbus.CommFail. Timer delay = 00:10 for example. Then, create an Alarm object to monitor the DelayOn Timer.
Ryan Shi
National Instruments