Binary control with safety relay (dual-channel)