Elevator, which comprises: - a light curtain (1; 11, 12, 14, 13) configured to monitor the opening of a moving door of a floor level and/or a moving door of the elevator car, which light curtain comprises a plurality of transmitters and a plurality of receivers as well as a control unit for these, which control unit comprises at least one register for the status information of the transmitters and of the receivers ; - a control system of the elevator car , said control system being connected via a data transfer connection to the control unit , which control system comprises at least one unit performing digital processing; and wherein: - a photoelectric cell delay is defined for the light curtain , which delay determines the time that must elapse after the freeing of the opening before the elevator gives a command for closing the moving door of the floor level and/or the moving door of the elevator car ; - the control system is configured to send a query (Q1, Q2) over the data transfer connection to the control unit ; - the control unit is configured to send, in response to the query (Q1, Q2), over the data transfer connection a response (R1, R2) that contains the content of the aforementioned at least one register or information describing the content; - the control system is configured to receive the response (R1, R2, ...) and to analyze i) the status information contained therein of at least one receiver or ii) the status information contained therein of at least one receiver and of at least one transmitter relating to it, for changing or adjusting the operating mode of the elevator or for giving a control command to the operating system of the elevator, characterised in that the control unit of the light curtain is configured to send the status information of at least one receiver also during a photoelectric cell delay. - a light curtain (1; 11, 12, 14, 13) configured to monitor the opening of a moving door of a floor level and/or a moving door of the elevator car, which light curtain comprises a plurality of transmitters and a plurality of receivers as well as a control unit for these, which control unit comprises at least one register for the status information of the transmitters and of the receivers ; - a control system of the elevator car , said control system being connected via a data transfer connection to the control unit , which control system comprises at least one unit performing digital processing; and wherein: - a photoelectric cell delay is defined for the light curtain , which delay determines the time that must elapse after the freeing of the opening before the elevator gives a command for closing the moving door of the floor level and/or the moving door of the elevator car ; - the control system is configured to send a query (Q1, Q2) over the data transfer connection to the control unit ; - the control unit is configured to send, in response to the query (Q1, Q2), over the data transfer connection a response (R1, R2) that contains the content of the aforementioned at least one register or information describing the content; - the control system is configured to receive the response (R1, R2, ...) and to analyze i) the status information contained therein of at least one receiver or ii) the status information contained therein of at least one receiver and of at least one transmitter relating to it, for changing or adjusting the operating mode of the elevator or for giving a control command to the operating system of the elevator, characterised in that the control unit of the light curtain is configured to send the status information of at least one receiver also during a photoelectric cell delay. <EOS>