The invention relates to a control mechanism for the electromotor of a device for forming a leno edge on a weaving machine with heald shafts, the rotor of said electromotor having at least two guiding elements for the leno threads. A start pulse is delivered to the control mechanism of the electromotor at the time that the weaving machine shed begins to be opened or closed.