The future of industry contains many challenges. Necessity is to increase the degree of digitization and achieve a new level of productivity. The rise emergence of modern production lines operating in accordance with the concept of Industry 4.0 foresees the creation and implementation of new technologies and the emergence of autonomous production units capable of independent existence within the manufacturing process. They must closely communicate with other elements and cooperate with all the elements in the production process. In this article we describe architecture of theoretical cyber-physical system and give components and technologies necessary to implement a modern enterprise designed according to Industry 4.0 standards.