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 111
GPI Inputs and Outputs
The FS1 and XD1 modules provide four GPI inputs and four GPI outputs for automation. These are open
collector style inputs with approximately 10 K
Ω
pull-ups to +5V. This means that you can use
contact
closure-to-ground
switches to control these GPI inputs.
GPI inputs make it possible to control the ARC being used for a particular conversion mode, as well as
the AFD, WSS or VI code to be inserted. The read-only
GPI Input Status
parameter provides current
information. All GPI events occur in the order they are triggered and will override older events.
GPI outputs can reflect the state of the current ARC being used, or can be triggered on a specific input
AFD, WSS or VI code.
The current GPI output active status can be read from
GPI Output Status
parameter.
Note
: GPI outputs can be disabled by the
Green-Power Save
control (
Misc > Green-Power Save
). If a GPI
output control is grayed out in the user interface, check its power save status.
The
Custom GPI
feature on the FS1 and XD1 makes it possible to use more flexible scripts to configure
GPIs so that combinations of GPI input levels can change a parameter to a specific value. The GPI output
state can be set by changes to certain parameter values.
To enable a custom GPI script, set the
Event
parameter to
Custom GPI
for the selected GPI input and/or
GPI output. Then enter your script into the
Custom Input Script
field. The parameter allows a maximum
of 251 characters to be entered. If additional script space is needed, use the
Custom Input
Script(continued)
parameter.
Custom Input Status
reports the parsing and active status of the script. If
a syntax error is detected when a new script is entered, this parameter will report
Error:
x
message. The
variable
x
is an index number starting from the beginning of the script to indicate around which
character the script parser first encounters a syntax error. Enter your drafted output script into the
Custom Output Script
field. The
Custom Output Status
reports the parsing and active status of the
script.
Note:
When you select a
Custom GPI
input or output, the
Trigger
control in
GPI Input
is disabled for that
specific GPI. Also, the
GPI Input Status
and
GPI Output Status
parameters will not report the portion of
the field that represents custom GPIs. When the
Custom GPI
input script involves multiple GPI inputs,
ensure that you change the multiple values at the same time for faster and more accurate responses.
Writing Custom GPI Scripts
There are two types of GPI Scripts. GPI
input
scripts are used to conduct parameter assignment based on
GPI input value. GPI
output
scripts are used to change the GPI output value based on current parameter
value. GPI scripts are made up of one or multiple statements. Each statement consists of one condition
and one or multiple assignments. During device operation, if the condition in a statement becomes true,
the assignment in the statement will take effect.
<script> ::= <statement> { <statement> }
<statement> ::=
IF
<condition>
THEN
<assignment> { <assignment> }
<condition> ::= <comparison> { <logic op> <comparison> }