SEL-1FS1/SEL-2FS1 and SEL-1XD1/SEL-2XD1
Installation and Operation Manual
Installation, Operation, and Specifications
© 2015 Imagine Communications Corp.
Proprietary and Confidential.
Version 2.8 | Page 112
For the GPI input script:
<comparison> ::=
GPIx
<comparison op>
y
Where
x
is in the range of [0, number of GPI inputs - 1],
y
could be
0
or
1
<assignment> ::=
PARAM[x] =
y
Where
x
is the CCSP ID of a device parameter,
y
is a value for that parameter. At this time, only
integer and enum type of parameter assignments are supported. String type parameter
assignment is not supported.
For the GPI output script:
<comparison> ::=
PARAM[x]
<comparison op>
y
Where
x
is the CCSP ID of a device parameter,
y
is a value for that parameter. At this time, only
integer and enum type of parameter assignments are supported. String type parameter
assignment is not supported.
<assignment> ::=
GPOx = y
Where
x
is in the range of [0, number of GPO outputs - 1],
y
could be
0
or
1
<comparison op> ::
= == | > | < | >= | <= | !=
<logic op> ::
= && | ||
Comparisons can be
AND
ed together using
&&
, and then can be
ORe
d together using
||
. The
AND
operation always has precedence over the
OR
operation when
AND
and
OR
both exist in a
condition.
The following GPI output script condition
PARAM[400]==5 || PARAM[400]==3 || PARAM[400] >= 8 && PARAM[400] <= 12
should be interpreted as
PARAM[400]==5 || PARAM[400]==3 || (PARAM[400] >= 8 && PARAM[400] <= 12)
GPI Input Script Example
IF GPI0==0 && GPI1==0 THEN PARAM[4263]=2
IF GPI0==0 && GPI1==1 THEN PARAM[4263]=3
IF GPI0==1 && GPI1==0 THEN PARAM[4263]=10
IF GPI0==1 && GPI1==1 THEN PARAM[4263]=19
In the above example, if the level of GPI input
0
and GPI input
1
match an entry in the following table,
the parameter with
4263
as its ID will be assigned to the corresponding value: