Gpio command protocol, Digital outputs, Digital inputs – Extron Electronics MS9500 HD FrEND Plus User Manual
Page 83
![background image](/manuals/311983/83/background.png)
MS9500GL HD FrEND Plus User Guide
Chapter 13: Using the GPIO Interface
GPIO Command Protocol
The protocol used to communicate with the MS9500GL GPIO board from ESCAN will mirror the text protocol
used from the Electrosonic FrEND range of products, with an important difference:
The commands do not have space separators in the command names. i.e. SET OUTPUT on the FrEND
becomes SETOUTPUT on the MS9500GL.
There are two groups of messages, one group to get and set the status of the outputs and one to get the state of the
inputs and indicate when they change.
All protocol messages are treated as case-insensitive on the MS9500GL.
All protocol messages should be terminated with a carriage return 0x0d.
When referencing an input or output and its state, there should be no space between the Id and the state.
Thus, use
1+
NOT
1
Digital Outputs
The number of Digital outputs (Change-over relays) available on the MS9500GL is currently four (4) but the
protocol allows for future expansion.
SET OUTPUT
The output command will set the state of one of more of the digital outputs. The outputs are numbered from 1 to 4.
A ‘ +’ will activate the output, a ‘ –‘ will deactivate the output. The MS9500GL will respond with a single output
message containing the current state of all outputs.
syntax:
setoutput 1[+|-] 2[+|-] 3[+|-] 4[+|-] <0x0d>
return data: output 1[+|-] 2[+|-] 3[+|-] 4[+|-] <0x0d>
parameters: 1, 2, 3, 4 are the output numbers 1-4
+: activates the output
-: deactivates the output
Examples
setoutput 1+ <0x0d>
setoutput 1- 2+ <0x0d>
Sets output 1 on.
Sets output 1 off and 2 on.
GET OUTPUT
The get output command is used to retrieve the current state of all outputs, without affecting the state of any of
them.
syntax:
getoutput <0x0d>
return data: output 1[+|-] 2[+|-] 3[+|-] 4[+|-] <0x0d>
parameters: 1,2,3,4 represents the output number
+: output is currently active
-: output is currently inactive
Digital Inputs
The number of Digital inputs available on the MS9500GL is currently four (4) but the protocol allows for future
expansion.
79 Rev.
1.26