Reading Barcodes in GX Developer

Join Date
Oct 2004
Posts
51
When scanning a barcode is it possible to read a number of characters out of the code.

How can I read in, say the first five characters only.

Would I need to read the entire barcode and then somehow pick out the characters, or could i just look at the first five characters only.

It may be that I want to read the first 5 or the last five characters.

Hope this makes sense. Finding it quite difficult to write. There is a function to do this in MS Excel.

Any help would be appreciated.
 
There is a command RIGHT or LEFT that allows you to extract data from a string. You specify the start point of the string, how many characters in from the right or left and where you want to store them. There are examples in the programming manual for the Q​






 

Similar Topics

I'm trying to read barcodes using a symbol scanner that's attached to my mp 377 (win ce) panel via usb. I have the scanner set to emulate keyboard...
Replies
1
Views
2,145
Hello I have a s7-1200 and I would like to read the tags present in this controller with my controllogix controller. The two controllers don't use...
Replies
5
Views
176
Hi all, i have 8 CJ2m plc units that show different numbers on the plc display and i am stuck on reading the info. my unit has an ip address of...
Replies
3
Views
114
Hi Everyone, I am not proficient in RSLogix 500 so I have a question regarding the evaluation of N7:0 data as an input. So as I understand in...
Replies
1
Views
98
Trying to setup a message read via Ethernet. I have the path setup as 1, 1, 2, 192.168.66.10 I get an error code 1, ext err 315. I am beating...
Replies
9
Views
251
Back
Top Bottom