AMX ALD-H48 instruction manual ?Version

Page 35

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

 

 

 

 

Image 35
Contents ALD-H48 AMX Limited Warranty and Disclaimer Software License and Warranty Agreement Page Table of Contents Via Via Ethernet Overview Overview Opening The ALD-H48 Workspace Setting The ALD-H48 IP AddressGetting Started Downloading 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 ?KEYPADADDR-1 KEYPADENABLE-1 KEYPADENABLE-2=STOP ?FWVERSIONKEYPADREMOVEADDR-151 KEYPADREMOVEIDX-1?LIGHTADDR-1 LIGHTREMOVEIDX-2 Lightremoveaddr LIGHTLEVEL-1,102?LIGHTLEVEL-1 LIGHTRAMP-1,UP LIGHTRAMP-1,STOPReinit ?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