A machining centre for machining pieces made of wood, ceramic, plastic, glass, fibreglass, comprising: - a base for supporting said machining centre; - a work surface, coupled with said base, for supporting pieces to be machined, comprising in turn - a plurality of supporting bars (21 a,b,...,k,...n), slidably coupled and movable along said base; - a plurality of movable elements (24 a,b,...,k,...n) for fixing said pieces to be machined, slidably coupled and movable along respective supporting bars (21 a,b,...,k,...n); - a logic control unit for the operation of said machining centre, in which are stored configurations of said work surface for machining said pieces; said machining centre being characterised in that it comprises a measuring system coupled to said work surface which is able to measure position values of said plurality of supporting bars (21 a,b,...,k,...n) and of said plurality of movable elements (24 a,b,...,k,...n) in a predetermined configuration of said work surface and send said position values to said logic control unit, in that said logic control unit makes a comparison between said configurations stored and said position values receives and emits signals corresponding to said comparison, in that said measuring system comprises a first code, positioned on said base, and a plurality of second codes (42 a,b,...,k,...n), each positioned on the respective supporting bar (21 a,b,...,k,...n), in that said measuring system comprises a plurality of sensors (43 a,b,...,k,...n), in that on each supporting bar (21 a,b,...,k,...n) is installed at least one sensor (43 a,b,...,k,...n) which is able to measure a position value of each supporting bar (21 a,b,...,k,...n) with respect to said first code, and on each movable element (24 a,b,...,k,...n) is installed at least one sensor (43 a,b,...,k,...n) which is able to measure a position value of each movable element (24 a,b,...,k,...n) with respect to a corresponding code of said plurality of second codes (42 a,b,...,k,...n). - a base for supporting said machining centre; - a work surface, coupled with said base, for supporting pieces to be machined, comprising in turn - a plurality of supporting bars (21 a,b,...,k,...n), slidably coupled and movable along said base; - a plurality of movable elements (24 a,b,...,k,...n) for fixing said pieces to be machined, slidably coupled and movable along respective supporting bars (21 a,b,...,k,...n); - a logic control unit for the operation of said machining centre, in which are stored configurations of said work surface for machining said pieces; said machining centre being characterised in that it comprises a measuring system coupled to said work surface which is able to measure position values of said plurality of supporting bars (21 a,b,...,k,...n) and of said plurality of movable elements (24 a,b,...,k,...n) in a predetermined configuration of said work surface and send said position values to said logic control unit, in that said logic control unit makes a comparison between said configurations stored and said position values receives and emits signals corresponding to said comparison, in that said measuring system comprises a first code, positioned on said base, and a plurality of second codes (42 a,b,...,k,...n), each positioned on the respective supporting bar (21 a,b,...,k,...n), in that said measuring system comprises a plurality of sensors (43 a,b,...,k,...n), in that on each supporting bar (21 a,b,...,k,...n) is installed at least one sensor (43 a,b,...,k,...n) which is able to measure a position value of each supporting bar (21 a,b,...,k,...n) with respect to said first code, and on each movable element (24 a,b,...,k,...n) is installed at least one sensor (43 a,b,...,k,...n) which is able to measure a position value of each movable element (24 a,b,...,k,...n) with respect to a corresponding code of said plurality of second codes (42 a,b,...,k,...n). in that it comprises a measuring system coupled to said work surface which is able to measure position values of said plurality of supporting bars (21 a,b,...,k,...n) and of said plurality of movable elements (24 a,b,...,k,...n) in a predetermined configuration of said work surface and send said position values to said logic control unit, in that said logic control unit makes a comparison between said configurations stored and said position values receives and emits signals corresponding to said comparison, in that said measuring system comprises a first code, positioned on said base, and a plurality of second codes (42 a,b,...,k,...n), each positioned on the respective supporting bar (21 a,b,...,k,...n), in that said measuring system comprises a plurality of sensors (43 a,b,...,k,...n), in that on each supporting bar (21 a,b,...,k,...n) is installed at least one sensor (43 a,b,...,k,...n) which is able to measure a position value of each supporting bar (21 a,b,...,k,...n) with respect to said first code, and on each movable element (24 a,b,...,k,...n) is installed at least one sensor (43 a,b,...,k,...n) which is able to measure a position value of each movable element (24 a,b,...,k,...n) with respect to a corresponding code of said plurality of second codes (42 a,b,...,k,...n).