Universal DMX phase cut dimmer and DMX to 0-10V converter with RDM functionality for DIN rail installation