this is a logic. you can control the elevator its almost the same logic as a 300A Schindler elevator
Thanks to 12nico34 for the original project elevator.