1
Support Questions / Comms Failure Alarm on Modbus TCPIP
« on: February 11, 2016, 04:15:49 AM »
Firstly I want to say a huge thanks you to Archie for a great programme and for making it free and accessible. Secondly I want thank Archie and rbelknap for helping me out with developing my first Advanced HMI application.
With their help I have almost finished but there is one further thing I would like to try and implement. This application is to create a simple test interface to connect to two PLC’s with separate comms set ups.
I would like to be able to light a basic indicator if comms to either of the PLC’s should fail.
I read on the other thread the two suggestions one of using a Watchdog Timer and the other frankly I didn’t understand at all.
I well understand the principle of a Watchdog but in practice how would you implement this on the HMI side? Does a timer have to be created and controlled in VB? If so any hints on how to do this?
Or, considering that I am using ModbusTCPIP is there a better (easier?) solution I can consider?
See below for my (almost) finished HMI – you can see the orange indicators that I would like to illuminate in the case of a comms. failure.
Once again….any help offered is very much appreciated!
With their help I have almost finished but there is one further thing I would like to try and implement. This application is to create a simple test interface to connect to two PLC’s with separate comms set ups.
I would like to be able to light a basic indicator if comms to either of the PLC’s should fail.
I read on the other thread the two suggestions one of using a Watchdog Timer and the other frankly I didn’t understand at all.
I well understand the principle of a Watchdog but in practice how would you implement this on the HMI side? Does a timer have to be created and controlled in VB? If so any hints on how to do this?
Or, considering that I am using ModbusTCPIP is there a better (easier?) solution I can consider?
See below for my (almost) finished HMI – you can see the orange indicators that I would like to illuminate in the case of a comms. failure.
Once again….any help offered is very much appreciated!