Location of cords and cables, fault detection