Automation in control cabinet construction