barcode printing through plc

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
 
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...
27
Replies
6,475
Views
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...
8
Replies
7,513
Views
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...
6
Replies
3,351
Views
Greetings all. Not having a ton of experience with Siemens PLC's, I was hoping to get some advice selecting a mid-budget (about $500), cordless 1d...
5
Replies
249
Views
We are planning to integrate a thermal-transfer barcode label printer into an automated packaging line. The PLC should trigger label printing...
2
Replies
365
Views
Top