Advanced Programming

Command Interface (Cont.)

Command

Description

*SETSCENE-<sceneNmbr>,Sets a scene. Adds (appends) a dimmer to the scene. You may add

<Addr/index>,

each dimmer as a separate item in the scene or add up to and

<level>,

including 10 dimmers as the same item in the scene.

 

 

<FadeTime>,

If several dimmer addresses are added as the same item in the

<DelayTime>

scene, their addresses must be separated by a semicolon (;).By

 

adding each dimmer as a separate item in the scene, when the scene

 

is recalled, it will execute each item sequentially. This is beneficial

 

because it can execute a large number of commands (similar to a

 

macro) with different <level>, <FadeTime>, and <DelayTime> values,

 

however, the commands are not executed simultaneously. By adding

 

up to 10 dimmers as the same item in the scene, when the scene is

 

recalled, it will change the settings of the dimmers simultaneously. A

 

drawback is the limited number of dimmers that can be added this

 

way (up to 10) and the fact that the same <level>, <FadeTime>, and

 

<DelayTime> will be used for all of them.

 

<sceneNmbr>: 1..48 = scene number to set

 

<Addr/index>: Dimmer Address(es) or lighting

 

component Index to add to

 

scene.

 

<level>: 0..255 = light level to go to.

 

<FadeTime>: 0..n = time, in seconds, to reach

 

 

desired level.

 

<DelayTime>: 0..n= time, in seconds, to delay

 

 

execution.

 

Example:

 

 

SETSCENE-1,2,230,5,1

(add component index 2 to scene 1)

 

SETSCENE-1,[1:4:1:1:1],200,3,2 (add a separate dimmer item)

 

SETSCENE-1,[1:4:1:2:1];[1:4:1:2:2],156,0,0

 

 

?VERSION

Query for the module version.

 

Responds with VERSION-<version>

 

Example:

 

 

?VERSION

 

ALD-H48 Lighting Controller

29

 

 

 

 

Page 35
Image 35
AMX ALD-H48 instruction manual ?Version