Sign in to follow this  
Followers 0
OdinPT

Barcode Scanner in PLC

11 posts in this topic

Hi ppl, Someone asked me to do a project that includes a Barcode Scanner to control a machine (sequence, insertions, etc), depending on the code (Code 39). What i would like to know is if there is any Omron PLC's working with barcode scanners. I can use a barcode scanner and get the info with rs232 connection and use it in a normal PC, but since is to work with a machine is beter one PLC, i would like to know if it is possible to do the same with a PLC. I've seen some forum topics, can someone advice me in wich PLC and wich scanner would i get ? Thanks. Edited by OdinPT

Share this post


Link to post
Share on other sites
You need an Omron plc that supports the RXD instruction, or PMCR instruction. CPM2A, CPM2C, CQM1, but best bet would be CJ1 family. Reason being the text string functions in the instruction set. These functions will allow you to more easily work with the text string received from the bar code scanner. Most any scanner will be able to interface with the plc. Most times the scanner will be manually triggered or a serial signal is sent to read and transmit the bar code. Hope this will help.

Share this post


Link to post
Share on other sites
Hi, Thanks once again since you helped me several times in this forum. CJ1 family you say, from your experience do you know a good scanner to work with this Omron PLC type ? or the most used.... The trigger for the scanner is sent by the PLC. Thanks.

Share this post


Link to post
Share on other sites
You might want to check with your Omron distributor. Omron sells bar code readers in the US. Not sure about other countries. Also, not sure what would be locally available. I have worked with several different brands, all very similar in capability. Local support would be helpful. I know I did not really answer your question, but I think you see what my concern is. Let us know if you have any other questions.

Share this post


Link to post
Share on other sites
A number of brands will work, i have used Omron and Sick and another i can;t remember at the momement.... Its a matter of develpoing the protocol to talk to them, i would opt for a CJ1 with a serial card SCU41 supporting protocol macro. This will give the greatest flexibility and overall ease of use for tracing and debugging the code when that comes around.

Share this post


Link to post
Share on other sites
gtsuport once again thanks, and yes you didn't really answer my question but it was helpfull. Sleepy Wombat thank you for the description of the serial card, i would like to know if is complex the procedure of getting the info from the rs323 card, and work it in the PLC, i have downloaded a file in the forum "TX-RX" that seem to be simple. Is it all that is needed? Im not very at ease with PLC's, if there is any info you could give from where to start i would apreciate it. Thanks.

Share this post


Link to post
Share on other sites
I think this may help regarding what Sleepy is referring to: ASCII Generic Protocol Macro You will need CX-Protocol software (part of CX-One) to load the Protocol Macro code into the Serial Comm Unit (CJ1W-SCU21-V1 or CJ1W-SCU41-V1). You can use the RXD and TXD commands as explained here also: RXD-TXD Quickstart Advantage of the Protocol Macro being more flexible then the RXD and TXD instructions. Hope this will help.

Share this post


Link to post
Share on other sites
Note: Typically a bar code reader will have start and end strings of STX ETX .....

Share this post


Link to post
Share on other sites
Hi, Omron has its own barcode readers, however I can also suggest SICK barcode readers. It is industrial and flexible. You can trigger the reader by hardware signal or software. Also some hand held scanners of HHP supports software triggering. May be you need a semi-portable reader in your project, for example you can place a hand held scanner via its cradle near conveyor as a fixed barcode reader. On an unsuccessful reading, you can warn an operator to take reader and manually read the barcode. Depends on your projects requirements. By hardware, you can send a signal from PLC or mount a sensor directly to the control box of barcode reader. Software triggering starts with the string "*21*" and end last until you send "*22*" You can also receive "NO READ" information on unsuccessful reads. TXD / RXD commands or Protocol Macro are the keywords for you. Best Regards,

Share this post


Link to post
Share on other sites
Hi again, Thank you all for the help. Im wating to recieve a CJ1 PLC with rs232 so i can start working, i got a CLV210 Sick barcode scanner to work with it, ill keep informed of my progress thanks for the help :)

Share this post


Link to post
Share on other sites
I don't think we need a PLC because PC can send and receive one frame data the sample one PLC. And, one Barcode connect with PC via RS232-C, this is normal type. Why do you have to buy in Omron? I don't understand?

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