Integrators Forum Purchase C-Bus Products Online

Go Back   Integrators Forum > Main Topics > Building Automation Systems > Dynalite
User Name
Password
Register FAQ Members List Calendar vBRadio Search Today's Posts Mark Forums Read

Dynalite Dynalite automation products

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-01-2010, 04:30 PM
troykelly's Avatar
troykelly troykelly is offline
Member
 
Join Date: Jan 2010
Location: Brisbane
Posts: 1
troykelly is on a distinguished road
Default Dynalite Programming: LED's

I have only tested the following with UPan9 Devices, but it should hold true for any - as the command seems to be the same.

The LED's on the User Panels are controlled via the command LEDOnOff()

It takes four hexadecimal values to determine which primary, and which auxiliary/backlight LED's to turn on or off.

eg LEDOnOff(0x0f,0x0f,0x0f,0x0f)

The above example will turn off ALL LED's on the User Panel.

LED's are addressed from the top down, and in groups of four in a binary fashion. So - if you had a UPan9 with 8 buttons (only the first 6 have LED's) Their addresses would be:

BUTTON 1 = (0x80,0,0,0)
BUTTON 2 = (0x40,0,0,0)
BUTTON 3 = (0x20,0,0,0)
BUTTON 4 = (0x10,0,0,0)
BUTTON 5 = (0,0x80,0,0)
BUTTON 6 = (0,0x40,0,0)

You add the binary equivalent of these values to turn more then one LED on at once. Eg. Turning on Button's 1 + 2

LEDOnOff(0xc0,0,0,0)

As you can see above 8 + 4 = 12 (which is expressed as "c" hexadecimally)

The first "bit" of each pair is for ON, the second is for OFF. So, to turn LED's 1 and 2 off, the command would be

LEDOnOff(0x0c,0,0,0)

The backlights (where available) are accessed in exactly the same fashion, but in the third and fourth sets. So - to turn backlights ON for button 5

LEDOnOff(0,0,0,0x80)

And again, by adding the values, you can access more at once. Turning backlights on for 3 and 4 and turning LED's off for 1 and 2

LEDOnOff(0x0c,0,0x30,0)

The above are examples for Dynalite / DyNet Event (.EVT) code. I have had no formal Dynalite Training, and this is based on the ~scarce~ information available online. Your comments about errors / omissions are encouraged.

Cheers, Troy
__________________
Please do not contact me directly, where suitable - reply in the forum.
Troy Kelly
Purple Oranges Pty Ltd
Reply With Quote
Reply

Bookmarks

Tags
automation, dynet, event, evt

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
LED's for landscape (cont) RickH comp.home.automation 2 08-07-2008 07:46 AM
Motion Sensor With LED's sizz1@hotmail.com comp.home.automation 1 06-03-2007 08:20 AM
does anyone use dynalite? IR fan Dynalite 3 26-03-2006 10:10 PM
Dynalite DRP panels bazzzzt Dynalite 1 26-03-2006 10:08 PM
Dynalite Forum Forumadmin Dynalite 0 24-03-2004 07:18 PM


All times are GMT +11. The time now is 07:13 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright: Integrate-Oz