AMX ALD-H48 instruction manual Command Interface

Page 29

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

 

 

 

 

Image 29
Contents ALD-H48 AMX Limited Warranty and Disclaimer Software License and Warranty Agreement Page Table of Contents Via Via Ethernet Overview Overview Getting Started Setting The ALD-H48 IP AddressDownloading The ALD-H48 Workspace Opening The ALD-H48 WorkspaceClick Select All Transferring The ALD-H48 Project to a NetLinx MasterAddressing The Dimmers via The Web Interface Using The Web InterfaceDimmer Address Dimmer Control Controlling Dimmers via The WebScene Establishing And Modifying ScenesModify Scene Modify Group Establishing And Modifying GroupsTouch Panel Main Using The Touch Panel PagesDimmer Light Adjustment Setup SetupAddressing Dimmers GroupsCreating a Group Scenes ScenesCreating a Lighting Scene Using The Touch Panel Pages Overview Advanced ProgrammingIntroduction Definedevice ImplementationChannel Assignment and Feedback Port MappingChannel Assignment and Feedback Command Interface =STOP KEYPADENABLE-1 KEYPADENABLE-2?FWVERSION ?KEYPADADDR-1KEYPADREMOVEADDR-151 KEYPADREMOVEIDX-1?LIGHTADDR-1 ?LIGHTLEVEL-1 LIGHTLEVEL-1,102LIGHTRAMP-1,UP LIGHTRAMP-1,STOP LIGHTREMOVEIDX-2 LightremoveaddrReinit ?LIGHTSTATE-1?VERSION Command Feedback KEYPADBTN-1,DOUBLECLICK KEYPADENABLE-1LIGHTSTATE-1,ON Device Notes Programming Notes 14111 14112 11411114112 Adding Functions to Modules Commands to The DeviceVia Ethernet Updating The ALD-H48 FirmwareVia RevisionLast05/11/05