AMX ALD-H48 instruction manual Command Feedback

Page 36

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

 

 

 

Image 36
Contents ALD-H48 AMX Limited Warranty and Disclaimer Software License and Warranty Agreement Page Table of Contents Via Via Ethernet Overview Overview Setting The ALD-H48 IP Address Getting StartedDownloading The ALD-H48 Workspace Opening The ALD-H48 WorkspaceTransferring The ALD-H48 Project to a NetLinx Master Click Select AllUsing The Web Interface Addressing The Dimmers via The Web InterfaceDimmer Address Controlling Dimmers via The Web Dimmer ControlEstablishing And Modifying Scenes SceneModify Scene Establishing And Modifying Groups Modify GroupUsing The Touch Panel Pages Touch Panel MainDimmer Light Adjustment Setup SetupGroups Addressing DimmersCreating a Group Scenes ScenesCreating a Lighting Scene Using The Touch Panel Pages Advanced Programming IntroductionOverview Implementation DefinedevicePort Mapping Channel Assignment and FeedbackChannel Assignment and Feedback Command Interface KEYPADENABLE-1 KEYPADENABLE-2 =STOP?FWVERSION ?KEYPADADDR-1KEYPADREMOVEIDX-1 KEYPADREMOVEADDR-151?LIGHTADDR-1 LIGHTLEVEL-1,102 ?LIGHTLEVEL-1LIGHTRAMP-1,UP LIGHTRAMP-1,STOP LIGHTREMOVEIDX-2 Lightremoveaddr?LIGHTSTATE-1 Reinit?VERSION Command Feedback KEYPADENABLE-1 KEYPADBTN-1,DOUBLECLICKLIGHTSTATE-1,ON Device Notes Programming Notes 14111 14112 11411114112 Commands to The Device Adding Functions to ModulesUpdating The ALD-H48 Firmware ViaVia Ethernet RevisionLast05/11/05