Allocate at start up also to each controlled device a code for the master