Abstract: In order to be able to check the wiring of buildings, in particular of control systems in buildings, in a simple manner, the present invention provides the measure of applying to all outputs or inputs of a switch cabinet which are provided with cables to be tested a digital address associated with the respective input or output. These addresses are associated with the respective field units, such as sensors or servomotors, in a reference list. For checking the wiring, the addresses of the inputs and outputs of the switch cabinet are read out at the field units via the cables connected thereto and, subsequently, they are associated with the respective field unit in an actual-address list. A comparison between the reference list and the actual-address list will then show whether there are any wiring defects and, if so, where these defects are.