AND gates are your friend for this sort of thing. Have an activation module next to the rail, linked to an AND gate, and another activation module for the floor selection linked to the same AND gate. When both activation modules are on (i.e, when the elevator is at a specific floor) then you can...