Jump to content



Photo
- - - - -

Barcode Scanner in PLC

  • Please log in to reply
10 replies to this topic

#1 OdinPT

OdinPT

    Sparky

  • MrPLC Member
  • PipPipPip
  • 69 posts
  • Country:Afghanistan
    Afghanistan

Posted 04 July 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.

Edited by OdinPT, 04 July 2006 - 02:40 PM.


#2 gtsuport

gtsuport

    Omron Disty

  • MrPLC Member
  • PipPipPipPipPip
  • 874 posts
  • Location:Michigan
  • Interests:Omron Distributor Tech Support, 4-H Volunteer
  • Country:United States
    United States

Posted 04 July 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.

#3 OdinPT

OdinPT

    Sparky

  • MrPLC Member
  • PipPipPip
  • 69 posts
  • Country:Afghanistan
    Afghanistan

Posted 04 July 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.

#4 gtsuport

gtsuport

    Omron Disty

  • MrPLC Member
  • PipPipPipPipPip
  • 874 posts
  • Location:Michigan
  • Interests:Omron Distributor Tech Support, 4-H Volunteer
  • Country:United States
    United States

Posted 04 July 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.

#5 Sleepy Wombat

Sleepy Wombat

    Controls Engineer

  • MrPLC Admin
  • 1970 posts
  • Gender:Male
  • Location:Sydney, NSW
  • Country:Australia
    Australia

Posted 04 July 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.
www.dexa.com.au - Design Engineering Xtreme Automation - DEXA Pty Ltd ** Automating the World Around You **
www.wi-count.com.au - WI-COUNT Wireless Counting Technologies ** Wireless People Counting **





#6 OdinPT

OdinPT

    Sparky

  • MrPLC Member
  • PipPipPip
  • 69 posts
  • Country:Afghanistan
    Afghanistan

Posted 05 July 2006 - 08:50 AM

gtsuport once again thanks, and yes you didn't really answer my question but it was helpfull. :clap:

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.

#7 gtsuport

gtsuport

    Omron Disty

  • MrPLC Member
  • PipPipPipPipPip
  • 874 posts
  • Location:Michigan
  • Interests:Omron Distributor Tech Support, 4-H Volunteer
  • Country:United States
    United States

Posted 05 July 2006 - 09:08 AM

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.

#8 Sleepy Wombat

Sleepy Wombat

    Controls Engineer

  • MrPLC Admin
  • 1970 posts
  • Gender:Male
  • Location:Sydney, NSW
  • Country:Australia
    Australia

Posted 05 July 2006 - 05:39 PM

Note: Typically a bar code reader will have start and end strings of STX ETX .....
www.dexa.com.au - Design Engineering Xtreme Automation - DEXA Pty Ltd ** Automating the World Around You **
www.wi-count.com.au - WI-COUNT Wireless Counting Technologies ** Wireless People Counting **





#9 moosty

moosty

    Moosty

  • MrPLC Member
  • PipPipPip
  • 134 posts
  • Location:Eskisehir
  • Interests:Automation, VB and VB.Net Programming
  • Country:Turkey
    Turkey

Posted 06 July 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,
http://indanotes.blogspot.com

Industrial Automation Notes Blog. Case studies, tutorials, experiences, tips and trics

#10 OdinPT

OdinPT

    Sparky

  • MrPLC Member
  • PipPipPip
  • 69 posts
  • Country:Afghanistan
    Afghanistan

Posted 06 July 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 :)

#11 nguyenthucuc

nguyenthucuc

    Sparky

  • MrPLC Member
  • PipPipPip
  • 79 posts
  • Country:Vietnam
    Vietnam

Posted 11 October 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?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users