Programming
BC-200 Manual – P/N DOC-01-013 91
8
8
.
.
1
1
.
.
6
6
‘
‘
S
S
’
’
P
P
R
R
E
E
-
-
O
O
P
P
E
E
R
R
A
A
T
T
O
O
R
R
The actual state of a point can be referenced in a script by putting an S before the point. Actual state is either
ON/ALARM/ACTIVE or OFF. The S operator should be used when the isolated state of the point is to be ignored
and only the on/off state is required. Using the S operator before the point will return the actual state of the point
and ignore the fact that the point is isolated.
E.g. If L1D1 is in alarm and isolated it would normally be treated as off, all isolated points are treated as off or
inactive in scripts. Script “SL1D1;” will activate its associated output if L1D1 is in alarm and isolated but script
“L1D1;” will only activate its associated output if L1D1 is in alarm and not isolated.
1.101.O1 = SL1D1;
L1M6 = SZ1;
8
8
.
.
1
1
.
.
7
7
S
S
C
C
R
R
I
I
P
P
T
T
I
I
N
N
G
G
E
E
X
X
A
A
M
M
P
P
L
L
E
E
S
S
0.1.Z1 OR L1D1 OR Z100 OR
1.101.I1;
Any of the 4 points/zones zones in alarm (active)
Both points required to be in alarm (active)
L1D1 must be in alarm (active) and L4D99 must
NOT be in alarm (active).
Any detector between 1 to 20 on loop 1 in alarm
(active).
ALL AZF’s on module 1 in Alarm.
Zone 999 is in alarm (only if not isolated)
L1D1 is in fault
L1M1 is isolated
L1D3 in pre-alarm
Zone 1 is in alarm (isolate state is ignored)
Combination examples:
Example
L1M1 or L2D10 and not Zone 3. Expressions in the brackets are
evaluated first and the result is used to evaluate the rest of the
script.
Any module 1 to 10 on loop 1 or any detector 1 to 10 on loop 2.
When Common Alarm has been active for 10 seconds.
(ANY3[Z20] or Z21) and !VP10;
Any 3 devices in zone 20 or zone 21 as long as VP10 is not active
Caution:
When a script is being evaluated and a point in the script is found to be isolated, that point is treated as being
inactive (i.e. off or non-alarmed). If the NOT function has been used in the script, this may have unexpected
results. For example, a script such as 1.2.o3 = !1.3.I4; would operate as follows: output 1.2.o3 is ON when
input 1.3.I4 is OFF, and the output 1.2.o3 is OFF when input 1.3.I4 is ON. However if input 1.3.I4 is now
isolated, output 1.2.o3 will go ON because the script will treat the isolated point as OFF (inactive). This may
or may not be the desired action depending on the application.
Note:
Special Netpoints can be used to perform special functions on BC-200 FIP. See page 93 for details.