GlenGineer
Member
I have two PLCs both SLC5/4 that communicate with each other every once in a while. They share status information and part location information. 95% of the time this occurs without a hitch. The final 5% of the time one PLC or the other "forgets" to communicate. I suspect I know what is happening but the answer requires knowledge of how the MSG command functionally works. Googling MSG and SLC 500 (and similar searches) reveals very little about how to use the command. In a publication for the SLC 5/5 they state that to activate the command the rung needs to transition between true and false. In that example the MSG instruction does not have any arguments. The false true shift is done on the next line by unlatching the enable bit.
My question is once you have the false - true transition and the instruction is enabled does the communication continue if the arguments turn false?
My suspicion is that the second you loose the true argument you also loose the enable bit no matter what step the message command is on. The original programmer initiated the MSG instruction with a bit powered by a OSR. I suspect that if more then one message is incoming or outgoing at the same time it might take multiple scans to successfully communicate (and by that time the arguments are already false)
My question is once you have the false - true transition and the instruction is enabled does the communication continue if the arguments turn false?
My suspicion is that the second you loose the true argument you also loose the enable bit no matter what step the message command is on. The original programmer initiated the MSG instruction with a bit powered by a OSR. I suspect that if more then one message is incoming or outgoing at the same time it might take multiple scans to successfully communicate (and by that time the arguments are already false)