This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

DALI percentage to byte
#3
(27.01.2022, 07:47)admin Wrote: 5.001 scale object is stored as 0..255 internally so the value is sent as is with the maximum being limited to 254.
The percentage values that you've specified is the actual dimming curve that the ballast should produce. No extra calculation is needed on the control side.
Note that some ballasts have a high physical minimum dimming value so the whole range cannot be used. For RS485 gateways a script can be used to skip the lower range. For CANx-DALI this is built into the app: https://forum.logicmachine.net/showthread.php?tid=3671

So my statement that sending 127 as value through dalicmd() will put the dimming value to 3.12% on the lamp - without any manipulation through a script - is correct? Supposing that the lamp can handle this percentage.

In order to effectively set the lamp to 50% I'd need to send 229 as value?
Reply


Messages In This Thread
DALI percentage to byte - by avolle - 26.01.2022, 19:27
RE: DALI percentage to byte - by admin - 27.01.2022, 07:47
RE: DALI percentage to byte - by avolle - 27.01.2022, 14:54

Forum Jump: