22:28 - You have chosen the correct switch for this example, Sir. Your schematic shows the second micro-switch as held closed; which would indicate a normally open switch.
Ok, run the unit up and opens the limit switch. Now there must be another circuit to run it down or your opening some type of hydraulic valve to do a controlled lowering. Because once the limit opens you ain't power anything up.