User guide

ES9600 User Guide Chapter 9: Using the GPIO Interface
101 Version 1.13
The ES9600 will send out an inputstate (See description of GET INPUT) message whenever the state of an input
changes. The input state message will contain the current state of all inputs. It is up to the control system to
determine which input(s) changed and act accordingly.
A function is provided to read the input state at any time.
GET INPUT
This function will return the state of the digital inputs on the unit.
syntax: getinput<0x0d>
return data: inputstate 1[+|-] 2[+|-] 3[+|-] 4[+|-]<0x0d>
parameters: 1,2,3,4 represent the input number
+: input is currently active
-: input is currently inactive