This article describes what to consider when you need to use the MRP functionality in an Anybus CompactCom 40 for PROFINET.
All Anybus CompactCom 40 for PROFINET products
Anybus CompactCom 40 for PROFINET
Host Application Example Code
By default, MRP functionality is enabled in the Anybus CompactCom 40 for PROFINET, and the modules are preprogrammed with valid MAC IDs during production.
However, if you decide to use your own MAC IDs, you should make sure that those of the interface, port 1, and port 2, are in consecutive order (e.g xx:yy:zz:aa:bb:01, xx:yy:zz:aa:bb:02, and xx:yy:zz:aa:bb:03).
To do this, you should implement Attributes #1, Attributes #9 and #10 of the Ethernet Host Object (F9h) Instance 1. Additionally, you should make sure that Attributes #12 and #13 of the same instance are not disabled (enabled by default).
Once that is done, using the ABCC40 in an MRP ring should be possible provided you have a Media Redundancy Master in the ring, and that all the other nodes in the ring also support MRP. The master of the MRP is responsible for checking the MRP functionality in the ring and switching the transmission direction whenever there's an interruption in one path.
MRP functionality is enabled in the provided example GSD files, as well as in the ones generated by the PROFINET GSD Generator.