Main door for the control of the access opening to a compartment, particularly a garage compartment, comprising: - a fixed portion associable with the access opening of a compartment and comprising two lateral uprights and an upper crossbar; - a mobile portion including at least a leaf (4, 5) associated in a mobile way with said fixed portion; - at least a pulley associated revolving with the top of at least one of said lateral uprights and on which winds up at least partially a cable connected to the leaf (4, 5) and to a counterweight; - at least an operating shaft of said pulley mounted on said upper crossbar; - at least a winding-unwinding device mounted on said upper crossbar and having a flexible element which can be wound and unwound which is associated with the top of said leaf (4, 5); - at least an electric motor mounted on said upper crossbar and suitable for placing a driving shaft in rotation; and - at least a transmission and distribution unit (38, 39, 40) of the motion of said electric motor, suitable for transmitting and distributing the motion from said driving shaft to said operating shaft and to said winding-unwinding device; characterized in that said transmission and distribution unit (38, 39, 40) comprises: - at least a first electromagnetic clutch placed between said driving shaft and said operating shaft; - at least a second electromagnetic clutch placed between said driving shaft and said winding-unwinding device; and - at least an electronic processing and control unit which is electronically connected to said first electromagnetic clutch and to said second electromagnetic clutch and which is suitable for operating said first electromagnetic clutch, to transmit motion from said driving shaft to said operating shaft, and for operating said second electromagnetic clutch, to transmit motion from said driving shaft to said winding-unwinding device. - a fixed portion associable with the access opening of a compartment and comprising two lateral uprights and an upper crossbar; - a mobile portion including at least a leaf (4, 5) associated in a mobile way with said fixed portion; - at least a pulley associated revolving with the top of at least one of said lateral uprights and on which winds up at least partially a cable connected to the leaf (4, 5) and to a counterweight; - at least an operating shaft of said pulley mounted on said upper crossbar; - at least a winding-unwinding device mounted on said upper crossbar and having a flexible element which can be wound and unwound which is associated with the top of said leaf (4, 5); - at least an electric motor mounted on said upper crossbar and suitable for placing a driving shaft in rotation; and - at least a transmission and distribution unit (38, 39, 40) of the motion of said electric motor, suitable for transmitting and distributing the motion from said driving shaft to said operating shaft and to said winding-unwinding device; - at least a first electromagnetic clutch placed between said driving shaft and said operating shaft; - at least a second electromagnetic clutch placed between said driving shaft and said winding-unwinding device; and - at least an electronic processing and control unit which is electronically connected to said first electromagnetic clutch and to said second electromagnetic clutch and which is suitable for operating said first electromagnetic clutch, to transmit motion from said driving shaft to said operating shaft, and for operating said second electromagnetic clutch, to transmit motion from said driving shaft to said winding-unwinding device.