Compactlogix Msg instruction; how frequently to trigger?

DairyBoy

Member
Join Date
Jun 2007
Location
UK
Posts
393
In the few examples that I have seen on AB's website, the MSG instruction is triggered continuously; as soon as it's done, it is re-triggered. It strikes me that this method would keep the network very busy. I trigger mine once or twice a second to avoid this. Am I worrying about nothing?
 
I'm with you, I don't like to spam the network if I don't need super fast communications. Also, doing it continuously is inconsistent vs. using a set time delay (I generally use 250ms). So what works now may not work later due to future traffic issues. I like knowing it will work with a conservative delay between messages.
 
Depends entirely on the information that's being messaged...

If you're communicating how many parts the line has run, you can send the message once per second or so. If you're communicating an encoder position for something motion specific, you might need to send the message continuously (or more likely, through produced/consumed tags). If you're communicating a FIFO list to keep track of users who have logged into a protected area on the HMI, you could message it once per minute.

There's flexibility here for a reason, and it's your job as the programmer to determine how much of a delay between the messages being sent is the longest amount of delay possible that will still accomplish your goal.
 

Similar Topics

I am having trouble getting a MSG instruction to work. My PLC is a 1769-L24ER. The other PLC is a 1768-L43 with a 1768-EWEB/A comms module. I...
Replies
0
Views
2,184
I have an issue with the communication trough the MSG instruction, I want to send information to a printer from a 1769-L35E, I have configured the...
Replies
17
Views
16,044
I've got an AB Compact Logix L32E processor. I'd like it to talk to a Zumbach 8100 Capactitance Gauge using Ethernet. Unfortunately the Zumbach...
Replies
4
Views
3,477
Does anyone know if is possible to read data out of a ProfaceHMI/PLC into a CompactLogix PLC? I have a bunch of OEM machines on our plant floor...
Replies
2
Views
484
Hey Guys Having some trouble again with message path, I thought I had these figured out but I've not been able to get this one working. I...
Replies
4
Views
567
Back
Top Bottom