limit switch operating mechanism