Greetings tgaljar,
My first message instruction has control block N9:0 to N9:14.
more likely this should be N9:0 through (and including) N9:13 ...
To stop pump I am using another message instruction on master PLC with control block N9:15 to N9:25
more likely this should be N9:14 through (and including) N9:27 ...
the point of bringing this discrepancy up is that you must be very careful with how you assign these addresses ... if you try to overlap the control blocks, the software will NOT warn you that you’re about to make a mistake ... things will become very confusing ... the assignments that you've mentioned do not overlap ... but if you keep using the same pattern, the next assignment probably would ...
if you don’t already know about the “Usage” feature, then this trick might help by showing which addresses have been used - and which ones are still available ...
the 14 addresses marked with X’s have already been assigned to the first MSG instruction ... leave these alone ... the next available “free” location is N9:14 ...
going further ... most programmers would not use two separate MSG instructions to control each pump ... a much more common approach would be the following arrangement:
suppose that N7:151 is the “transfer” word ...
to turn the pump ON, the program would MOV a 1 (or some such “code”) into N7:151 - and then trigger the MSG to write the word to the remote controller ...
to turn the pump OFF, the program would MOV a 0 (or some such “code”) into N7:151 - and then trigger the MSG to write the word to the remote controller ...
the remote controller would be programmed to properly interpret the various “codes” and turn the pump either ON or OFF as appropriate ...
basic idea: this way you have only one “mailman” (MSG) instruction ... he carries a “letter” (N7:151 = 1) which says “turn-the-pump-on” ... or he carries a “letter” (N7:151 = 0) which says “turn-the-pump-off” ... specifically, most programmers would not use two separate “mailmen” (MSG) instructions for this particular job ...
going further ... if your system becomes more complicated in the future, this approach will also allow you to send many additional commands (besides just ON and OFF) to the remote controller without having to add another memory-consuming MSG instruction for each and every type of command ... just use a different “bit-pattern-code” for each type of command ... the same “mailman” carries different contents in the “letters” ...
finally, if none of this makes sense to your problem, then I might have misinterpreted what you have been posting ... if so, I apologize ... I hope this helps ... good luck with your project ...