Programming
18
ALD-D48 Network Lighting Solutions
Level Control NetLinx Program Example:
SEND_LEVEL myD48,2,128 // Change light 2 to 50%
SEND_LEVEL myD48,36,255 // Change light 36 to 100%
SEND_LEVEL myD48,12,0 // Change light 12 to 0% (turn it off)
Level Feedback
Level feedback is only valid for individual lights. No level feedback is provided for scenes.
Feedback will be provided on the level number directly correlating to the address of a light. That is,
level 1 is light number 1 and level 48 is light number 48.
Level values are provided as standard NetLinx levels with a range of 0-255, where 0 is 0% and 255
is 100%. All values between are a ratio of the 0-255 range. The following formula can be used to
convert from a NetLinx level in the range 0-255 to an intensity level in the range 0-100%:
netlinxLev = (levelVal * 100) / 255
These level values can be captured at run-time when the level changes value using a NetLinx
LEVEL_EVENT.
Level Feedback NetLinx Program Example:
// Did the light intensity level change?
LEVEL_EVENT[myD48, 4]
{
// Update the current state of this light
myLightLev = (level.value * 100) / 255
}
Level Feedback
Channel Num Channels Description
1-48
48
Individual lighting feedback. Level of each light. Levels are 0-255 (0=off,
255=100%).
Summary of Contents for ALD-1000D
Page 1: ...instruction manual Lighting Control ALD D48 Network Lighting Solution...
Page 4: ......
Page 7: ...ii ALD D48 Network Lighting Solutions Table of Contents...
Page 17: ...Configuring The ALD D48 Device Server 10 ALD D48 Network Lighting Solutions...
Page 34: ...Loading New Firmware Into The ALD D48 27 ALD D48 Network Lighting Solutions...