cara kerja sensor safety defice