beautypg.com

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

Page 41

background image

OUTPUT 3: OFF

OUTPUT 4: OFF

OUTPUT 5: OFF

OUTPUT 6: OFF

OUTPUT 7: OFF

OUTPUT 8: OFF

OUTPUT 9: OFF

9.3.6 Inverting

Outputs

Use the Output_Invert X commands to invert digital output states. The
state of an output can be changed without knowing its previous state. Note that
all example control messages in this chapter use the “term123” identifier string
and the password property is set off (see Table 11).

Table 11. Output_Invert X commands

Command Type

Command

Comments

Output_Invert X

term123 Output_Invert X

Response:

OUTPUT_INVERT 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 inverts
output pin X to
opposite state.

Output_Invert All

term123 Output_Invert
All

Response:

OUTPUT_INVERT ALL: OK

OUTPUT 1: X

OUTPUT 2: X

OUTPUT 3: X

OUTPUT 4: X

OUTPUT 5: X

OUTPUT 6: X

The command inverts
all output pins to
opposite state.

37/49