Smoke Control Programs
5-39 Infinity Smoke Control Guide
TOC
FirstAid
Type:
Program
FlowType:
Looping
AutoStart:
True
Description:
Initializes the system when a System Error occurs,
or when the System Time is changed.
Code:
DateTime Timer1
Initialize:
Timer1 = Time
Goto CheckForErrors
CheckForErrors:
If Errors > 0 then Goto Restart
If abs(DiffTime(Second, Time, Timer1)) > 4 then Goto Restart
Timer1 = Time
If Main State is Disabled then Goto Restart
If Main Status is not Active then Goto Restart
Goto WaitForErrors
WaitForErrors:
If TS > 2 then Goto CheckForErrors
Restart:
Enable HornControl
Enable FSCS_Interface
Enable ClearFaults
Enable SmokeSelfTest
Enable Main
Run Main
Errors = 0
Goto Initialize
Technical Manuals Online! - http://www.tech-man.com