Reading Outputs - Nokia 12 GSM MODULE REMOTE I/O Control Manual

Nokia 12 gsm module remote i/o control guide
Table of Contents

Advertisement

Input_Get_Change X
Input_Change_Cancel
9.3.4

Reading Outputs

Use the Output_Get X commands for reading digital output states. Note that all
example control messages in this chapter use the "term123" identifier string and
the password property is set off (see Table 9).
INPUT 11: Y
The Y varies according to the input pin state and it can
be:
if the input is in analog mode (pins 1-3)
xxxx mV
(xxxx=value between 0-2800)
ON or OFF if the input is in digital mode (pins 4-11)
term123 Input Get Change
X
Response:
INPUT_GET_CHANGE Z:
INPUT X: Y
The X refers to input pin number,
X=1,2,3,4,5,6,7,8,9,10,11.
The Y refers to success state and it can be:
or
OK
CHECK CONFIG
Event data, when input state has changed, contains the
following information:
INPUT X: Y
The X refers to input pin number,
X=1,2,3,4,5,6,7,8,9,10,11.
The Y varies according to the input pin state and it can
be:
or
if the input is digital (4-11)
ON
OFF
if the input is analog (1-3) (xxxx=value
xxxx mV
between 0-2800)
term123
Input_Change_Cancel X
OK Response:
INPUT_CHANGE_CANCEL X:
OK
The X refers to input pin number,
X=1,2,3,4,5,6,7,8,9,10,11,all.
The command
subscribes an alarm
for input pin X and the
response returns the
state of it according to
input pin configuration
The command
cancels an alarm
subscription for input
pin X
34/49

Advertisement

Table of Contents
loading

Table of Contents