Page 1 of 1

Watchdog / Comm status

Posted: Thu Nov 22, 2012 2:04 am
by smolenak
Hi,

I'm just wondering, what would be the easiest way to check communication status between HMI and PLC (also OPC server), and make alarm of possible comm error? I checked that there is that Communication Error Message system tag, can I use it somehow?

Thanks in advance!

Re: Watchdog / Comm status

Posted: Mon Nov 26, 2012 9:35 am
by mark.monroe
You can add the communication errors system tag. Then have an alarm go off if that number is greater than 0.

If you have multiple controllers and want different alarms depending on what controller is off line, you will need to use the Communication Error Message system tag and write a script to parse the error message. The error message will tell you which controller is off line. You will then need to trigger an alarm based on that. You can trigger an alarm by associating an alarm to a tag, and then increasing the value of that tag so that it triggers the alarm.

There are many scripting examples on the this forum.