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 = (0×80,0,0,0)
BUTTON 2 = (0×40,0,0,0)
BUTTON 3 = (0×20,0,0,0)
BUTTON 4 = (0×10,0,0,0)
BUTTON 5 = (0,0×80,0,0)
BUTTON 6 = (0,0×40,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,0×80)
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,0×30,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.
