GPI 16 + G2 Installation and Operation Manual
OPERATION
Operation
Command Formats
The GPI-16 + G2 may be configured to use either the PIP or AT1616 (input only)
serial format. The PIP serial format (default) is listed below and requires the use of
the unit ID to request input status (polling) or with a unit ID of zero (non-polling)
the GPI-16 + G2 will send a serial status string each time an input changes state.
When the unit is restarted (power-up), unit information is issued in either mode.
PIP Information Retrieval Commands
PIP serial format: The (*) asterisk is the beginning of string, next is the unit ID (0-3),
then the command. No carriage return or line feed is required. Commands are NOT
case sensitive.
*uSPii - Request status for a single input 01 thru 16 where ii is the status input number.
Command Example: Request status of input 01: *0SP01
No carriage return or line feed required. Commands are NOT case sensitive.
Response Example: S0P,01,x <cr><lf> where x is 0 if the corresponding input is
high, 1 otherwise.
*uSPA - Request status for ALL inputs
Command Example: *0SPA
No carriage return or line feed required. Commands are NOT case sensitive.
Response Examples: S0P,A,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x,x<cr><lf>
S0P,A,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0<cr><lf> When input 01 is pulled low.
S0P,A,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0<cr><lf> When input 01 is released back high.
Input 01 is the first character, while input 16 is the last character. x is 0 if the
corresponding input is high, 1 otherwise.
*uU - Send Unit Information :<product_name>_ver_<n.nn><cr><lf>
Command example: *0U
No carriage return or line feed required. Commands are NOT case sensitive.
Response Example: GPI-16_Plus_ver_1.01<cr><lf>
WEBSITE:
Visit our web site for
product updates and
additional information.