Technical FAQs

Ask a Question

After reading barcode variable, cursor keeps blinking and seems to stay in input mode. Why ?

Goals and Symptoms

After reading barcode variable, cursor keeps blinking and seems to stay in input mode. Why ?
*************************************
Using a barcode reader in Direct Input mode :
Normally, when barcode data is read, the barcode input data is stored in the barcode string variable and the input data is written to a device address.
But sometimes, the input data isn't written to the device address, and the numeric display stays in "input mode" (the cursor still is blinking, and seems to be in write mode).

Facts and Changes

XBTG Vijéo-Designer V4.4 barcode reader direct input mode

Causes and Fixes

This is due to the length of the string PLC variable : if the num of bytes of this variable is less than the length of the barcode variable, maybe the end character of this barcode variable (CR, or LF in general) won't be read.
Then, the result is that the string PLC variable remains in "input mode" since Vijeo-Designer hasn't recognized the variable as a barcode variable (and it is waiting for the end character CR or LF in general).

The solution is to set a higher length (num of bytes) for the PLC variable, so that Vijeo-Designer can read the end character (CR or LF in general) and recognize the string as the barcode variable.

Was this helpful?
What can we do to improve the information ?