Another SLC MSG problem

Russff

Member
Join Date
Mar 2006
Location
PA
Posts
21
I have some SLC 5/03's and micrologix's on a DH485 network. One of the 5/03 is the 'master', it initiates most of the communications, using MSG reads and writes to the other nodes. Three questions:

1. The 5/03 has four MSG buffers, so it can handle four active MSG instructions at a time. If I use a sequencer or timer or use the DN and ER bits to enable only one MSG at a time, isn't performance taking a hit because I have only one MSG active at a time (wouldn't I get faster throughput with four active at a time)? I'm not concerned with scan time.

2. One node is down because of hardware problems. I use the DN and ER bits to toggle between the read and write MSG commands to this node. However, the EN, ER, and TO bits are all set for both the read and write commands, and since the DN and ER bits are used to toggle the MSG command, both are enabled at the same time. It seems the false to true transition of the MSG command is not resetting the ER bit, otherwise I should be seeing the bits toggle between each MSG command as each becomes active and then fails on timeout. I also ran into this when the entire network went down because of a cable break. When reconnected, the S:9 bits all turned on when the nodes became active again, but the MSG commands were all frozen and would not restart. I had to force the EN bits off to get things going again. Aside from the question 'why did they all freeze?', is there a way to condition the MSG commands to avoid this happening again? As I said, I condition them all with the DN and ER bits, so the read and writes should alternate.

3. Regarding the S:33/7 bit, the RSLogix help files and the online documentation contradict each other, one says that all MSG commands are processed when the bit is off and the other says that all MSG commands are processed when the bit is on. Which is it?
 
Last edited:
Do you use the active node bit S:9/0 to S:10/15 (one bit per node) as condition of your message instructions? When the node is active, the bit will be true.
I always put this as the first condition in the ladder, that way if the target node is not active, the msg instruction will not be processed.
 
No, I don't use the S:9 bits. I figure if the node is not active, the MSG will just time out (I know this isn't the most efficient way), but the commands should continue toggling back and forth (read/write) until comm. resumes. If I use the S:9 bit, then I would need logic to retrigger one of the MSG commands to get the process going again, since both the DN and ER bits SHOULD be off for both MSG commands if conditioned with S:9.
 
This is from a PLC-5 but the concept is the same, you use the enable bit also:

msg_ex.jp2.jpg
 

Similar Topics

I'm not having any luck getting on line to a SLC 5/05 using an Ethernet cable. First of all, the PLC is not connected to our network. I'm using...
Replies
6
Views
1,951
hi all, can anybody tell me how AB's (slc 5/05) p, i and d-s are set (i've searched ab.com without any luck) p is in gain, but there is a .1 and...
Replies
9
Views
6,418
Hi, The hardware is: Click Plc model # CO-O1DD1-O HMI model # S3ML-R magnetic-inductive flow meter model # FMM100-1001. I will set the flow meter...
Replies
4
Views
114
So I had an odd request from a customer for the above. I have written the logic and tested it all in one PLC with only using 7 outputs and 7...
Replies
15
Views
421
Hello I need to message read the entire 16 channel raw analog inputs from a 1769-L33ER Compact Logic controller to another 1769-L33ER Compact...
Replies
8
Views
239
Back
Top Bottom