slc 5/04 ascii buffer

maynarddon

Member
Join Date
Nov 2006
Location
usa
Posts
14
Hello,

I have a slc 5/04 and a dataman dm302 barcode camera via channel 0. I'm using AWA + CR/LF to send commands to swap focal lengths. Also I'm using ARL + CR/LF to read the barcodes. Do the AWA and ARL commands automatically clear the buffers?

When I tried the ARD command, I did have to clear the buffer in between reads. With the ARL command it appears the buffer is cleared "automatically".

Thanks,
Don
 
Hello,

I already used the ARL instruction for barcode reader with an SLC5/04 and even if the ARL clear the buffer, it was necessary to use ACL in somes cases like the reception of data without termination (noise, when plugging the reader or using a reader with bad parameters) or when reading an unpreviously barcode (at bad moment or bad length).

Jean-Luc
 
Thanks for your reply. I will use the ACL to deterministically clear the buffers. Seems a "best practice"

Thanks
 

Similar Topics

Hi all, I'm trying to use the "Test ASCII Buffer for Line" Instruction in a AB SLC500, and are having some trouble. What I am having trouble...
Replies
5
Views
5,550
Hi, I'm new into AB controllers and I'm trying to find how to handle rs232 communication on slc 05/4. I know that I need to configure channel 0...
Replies
5
Views
3,092
Hi there everyone! Long time lurker, first time poster. I am doing an SLC-5/03 to CompactLogix migration and am having an issue with a barcode...
Replies
1
Views
1,051
Hi all- first timer here. I am a process control tech assigned a new to me task. Since i am not a true programmer am having trouble with the...
Replies
1
Views
2,127
Hello All Here is my challenge. I have a leak tester that sends ASCII data out continually during it's test. At the end, it sends the test name...
Replies
1
Views
1,726
Back
Top Bottom