Troubleshooting
Fix slow Citect polling to a Quantum hot standby pair
Short answer
Set the Modnet driver to RetryCount 3 and RetryDelay 1000 ms instead of the defaults, verify the hot standby IP address swap in the CPU configuration, and run the current Citect service pack with matched NOE firmware. The documented swap window is short enough to consume a default-timed retry, and field reports show update times 50 to 100 percent longer until the driver, firmware or module is corrected.
On this page
- Why do Citect updates slow down when the hot standby is online?
- What does the hot standby IP address swap do to the SCADA connection?
- Which Modnet driver settings stop the slow polls and errors?
- How do I rule out the driver version and the NOE firmware?
- When is the NOE module or the cabling the real problem?
- How do I test a switchover and prove the fix?
- Questions asked
Slow updates and communication errors between Citect and a Modicon Quantum hot standby pair are, in most field cases, a failover-tuning and driver problem rather than a broken network. Set the Modnet driver to RetryCount 3 and RetryDelay 1000 ms in place of the defaults, verify the IP address swap in the CPU configuration, run the current Citect service pack on matched NOE firmware, then prove the result with a forced switchover. The Quantum hot standby documentation bounds the IP swap tightly, and retries timed inside that window are what turn a normal failover into slow polls and kernel errors. Field reports on this architecture describe update times 50 to 100 percent longer with the standby online, holding until the driver, the firmware or the module is corrected.
Why do Citect updates slow down when the hot standby is online? #
Because the standby pair changes both the CPU's behavior and your driver's error handling: with the standby online, field reports show update times 50 to 100 percent longer, and default retry settings convert every slow response into a logged communication error.
One site ran the experiment for you: with the standby offline, SCADA updates recovered to near-normal, close to double the speed, and went sluggish again when it came back. That result clears the cabling, the switch and the tag count, and points at what changes when the pair runs as a pair. While both CPUs are active, hot standby supervision and swap traffic share the CPU and the path with your Modbus polls for as long as the standby is online; a standalone Quantum answers faster because none of that runs. Reported symptoms run from slow updates and intermittent communication errors to bits that flicker or hold a wrong state for long stretches.
Run the offline test first, because its outcome decides the branch: recovery means work the failover path in the next three sections; no change means skip to the module and cabling checks.
What does the hot standby IP address swap do to the SCADA connection? #
The new active CPU takes over the shared IP within a documented maximum of 500 ms, so a client that follows the IP address recovers by itself and one that cached the MAC address never does.
Quantum hot standby documentation puts the maximum IP address swap time at that figure; on the same architecture the Modbus Plus addresses swap almost instantaneously, so the Ethernet path is the one that needs retry margin. Field reports describe operator panels whose drivers bound to the CPU's MAC address and stayed dead after a swap until they were restarted. Citect fails more politely but still fails: the Modnet driver addresses the CPU by IP, so it follows the swap, yet the TCP session it holds is severed at switchover and must be rebuilt by the driver's retry logic.
Confirm the swap is set up before tuning anything else. In Unity Pro, open the CPU configuration and check the Ethernet hot standby settings so IP address swap is enabled; the standby cannot take the address otherwise. Scope note: on the M580 platform that succeeded Quantum, address swapping is automatic and cannot be turned off, so there is nothing to verify there. On the switch, keep ARP aging for that VLAN at 30 s or less so the server refreshes its IP-to-MAC mapping promptly after a swap.
Which Modnet driver settings stop the slow polls and errors? #
Set RetryCount to 3 and RetryDelay to 1000 ms on the port serving the Quantum pair; the defaults of one retry and a delay equal to the documented swap maximum are timed inside the swap itself and fail during a normal failover.
These are Modnet driver parameters, part of the Ethernet TCP/IP driver special options, the same family of settings used when connecting Citect SCADA to a Modbus RTU gateway over MODNET.
| Modnet parameter | Default | Set to | Why |
|---|---|---|---|
| RetryCount | 1 | 3 | One retry can be consumed inside the swap window; two remain for a genuinely slow response |
| RetryDelay | half the documented swap window | 1000 ms | The retry lands after the documented maximum swap, on the new active CPU |
One field report is worth heeding: an engineer who adjusted the defaults saw little difference, because the real cause sat elsewhere. The settings are what let the driver survive a switchover cleanly; they are not a cure for an old driver revision or a failing module, so change them and keep working down the list.
How do I rule out the driver version and the NOE firmware? #
Apply the current service pack for your Citect version and put both NOE modules on the same current firmware: the slow-poll behavior against a Quantum hot standby was traced to the V5.0-era Modnet driver and fixed by the vendor, and mismatched module firmware blocks a clean swap.
In the Citect kernel log, look for repeating timeout entries, with 0x0001 (connection timed out) and 0x0002 (no response from PLC) the two that repeat when the driver polls an address mid-swap. Stale or question-mark values caused by repeated timeouts are the same failure family as why HMI values show question marks when PLC comms time out. Also confirm the I/O server runs the Modnet driver over Modbus TCP rather than a serial Modbus driver routed through a gateway; the TCP driver is the one with the session handling. Take firmware only from the manufacturer's official download registry, and apply the same revision to both modules in the pair: the swap is negotiated between them, and a mismatch can stop it completing cleanly.
When is the NOE module or the cabling the real problem? #
When the slowness and errors persist with the standby offline, the cause is the network path or the module, and a known-good NOE swap is the decisive test: one field case ran for weeks on a bad NOE that everyone blamed on the SCADA.
Work the cheap checks first:
- Replace the patch cord at the module with a factory-terminated Cat 5e or Cat 6 cord of 3 m or less.
- Confirm the switch port auto-negotiates and check the negotiated speed; the NOE is a 10/100 Mbit/s device, and a port forced elsewhere produces exactly this intermittent profile.
- Disable Energy Efficient Ethernet (IEEE 802.3az) on that port; it has been seen dropping links on legacy industrial modules after idle periods.
- Keep the Citect-to-PLC traffic on an isolated control VLAN, away from multicast-heavy office segments.
- If the profile survives all of the above, swap in a known-good NOE and retest; in the field case, the intermittent bad-data alarms cleared only after the module was replaced.
How do I test a switchover and prove the fix? #
Force a swap from the CPU front panel or the Unity Pro online command while pinging the address and watching Citect: with corrected settings, updates resume within about one second with no operator action, and that is the acceptance criterion.
One safety note first: a forced swap changes which CPU commands the machine, so schedule the test and warn the operator, and treat hot standby as availability redundancy only, never as a safety function.
Worked example with illustrative numbers: an I/O device polled every 250 ms with a 30 ms transaction time gives four updates per second on a healthy link. With the standby online and the 50 to 100 percent degradation reported in the field, the effective interval becomes 375 ms to twice the poll interval, or two to three updates per second, slow but functional.
Now force the switchover. On the defaults, the request at t = 0 goes unanswered, the single retry fires at the boundary of the documented maximum swap, and if it lands mid-swap the retries are exhausted and the driver raises a communication error, after which the device updates at error-recovery pace instead of the poll rate. With the corrected values, the first retry at t = 1000 ms arrives after any swap the documentation allows, is answered by roughly t = 1030 ms, and leaves two retries in reserve: the worst-case update gap is about 1.03 s with no error logged.
- From the server, run a continuous ping against the Quantum address while you force the swap; losing two or three pings across the swap is normal, continuous loss is not.
- Watch the kernel log across three forced swaps in both directions: no repeating timeout entries.
- Check poll times in the Citect system status against your target; under 250 ms per device is a common figure on a healthy 100 Mbit/s link.
- Repeat the standby-offline comparison and confirm the pair now matches standalone speed.
The decision by case: if the offline test restores speed and a forced swap recovers within about a second with no kernel errors, the driver and failover tuning carried it and the ticket closes. If updates degrade only around actual switchover events, the retry settings and driver revision are the whole fix. If slowness and errors persist with the standby offline, the fault is the NOE module or the cabling, and the known-good module swap decides which.
Questions asked
Why do updates speed up as soon as the standby goes offline?
Because the standby's supervision traffic stops competing with your Modbus polls. That result tells you the network, the switch and the tag count are fine, and the fix lives on the failover path: retry settings, driver revision and the IP swap configuration. If updates stay slow with the standby offline, stop working this path and test the NOE module and the cabling instead.
Why 1000 ms for RetryDelay instead of the default?
The Quantum hot standby documentation allows a bounded window for the IP address swap, and the default retry delay equals that window. A retry timed that way can land inside it and be consumed, and with only one retry the device lands in error. At 1000 ms the retry always arrives after the swap has finished; the cost is one extra second of stale data during a failover and nothing during normal running.
Do I have to restart Citect after a real switchover?
No. Unattended recovery within about a second of the swap is the acceptance criterion. If a restart is needed, the client is holding a stale association: shorten the switch ARP aging to 30 s or less, confirm the Modnet driver revision is current, and check that IP address swap is enabled in the CPU configuration. Operator panels that bind to the MAC address are a separate fix.
Both CPUs are healthy and no swap happened, so why are updates still slow?
The degradation is not only the swap event. While both CPUs run, hot standby supervision shares the CPU and the network path with your polls the whole time, which is why the offline test nearly doubles update speed. The durable fixes are the corrected driver revision and matched, current NOE firmware; the retry settings only keep failovers clean.
Is the IP address swap something I configure?
On Quantum, yes: verify it in Unity Pro under the CPU configuration's Ethernet hot standby options, because the standby cannot take the address otherwise. On the M580 platform that replaced Quantum, the equivalent address swapping is automatic and cannot be turned off, so there is nothing to configure or misconfigure there.