Electro-pneumatic joining-gluing machine with automatic cycle for assembly of any shape and kind of square, hexagonal, octagonal frames. The machine automatically glues, presses, and joins. Machine supplied in three versions: 1) a version with nailing unit type UNI to use indifferently nails on coils type VM (for soft and not too hard woods) and type NR (for hard and very hard woods and compacted materials such as MDF), 2) a version with nailing unit type NR to use nails on coils type NR (for hard-very hard woods and for compact materials as MDF), and 3) a version with stapling unit type VC to use staples in coils type VC (for soft woods or thin profiles also in MDF). These three versions are interchangeable on the same machine. These nails are available in different sizes according to the height of mouldings. Possibly to insert nails automatically in up to 10 different preset positions along the base of the moulding, to stack up to 4 nails in each position, and to memorize different working programs. The special electronic control box can be easily used by the operator to select or modify the working program and to check all movements of the machine. The machine is capable of joining mouldings from 10 mm. (3/8") in width and 6 mm. (1/4") in height up to 120 mm. (4 3/4") in width and 65 mm. (2' 1/2") in height. Equipped with automatic gluer for hot melt glue, electronic control with touch screen, adjustable glue blade stroke and 3 working speed. Sound level: LAeq < 73.1 dB (A).