Smoke Control Programs
5-22 Infinity Smoke Control Guide
TOC
Programs for Verifying Equipment Operation
NetStatus
Type:
Function
Description:
Checks the Comm status of the
Infinet
controllers.
Code:
If AHU1 CommStatus is OnLine then CtlrTimer[1] = Time
AHU1.Fail = ((Time - CtlrTimer[1]) > MaxCtlrTime)
If AHU2 CommStatus is OnLine then CtlrTimer[2] = Time
AHU2.Fail = ((Time - CtlrTimer[2]) > MaxCtlrTime)
If AHU3 CommStatus is OnLine then CtlrTimer[3] = Time
AHU3.Fail = ((Time - CtlrTimer[3]) > MaxCtlrTime)
If SMKDMPRS CommStatus is OnLine then CtlrTimer[4] = Time
SMKDMPRS.Fail = ((Time - CtlrTimer[4]) > MaxCtlrTime)
If Flr2TCX CommStatus is OnLine then CtlrTimer[5] = Time
FLR2TCX.Fail = ((Time - CtlrTimer[5]) > MaxCtlrTime)
If Flr3TCX CommStatus is OnLine then CtlrTimer[6] = Time
FLR3TCX.Fail = ((Time - CtlrTimer[6]) > MaxCtlrTime)
If Flr4TCX CommStatus is OnLine then CtlrTimer[7] = Time
FLR4TCX.Fail = ((Time - CtlrTimer[7]) > MaxCtlrTime)
Return
File Explanation:
This function uses the DateTime array called CtlrTimer[ ] to keep track
of how long each Infinet controller is OffLine. If the controller goes
OffLine, CtlrTimer[n] no longer gets set to the system Time. If the
controller is Offline for a period of time longer than MaxCtlrTime, then
the expression “((Time - CtlrTimer[n]) > MaxCtlrTime)” will be
TRUE, therefore the corresponding .Fail numeric is set TRUE.
In the MAIN Program, MaxCtlrTime is set to 10 seconds to allow Infinet
to Reconfigure without the FSCS turning on a Fault alarm.
Technical Manuals Online! - http://www.tech-man.com