Technical Manuals Online! - http://www.tech-man.com
If mid(InBuffer, SWS + 54, 1) = "A" then SwitchState = On Else ~
SwitchState = Off
Zone3.CON = SwitchState
If mid(InBuffer, SWS + 55, 1) = "A" then SwitchState = On Else ~
SwitchState = Off
Zone4.CON = SwitchState
If mid(InBuffer, SWS + 56, 1) = "A" then SwitchState = On Else ~
SwitchState = Off
STRWL.CON = SwitchState
If mid(InBuffer, SWS + 59, 1) = "A" then SwitchState = On Else ~
SwitchState = Off
Main.Key = SwitchState
Endif
Return
File Explanation:
This function sets the CX9200 numerics that represent the FSCS
switches. It does this by searching through the InBuffer string that was
received from the FSCS and turning the numeric ON if an "A" is found
at the corresponding location. Otherwise the numeric is set to OFF.
The position of the character in the string corresponds to the Switch
Addresses for that Switch. The Switch Adrress is determined by the
internal FSCS wiring from the Switch to the I/O card. The FSCS
manufacturer will supply you with the Switch Addresses.
A 2 position switch requires 1 input. The input is ON when the switch is
in one position, the input is OFF when the switch is in the other position.
A 3-position switch requires 2 inputs. One input is ON when the switch
is in the left position, the other input is ON when the switch is in the right
position, and both inputs are OFF when the switch is in the center
position.
For example, the Switch Addresses for this example are as follows:
Switch 0 --> SpareLamp (not used)
Switch 1 --> AH3Sfan.OVR.On (AHU3 Sfan Overridden ON)
Switch 2 --> AH3Sfan.OVR.Off (AHU3 Sfan Overridden OFF)
Switch 3 --> AH2Sfan.OVR.On (AHU2 Sfan Overridden On)
5-17
Smoke Control Programs
Infinity Smoke Control Guide
TOC
Need help?
Do you have a question about the Infinity and is the answer not in the manual?