Machine end of cycle signal to trigger PC for label printing

tlindsey

Member
Join Date
Aug 2011
Location
Michigan
Posts
12
Machine PLC is Allen Bradley using RS5000. I need to use an output for machine end of cycle to trigger a PC, (desktop), that is used for label printing. How can this be done?
 
How would you trigger a label print manually ?

Does the label printer program run as a service in the background, or does it run as an ordinary application ?

Does the label printer program use OLE Automation or ActiveX or any similar integration with other software ?

Do you need to just trigger the label, or do you need to select or provide the label data from the PLC ?
 
How would you trigger a label print manually ?
Answer: Push F1 key on desktop computer

Does the label printer program run as a service in the background, or does it run as an ordinary application ?
Answer:

Does the label printer program use OLE Automation or ActiveX or any similar integration with other software ?
Answer:

Do you need to just trigger the label, or do you need to select or provide the label data from the PLC ?
Answer: Just need to trigger the label.

Still trying to get answers to these questions.
 
This might not be the most elegant solution, but it is one I've used:

Connect a null-modem cable from the PLC to a serial port on the computer, and enable the Windows "SerialKeys" feature.

SerialKeys is a Windows utility that allows specific formatted strings coming in the serial port to be treated like keystrokes and mouse actions. It was developed for disabled access tools like joysticks and sip-and-puff interfaces.

I've used this to allow the PLC to trigger Wireshark network analysis software; it worked very well. I documented it over on MrPLC:

http://forums.mrplc.com/index.php?app=downloads&showfile=850
 
More Info:

1. We would probably use something a little more robust to monitor the serial port.
2. It will run as a windows program not as a service. The serial port should receive at minimum a text string, i.e. “PrintLabel”.
3. A better solution would be to have the system send, “Print,(qty)”.
4. This would be better because we will have partial containers.
 
Do you have to use the PC for the label printing? I use a zebra printer for labels and I push the information I need from the PLC itself. Where we have a lotnumber or something, That comes from the SCADA pushing it into a holding register on the PLC.
 

Similar Topics

Hi All, I was assigned a project to help to reduce cup scrap during a clean out process. The cups travel on four conveyors prior entering robot...
Replies
21
Views
5,224
Hi, I am using RX3i PAC System on proficy machine edition with 7 slot rack. The Problem is that the software doesn't allow to extend the rack or...
Replies
11
Views
5,026
I am working on a dual spindle winder controlled with a 1756-L71 PLC communicating to four Parker/SSD AC890 drives over Ethernet/IP. The drive...
Replies
2
Views
1,772
Hello, I have a SFC that was forced into a dead end. My problem is I don't know how to force it back up to the top of that branch. The SFC is 4...
Replies
1
Views
3,070
Hello Everybody Anybody knows where I can get this version of SoMachine? The new machine expert version won't open my project saying there is a...
Replies
0
Views
52
Back
Top Bottom