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

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

Advertisement

Table 9. Output_Get X commands
Command Type
Output_Get All
Output_Get X
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).
Command
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
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
Comments
The command reads all
outputs and the response
returns the state of them
The command reads
output pin X and the
response returns the
state of it
35/49

Advertisement

Table of Contents
loading

Table of Contents