![]() ![]() ![]() ![]() ![]() ![]() |
||
![]() |
||
![]() ![]() ![]() ![]() This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
![]() |
![]() |
#1 |
Member
![]() ![]() Join Date: Jan 2022
Location: Taylor
Posts: 5
|
Plc 5
How many control blocks / messages can you have on one processor for plc 5?
|
![]() |
![]() |
#2 |
Member
|
Memory is the only limit.
OG
__________________
I despise when people take random quotes and ascribe them to me - Julius Caesar |
![]() |
![]() |
#3 |
Member
![]() ![]() Join Date: Jan 2022
Location: Taylor
Posts: 5
|
Do you know off hand how much memory does one message take?
|
![]() |
![]() |
#4 |
Member
![]() ![]() Join Date: Dec 2019
Location: Cincinnati OH
Posts: 321
|
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. |
![]() |
![]() |
#5 |
Member
|
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 despise when people take random quotes and ascribe them to me - Julius Caesar |
![]() |
![]() |
#6 | |
Member
|
Quote:
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
__________________
I despise when people take random quotes and ascribe them to me - Julius Caesar |
|
![]() |
![]() |
#7 |
Member
![]() ![]() Join Date: Dec 2019
Location: Cincinnati OH
Posts: 321
|
|
![]() |
![]() |
#8 | |
Supporting Member
|
Quote:
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 by mylespetro; January 14th, 2022 at 12:34 PM. |
|
![]() |
![]() |
#9 |
Supporting Member
|
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.
|
![]() |
![]() |
Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mitsubishi PLC died. Twice. | JRoss | LIVE PLC Questions And Answers | 13 | October 16th, 2019 05:45 PM |
More questions about RSemulator, PLC network, and career path... | timcph2008 | LIVE PLC Questions And Answers | 0 | March 8th, 2018 12:04 PM |
PLC Update - Back Issues Collection Now Available! | Phil Melore | LIVE PLC Questions And Answers | 11 | October 22nd, 2015 03:17 AM |
Siemens PLC won't auto-run after power-up | Lamboom | LIVE PLC Questions And Answers | 5 | August 19th, 2014 05:32 PM |
PC to PLC Protocol | TheRixta | LIVE PLC Questions And Answers | 13 | December 17th, 2008 01:56 PM |