A timeout set too short trips on every network hiccup; set too long, the machine keeps running half a minute after a real disconnection. This page explains how watchdog and timeout parameters are calculated, how to layer margins, and gives concrete numbers per update cycle.
The core PROFINET parameter is the watchdog time: update time times 3 plus 10 ms — two periods of safety factor plus a fixed margin. Update times come in 1, 2, 4, 8, 16 and 32 ms grades. An 8 ms connection therefore watches about 34 ms, judging a timeout after roughly four lost cycles. The IO watchdog factor is normally 3. Above that sit TCP-level response timeouts and keep-alives; logically, add a separate soft timeout of 500 ms to 2 s for alarming, layered under the hard timeout that actually drops the connection, so jitter does not tear the network down.
Recommended three-layer structure. Detection layer: the watchdog time itself (about 34 ms for 8 ms updates) — count and log only, no action. Alarm layer: three to five consecutive detection timeouts, roughly 150 to 300 ms — raise an HMI alarm with a counter, keep running. Action layer: disconnection beyond 1 to 2 s, or a safety-signal timeout within four update cycles per the safety requirement — stop or perform the safety action. Millisecond jitter, common in any industrial network, then only leaves a record while real failures stop the machine within seconds. Implement with a 500 ms TON for the soft alarm, a 2 s TOF to hold it, plus a fault counter for trend analysis.
Always verify by test. Pull-the-plug: timestamp from disconnection to stop; the measured time must match the action-layer threshold within 10 percent. Jitter test: run 24 hours under normal load; weekly detection-layer counts should be near zero — frequent growth means interference or overload, and the fix belongs in the network, not in loosening the timeout. Avoid both extremes: 50 ms with ten consecutive misses is a 500 ms total delay that cannot stop a crash in time, and 10 ms single-shot stops the line eight times a day.
| Layer | Threshold (8 ms update example) | Action | Purpose |
|---|---|---|---|
| Detection | About 34 ms (watchdog) | Count and log | Capture every jitter |
| Alarm | 150-300 ms | HMI alarm plus counter | Notify without stopping |
| Action | 1-2 s | Stop or safety action | Reliable stop on true loss |
| Safety signal timeout | ≤4 update cycles | Immediate safety action | Meets safety function needs |
| Soft alarm timer | 500 ms TON | Delayed alarm | Filter network glitches |
| Hold timer | 2 s TOF | Latch alarm output | Avoid alarm flicker |
| Jitter criterion | Weekly detection count near zero | Fix network if growing | Do not mask by loosening |
| Pull-plug verification | Within 10 percent | Measure actual stop time | Confirm logic works |
Applies to PROFINET, EtherNet-IP, Modbus TCP and fieldbuses alike. One principle: the hard timeout drops the connection, the soft timeout raises alarms, the action layer stays within 1 to 2 s, and safety signals follow their own stricter cycle multiple. Every threshold change gets a plug-pull test — no exceptions.
The quantities and component characteristics discussed here follow current national standards and the corresponding IEC documents: PROFINET timing per IEC 61784 and PROFINET specifications; safety-related communication per GB/T 5226.1 and IEC 61508 functional-safety standards. Always check the device datasheet and the product design file for ratings and derating.
Locate the issue with the approach above, then confirm with measurements; safety-related circuits must follow the standards and manufacturer requirements.