New generation of photoelectric sensors