Extron Electronics MS9400 HD FrEND User Manual
Page 47
MS9400 HD FrEND User Guide
Chapter 7: Using the GPIO Interface
47 Rev.
1.54
GPIO Command Protocol
The protocol used to communicate with the MS9400 GPIO board from ESCAN will mirror the text protocol used
from the MediaSonic FrEND range of products, with an important difference:
The commands will not have space separators in the command names. i.e. SET OUTPUT on the FrEND
will become SETOUTPUT on the MS9400.
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 MS9400.
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+
Digital Outputs
The number of Digital outputs (Change-over relays) available on the MS9400 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 MS9400 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 MS9400 is currently four (4) but the protocol allows for future
expansion.