MSG through DH+ and ControlNet

fpap

Member
Join Date
Apr 2010
Location
Puerto Madryn
Posts
32
Hello, I am trying to send a message (PLC-5 typed read) from a PLC-5 to a ControlLogix Controller. I did it successfully the first time, when I was just testing and the topology was the PLC-5 controller connected to a DHRIO module that was on the same chassis where the ControlLogix controller was connected. But now I have the real topology: PLC-5 on chassis, lets say, A; DHRIO module and ControlNet module on chassis B; ControlLogix controller and ControlNet module on chassis C. PLC-5 is connected to the DHRIO module on chassis B, and ControlNet module on chassis B is connected to the ControlNet module on chassis C. Under this configuration, I just cannot read the data.

Any suggestion? Is this topology valid?

Thank you very much!

Fernando
 
Thank you very much Ken! I was wondering if I should need to configure the DHRIO module, and now you confirmed that. I am trying to set the routing, but with no success yet...
 
I am confused... Is it required to have a DH+ node on the controller chassis? I think it is, I wish not...

Please somebody confirm or discard that.
 
You do not need the 1756-DHRIO in the same chassis as the ControlLogix CPU. The path through ControlNet to a second chassis is valid.

This is hard to describe because I haven't done it in a long time and you can't configure it (and get screenshots) without physical access to a 1756-DHRIO module, because the configuration utility only launches when it sees a real module.

Download the 1756-DHRIO User Manual, Publication 1756-UM514.

http://literature.rockwellautomation.com/idc/groups/literature/documents/um/1756-um514_-en-p.pdf

There's an example starting on page 3-11 of sending a message from one PLC-5 to another across the two channels of a 1756-DHRIO.

Your application will be similar, except instead of "Link ID 2" being the DH+ network on the second channel of the DHRIO module, it's a link that goes across the ControlNet to the ControlLogix CPU.
 
I have attached two images where it can be seen the routing table I have defined and the message configuration. I really can get why it isn't working. I have tested the other way round, from reading a value from PLC-5 to controllogix (in this case local), just to be sure cables and everything else it's ok. And indeed, I could get the value, so there must be something wrong with the routing table, or message configuration, or... I don't know...

routing_table.JPG msg_conf.JPG
 
Make sure you are not confusing the DH Address, and the Link ID, they are not necessarily the same. Wouldn't the Remote Link be Other? Take a Screen Shot of General and Channel Configuration from the DHRIO setup, and post them.

As Ken said, it is hard to give advice if you don't have the actual Devices to work with. I haven't worked on any ControlNet Systems. So, hopefully Ken will pop back in.

The other option is posting your Program Files for both PLCs, so we can see the exact setup. I think you need a little more setup, to get a full path to the ControlLogix Processor.

Stu....
 
Almost there !

The "Remote Bridge Link ID" = 7 will get your message to the backplane of the chassis of the 1756-CNB at ControlNet Node 3 (the ControlNet attached to the module in Slot 0 of the gateway chassis).

Choose carefully, because I see that you have two 1756-CNBs in the same chassis, and they're at the same ControlNet node address, so they have to be on two separate ControlNet networks.

The "Remote Station Address" needs to be the Slot Number of the ControlLogix CPU in that chassis. In this case the "remote network" is the ControLogix chassis.

I did find a good RA TechConnect illustration of this kind of message in RA Knowledgebase Article 30049, if you have a support contract.
 
Yes! Thank you! I was setting wrong the Remote Station Address on the message configuration. When I set it to 0, everything started to work!

I really appreciate your help, you are awesome!

Thank you very much

Best regards

Fernando
 
Hello again,
Now I need to communicate two ControlLogix controllers via DH+. For instance, I need to read an array from controller B and get the data on controller A. I am not sure about which instruction should I use. I tried with MSG, with every option it has, but without success...

Any suggestion?

Thanks in advance

Best regards



Fernando
 
You would use the MSG instruction with the message type CIP data table write or read and make sure your path is correct. Look into Chapter 4 of Publication 1756-RM003K-EN-P for more details.
 
Yes, it worked!

I used a message configured with:
Message Type: CIP Data Table Read
Path:1, 2, 2, 3, 1, 0


Explanation of this particular path:
Backplane, Slot, DH+ Channel A, Destination node, Destination backplane, Destination slot


Greetings
 

Similar Topics

I am using cicode to display a message in Vijeo Citect when a particular Bit is acted in PLC but whenever that bit get energised my message...
Replies
0
Views
1,403
I have followed KB 19726 My controller is a PLC5E rev J. The 1761-ENI is FW revision 3.22 . Connection is Ethernet SCADA system can read...
Replies
3
Views
2,541
Hi All, I have done communication of Clx L63 ad Micrologix1400 through fiber optic media(Msg),but I have encounter problem. When I recycle power...
Replies
5
Views
8,007
Hi everybody, and thanks to all: in this forum I've often found help, reading the posts. Now I need help again to make the most of MSG...
Replies
1
Views
4,601
I'm using a SLC typed write from the ControlLogix5572 to the MicroLogix 1400, with path: 2, (MicroLogix IP). The ControlLogix equipment has a...
Replies
0
Views
86
Back
Top Bottom