Device comprises a magnetic path signaler with a magnetic field source (2) and sensor (3) that are displaced relative to each other. The sensor measures two components of the magnetic field in a plane (9) perpendicular to the symmetry axis of the field source. The magnetic field generated by the source is rotationally symmetric about the symmetry axis (8). The position signal is determined from a division of the measured components of the magnetic field.