I am having a lot of difficulty receiving serial data
from a barcode scanner
using the input$(1) function.
After a bad code has been detected by the laser
the plc immediately looks for the data makeing up the
incorrect barcode. Instead of the offending barcde, I usually get previous data or half the data.
If I continue to trigger the laser, eventually the T100MD
will capture the correct data. I know that the laser is transmitting correctly because i can test its output on a terminal.
Any help would be appreciated.