AMX ALD-H48 instruction manual ?LIGHTSTATE-1, Reinit

Page 34

Advanced Programming

Command Interface (Cont.)

Command

Description

 

 

 

?LIGHTSTATE-<index>

Query for the state of a dimmer at the specified index.

 

Responds with LIGHTSTATE-<index>,<state>

 

<index>: 1..n

 

 

Example:

 

 

?LIGHTSTATE-1

 

 

 

PASSTHRU-<buffer>

Send a message directly to the device. The module will not add any

 

characters to this pass thru string. User must be aware of the exact

 

H48 protocol in order to use this command.For more information see

 

Adding Functions to Modules section on page 36.

 

<buffer>: exact H48 command string

 

Example:

 

 

PASSTHRU-FADEDIM, 100, 1, 2, [1:4:1:1:1]

 

 

PROPERTY-<key>,<value>

Sets the IP and Password to be used by the Duet module in order to

 

establish IP communications with the H48. This method does not

 

actually set the IP or Password on the actual device. This command

 

can also set the "friendly name"for the configuration servlet/webpage.

 

<key>: IP_Address

(case sensitive)

 

Password

(case sensitive)

 

FriendlyName

(case sensitive)

 

<value>: value of the key. (case sensitive)

 

Example:

 

 

PROPERTY-IP_Address,10.0.0.5

 

PROPERTY-Password,jetski

 

 

Note: The Duet module uses a default password of "amx01"(without

 

the quotes). Please change the password property according to your

 

needs, but DO NOT use a password that contains a "," (comma) in it

 

or you will not be able to establish an IP connection to the H48.

 

You must issue a REINIT in order for the new properties to take affect.

 

 

?PROPERTY-<key>

Query for the value of a certain key. Replies with PROPERTY-

 

<key>,<value>.

 

 

<key>: IP_Address

 

 

Password

 

 

Example:

 

 

?PROPERTY-IP_Address

 

 

 

REINIT

Reinitialize H48 IP communications. The communication module will

 

then query the H48 for the state of all known (found in the component

 

list. See LIGHTADD- and KEYPADADD- commands.) dimmers and

 

keypads.

 

 

REINIT

 

 

 

*SETADDRESS-<addr>

Sets the address of the triple-tapped dimmer. The H48 must be in

 

programming/addressing mode in order for this command to take

 

affect. Make sure your dimmer is on the correct bus.

 

<addr>: dimmer address to assign

 

Example:

 

 

SETADDRESS-[1:4:1:1:1]

 

 

 

 

 

28

ALD-H48 Lighting Controller

 

 

 

Image 34
Contents ALD-H48 AMX Limited Warranty and Disclaimer Software License and Warranty Agreement Page Table of Contents Via Via Ethernet Overview Overview Downloading The ALD-H48 Workspace Setting The ALD-H48 IP AddressGetting Started 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 Introduction Advanced ProgrammingOverview Implementation DefinedevicePort Mapping Channel Assignment and FeedbackChannel Assignment and Feedback Command Interface ?FWVERSION KEYPADENABLE-1 KEYPADENABLE-2=STOP ?KEYPADADDR-1KEYPADREMOVEIDX-1 KEYPADREMOVEADDR-151?LIGHTADDR-1 LIGHTRAMP-1,UP LIGHTRAMP-1,STOP LIGHTLEVEL-1,102?LIGHTLEVEL-1 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 Updating The ALD-H48 FirmwareVia Ethernet RevisionLast05/11/05