Standard cables in use by motors and sensors might just have a length of 30 cm up to 3 m. Sometimes this is not long enough especially if controllers are installed in a cabinet of a machine which might be placed some meters away or even in another room.