You should be able to series the index pulse bit in with the Keyence bits. It just has to be done in the rung preceding the Multiple by 16 rung. That way once you have camera results from new capture at the beginning of an index cycle you update your status bits.
Then use an XIO to delay your timers for 1 scan cycle and allow status bits to change their state and then start timing on next scan cycle.
Remember logic is solved from left to right then top to bottom.
Then use an XIO to delay your timers for 1 scan cycle and allow status bits to change their state and then start timing on next scan cycle.
Remember logic is solved from left to right then top to bottom.