Advanced Programming

 

 

 

Command Interface (Cont.)

 

 

 

 

 

Command

Description

 

 

 

 

LIGHTLEVEL-<index>,

Set the Dimmer level or the group of dimmers level.

 

<level>[,<time>]

<index>: 1..n

 

 

<level>: 0..255

 

 

<time> : 0..n = Optional parameter.

 

 

Specifies the length of time, in

 

 

seconds, the dimmer will take to

 

 

fade from the current level to the

 

 

target level. Defaults to 0 if not

 

 

used.

 

 

Example:

 

 

LIGHTLEVEL-1,102

 

 

 

 

?LIGHTLEVEL-<index>

Query for the level of a Dimmer at the specified index.

 

 

Responds with LIGHTLEVEL-<index>,<level>

 

 

<index>: 1..n

 

 

Example:

 

 

?LIGHTLEVEL-1

 

 

 

 

LIGHTRAMP-<index>,

Ramp the Dimmer or group of dimmers at the specified index.

 

<state>

<index>: 1..n

 

 

<state>: UP, DOWN, STOP

 

 

Example:

 

 

LIGHTRAMP-1,UP

 

 

LIGHTRAMP-1,STOP

 

 

 

 

LIGHTREMOVEIDX-<index>

Remove the lighting component at the specified index.

 

 

Also see LIGHTADD-.

 

 

<index>: 1..n

 

 

Example:

 

 

LIGHTREMOVEIDX-2

 

 

 

 

LIGHTREMOVEADDR-

Remove the lighting component with the specified address. The

 

[<Grp>:]<addr>[;<addr>]

address must match exactly (including addresses order for groups) in

 

 

order to have a successful remove.

 

 

Also see LIGHTADD-.

 

 

<Grp>: 1..48 = group label. Used only if removing a group.

 

 

<addr>: address to remove

 

 

Example:

 

 

LIGHTREMOVEADDR-1:[1:4:1:1:1];[1:4:1:2:1] (removes the group)

 

 

LIGHTREMOVEADDR-[1:4:1:1:1] (removes the individual dimmer)

 

 

 

 

LIGHTSTATE-<index>,

This will turn On, Off, or Toggle a specific Dimmer. If used with a

 

<state>

scene, only On (recall) is applicable. Does not apply to Keypads. If

 

 

this command is sent to a Keypad it will not process.

 

 

<index>: 1..n = index of the Dimmer to

 

 

control

 

 

<state>: ON, OFF, TOGGLE

 

 

Example: (assuming that there is a Dimmer stored at index 1)

 

 

LIGHTSTATE-1,TOGGLE

 

 

 

 

ALD-H48 Lighting Controller

27

 

 

 

 

Page 33
Image 33
AMX ALD-H48 LIGHTLEVEL-1,102, ?LIGHTLEVEL-1, LIGHTRAMP-1,UP LIGHTRAMP-1,STOP, LIGHTREMOVEIDX-2 Lightremoveaddr