Writing outputs – Nokia 12 GSM MODULE REMOTE I/O User Manual

Page 39

Advertising
background image

Table 9. Output_Get X commands

Command Type

Command

Comments

Output_Get All

term123 Output_Get All

Response:

OUTPUT_GET ALL: OK

OUTPUT 1: Y

OUTPUT 2: Y

OUTPUT 3: Y

OUTPUT 4: Y

OUTPUT 5: Y

OUTPUT 6: Y

OUTPUT 7: Y

OUTPUT 8: Y

OUTPUT 9: Y

The Y refers to either ON or OFF

The command reads all
outputs and the response
returns the state of them

Output_Get X

term123 Output_Get X

Response:

OUTPUT_GET X: OK

OUTPUT X: Y

The X refers to output pin number, X=1,2,3,4,5,6,7,8,9.

The Y refers to either ON or OFF

The command reads
output pin X and the
response returns the
state of it

9.3.5 Writing

Outputs

Use the Output_Set X commands to set 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 10).

35/49

Advertising