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,786
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,645
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,524
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
724
I thought I was nearly finished on this TIA Portal/s7-1212C project (famous last words)... Up until now, I'd developed the PLC/HMI such that the...
Replies
10
Views
1,542
Back
Top Bottom