Hi can anyone suggest a method of using Comfort as a watchdog?I have an 'alive' message coming into my UCM at regular intervals and I would like to trigger an alarm or warning if the messages stop arriving.
I have a recognised message coming from a PC into the UCM via RS485 in the "device to comfort" field.It is sent every 180 seconds. I want to trigger a response if the message is not received after, say 300 seconds.Thanks
You mean you have a Universal UCM with the Device to Comfort in which you have entered a string that is sent by the external system
This is mapped to a number of Comfort register Types eg Counter, sensor or Response. Mapping to Response works but is not recommended because when you edit responses, the Response number may change so you have to keep synchronising by Writing to Comfort and writing to UCM
I suggest to map to Counter which triggers a Counter Response which does not need to be synchronised.
In the Counter Response, Do Response X after 300 seconds using a Timer, ie Start a Timer which will trigger Response X when the timer expires.
Response X is activated after 300 seconds unless another message is received from the Universal UCM, which causes the Counter Response to run again which restarts the Timer for 300 secs. hence Response X will only activate if no message is received in 300 seconds