safety automation for industrial machines as light barriers,controlling sensors