Mark Buskell
Member
I have a message block writes from a PLC5/30 to a 504.
1 of the message bits is for turning on some valves and the other for stopping a pump. Every once in a while, may be hours or days, the pump stop bit will fail to turn off the pump. The bits get sent over at the same time. There are other bits involved (starting pumps) but no problem with them. The valves always change like they should so you would think the pump would stop since it is getting set at the same time.
There are other bits controlling other valves in my message block also but never any problems with them either.
What I do in my logic is set a latch for my pump stop and only unlatch it when I get a pump not running bit back from the 504 (Message write from the 504 to the 5).
I have checked everything that I could to find the problem (Message Faults, overwriting of data, indirect addressing problems, etc.)
If the pump does fail to stop, there is a button there that the operator will push to manually stop the pump.
Well I came up with what I call my ***** slap logic (BSL).
I start a timer with my latch and if I don't get a pump stop signal back from the 504 within 5 seconds I send over another bit to stop the pump. So far it seems to be working. I also have a counter to check how many times my BSL logic has been triggered. Since I have put in my BSL the pump has yet failed to stop, maybe she knows I am now watching.
It's one of those things that should always work and I will eventually find the problem but for now is a mystery.
1 of the message bits is for turning on some valves and the other for stopping a pump. Every once in a while, may be hours or days, the pump stop bit will fail to turn off the pump. The bits get sent over at the same time. There are other bits involved (starting pumps) but no problem with them. The valves always change like they should so you would think the pump would stop since it is getting set at the same time.
There are other bits controlling other valves in my message block also but never any problems with them either.
What I do in my logic is set a latch for my pump stop and only unlatch it when I get a pump not running bit back from the 504 (Message write from the 504 to the 5).
I have checked everything that I could to find the problem (Message Faults, overwriting of data, indirect addressing problems, etc.)
If the pump does fail to stop, there is a button there that the operator will push to manually stop the pump.
Well I came up with what I call my ***** slap logic (BSL).
I start a timer with my latch and if I don't get a pump stop signal back from the 504 within 5 seconds I send over another bit to stop the pump. So far it seems to be working. I also have a counter to check how many times my BSL logic has been triggered. Since I have put in my BSL the pump has yet failed to stop, maybe she knows I am now watching.
It's one of those things that should always work and I will eventually find the problem but for now is a mystery.