PLCs have taken a strong position in the field of automation of commercial and industrial systems. Possessing flexibility and ease of settings, the freely reprogrammable controller made it possible to automate many processes and significantly reduced the cost of enterprise automation. In recent years, PLCs have become able to integrate them with elements of Industry 4.0 - smart meters, sensors, etc.