barcode printing through plc

yadnyeshk

Member
Join Date
Mar 2017
Location
pune
Posts
1
Hi Friends,
I want to connect bar code printer to PLC via HMI (USB)& print bar code.What is reqd to do this as far as PLC Program is concerned.
please suggest
Regards,
Yadnyesh
 
depends on your PLC and HMI, I'd imagine. Many HMI's that I've used wouldn't support printing just a tag.
 
From a PLC, sending data out a serial port to a printer isn't too bad. There are usually send/recv commands for that purpose. The trick is formatting everything how the printer wants; some printers are more complicated than others. I don't know any PLCs where you can control the USB port directly, usually its for programming only, or for the windows half of pcbased system.

From an HMI, it's often not just a simple included function. I've seen serial communication done where they wrote a vbscript that opened the serial port like a file and wrote to it directly. You might be able to do the same to the USB port?
 

Similar Topics

Hi guys, I am facing a problem on barcode printing mistake. There is one conveyor,two product is going to robot to pick up.my questions...
Replies
27
Views
4,794
Hi, I have an AB Micrologix 1200 connected with a Zebre TLP2844. Please I need help at printing barcode labels from a Micrologix 1200. I need...
Replies
8
Views
6,648
Hello, I am using a Micrologix 1500 to print a barcode only containing numbers(Date and part #). This is the first time I have done this so bare...
Replies
6
Views
2,531
Hello, I am trying to read a barcode scanner input using a cognex dataman 280 barcode reader, store it another string, the compare with another...
Replies
1
Views
58
Hi to everybody. I need to read the first 12 characters of the message that a barcode reader sends to the ascii card (1734-rs232 ascii) and I...
Replies
8
Views
735
Back
Top Bottom