Your diagram ONLY shows three wires. Not nearly enough wires to operate a motor and also have two limit switches that indicate the position.
Your diagram ONLY shows three wires. Not nearly enough wires to operate a motor and also have two limit switches that indicate the position.