I have a control panel which contains motor starters and a PLC. The panel feed is 600 VAC to a main disconnect in the panel. The supply for the plc power is from a step down xfmr. The primary of the xfmr is wired to the line side of the disconnect and not the load side. So when the disconnect is switched off, the plc still has power. Is there any code violations with this?