Is it possible to tie an event to the loss of the DM1 heartbeat message?
I would like to show a 'warning - communication lost' message when the display no longer receives the periodic DM1 message. We are not using traditional gagues on the display, so there would be nothing to go inactive as an indication of a communication loss.
Lost Communication Warning
- SaraBerglund
- Posts: 5
- Joined: Thu Sep 30, 2010 8:13 pm
- boyce
- Enovation Controls Development
- Posts: 322
- Joined: Wed Sep 08, 2010 5:09 pm
Re: Lost Communication Warning
Here is a sample configuration that implements a lost communication warning using the DM1 messages.
This was started from the Blank configuration and you will see in the Hardware settings for Plug A that there are two Free Form Can Messages defined. They are for DM1 single and multi-packets. (The IDs have to match the messages exactly). They update 3 user defined variable in the database - LostCommCheckMP, ..PGN, and ..SP. Events are fired when the messages change - LostCommMP and LostCommSP. There are 3 state machines. Communications Lost is an event that will be sent when about 3 seconds pass without a DM1. Communications Good will be sent when a DM1 is received. It should pop-up a view that has a Communications Lost message when the Communications Lost event is sent.
This was started from the Blank configuration and you will see in the Hardware settings for Plug A that there are two Free Form Can Messages defined. They are for DM1 single and multi-packets. (The IDs have to match the messages exactly). They update 3 user defined variable in the database - LostCommCheckMP, ..PGN, and ..SP. Events are fired when the messages change - LostCommMP and LostCommSP. There are 3 state machines. Communications Lost is an event that will be sent when about 3 seconds pass without a DM1. Communications Good will be sent when a DM1 is received. It should pop-up a view that has a Communications Lost message when the Communications Lost event is sent.
- Attachments
-
- Lost Communication Warning.zip
- Lost Communication Warning
- (2.59 MiB) Downloaded 28 times