Automation of technological units