OdinPT
Jul 4 2006, 01:59 PM
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.
gtsuport
Jul 4 2006, 02:48 PM
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.
OdinPT
Jul 4 2006, 02:56 PM
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.
gtsuport
Jul 4 2006, 06:02 PM
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.
Sleepy Wombat
Jul 4 2006, 06:39 PM
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.
OdinPT
Jul 5 2006, 08:50 AM
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.
gtsuport
Jul 5 2006, 09:08 AM
I think this may help regarding what Sleepy is referring to:
ASCII Generic Protocol MacroYou 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:[url="http://forums.mrplc.com/index.php?autocom=downloads&showfile=288"]
RXD-TXD Quickstart[/url]
Advantage of the Protocol Macro being more flexible then the RXD and TXD instructions.
Hope this will help.
Sleepy Wombat
Jul 5 2006, 05:39 PM
Note: Typically a bar code reader will have start and end strings of STX ETX .....
moosty
Jul 6 2006, 12:41 AM
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,
OdinPT
Jul 6 2006, 01:46 PM
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 :)
nguyenthucuc
Oct 11 2009, 02:23 AM
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?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.