beautypg.com

Reading outputs, Writing outputs – Nokia 30 User Manual

Page 18

background image

16/18

7.2.4

Reading Outputs

The Output_Get X commands are used to read digital output states. Note that password
property is set off in following example commands (see Table 6).

Table 6 Output_Get X commands

Command type

Command template

Comments

Output_Get All

Nokia30 Output_Get All

Response:

OUTPUT_GET ALL: OK

OUTPUT 1: X

OUTPUT 2: X

OUTPUT 3: X

OUTPUT 4: X

OUTPUT 5: X

The X refers to either ON or OFF.

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

Output_Get Z

, Z = 1,2,3,4 or 5

Nokia30 Output_Get Z

Response:

OUTPUT_GET Z: X

The X refers to either ON or OFF.

The command reads output Z (Z
= 1,2,3,4 or 5) and the response
returns the state of it

7.2.5

Writing Outputs

The Output_Set X commands are used to write digital output states. Note that password
property is set off in following example commands (see Table 7).