User guide

ES9600 User Guide Chapter 8: Remote control Protocols
91 Version 1.13
GPIO Commands:
Use the GPIO Interface module commands to enable the MS9600 to control or be controlled by an external
device.
NOTE: Refer to Chapter 9: ‘Using the GPIO Interface’ for more information.
GPIO command parameters use the following conventions.
<input>
GPIO input. values ::= 1, 2, 3, 4
<output>
GPIO output. values ::= 1, 2, 3, 4
<level>
‘+’ ::= logic level high
‘-‘ ::= logic level low
Getinput <input> <input> … <input>
This command returns the level of the requested GPIO inputs. If no parameters are supplied, the levels of all
GPIO inputs are returned.
Player Response:
InputState <input><level> <input><level> … <input><level>
Example:
In the following example, inputs 1 and 3 are logic high and inputs 2 and 4 are logic low.
GetInput
InputState 1+ 2- 3+ 4-
GetInput 1, 3
InputState 1+ 3+
Getoutput
This command returns the level of the requested GPIO outputs. If no parameters are supplied, the levels of all
GPIO outputs are returned.
Player Response:
outputstate <output><level> <output><level> … <output><level>
Example:
In the following example, outputs 1 and 3 are logic high and inputs 2 and 4 are logic low.
GetOutput 1, 3
OutputState 1+ 3+
Setinputtrigger <on>
This command sets the GPIO inputs to automatically respond to a ‘status’ change (such as a switch closure or
other external trigger).
Player Response:
OK