Produce&consume tags or using MSG instruction

ziyaddin2015

Lifetime Supporting Member
Join Date
Nov 2019
Location
USA
Posts
84
Hi all,
We have a packaging machine in our plant that has a cartoner and the casepcker. If caspacker goes down for 5-10minutes this shuts of cartoner as well which then requires operator intervention. What i would like to do is keep it somehow in standy or pause mode and restart whenever case packers resume production. Is this can be fixed with consume &produce tags or msg instruction between two controllers? What would be the best solution? Thank you
 
The Produced/Consumed tag requires less code to set up, but does require a stoppage of each PLC involved to download the programs to implement. It will also produce an I/O error LED on the consumer CPU when the tag it is trying to read cannot be accessed. This method also can be set up to provide the status of the Producer PLC Run Mode status although this feature may not be available with older revisions.

The MSG instruction can be implement online without halting the process. It will require more care and thought to ensure that you detect when the remote CPU is not only available but in run mode.

I like using Produced/Consumed tags because it is cleaner and I don't have to create the heartbeat check to prove the remote PLC is not faulted. If I must not stop the process or they have folks who will frown at the I/O error LED being lit, I will use the MSG method.
 
Both would work, I prefer produce/consume but this requires downloading the program, message instructions can be put in as a live edit.

I have a couple of questions though.

1.) Do these machines not already talk to each other?
2.) How does machine 1 know machine 2 is down and vise versa? idle time out?

Although I cant guarantee anything, I would presume that these being two different machines, that work together, there would be some talking back and forth already.
 
Hey Ziyaddin,

What logic causes your cartoner to go down right now? Just eliminate logic that turns this machine off, and that should solve the problem, no?

Like Gadelric said, some form of communication should already be there. My guess is the cartoner has a timer and it knows how long the casepacker has been down for. Eliminate this timer, and you should be good to go?
 
Check there isn't a simple prox that sits between the two that shuts down the cartoner if the build back passes a certain point. Simply move this sensor back so it allows more accumulation before the cartoner shuts down.
 
Yes, I blew right past the description of the problem... When I worked with this type of machinery, there was usually a photocell on a conveyor between the carton erector and the packing machine. If the cartons backed up and kept the photocell blocked for a certain number of seconds, the carton erector would pause (not shut down). Our carton erectors were simple machines with no PLCs, but even so, there should be a way through wiring or programming of the carton erector to change it so that it can pause and resume rather than stop and require a person to restart it. If you make such a change, be sure to consider all safety ramifications and ensure the changes are communicated to all affected operators ... Once modified, signage like "THIS MACHINE MAY START AUTOMATICALLY!" might be required.
 

Similar Topics

Ok I have never set up communications between two PLCs both machines are using 192.168.1.1 for the PLC. I need to setup produce consume tags...
Replies
3
Views
4,053
Hi, guys! In Logix5000, can we consume and produce the tags between two controllers which are Not in the same rack, but are both working under...
Replies
4
Views
1,491
Hi all, Hopefully this is a somewhat quick question: A few of the loops in my system have physical I/O at two different PLCs. My water filter...
Replies
3
Views
2,810
I am trying to make a Consumed tag in a CompactLogix Produced in another CLX) . The Help file says I can do it off line or online/program mode...
Replies
5
Views
4,065
I have a client who periodically experiences network communication issues. Sometimes when I VPN into the site, their SCADA systems will flash comm...
Replies
2
Views
185
Back
Top Bottom