Hi Rehu,
As previous posters have suggested, it would be helpful to understand how the PLC's are physically connected. I'm not sure what your level of knowledge is, so please forgive me if this relpy is simply too basic. Commonly, PLC's are connected by some form of data bus, of which there are many. Ethernet is becoming the most common, but there are many. All your PLC's may not even be on the same network.
For some simple applications, you might just have the inputs of one PLC detecting the state of outputs on another PLC.
As other posters have said, look in the Logix 500 code for MSG instructions. These do not work on their own, however. There is a "setup screen" associated with each one (a button on the MSG instruction itself) which defines the target device and path, where the data to be sent is in the local controller and where it is being sent to in the target controller and the protocole being used to send it. All this information is stored in Message and Routing Information Files - look in the data files listing on your logix500 project.
In the logix 5000 project, there may be no indication at all in the ladder logic: It is possible that the logix500 message instructions write data directly to an array data structure set up in your controller tags. To see if this is happening, click on the "logic" tab and then select "Map PLC/SLC messages...". This will show you the name of the tag that is the target of the logix500 MSG instruction.
There are a lot of ways communication between these PLC's could be set up, depending on the protocol being used. A lot of this is guesswork without additional information, but hopefully will give you a couple of things to check.