RSLogix MSG

rayflores

Member
Join Date
Sep 2004
Location
Texas
Posts
6
Good afternoon all,
I'm not all that familiar with the Allen Bradley logic. I have two PLC's that are networked together via DH+.
The Master PLC has two MSG statements (two rungs) of the type "Peer-to-Peer".
One is Write and the next one is Read.
The Write Target is 500CPU, Local, Control Block is N9:0 and the length is 14.
The Read Target is 500CPU, Local, Control Block is N9:15 and the length is 14.
They are both executed by one timer on two separate rungs.
The Write is Timer N.O. and the Read is Timer N.C.

My question is, what is N9 and what is the length of 14?

The slave does not have any references to N9:0 or N9:15.
I can paste screen images into an email if needed.

I appreciate any help I can get.
Regards
Ray
 
The MSG instruction in an SLC-500 controller needs a "Control Block" for each MSG instruction. For messages on DF1 and DH-485 networks, this block is 14 words long, and for messages on Ethernet it's 51 words long.

The Control Block holds the status of the MSG instruction, as well as the rest of the stuff you configure inside the MSG instruction configuration window; source and destination data tables, node numbers, etc.

Make sure your MSG instruction control blocks don't overlap; the ones you mentioned do not.

The control block has no relation to the target controller's data table.
 
Thank you! From what I see in the program, individual bits are turning on individual bits in N7:10, N7:11 and N7:12. Those are then being read in the same N channels in the slave PLC where they perform output functions in the slave. The slave has a couple of MOV statements moving input channesl 1 and 2 to N7:15 and N7:16, respectively.
Since the setup in the master PLC for the MSG has 3 for the "Size in Elements", am I correct in assuming that the slave PLC can read N7:10 thru N7:12? (which have been addressed in the Master PLC)
Regards
Ray Flores
 

Similar Topics

I'm trying get information from another same PLC PLC1: CompactLogix 1769-L16ER-BB1B (192.168.0.133) PLC1: CompactLogix 1769-L16ER-BB1B...
Replies
17
Views
1,585
I'm getting an Error code on my MSG instruction that I can't clear. The Error Code Number is d0. Description "No IP configured for the Network"...
Replies
0
Views
865
Hello everyone, it is the first time that I need to exchange messages between 2 PLCs, a L16ER-BB1B and an L61. The first has 192.168.1.1 as its...
Replies
15
Views
4,457
Hello, I was curious if any one could shed some light on setting up a MSG statement between two PLC's on different networks. I'm trying to read...
Replies
1
Views
1,329
If you click help and then click Vendor Sample Projects while in RSLogix 5000, a PDF will pop up with some neat examples. One example shows how to...
Replies
5
Views
3,854
Back
Top Bottom