I have a bottle capper that is using an encoder and FIFO logic to track the free standing bottles passing through a bottle capper. I have checked the encoder and found no issues with the encoder. The PLC is a compact logix 5370. There is a product sensor that loads the FIFO and no issues found with the product sensor.