Using WW to send print file to label printer

ChrisP

Member
Join Date
Jul 2010
Location
Richardson, TX
Posts
11
We've got a site that want to have us set up several buttons on a screen in Wonderware 9.5. The buttons would send a different print command to the label printer on the production line based on what product is being produced. The printer is networked and not directly connected to a WW station. We basically need to send an ASCII code to the printer so it will produce the right barcode. Would someone clue me in the best way to make this happen? I am guessing to that we would use an action script that would send the ascii file to the printer, but I don't know how to do that with their scripts.
Any help would be greatly appreciated. Thanks.
 
I don't know that I have an answer for you, but I'll be watching for other responses.

I believe that to start, you need to create an Access Name in WW. The problem is that to create the access name, you will need an IOServer (driver) application that does the communication. ie to talk to an AB PLC, you need to use ABTCP as the application. Essentially, ABTCP does all the work. I think you need to find or create such a driver for your application. There are some programs out there to help you do this (KEPware???), but I don't think they are free. The labeller mfg may have something for you to use. I'm sure others will chime in with more educated explanations.

I had two similar projects - one with an inkjet barcode printer and one with a zebra label printer.

For the barcode printer, I wired the printer to my PLC serial port and used the PLC to send the commands. I took awhile to get it working right, but in the end, it didn't take much code.

For the zebra label printer, I needed to send a text file as a long string to the printer. I got some help writing a VB app that sent the test string to the printer. In a WonderWare action script, I just called the VB executable with some input parameters.

Don't know if any of that helps. Good luck.
 
Done this a few times and it's pretty straight forward.

I have always ended up using Omniserver (from Software Toolbox) as the server/driver for communicating to serial/ethernet devices that are not covered by Wonderwares' own server range.

I did try Wonderwares' own RPM (Rapid Protocol Modeller) a few years back but IIRC it had issues with buffering messages and I ended up doing the job with Omniserver.
 

Similar Topics

I am trying to use my Beckhoff PLC to send emails. I am using a Gmail account that I just created. Apparently Google has removed “Less Secured...
Replies
2
Views
1,131
I am working on a project, inside an AB CLX, I implemented the Modbus TCP Client AOI published on AB website, to interreact with a Modbus ASCII...
Replies
7
Views
3,555
Hi guys, I'm moving on in my training and my next goal is to learn how to make my hmi and plc communicate. I have an idea of how it should be set...
Replies
3
Views
1,755
I really need any tutorial about mail send function, please..
Replies
3
Views
1,831
is there any way in factorytalk ME to send a signal to the plc with a "goto" button or to link a "goto" and a push button to act at the same time...
Replies
2
Views
1,535
Back
Top Bottom