He did somewhat provide that in the first post. His encoder resets every 500mm and increments a unit of count called a tact. Each array position would represent a tact. His diverter position is 100 tacts away (5000mm), so it's not unfathomable to just use a tact as the shift event. It would be very granular in resolution, and that's the answer we need. What precision is needed.It does really depend on the Encoder resolution & the number of revs to drive the conveyor x position i.e. speed, however, high res encoder pulses directly driving a shift register is probably not practicable as the time to shift thousands of places so a simple solution is divide the pulses etc. & have a lower res for the shift. The chances are the position of the transfer i.e. RAT or other probably does not need to be precise, if so the addition of 5 sensors to detect the leading edge is probably the easy way.
Again it's a clear fact that lack of information makes these posts into epic conversations.