adccommunitymod (AutomationDirect) asked a question.

Bar Code Scanning

Created Date: November 06,2003

Created By: The Rock

**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****

Not being too familiar with bar code readers, I could use some suggestions on the best way to interface a bar code scanner with my PLC. The proposed project is to install 1 to 5 bar code scanners one at each workstation on our lines. Each operator will have to scan parts; fixtures and their ID number at the beginning of each new run. This will then be checked against a matrix of numbers to verify that everything is correct. I have a 9-slot base with a 9-slot expansion using a D2-CM and a D2-EM. Each base has a 250-1 processor, an H2-ECOM module in the last slot. There is also input and output cards and I have two slots unused at this time. The expansion module has four 12 pt output cards in it. I am using port 1 to communicate with the touch screen. I am using the Ethernet card for internal networking to my desktop. I hope this is enough information any help would be appreciated.


  • adccommunitymod (AutomationDirect)

    Created Date: November 06,2003

    Created by: The Rock

    Not being too familiar with bar code readers, I could use some suggestions on the best way to interface a bar code scanner with my PLC. The proposed project is to install 1 to 5 bar code scanners one at each workstation on our lines. Each operator will have to scan parts; fixtures and their ID number at the beginning of each new run. This will then be checked against a matrix of numbers to verify that everything is correct. I have a 9-slot base with a 9-slot expansion using a D2-CM and a D2-EM. Each base has a 250-1 processor, an H2-ECOM module in the last slot. There is also input and output cards and I have two slots unused at this time. The expansion module has four 12 pt output cards in it. I am using port 1 to communicate with the touch screen. I am using the Ethernet card for internal networking to my desktop. I hope this is enough information any help would be appreciated.

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: November 06,2003

    Created by: ctipete

    I used a bar code scanner that had ASCII output capabilities and a DL260 CPU, which has an ASCII input instruction, to read the data.

  • adccommunitymod (AutomationDirect)

    Created Date: November 06,2003

    Created by: bcarlton

    We 've used bar code scanners, though only one at a time, and interfaced using the BASIC coprocessor. It provides two ports (3 if the baud rate is low and there's no hard handshaking).

  • adccommunitymod (AutomationDirect)

    Created Date: November 07,2003

    Created by: chris.zeman

    I'm currently developing a project that uses a DL06 to dispense bar-coded tickets and uses barcode readers to keep track of which ticket numbers it has dispensed. A DL06 at another location uses a barcode scanner connected to Port 2 to read the tickets as they are returned and makes sure they fall within a tolerance level of the dispensed sequence. I may be doing something wrong, but when the ASCII data is received by the PLC, I convert the ASCII to HEX and then have to shuffle the digits so that the digits are in the correct order. When I convert ASCII to HEX, the ticket number, say 3211 is stored as 1123. At least the PLC receives the data 100% of the time. http://forum1.automationdirect.com/board/smile.gif

    Have fun!

    Chris

    Expand Post