Rslogix500 message read/write

ndmartz

Member
Join Date
Jul 2006
Location
california
Posts
7
Can someone help me understand the Read and Write MSG instruction on the RSLogix500. I have found on many of our plant programs that they all have basically either Read or Write to get the information from a PLC. What is the difference, is it better to write to a PLC or to read from a PLC. I know they both accomplish the same thing but as far as reliability and efficiency which one is better.
by the way this is assuming I am communicating with another SLC500
Thank you for your help
Andy
 
It is always better to read. You should avoid writing data to another PLC.

There's no difference in reliability or efficiency. The main difference is knowing at the local PLC where all your data is coming from.
 
It is more efficient to READ than to WRITE. When a write is executed, the receiving PLC must acknowledge receipt of the MSG. When a read is executed, no other exchange of data (between the two PLC's) is required.

The problem arises when you want to update the distant PLC when changes take place in the source PLC. In order to do that in a timely manner with reads, you must read almost continuously. With a write, you can condition the write to execute only when the condition of interest actually changes. Some refer to this write technique as "report by exception". I do it when there is a noteworthy change at one of my field sites; report the change to the master.

In an ethernet environment where bandwidth is not an issue, it makes little difference whether you read or write. But in a radio environment, it can make a significant difference, especially with thirty or forty stations "on the air".

Best practice is to read whenever a read is adequate (if you intend to exchange info between PLC's every five seconds, for example,) you benefit from using the read type message. If you used a write message in that scenario, you increase the amount of data on the network (because the receiving PLC must acknowledge every message) with no gain.

Message instructions are also "non-deterministic" which, in general, means you have no guarantee that the data will get to it's destination immediately. The MSG can error, and require re-transmission. So, one must be aware of that and condition the MSG rung to retry in event of failure. Not a good situation if five thousand cans of beans will be trashed because a message instruction failed. ;-)

Bill
 
More MSG questions

This is related, so from what has been said here if I had a SLC 5/05 with a READ instruction that was getting info from a micrologix 1200 all I would have to do is match the N register in the 1200 with the one I'm requesting. Same in reverse for the Write instruction (I would like to keep the instructions in the SLC for simple trouble shooting only have to write to 16 outputs so shouldn't be that much traffic

thanks in advance

Rock
 
Last edited:

Similar Topics

Writing a lights control for a church, and just started receiving the error pictured when I do a Verify Project. I can Verify File for each of the...
Replies
3
Views
1,522
Have anyone seen this ? After updating RSLogix500 to v7.10.00 I get an obnoxious installation message evertime I start it up. As if the...
Replies
15
Views
4,857
So basically i have 2 queries : 1. I have a program file of S7-300 PLC which i want to migrate in RSLogix500.In short i want to convert my simatic...
Replies
15
Views
283
So here's my situation, I have been tasked with modifying the logic to mimic a button press in the PLC. I have two identical machines however one...
Replies
6
Views
556
Hello, I'm new to programming. I'm using RSLogix500 to modify an existing program for a SLC500. My plan was to use one of the existing inputs...
Replies
26
Views
2,028
Back
Top Bottom