A configuration method of a digital factory to fulfill the above requirement is proposed in this paper.Planning of efficient operation and control for the manufacturing system would become possible by using this digital factory. In this digital factory, not only traditional centralized controlled manufacturing but also autonomous decentralized manufacturing would be virtually achieved to determine a better production scenario. Some test cases were examined on the prototype system.