Serial Barcode Scanning Using GX Developer

Join Date
Oct 2004
Posts
51
Hi,

Can anyone please provide with instructions on how to setup a Barcode scanner via a QJ71C24N card? :unsure:

I am using a Q01 CPU, and I have been led to understand that I need to write some code to pull the barcode data into the program.

I have very little knowledge as I am relatively new to the PLC field. However id prefer to learn this way that someone else take it over from me.

Any help, instructions or example code (Q01) would be more than appreciated and would prevent any bald patches appearing.
 
Gareth.

I have not done this with a Q but have done the same thing with A series PLC's on many occasions and it is relatively simple. The first thing to do is to configure your BCR to terminate the bar code data with a particular character (ie ETX). You will then need to use a TO instruction to let the serial card know what this symbol is. For an A series card this is written to buffer memory address H100. When the card receives a string terminating in ETX it will set an input (Xn1 for the A series card) telling the processor that data has been received. You must then read the length of the received data using a FROM instruction (in H80 for the A) to see how much data has been received and then read this number of characters from the card using another FROM instruction (from H81 in the A card). The Q and A series cards seem to be identical so the above addresses might well work but you should check the manual for the card.
 

Similar Topics

Hello Friends I have a machine with a barcode reader connected through serial port to a GS2110 HMI and a FX3G CPU. Where can I found the tag...
Replies
4
Views
1,614
Thanks ahead for any insight or assistance... I am a machine designer of 25+ Years in a relatively new "one man band" position, I've never had...
Replies
130
Views
156,381
hi, i try to connect to sick clv490 barcode using controllogix serial port but i can get it to work. im using ascii read port 0 but nothing.
Replies
0
Views
1,207
Hi, im new in AB contorllogix. may i know how to configure rslogix5k in order to get the string dumped by barcode reader? if i direct connect the...
Replies
0
Views
3,175
Although new to this forum, I have received much knowledge from reading many posts....Thanks everyone! I hope to one day to be able to help people...
Replies
8
Views
4,539
Back
Top Bottom