Barcode Reader to RSView32

Hi Friends

I have a Cognex DM100S Barcode Reader and I need to put the reading in a Memory Tag in RSView32.

I have the DM100S working in COM5 with hyperterminal.

How can I put the Barcode Reading in RSView32?


Thanks in advance.;)
 
Some options spring to mind:

1) Connect the reader to a serial interface on your PLC and read in the data that way.
2) Write an program to run on your SCADA PC to read the bar code into a text box that has a DDE link. In RSVeiw32 set up a DDE link to your application.
3) Get an OPC server APP for your reader.

In theory, you could write some VBA code in RSView32 with the MScomm control but if you are polling the reader all the time then nothing else will work as RSview32 is single threaded.

Nick
 
Hello Manglemender.

The problem is that the barcode reader is connected directly to the PC through USB (I could change to RS232 Barcode Scanner).

The PLC is an PLC-5 with DH+ and it is a 15m of distance from the PC.

So, I need to read the barcode directly in the PC with RSView32.

Thanks a lot
 
I am not familliar with your device but although you are using USB you are still reading it as a serial interface (COM5 in Hyperterminal.

Do cognex not have a utility app for the reader that you can link to by OPC/DDE? Have you asked Cognex?

Sorry I can't be more helpful. Last time I did something similar I had to write a DDE application to act as an interface for RSview32 or you could use MSCOMM.

Good luck,

Nick
 

Similar Topics

Has anyone used a simple panel mounted barcode to just read one code from the operator paperwork. They don't want any handheld as the constantly...
1
Replies
519
Views
Hello again, I have written basically the same logic for a dataman 260 as in the attached file. I'm sure this gives a good positive handshake...
11
Replies
2,572
Views
Hello everyone, I am working with a Zebra barcode reader over the 5069 serial module. This is my first time with barcode readers but I am at a...
23
Replies
3,015
Views
Hello everyone, I'm trying to connect the sr-x100w barcode reader to Got2000 via RS-232.. Read only once, even after the register is reset to...
4
Replies
1,354
Views
Hello, I am trying to read a barcode scanner input using a cognex dataman 280 barcode reader, store it another string, the compare with another...
1
Replies
1,775
Views
Top