The invention pertains to a device for guiding at least one cable for use in a medical dosing apparatus, which features at least one movable section, characterized in that the device is connected or at least designed to be connected to the at least one movable section of the dosing apparatus permitting movement in tandem. It pertains further to a dosing apparatus, a treatment apparatus, a method for position detection as well as a method to enable or carry out position detection.