AB PLC5 to SLC MSG Issue

Join Date
Jun 2007
Location
Oxford, UK
Posts
163
Hi,

We have recently been putting in an economy mode onto our equipment and this has involved a lot of cross messaging between our PLCs. Specifically from PLC5s to SLC500. We have had no real issues up to this point but yesterday we had one that seemed very very strange.

The message block was setup to be sent when a NEQ function was true. The message block was enabling, sending and returning the done bit. All looked well. We went to the destination PLC and looked in the register where we were expecting the data and found no data was present. After 30 minutes of tearing our hair out we found that the message was actually arriving at the destination but instead of being in the 50th word of the register where we were requesting it be sent it was appearing in the 1st word. Luckily this word was not used or we could have had some serious bells ringing.
Even when we changed register completely to an unused spare the data was still sent to word 0 of the original register.
Effectively we were triggering the message for one scan only, having looked into this further it seems that 'power' should be held onto the message block until sending is complete (and how we have got working now) but why does it send to that particular register and not return an error of some sort? This seems very dangerous and potentially lethal.
The setup is in the attached photos as well as the rung controlling it.
We are communicating over ethernet.
To throw something else in the mix, we have another message setup in exactly the same configuration talking to a different SLC500 that works just fine in this setup (we have however changed it to hold on until the message is done as per the other one)

Would the fact that the message is only active for a single scan affect this?

Is it the setup of the message block?

What the hell is going on????

Sorry for the war and peace description, trying to get every piece of information we have to you guys.

msg.JPG msg2.jpg
 
I have never heard of a MSG instruction sending data someplace that it had not been instructed to send it.

Check to be absolutely certain that you aren't using the same Message Control block in more than one MSG instruction.

MSG instructions execute on a false-to-true transition. You can "one-shot" them or transition them from false-to-true, but you do not have to maintain the true condition until the message is complete.

I would get Rockwell Automation's input on this; you are making a very serious claim about the function of the Message instruction. It should be easy to trap the message and analyze the data payload.
 
We have checked and double checked the message control, we also checked that we werent using consecutive message control block as this causes an issue also.

We have our rockwell rep on the way over to us tomorrow to have a look at it. Hopefully he can shed some light...

Cheers for the advice.
 
Can you post the program? That will help alot.

I remember that I have to have a free space between MSG control blocks.
example

MG 20:0~20:1 are used in one block. But RS5 didn't show that it was used that way.

Make sure don't use back to back addresses.
 
Last edited:

Similar Topics

I programmed a couple of MSG instruction for a PLC5/80E to write and read data to a SLC 5/05 thru an Ethernet network on non-continuous mode. It...
Replies
1
Views
2,493
I have a PLC5/08 hanging off a DH+ network which also has DHRIO/ENBT gateway on it. I want to add a Micrologix or SLC5/05 on the same ethernet...
Replies
1
Views
1,758
Adding some SLC cards by extending the backplane. It's controlled by a PLC 5 by Data Highway. I see the both input cards and use the logic, but...
Replies
1
Views
1,405
Looking for some helpful advice. We have a customer who is looking to change out his system with something a bit more modern, but using stock he...
Replies
15
Views
5,000
My goal is to get an analog signal from a SLC-500 remote rack back to a PLC-5 main rack. Is this possible? If so, I may need some help. I've set...
Replies
4
Views
1,768
Back
Top Bottom