The invention relates to a method for the robot-aided wiring of electrical components of an electrical switchgear arranged on a mounting plate, which method has the steps of: - providing (100) a plan of a switchgear (2), which plan has at least location information relating to a plurality of electrical components (3) of the switchgear on a mounting plate (1) and wiring information relating to a plurality of electrical wirings (4) between two of the electrical components (3) in each case; - extracting (700) cable routing, including a cable source coordinate, a cable target coordinate and a wiring path between the cable source coordinate and the cable target coordinate, from the wiring information for at least one of the plurality of wirings (4); - generating (800) trajectory and/or vector points along the cable routing and parameterizing (900) the trajectory and/or vector points for the purpose of generating robot control; and - controlling (1100) a robot using the robot control.
展开▼