Issue
Change of Value updates fail to re-establish after referenced controller comes back from a power failure. The referencing program goes to Disabled.
Environment
Continuum BACnet
Cause
Remote point mapping program goes to Disabled when the referenced control is offline. With the program disabled, the COV subscriptions are not re-established until the program is re-enabled manually or is reloaded to the controller.
Resolution
Setup a Line E at the end of your program. When an error occurs, and before the program disables, the program will cycle to line E and the below code will be executed.
Fallthru Program
.
.
.
Line E
ErrorCount = ErrorCount +1 'numeric created to store number of times it hits this line.
stop
Looping Program
.
.
.
Line E
ErrorCount = ErrorCount +1 'numeric created to store number of times it hits this line.
goto wait30 Line wait30
If ts > 30 then goto xxx 'goto top of program for another attempt