Method for setting up a control unit in a conveying apparatus, wherein a control unit (102, 202, 302, 2102) controls one or more conveying segments (100, 200, 300, 2100, 2200, 2300, 2400), and each conveying segment comprises a. a conveying drive (106, 206, 306, 2106, 2206, 2306, 2406) for conveying an object through the conveying segment, said conveying drive being coupled to the control unit by way of a motor connection socket for signalling purposes, and b. a sensor (104, 204, 304, 2103, 2203, 2303, 2403) for sensing an object at a position within the conveying segment, said sensor being coupled to the control unit by way of a sensor connection socket for signalling purposes, characterized in that the control unit performs a self-configuration, having the steps of: i) activating a configuration mode on the control unit, ii) receiving a signal from each motor connection socket or sensor connection socket of the control unit in a processor unit of the control unit, iii) comparing the received signal/signals with a comparison value stored in the control unit, and iv) determining from the comparison of the signal/s with the comparison value whether a conveying drive or a sensor is connected to a motor connection socket or sensor connection socket of the control unit, and in that the control unit has multiple sensor connection sockets and, after step iv), an assignment map of the sensor connection sockets is ascertained and is compared with a desired assignment map, which comprises a desired assignment pattern for every possible number of connected sensors, and in that deviation from the desired assignment pattern results in an error message being output by the processor unit, in particular a visual or audible error message. a control unit (102, 202, 302, 2102) controls one or more conveying segments (100, 200, 300, 2100, 2200, 2300, 2400), and each conveying segment comprises a. a conveying drive (106, 206, 306, 2106, 2206, 2306, 2406) for conveying an object through the conveying segment, said conveying drive being coupled to the control unit by way of a motor connection socket for signalling purposes, and b. a sensor (104, 204, 304, 2103, 2203, 2303, 2403) for sensing an object at a position within the conveying segment, said sensor being coupled to the control unit by way of a sensor connection socket for signalling purposes, a. a conveying drive (106, 206, 306, 2106, 2206, 2306, 2406) for conveying an object through the conveying segment, said conveying drive being coupled to the control unit by way of a motor connection socket for signalling purposes, and b. a sensor (104, 204, 304, 2103, 2203, 2303, 2403) for sensing an object at a position within the conveying segment, said sensor being coupled to the control unit by way of a sensor connection socket for signalling purposes, characterized in that the control unit performs a self-configuration, having the steps of: i) activating a configuration mode on the control unit, ii) receiving a signal from each motor connection socket or sensor connection socket of the control unit in a processor unit of the control unit, iii) comparing the received signal/signals with a comparison value stored in the control unit, and iv) determining from the comparison of the signal/s with the comparison value whether a conveying drive or a sensor is connected to a motor connection socket or sensor connection socket of the control unit, and in that the control unit has multiple sensor connection sockets and, after step iv), an assignment map of the sensor connection sockets is ascertained and is compared with a desired assignment map, which comprises a desired assignment pattern for every possible number of connected sensors, and i) activating a configuration mode on the control unit, ii) receiving a signal from each motor connection socket or sensor connection socket of the control unit in a processor unit of the control unit, iii) comparing the received signal/signals with a comparison value stored in the control unit, and iv) determining from the comparison of the signal/s with the comparison value whether a conveying drive or a sensor is connected to a motor connection socket or sensor connection socket of the control unit, and in that the control unit has multiple sensor connection sockets and, after step iv), an assignment map of the sensor connection sockets is ascertained and is compared with a desired assignment map, which comprises a desired assignment pattern for every possible number of connected sensors, and in that deviation from the desired assignment pattern results in an error message being output by the processor unit, in particular a visual or audible error message.