AMX ALD-H48 instruction manual ?LIGHTADDR-1

Page 32

Advanced Programming

Command Interface (Cont.)

Command

Description

 

 

LIGHTADD-<index>,

This command will add a lighting component (a Dimmer, a group, or a

[<grp>:]<addr>

scene) to the list of components to track. In order to receive any feed-

[;<addr>]

back or control a specific lighting component you must add each indi-

vidual component (dimmer) to the list. You can however, control a

 

 

scene or a group w/o adding all it's corresponding dimmers to this list,

 

but no scene/group feedback will be received. Duplicate entries (iden-

 

tical address) are ignored.You may provide up to and including 10

 

dimmer component addresses per index (this is a group) by separat-

 

ing the addresses with a ";". Groups do not receive any feedback;

 

instead the individual lighting components (the dimmers) that are part

 

of the group will receive feedback as long as they have been added to

 

the list of individual components to track. Also see LIGHTREM-

 

OVEIDX and LIGHTREMOVEADDR.

 

<index>: 1..n = index to add the lighting

 

component to.

 

<grp>: 1..48 = Group Number. Each group must

 

be assigned a unique identifier.

 

Applicable to groups only.

 

<addr> : Dimmer, Group or Scene Address.

 

Examples:

//Add address [1:4:1:1:1] to index 1. If something was stored

//at index 1 before, it will be replaced. LIGHTADD-1,[1:4:1:1:1]

//This will place [1:4:1:2:1] at index 2 for example. LIGHTADD-2,[1:4:1:2:1]

//Add address [1:4:1:1:1] and [1:4:1:2:1] to index 3(Group 6) LIGHTADD-3,6:[1:4:1:1:1];[1:4:1:2:1]

//This will place scene 1 at index 4.

LIGHTADD-4,[1]

 

• In order to add a scene to the list, simply use the scene number as

 

the <addr>.

 

 

• When adding a group you must specify a unique group number.

 

This identifier is needed only for groups.

 

• In the above example the lighting component list will end up having

 

4 items in it. The first 2 items are the 2 individual dimmers to track,

 

and the last 2 items are the group and the scene.

 

 

?LIGHTADDR-<index>

Query for the address of the lighting component at a specific index.

 

Responds with LIGHTADDR-<index>,<addr>

 

<index>: 1..n

 

 

Example:

 

 

?LIGHTADDR-1

 

 

 

?LIGHTIDX-<addr>

Query for the index of the lighting component with the specified

 

address.

 

 

The <addr> must match exactly and always use [] when specifying an

 

address for all components.

 

Responds with LIGHTADDR-<index>,<addr>

 

<addr>: light address

 

Example:

 

 

?LIGHTIDX-[1:4:1:1:1] // at what index is this address stored

 

?LIGHTIDX-[1]

// at what index is scene 1 stored

 

26

ALD-H48 Lighting Controller

 

 

 

Image 32
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 Overview Advanced ProgrammingIntroduction 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 ModulesVia Ethernet Updating The ALD-H48 FirmwareVia RevisionLast05/11/05