Advanced Programming

Command Feedback

The Duet module will provide feedback to the user interface code for the lighting controller. Here are the supported feedback commands. The feedback is provided via command events.

Command Feedback

String

Description

 

 

ADDRESSING-<state>

Feedback for the H48 addressing/programming mode. This

 

mode is used to program a Dimmer address. Once the H48 is in

 

addressing mode, triple-tap the dimmer you want to set the

 

address for and use the SETADDRESS- command to set the

 

address of that Dimmer.

 

<state>: 1=ON

 

2=OFF

 

Example:

 

ADDRESSING-1

 

 

CLOCK-<mm/dd/yy> <hh:mm:ss>

Reports the current date and time. Time is reported in military

 

format. This reply is received whenever a ?CLOCK query has

 

been issued.

 

Example:

 

CLOCK-01/12/2005 13:20:12

 

 

CONNECT-<ip>,<message>

Connection feedback.

 

<ip>: IP address

 

<message>: Success, Invalid Password

 

Example:

 

CONNECT-10.0.0.5,Success

 

 

DEBUG=<value>

Feedback for the debug feature.

 

<value>: 1 = Error

 

2 = Warning

 

3 = Debug

 

4 = Info

 

DEBUG=1 (default)

 

 

DATE-<date>

Feedback for the date.

 

<date>: string

 

Example:

 

DATE-Friday 12/10/2004

 

 

ERROR-<message>

Unsolicited feedback received whenever the module has encoun-

 

tered a problem such as assigning the wrong bus number to a

 

dimmer during the addressing/programming stage.

 

<message>: string

 

Example:

 

ERROR-Unrecognized Command.

 

 

DIMMERFLASH-<addr>,<state>

Reply to a DIMMERFLASH- command.

 

<addr>: Dimmer address

 

<state>: 1=START

 

Example:

 

DIMMERFLASH-[1:4:1:1:1],1

 

 

 

30

ALD-H48 Lighting Controller

 

 

 

Page 36
Image 36
AMX ALD-H48 instruction manual Command Feedback