Plc 5

I know in contrologix there was a connection limit for every processor.
Ethernet connection MSG was 1 connection.
HMI server sometimes have multiply connection per plc.
Total connections are in a manual.
I even think there is a limit in a SLC500 plc

If you look in the PLC5 instruction pdf I think it gives how much memory a MSG instruction takes plus the data table that your sending.

But PLC-5 I do not see it. I think your limited by if your msg works all the time without locking the processor up. So its a put it in and see if it works. Just remember PLC5 is not a fast processor, scan time 20-40msec usually is the fastest i have seen. Then if your doing Ethernet its better to use an enhanced PLC5. Not sure about the non enhanced PLC5.
 
Do you know off hand how much memory does one message take?

It varies depending on what CPU you are using and if your messages are going over Ethernet (more memory) or another network type. The MSG uses Program memory for storing the instruction and Data memory for storing the configuration of the message.

Worst case scenario is using an MG data type over Ethernet. Each MG data block consumes 56 words of data table memory. Ethernet requires two of these MG blocks for each message. So, 112 words of data table memory would be used for each message. Then you still must program the logic. It looks like the MSG instruction requires 7 words of Program memory. That is what I am observing.

So, if I had 100 messages, we would be looking at 11.2k of memory for the configuration data. If I had a PLC-5/40 controller, it has a total of 48k memory for both data and logic.

If you are not using Ethernet, cut that number in half.

OG
 
I know in contrologix there was a connection limit for every processor.
Ethernet connection MSG was 1 connection.
HMI server sometimes have multiply connection per plc.
Total connections are in a manual.

"Connections" as we know them in the Logix 5000 don't tend to be the issue with the PLC-5. Usually, it is the message buffers that might be an issue. Sort of a similar concept though.

The PLC-5 has message buffers for each channel where it will queue up messages while they wait to be sent. Issues can arise when you are trying to send more data faster than the network can handle. As a result, the messages buffers can fill up.

The size of those buffers varies by connection type. The DH+ buffers I believe can hold thirty messages for each channel. Not sure exactly what Ethernet supports. I recall it being sixty-four.

Ideally if I had a bunch of messages, I would try to stage them in a sequence so they aren't all trying to send at the same time.

OG
 
That is typically what i see in PLC5 programs. Don't overwhelm the PLC is the rule.

Just used Rockwell's recommended message staging procedure on a ControlLogix handling a large amount of data literally earlier this morning, replaced an uncontrolled/rapid-fire messaging and it worked great. Processor used to get overloaded very easily and freeze requiring someone to pull the processor and reseat it, now it's communicating just as fast but with only one connection at a time.

I actually adapted the message control program from a PLC-5/RSLogix5 template sent to me by my local Rockwell representative into a Logix5000 equivalent.
 
Last edited:
For anyone interested, I've attached a zip file of Rockwell's recommended message control method, there's a KB TechNote PDF as well as a PLC5 and a Logix5000 program.
 

Similar Topics

Hello, I'm trying to delve a little into rs-485 communications for a couple projects of mine. Until now I've been using a delta vfd and a delta...
Replies
2
Views
29
Greetings All, I recently decided to start freelancing in Controls and Automation part time, most of my experience has been with Rockwell...
Replies
2
Views
75
I am having a problem communicating my PLC with Drive via Modbus connection. I start by opening the port and there is no problem, but then when I...
Replies
5
Views
47
I have worked on small projects using AB Micrologix but now we want to take a photo, process it online, and sort based on returned variables...
Replies
1
Views
86
Hi, I have a 1500 that controls a station with diferents warehouses, but i also have a 1200 that controls one of those warehouses, i have been...
Replies
9
Views
209
Back
Top Bottom