This paper intends to present the configuration and modelling of a flexible manufacturing system. The modelling of the flexible manufacturing system is realized with the purpose of automatizing leading functions. The use of Grafcet method for modelling will allow an easier implementation of the automatic leading system.