Conveyor tracking - adaptive path

Hello everybody,

We need to follow a path based on A/B encoder signal; we used actually the track_conveyor_function to do so.

Is it possible to modify during the motion the direction used by the track_conveyor_function ? In that way we could follow arbitrary path in a plane.

We tried to do that, but the cobot complains about sudden changes in trajectory and goes to protective stops.

Is it possible to do that with UR ? If yes is this function adapted or should we have to use another function ?
Our constraint is that we have to keep the A/B incremental signal as the motion generator.

THank you for help!