AutomationDirect
Search
Login | Register
Accounts & Orders
Cart
0
$0.00

Recent Orders

View and Manage | Request Cancellation

Your Account

Account Home

Checkout   $0.00


  • My Orders
  • Product Returns (RMAs)
  • Pay Proforma Invoices
  • Pay Freights
  • Invoices / Invoice Reprint
  • Quotes / Favs / BOMs
  • Packing List Reprint
  • My Product Docs
  • Credit Application
  • Tax Exemption
| Direct Sales in US and Canada | 1-800-633-0405 | About Us | Contact Us | Line Card
Products | Support
| Compare
  
Ordering Tools  
warning Cookies are not enabled on your browser.
Cookies are required for our site. Please enable cookies in your browser preferences to continue.
+
Navigation
+
Shopping Categories
  • Barcode / RFID / Vision
  • Bulk Wire & Cable
  • Cables (Terminated)
  • Circuit Protection / Fuses / Disconnects
  • Communications
  • Drives & Soft Starters
  • Enclosure Thermal Management & Lights
  • Enclosures & Racks
  • Field I/O
  • HMI (Human Machine Interface)
  • Hydraulic Components
  • Motion Control
  • Motor Controls
  • Motors
  • Pneumatic Components
  • Power Products (Electrical)
  • Power Transmission (Mechanical)
  • Process Control & Measurement
  • Programmable Controllers
  • Pushbuttons / Switches / Indicators
  • Relays / Timers
  • Safety
  • Sensors / Encoders
  • Stacklights
  • Structural Frames / Rails
  • Tools & Test Equipment
  • Valves
  • Water (Potable) Components
  • Wiring Solutions
  • Retired Products
+
Learn More
  • Brand Line Card
  • What's New
  • E-newsletter
  • Online PDF Catalog
  • Video Tutorials
  • Company Reviews
  • Learning Library
  • Affordable Training
  • Free Online PLC training
  • Cybersecurity
+
In Depth Product Sites
  • Programmable Logic Controllers
  • Productivity1000 PLCs
  • Productivity2000 PLCs
  • Productivity3000 PLCs
  • ProductivityCODESYS
  • LS Electric XGB Series PLCs
  • ProductivityOpen
  • CLICK PLCs
  • Do-more H2 PLCs or
    Do-more T1H Series
  • Do-more BRX PLCs
  • C-more Touch Panels
  • AC & DC Drives
  • Motion Control Components
  • Servos
  • StrideLinx
  • Pneumatics
+
Product Selectors &
Configuration Utilities
  • PLC Family Selector
  • P1000 PLC Systems
  • P2000 PLC Systems
  • P3000 PLC Systems
  • ProductivityCODESYS
  • CLICK PLC Systems
  • Do-more® BRX PLC Systems
  • LS-Electric® XGB PLC Systems
  • Productivity®Open Systems
  • AC Motors
  • Datalogic® Safety Light Curtains
  • LS-Electric® Servo Systems
  • Nitra® Pneumatic Grippers
  • Object Detection (Sensors)
  • PAL Controller Configurator
  • Precision Gearbox Selector
  • Protos X® Field I/O
  • Quadritalia® Modular Enclosures
  • Stellar® Soft Starters
  • Stepper System Selector
  • SureFrame T-slot Extrusion
  • SureMotion® XYZ Gantry
  • SureServo2® System Selector
  • SureStep® Linear Actuators
  • Timing Belts & Pulleys
  • Werma® Stacklights
  • ZIPLinks

CLICK PLC - How To Setup and Use a Barcode Scanner from AutomationDirect


Related Products

C0-00DD1-D
C0-00DD1-D Thumbnail
C0-00DD2-D
C0-00DD2-D Thumbnail
C0-00DR-D
C0-00DR-D Thumbnail
C0-00AR-D
C0-00AR-D Thumbnail
C0-01DD1-D
C0-01DD1-D Thumbnail
C0-01DD2-D
C0-01DD2-D Thumbnail
C0-01DR-D
C0-01DR-D Thumbnail
C0-01AR-D
C0-01AR-D Thumbnail
C0-02DD1-D
C0-02DD1-D Thumbnail
C0-02DD2-D
C0-02DD2-D Thumbnail
C0-02DR-D
C0-02DR-D Thumbnail
C0-10DD1E-D
C0-10DD1E-D Thumbnail
C0-10DD2E-D
C0-10DD2E-D Thumbnail
C0-10DRE-D
C0-10DRE-D Thumbnail
C0-11DD1E-D
C0-11DD1E-D Thumbnail
C0-11DD2E-D
C0-11DD2E-D Thumbnail
C0-11DRE-D
C0-11DRE-D Thumbnail
C0-11ARE-D
C0-11ARE-D Thumbnail
C0-12DD1E-D
C0-12DD1E-D Thumbnail
C0-12DD2E-D
C0-12DD2E-D Thumbnail
C0-12DRE-D
C0-12DRE-D Thumbnail
C0-12ARE-D
C0-12ARE-D Thumbnail
C0-12DD1E-1-D
C0-12DD1E-1-D Thumbnail
C0-12DD2E-1-D
C0-12DD2E-1-D Thumbnail
C0-12DRE-1-D
C0-12DRE-1-D Thumbnail
C0-12ARE-1-D
C0-12ARE-1-D Thumbnail
C0-12DD1E-2-D
C0-12DD1E-2-D Thumbnail
C0-12DD2E-2-D
C0-12DD2E-2-D Thumbnail
C0-12DRE-2-D
C0-12DRE-2-D Thumbnail
C0-12ARE-2-D
C0-12ARE-2-D Thumbnail
C0-08ND3
C0-08ND3 Thumbnail
C0-08ND3-1
C0-08ND3-1 Thumbnail
C0-16ND3
C0-16ND3 Thumbnail
C0-08TD1
C0-08TD1 Thumbnail
C0-08TD2
C0-08TD2 Thumbnail
C0-08NE3
C0-08NE3 Thumbnail
C0-16TD1
C0-16TD1 Thumbnail
C0-16TD2
C0-16TD2 Thumbnail
C0-16NE3
C0-16NE3 Thumbnail
C0-08CDR
C0-08CDR Thumbnail
C0-16CDD1
C0-16CDD1 Thumbnail
C0-16CDD2
C0-16CDD2 Thumbnail
C0-08NA
C0-08NA Thumbnail
C0-08TA
C0-08TA Thumbnail
C0-08TR
C0-08TR Thumbnail
C0-04AD-1
C0-04AD-1 Thumbnail
C0-04AD-2
C0-04AD-2 Thumbnail
C0-04DA-1
C0-04DA-1 Thumbnail
C0-04DA-2
C0-04DA-2 Thumbnail
C0-4AD2DA-1
C0-4AD2DA-1 Thumbnail
C0-4AD2DA-2
C0-4AD2DA-2 Thumbnail
C0-04RTD
C0-04RTD Thumbnail
C0-04THM
C0-04THM Thumbnail
C0-PGMSW
C0-PGMSW Thumbnail


To learn more: https://www.automationdirect.com/click-plc?utm_source=guYoOZqkulc&utm_medium=VideoTeamDescription

(VID-CL-0017)

How to setup and use a barcode scanner with a CLICK PLC.

Online Support Page: https://community.automationdirect.com/s/?utm_source=guYoOZqkulc&utm_medium=VideoTeamDescription

The bar code scanner used in this video was a Symbol LS2208 and the RS232 cable was a custom hand wired cable to get all the signals to line up:

Male....... Male
DB9........ RJ12 (6-pin)
...5............. 1
...2............. 3
...3............. 4

**Please check our website for our most up-to-date product pricing and availability.


Hide Transcript
View Transcript

Scanning Barcodes could not be easier with the CLICK PLC! In this video I'll show you just how easy it is! Step 1: I've got an RS-232 scanner, so I'll plug the scanner into Port 2 on my PLC. Step 2: We need to configure Port 2. To do that go to Setup and then Com Port Setup. We need to setup up Port 2 so go ahead and choose that. Port 2 defaults to Modbus RTU but we want to read ASCII so choose the ASCII protocol. Be careful don't forget to do that one. This particular scanner operates at 9600 baud, Odd parity, 1 Stop Bit, and 8 Communication Data bits. CLICK Ok to exit Port 2 setup and then go ahead and close out of the Com Port setup. Step 3: Read the barcode. Bring in a Receive command. Double check that Port 2 is selected. We'll be reading a fixed data length of 10 characters long. You'll understand why in just a minute. The data destination is where to store the string you receive from the scanner. You can choose any TXT address that you'd like I'll go ahead and choose TXT1. The status flags help show the condition of the command. You can choose any C address you'd like. I'm going to go ahead and set Receiving as C1, Success as C2, and Overflow as C3. We didn't set any timeout so you can leave First Character Time-out and Character Interval Time-out blank. When you are done entering everything you can go ahead and hit ok. Add a normally open contact on the first rung and type in C4. Don't forget to add your end statement. Step 4: Transfer you're program to the PLC. And that's it. Step 1 we plugged our scanner in. Step 2 we configured our serial port. Step 3 we configured an ASCII receive command. And Step 4 we transferred our program to the PLC. I don't think it can get any easier than that! To read a barcode, open up a data view window and type in C4. Then click on edit. This will let us toggle C4 on and off, which is controlling our receive command. Turn C4 on by double clicking the on button. Now we can scan a barcode and see it here. Here we can see the 10 character string read from the bar code scanner. The string is stored in TXT1 through TXT10. For our example S is stored in TXT1, M is stored in TXT2, and so on. You can now use these values elsewhere in your ladder logic program. If you want to scan another barcode all you have to do is turn C4 off and then back on. And sure enough we can see a different barcode here. Now that you know how to setup and use a barcode scanner with the CLICK PLC the possibilities are endless!



No data returned!
An error has occurred! Please contact support
Videos Home > CLICK PLC - How To Setup and Use a Barcode Scanner from AutomationDirect
Contact, Connect & More
Sign Up
to receive:
FREE e-Newsletter
sign up today!
Connect With Us
Social Media Channels:
linkedin    facebook    x    instagram    youtube
Company Information
About Us
Brand Line Card
System Integrator Program
International Sales
Panel Builder Program
Site Help
Company Reviews
Download Price List
Contact Us
Contact Options
1-800-633-0405
Monday - Friday
9 a.m. - 6 p.m. ET
excluding holidays
Career Opportunities
Voted #1 mid-sized employer in Atlanta
We're a great place to work!
Check out our job openings

Need Training?
Affordable Training by Interconnecting Automation
Free Online PLC Training
FREE Video Tutorials
Information & News
What's New / In The News
FREE e-Newsletter
Automation Notebook
Product Literature
White Papers
News, Product and Training Bulletins
E-Books
Shop with confidence
Checked   Safe & Secure
payment methods


We accept VISA, MasterCard, Discover, American Express, PayPal or company purchase orders.
AutomationDirect

BBB Accredited

Voted #1 mid-sized employer in Atlanta
Check out our job openings

Copyright © 1999-2025 AutomationDirect.  ALL RIGHTS RESERVED.
Site Map     Send Us your Feedback     Unsubscribe     Email Preferences     Legal & Business Policies     YouTube Terms of Service
Clear login credentials



Back to Top


spinner Updating...
Info
„