TIA Portal ยท Deep dive D4 ยท expands Track 08

The Safety Telegram

How can a SIL 3 E-stop ride the same ordinary Ethernet as the rest of the plant and still be trusted? PROFIsafe wraps the safe value in an envelope carrying a running sequence number, a CRC checksum, and an F-address โ€” all watched against an F-monitoring time. Tamper with any of them below and watch the channel slam to the safe state.

๐Ÿ”ข consecutive number๐Ÿงฎ CRCโฑ๏ธ watchdog
01 ยท Break it on purpose

Every safety telegram, end to end

A safety telegram travels from the F-CPU to the F-device each cycle, carrying the safe data plus its protective wrapper. It's supposed to arrive intact, in order, on time. Use the buttons to corrupt the CRC, delay it past the watchdog, or replay an old sequence number โ€” and watch the receiver refuse it and go safe. PROFIsafe trusts nothing it can't verify.

๐Ÿ›ก๏ธ
F-CPU
F-host
๐Ÿ“Ÿ
F-device
safe I/O
SAFE DATAE-stop=OK
CN 07seq #
CRC 3F9Achecksum

Notice the asymmetry: a good telegram just passes quietly, but the first hint of trouble โ€” bad checksum, stale number, late arrival โ€” forces the safe state and latches there until a human acknowledges. Safety is allowed to be paranoid; that's the design.

02 ยท What each field guards against

Four guards, four failure modes

๐Ÿ”ข Consecutive number
A running counter on every telegram. Catches lost, duplicated or out-of-order messages โ€” a replayed old value is spotted instantly.
๐Ÿงฎ CRC
A checksum over the data, the counter and the F-address. Catches corruption on the wire โ€” one flipped bit and it won't match.
โฑ๏ธ F-monitoring time
A watchdog on round-trip time. Catches delay and dropout โ€” a telegram that's late is treated as lost, and the channel goes safe.
๐Ÿท๏ธ F-address
A unique source/destination pair. Catches misrouting โ€” a telegram meant for another device can never be mistaken for this one's.

Together these cover the recognised failure modes of a network โ€” corruption, loss, repetition, resequencing, delay and masquerade โ€” which is how a "black channel" (any ordinary Ethernet) can carry safety up to SIL 3 / PL e without the network itself being safety-rated.

03 ยท Check yourself

Why the counter?

The CRC already detects corruption. So why also carry a consecutive number on every safety telegram?