Corrections for the above:File 6 CLOSE DOOR & MOVE subroutine
Rung 1: Add the following to your Car Up Motor: (1) XIC O:2/0 Stop Car Output. This is similar to an Emergency Stop function. It is there so must be programmed. (2) XIC I:3/1 Elevator Up Limit Switch. Without this switch, if something goes wrong, the elevator winch can try to pull the elevator into the winch house at the top of the shaft.
Rung 1: Add the following to your Car Up Motor: (1) XIO O:2/0 Stop Car Output. This is similar to an Emergency Stop function. It is there so must be programmed. (2) XIO I:3/1 Elevator Up Limit Switch.
Note that a similar rung for the Car Down Motor O:4/1 should be added in Subroutine 6.