Modbus - Redundant Master (Redundant PLC)

Join Date
Oct 2019
Location
UK - portsmouth
Posts
28
Hi guys,

Just wondering if anyone has tackled an issue similar to this before: creating a redundant master on Modbus so I can have a redundant PLC in my unit.

I need to design a system where I have 2 PLCs (a shadow/redundant PLC with the same program on it) so if the primary PLC is to fail then the secondary PLC can take over.

The Comms protocol used is Modbus RTU (Carel Modbus RTU) and the controller of choice is Carel cPCO Mini. Each Controller has 2 Modbus ports.

With Modbus being a single master protocol, could I use the first Modbus port to connect the primary and secondary controllers together to create a heartbeat between the two controllers to detect if the primary is still alive and communicating. The Primary Controller will use the second Modbus Port and be set as a master to connect to all sensors and devices.

The Secondary Controller will also be set as a master on its secondary Modbus port but the port will be disabled if the heartbeat between the controllers on Modbus port 1 is healthy. If the heartbeat has an error detected, could I deactivate the Primary PLC Modbus port 2 and enable the Secondary PLC Modbus port 2. This way I should have a redundant master and only 1 master active at a time talking to the sensors and devices.

Will this work? am I barking up the wrong tree? am i missing some key info? I am not so familiar with Modbus as I have been mainly using Ethernet IP for the past 4 years.

Kind Regards,
Wirelessliquid
 
I know nothing about that controller, but as long as the backup RTU master remains silent when not in charge of communication and has a unique Station ID number on the RTU network, I think it should work. Those are big IFs. Some PLCs don't let you set up a port as Modbus Master and assign a Station ID. I'd be concerned that if both RTU masters have the same Station ID number, then they will both become active when any slave responds to a poll. If that happens it will interfere with communication.
 
Is Modbus the only option available to to you? It's not really a great choice for a redundancy setup. I can't see how your transition between primary and secondary in control of the outputs can ever be bumpless. The PLC not in control of the I/O won't know the states of the I/O devices.

I think you would need three ports on each controller to make it work. One port for I/O communications with both PLCs on the network wire with the I/O as masters, but only one at a time actually sending the Modbus commands. For the other two ports, one would have the primary as master and the secondary as slave. The other would have the secondary as master and the primary as slave. On those two ports you would exchange status data and in addition the PLC controlling the I/O would have to transmit the I/O states to the secondary along with any other data required to keep the programs synchronized.
 

Similar Topics

Hi, I am currently running two S7-1515R, in redundancy connected with devices through an MRP ring. One of the devices that are connected to the...
Replies
1
Views
1,491
1) I am currently trying to integrate a Prosoft MVI56E-MCM Module into a 1756-L61 CONTROLLOGIX5561 that is a redundant system (CPU is redundant...
Replies
13
Views
3,420
Dear all, I have a problem with the Mitsubishi PLC modbus tcp communication. I'm using a L26CPU and LJ71E71-100 ethernet module to perform a...
Replies
2
Views
3,936
Hi Guys, Maybe you have some experience with this set-up and can give me some pointers. Project is to use an Emerson DCS to communicate (via...
Replies
3
Views
2,040
Hi All, Need to configure "Redundant Modbus" but having issues. I have a Redundant Controllogix setup with the following configuration - RACK-1...
Replies
5
Views
6,963
Back
Top Bottom