Camber
  •  Camber
  • 54.99002% (Neutral)
  • Newbie Topic Starter
2020-04-29T03:02:28Z
I have a standard pistol-type bar code reader, and I need to send the scanned bar code into an available touchscreen or PLC to compare the bar code read string for setting up the machine. Is this possible? I know the bar code I have will work with a PC; I can scan a bar code and the string shows up in a spreadsheet or word processor; but I don't know how to use it with a PLC or touchscreen. Any ideas?
Guest
2020-04-29T03:03:05Z
What kind of PLC and touch screen are you using? I have done this with an AB SLC via the comm port and device net (uggg). You can manipulate the string (and will probably have to) once it is in the PLC. If you have a simple fill in the blank situation, you may want to just bring it into the touchscreen and have it fill out a section of the form. I generally prefer the PLC for most applications because it gives me more control over all my data.
host
  •  host
  • 60.57884% (Friendly)
  • Administration
2020-04-29T03:03:55Z
I'm using a A/B SLC 5/03 PLC and an Automation Direct 'DirectTouch' 6" mono touchscreen; not shure of the model # on it, but I'm pretty shure I can't bring a bar code into it.
Zackbo
2020-04-29T03:04:37Z
The easiest solution I can think of is to replace the DirectTouch screen with a Red Lion G3. You have 3 available com ports to bring in bar code readers and talk to the PLC. The bad side is you would have to re-write the touchscreen program.

The 5/03 has a D-sub 9-pin serial port. If you are not using it to communicate with the touchscreen, you could use that port on the PLC to bring in the bar code. There are some ASCII conversion instructions in Logix500. The only catch is you will have to change the default com port settings in the PLC to the bar codes' settings, which is probably 9600 baud, no stop-bits, 1 parity bit, and you will have to change the default protocol from DF1 to ASCII. Once you do this you won't be able to communicate through the port again with RSLinx. You would have to go through the DH485 port with a PIC module.



One other option is to get a SLC500 co-processor module. I think the part # is 1746-BAS. They are very pricey though.
Similar Topics
Users browsing this topic
RSLogix500 Introduction
RSLogix500 Inserting Instructions
RSLogix500 Opening a File
RSLogix500 Creating a Project
RSLogix500 Instruction Comments
RSLogix500 Rung Comments Page Titles
RSLogix500 Inserting Branches
RSLogix500 Program Organization, Part 1 - Overview
RSLogix500 Program Organization, Part 2 - Examples
RSLogix500 Using Symbols
RSLogix500 View Properties
RSLinx
RSLogix500 Online Offline
RSLogix500 Dowloading and Uploading
RSLogix500 Processor Modes
RSLogix500 Processor and Cards
RSLogix500 Introduction to Faults
RSLogix500 Indirect Addressing
RSLogix500 Indirect Addressing Faults
RSLogix500 Handling Faults
RSLogix500 Forcing I/O
RSLogix500  Custom Data Monitor
RSLogix500 I/O Configuration
RSLogix500 Advanced Diagnostics
RSLogix500 Instructions OTL OTU, Part 1
RSLogix500 Instructions OTL OTU, Part 2
RSLogix500 Instructions OTL OTU, Part 3
RSLogix500 Instructions, OTE
RSLogix500 Instructions, XIC XIO
RSLogix500 Instructions, ADD
RSLogix500 Instructions, COP
RSLogix500 Instructions, CPT - Part 2
RSLogix500 Instructions, CTU CTD - Part 1
RSLogix500 Instructions, CTU CTD - Part 2
RSLogix500 Instructions, CTU CTD - Part 3
RSLogix500 Instructions, CPT - Part 1
RSLogix500 - Comparison - Part1
RSLogix500 - Comparison - Part 2
RSLogix500 Instructions, DIV
RSLogix500 - FIFO - FFL and FFU - Part 1
RSLogix500 - FIFO - FFL and FFU - Part 2
RSLogix500 Instructions, FLL
RSLogix500 Instructions, JMP and LBL
RSLogix500 Instructions, Masking and MEQ
RSLogix500 Instructions, MUL
RSLogix500 Instructions, MOV
RSLogix500 Instructions, LIM
RSLogix500 Instructions, NEG
RSLogix500 Instructions, OSR
RSLogix500 Instructions, RTO
RSLogix500 Instructions, SQO sequencer - Part 1 of 3
RSLogix500 Instructions, SQO sequencer - Part 2 of 3
RSLogix500 Instructions, SQO sequencer - Part 3 of 3
RSLogix500 Instructions, SUB
RSLogix500 Instructions, TOF
RSLogix500 Instructions, JSR and RET
RSLogix500 Shift registers
RSLogix500 Instructions, SQR
RSLogix500 Instructions, TON - Part 1
RSLogix500 Instructions, TON - Part 2
RSLogix500 Instructions, TON - Part 3
Introduction to Ladder Logic