Working with DataMan 8100 Barcode Reader - NEED HELP!

rroze002

Member
Join Date
Jun 2013
Location
Florida
Posts
39
Hi all,

I have my DataMan 8100 all set up in RSLogix 5000 (compactlogix controller).

The scanner reads bar codes just fine and brings in the value into one of the default registers (SourceData or something like that). what has me lost is how can the bar code data which is formatted as an SINT[] be processed and displayed as a complete value.

All I can think of is to concatenate all of the bytes in the SourceData register and create a string...but this sounds very inefficient. I would appreciate any guidance on this issue.

Thanks
 
If you assured the length of the data, couldn't you copy the character data to the .DATA element of the string structure and then set the .LEN element to the data length?
 

Similar Topics

Just replaced a heating element. The old one wasn't heating up the water. Why would the old heat element not heat up when its ohm reading was...
Replies
3
Views
84
Hello to all, can you please provide an example of obtaining a current working directory as a string in CodeSys? For example, during starting the...
Replies
7
Views
231
I feel like this is probably a very simple thing I am overlooking. (Compact Logix Studio 5000) This is my first time using the predefined...
Replies
11
Views
511
I am creating a project with WinCC Unified v16 Upd6 (PC runtime) with an S7-1200. The communication is good between the PC and the PLC as I can...
Replies
6
Views
275
I'm fairly new to Rockwell software, I've had some basic training in the past but nothing too advanced. My company and I use Reliable products for...
Replies
11
Views
421
Back
Top Bottom