Datalogic barcode scanner and s1200 PLC

mafura1

Member
Join Date
Nov 2015
Location
Port Elizabeth
Posts
4
Hi,

I'm new to PLC programming and I have been playing around with the Siemens s1200 plc. I have been given a task to connect a gryphon d100 barcode scanner to the plc and display the barcode characters on an HMI using the TIA portal. I have never done this application before and I do not know where to even begin. Can some one point me in the right direction just as a starting point. I will be using profinet com.

Thanks in advance
 
Hi all,

I have managed to setup the tcp connection from the plc side and can actually connect to it using the Hercules setup utility. I know this might sound silly, but I would like to know how can I get the barcode information to display on an hmi? I have never done such an application and I will really appreciate your input. For now I just want to read and display a barcode on the hmi.

Thanks in advance
 
Do you want to display the barcode text string, or the actual image?

If you want to display the string, you should be able to make a String type tag, and link it to wherever the string is stored in the PLC.
 
Thanks for the response mk42. In the s1200 plc where will the barcode text string be stored? Or how do I check that? I don't know what steps I need to follow for this...
 
Thanks for the response mk42. In the s1200 plc where will the barcode text string be stored? Or how do I check that? I don't know what steps I need to follow for this...

You said above that you had set up communications with the barcode scanner, so I had assumed that the communication between the barcode scanner and PLC was already working.

That is the first step. the barcode string would come in as part of that communication. It will probably be an array of characters, which you would have to convert to a string. There is a function for that under string functions in the extended instructions.

Once you have the string in the PLC, you can display it on the HMI.

As, gclshortt said, it all depends on how the barcode scanner communicates. If it is a USB device, you can probably plug it straight into the HMI. You said it was TCP, so I'm assuming you need to do the communication from the PLC.
 
Ok my bad,
I meant to say that I setup the tcp for the plc and tested it with hercules and it was fine. I also setup tcp for the barcode scanner and tested it and that was also fine. But I did not combine them together, that's where I am stuck but I will try what you have said and see how far I get.
Regards
 

Similar Topics

I am trying to get a datalogic 8530 barcode scanner to work through channel 0 of a micrologix 1100. I have the scanner configured at 9600 baud 1 N...
Replies
2
Views
4,513
Hi, I am looking any description of classes and instances of Datalogic Scanner Matrix 400. I received from the supplier a peace of ladder logic...
Replies
5
Views
8,121
I have a project using 2 Datalogic DS2400N barcode scanners connected over Profibus to a Siemens S7-315-2 PN/DP processor. The hardware...
Replies
0
Views
2,408
Hi All I have a project where I need to scan some barcodes with this Matrix 220 sensor via profinet. CPU 1517F-3, using TIA v17 I was looking...
Replies
3
Views
654
Good Afternoon , We have a few Datalogic Laser Sentinal Scanners . We have 2 that are pointing upward toward the ceiling . Roughly , within...
Replies
5
Views
1,042
Back
Top Bottom