Automatic micro processor controller for textile dyeing machines