Bar code reader into a Micrologix 1100

hoelscherlj

Member
Join Date
Dec 2007
Location
Saint Paul,Minnesota
Posts
4
Hello everyone,
I've been wondering how to do this for quite some time now. I had a little time on my hands and a future project will need this so I thought I would give it a go.
I am trying to write a program that will look at the input buffer of channel 0 to see if the barcode reader has sent information. It will then send this information to a string file and then decide whether it is a batch number or a material number.

I have a fairly decent understanding of the ASCII instructions but I have one question about them, more specifically the use of the control file status bits. The Inhibit bit is causing me some greif. I can't find any information on it in my Rockwell manuals, or at least why it is used and how it is triggered. I know my sequence of events was to blame, but I would like to understand why it has been triggered.

I don't have a copy of the program that I was having an issue with but I could reproduce it if needed. This is what I am using now, and it seems to work okay to get the info into the string file.

I think the problem I was having before was that the check buffer instruction was trying to run at the same time as the read instruction but that is just a guess. I'm really just looking for an explaination of the inhibit bit. Any other opnions on better or more effecient programming would be appreciated.
Thanks,
Luc
 
Last edited:

Similar Topics

I am trying to connect the bar-code reader intermec sr61 with the micrologix 1100 but, the channel 0 indication is not blinking where the bar-code...
Replies
0
Views
1,165
We are using Sick CLX series bar code reader with AB 1746-BAS module in a outdated system . The processor is SLC 5/04.We want to revamp the system...
Replies
1
Views
1,465
I have a Keyence SR-710 Bar Code Reader and a Keyence N-UB Communication unit. It will read the bar code and turn on the success output every...
Replies
3
Views
2,676
I have had an interesting request from a customer. I have sold them a graphite based system and he was wondering if we can use a bar code reader...
Replies
3
Views
1,545
Can anyone give me a sample program to use with control logix to use this bar code reader to take readings when requested
Replies
2
Views
5,028
Back
Top Bottom