Logic Function To Circuit Breakers