Reading outputs, 4 reading outputs – Nokia 12 GSM MODULE REMOTE I/O User Manual

Page 38

Advertising
background image

INPUT 11: Y

The Y varies according to the input pin state and it can
be:

xxxx mV

if the input is in analog mode (pins 1-3)

(xxxx=value between 0-2800)

ON or OFF if the input is in digital mode (pins 4-11)

Input_Get_Change X

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:

OK

or

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:

ON

or

OFF

if the input is digital (4-11)

xxxx

mV

if the input is analog (1-3) (xxxx=value

between 0-2800)

The command
subscribes an alarm
for input pin X and the
response returns the
state of it according to
input pin configuration

Input_Change_Cancel

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
cancels an alarm
subscription for input
pin X

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).

34/49

Advertising