Gpio Device - Newland NLS-NQuire350 User Manual

Customer information terminal
Table of Contents

Advertisement

GPIO Device

The NQuire supports interfacing with a GPIO device such as an entry/exit gate, door lock or LED lamp by
connecting the signal wires to the GPIO ports.
The pin definitions of the GPIO ports are as follows:
CN16 PN2
CN16 PN1
CN13 PN2
CN13 PN1
CN12 PN2
CN12 PN1
CN11 PN2
CN11 PN1
Command to set GPO output
\x1b\x7e<param1><param2>
Parameter definition:
Param1:\x30 = OUT1
\x31 = OUT2
Param2:\x30 = low
\x31 = high
E.g. setting OUT2 to low:
\x1b\x7e\x31\x30
Command to get GPI input
\x1b\x7f<param>
Param can be 1 of:
\x30 = IN1
\x31 = IN2
E.g. requesting the state of IN1:
\x1b\x7f\x30
This send the value back using the following format:
<prefix><pin><value>
E.g. with the default prefix for IN1, value high:I01
OUT1-
OUT1+
OUT2-
OUT2+
IN1+
IN1-
IN2+
IN2-
56

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents