With power ( and - ) connected and restrict switches ls1 and ls2 disengaged, the simplest street available for current waft could be from the supply fantastic ( ) to k1-1, then via k1-2, the motor, k1-5 and 4, and subsequently through k2-1 and a pair of to the deliver poor, (-). Initial situation: no relays energized. One set of ry2's direct power one route to the motor. 2nd situation: sw2 induced, its no contact energizes ry2, which reverses motor polarity and latches itself (you will want a pair of diodes or some other relay touch set to accomplish both reversal and latching). 1/3 condition: sw2 released, ry2 remains latched, mechanism swings the opposite direction. Fourth circumstance: sw1 brought about, its no touch energizes ry1. An nc touch set on ry1 breaks ry2's latching circuit, and the equal no contact latches ry1 on till power drops away. The second one ry1 touch set's nc interrupts strength to the motor.