Sign in to follow this  
Followers 0
balakumar2013

reading data from a barcode scanner

8 posts in this topic

I need a program for reading data from a barcode scanner , send it to an Omron CPM 2c plc ( by means of RS232 communication port cable ) which will activate output address 010.00 or 010.01 depending the barcode label . Does anyone know how can I do it ? Thanks in advance !

Share this post


Link to post
Share on other sites
Here is a link to the CPM programming manual: Omron W353 manual TXD RXD Quickstart Code Samples (thank you Jay) You will need to look at the RXD and CMP or CMPL instructions. Also, depending on how the barcode scanner is triggered, you may need to use the TXD instruction to initiate a read. The CPM2 is a bit difficult when working with text strings. You can only compare up to 4 characters at a time. The CP1 family offers text string instructions. I hope this will help. Edited by gtsuport

Share this post


Link to post
Share on other sites
HI, Thanks, But i dont want to get data from scanner, But i want to trigger a PLC output with barcode reading signal. Pls help me on this... Edited by balakumar2013

Share this post


Link to post
Share on other sites
But that is not what you asked for in your original post: I need a program for reading data from a barcode scanner , send it to an Omron CPM 2c plc ( by means of RS232 communication port cable ) which will activate output address 010.00 or 010.01 depending the barcode label What you asked for (above) would be accomplished using the RXD and CMP instructions. I have no idea how you would make your request today work. Have you reviewed the programming manual information on the instructions?

Share this post


Link to post
Share on other sites
follow the RXD and CMP instructions, you will be able to read data from abarcode scanner c#. i am using this way. so i was wondering which have stop you from getting the data. give those a try, and the manual provide for you.
1 person likes this

Share this post


Link to post
Share on other sites
Thanks for your nice info. I will try your sharing later. Best regards, Arron Edited by arronlee

Share this post


Link to post
Share on other sites
glad you share this, but i have a question for you, what kind of barcode do you support, both 1D and 2D barcodes?

Share this post


Link to post
Share on other sites
.net library to read from barcode scanner

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0