DH+ MSG between two ControlLogix processors

mylespetro

Member
Join Date
Dec 2015
Location
NS
Posts
740
Hey everyone,


I feel like this is an easy question, but I can't seem to find an answer for it. Currently have a PLC-5 that we're swapping out for a ControlLogix and I'm currently making some changes to a program in a different ControlLogix that reads and writes to the PLC-5 over DH+ to reflect the change, but I'm unclear exactly what protocol I should be using. The messages are currently PLC-5 Typed Read/Write, but you can't use CIP protocol over DH+, so I'm wondering what message type I use to communicate between two CLX on DH+?


Thanks in advance!
 
Figured it out, you need to use the explicit message path. In the PLC-5 Typed Read, it was originally set to "PLC_DHRIO" and then used the fields in the Communication Method to set the Link and Node numbers, but I had to change the path to "1, 3, 3, 10, 1, 0". This was in the manual for the DHRIO card, so it pays to RTFM.
 
Exposition on the meaning of the "Port, Address" pairs in the CIP Path "1, 3, 3, 10, 1, 0"

On any ControlLogix 1756 module:

Port 1 = 1756 Backplane
Port 2 = Network Port (on DHRIO, Port A)
Port 3 = Network Port (on DHRIO, Port B)

The CIP Paths are just pairs of Port and Address values.

1, 3 From the ControlLogix CPU Port 1 (1756 Backplane) to 1756 chassis Slot 3, where the 1756-DHRIO is located.

3, 10 From the 1756-DHRIO Channel B to DH+ Station 10 (decimal), another 1756-DHRIO

1, 0 From the 1756-DHRIO Port 1 (1756 Backplane) to 1756 Chassis Slot 0 (ControlLogix CPU).


It's my understanding that this is actually transporting a PCCC message ("PLC-5 Typed Read") over CIP, because it's a full ControlLogix to ControlLogix CIP Path. You could also do a "CIP Data Table Read" or "CIP Data Table Write" because the path goes all the way from a ControlLogix to another ControlLogix.

You could probably have also kept the old execution the same, as long as the 1756-DHRIO was configured so that it knows to process DH+ messages by forwarding them to the ControlLogix in Slot 0.
 
Exposition on the meaning of the "Port, Address" pairs in the CIP Path "1, 3, 3, 10, 1, 0"

On any ControlLogix 1756 module:

Port 1 = 1756 Backplane
Port 2 = Network Port (on DHRIO, Port A)
Port 3 = Network Port (on DHRIO, Port B)

The CIP Paths are just pairs of Port and Address values.

1, 3 From the ControlLogix CPU Port 1 (1756 Backplane) to 1756 chassis Slot 3, where the 1756-DHRIO is located.

3, 10 From the 1756-DHRIO Channel B to DH+ Station 10 (decimal), another 1756-DHRIO

1, 0 From the 1756-DHRIO Port 1 (1756 Backplane) to 1756 Chassis Slot 0 (ControlLogix CPU).


It's my understanding that this is actually transporting a PCCC message ("PLC-5 Typed Read") over CIP, because it's a full ControlLogix to ControlLogix CIP Path. You could also do a "CIP Data Table Read" or "CIP Data Table Write" because the path goes all the way from a ControlLogix to another ControlLogix.

You could probably have also kept the old execution the same, as long as the 1756-DHRIO was configured so that it knows to process DH+ messages by forwarding them to the ControlLogix in Slot 0.


Yes, I just posted about the path format yesterday in another thread. I've actually done CLX to CLX over DH+ (and posted about it here) before, but I guess I just never realized that the explicit path was actually required. Thanks for the info Ken, really appreciate it!
 

Similar Topics

hi, i try to connect dvt framework 2.8 to controllogix 1756-L62 using a ENBT module. im able to connect to the i/o of the camera to do...
Replies
0
Views
1,310
i using MSG function between the controllers but he write me an error messege that the port is bad what i`m doing not ok the ethernet module is...
Replies
7
Views
3,160
I have SLC5/05 with ethernet port and want to communciate with a controllogix in 17 rack via seperately ethernt card Enet. In Controllogix I want...
Replies
2
Views
6,734
Hi all I'm trying to setup a MSG connection (which I'm not familiar to) between a CompactLogix CPU (L310ER) and a Micrologix 1400 CPU. At the...
Replies
1
Views
802
Anyone know if I can msg between a ControlLogix L71 (A) and an SLC5/05 (C) via backplane of second ControlLogix L71 (B)? ControlLogix (A) and SLC...
Replies
4
Views
2,706
Back
Top Bottom