Hello all,
I’m designing a redundant alarm and monitoring system (marine application) and would like advice on how the SCADA side should connect to a redundant PFC200 pair.
Setup
- 2 × PFC200 G2 (750-8210) running CODESYS Redundancy (active/passive), with a direct redundancy link between them
- Field I/O: 3 × 750-362 Modbus TCP couplers, daisy-chained between the two PLCs
- Two independent networks, each a Moxa EDS-518E Turbo Ring:
- Network A: 172.16.x.x → X1 of both PLCs
- Network B: 172.17.x.x → X2 of both PLCs
- X1/X2 in separated mode (no bridging between A and B)
- SCADA: Ignition, 2 redundant servers (Linux), connected to both networks, reading the PLCs over OPC UA
Problem
Each PLC has its own IP on each network, so SCADA sees 4 endpoints (PLC1-A, PLC1-B, PLC2-A, PLC2-B). As far as I can tell, CODESYS Redundancy does not give the pair a shared/virtual IP, so SCADA has to work out which PLC is active and which network works.
My idea
Have the active PLC take over a shared service IP on each network:
- Fixed IPs: PLC1 = .21, PLC2 = .22 (on both networks)
- Service IP .20 on X1 and X2, held only by the active PLC
- On becoming active: add .20 (e.g.
ip addr addvia SysProcessExecuteCommand) and send a gratuitous ARP. On becoming passive: remove .20 - SCADA then uses one OPC UA connection: endpoint 172.16.0.20, failover endpoint 172.17.0.20
Questions
- Does WAGO or CODESYS offer a supported way to get a shared/virtual IP for a redundant PFC200 pair? Does Application-Based Controller Redundancy (ACR) handle this?
- Can SysProcessExecuteCommand on the PFC200 run
ip addr add/delandarping? Which runtime config settings are needed, and are there firmware restrictions? - Is the CODESYS OPC UA server reachable on an IP alias added at runtime, or does it only bind to the configured interface IPs at startup?
- If the redundancy link is lost, both PLCs go standalone. How do others prevent both PLCs claiming the service IP, and both writing to the Modbus couplers?
- Has anyone connected a redundant PFC200 pair to a SCADA system (Ignition or other) over two networks? What worked for you?
Firmware/CODESYS versions: FW30
Thanks in advance for any experience or advice.