Advanced Programming

Command Interface

The interface code controls the lighting controller via command events (NetLinx command send_command). These commands are sent to the Duet module to affect control. Below are the commands supported. In order to be able to control a specific lighting component (dimmer/keypad) you must first add that component to the list of components to track. See LIGHTADD- <index>,<addr> and KEYPADADD-<index>,<addr>.

* Denotes an extended/advanced command beyond the standard API.

Command Interface

Command

Description

*ADDRESSING-<state>Place the H48 in 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

 

 

0=OFF

 

 

Example:

 

 

ADDRESSING-1

 

 

 

*

?ADDRESSING

Query the addressing/programming state of the H48.

 

 

Responds with ADDRESSING-<state>

 

 

Example:

 

 

?ADDRESSING

 

 

CLOCK-<mm/dd/yyyy>

Set the device date/time. For time use military format.

 

<hh:mm:ss>

Example:

 

 

CLOCK-12/10/2004 13:05:50

 

 

 

*

?CLOCK

Query for the date/time.

 

 

Example:

 

 

?CLOCK

 

 

DEBUG-<value>

Enables or disables the debug feature.

 

 

<value>: 1 = Error

 

 

2 = Warning

 

 

3 = Debug

 

 

4 = Info

 

 

DEBUG=1 (default)

 

 

?DEBUG

Request the state of the debug feature.

 

 

?DEBUG

 

 

* DELSCENE-<sceneNmbr>

Deletes a scene.

 

 

<sceneNmbr>: 1..48

 

 

Example:

 

 

DELSCENE-1

ALD-H48 Lighting Controller

23

 

 

 

 

Page 29
Image 29
AMX ALD-H48 instruction manual Command Interface