FSoE - Safety over EtherCAT
What is FSoE?
FSoE (Safety over EtherCAT) is the functional safety communication protocol defined by the ETG. It can share a physical channel with standard process data on the same EtherCAT network.
This page describes only the FSoE protocol concepts on the EtherCAT master side. FSoE is not a PLC product capability (do not describe FSoE as a soft PLC feature), and this product does not claim SIL3 / PLe / TÜV certification. At runtime the safety connection is not established automatically and is not exchanged automatically every cycle (it must be configured explicitly from the connection parameters). When the slave ESI supports FSoE, the GUI code export generates safety PDO structs automatically; that is code generation behaviour, which is a different matter from the runtime exchange.
Does FSoE need special EtherCAT hardware?
No. FSoE uses the standard EtherCAT physical layer. Safety is guaranteed by the FSoE protocol layer.
Core concepts
The black channel principle
FSoE uses the black channel model:
- Safety layer — the FSoE protocol, which ensures data safety
- Black channel — standard EtherCAT, which only transports the data and does not guarantee safety
- Safety layer — the FSoE protocol, which verifies data integrity
Key idea:
- The underlying transport channel (EtherCAT) does not need to be safe
- Safety is guaranteed entirely by the safety layer (FSoE)
- Standard non-safe hardware may be used to transport safety data
FSoE safety mechanisms
Data integrity
CRC check:
- 16-bit CRC, computed per block (for every 2 bytes of safety data)
Sequence number:
- The sequence number takes part in the CRC calculation and is not carried as a separate field in the frame
Time monitoring
Timeout detection:
- Monitors the frame reception interval
- On a timeout the connection enters the safe state automatically
- The timeout condition is configurable
Timestamp:
- Some implementations include a timestamp
- Detects frames with excessive delay
Address monitoring
Connection identifier:
- Sender and receiver IDs
Connection verification:
- The safety connection is established at start-up
- The connection is verified periodically
- Connection errors are detected
Data correctness
Data consistency:
- Multi-byte data is transferred atomically
- Prevents partial updates
Semantic checks:
- Check that data ranges are plausible
- Detect illegal state transitions
FSoE frame structure
The FSoE safety frame (ETG.5100) is organised in blocks of "2 bytes of data + 2 bytes of CRC":
| Field | Size | Description |
|---|---|---|
| Command | 1 byte | Command type (session, data, parameter and so on) |
| Safety Data | Variable | The actual safety data, in groups of 2 bytes |
| CRC | 2 bytes per group | CRC-16 computed over that group's safety data (and chained into the previous block's CRC) |
| Connection ID | 2 bytes | Safety connection identifier, at the end of the frame |
Frame length = 3 + 4 × ceil(数据字节数 / 2): 1 command byte + 2 CRC bytes for every 2 data bytes + 2 ConnID bytes.
When the number of data bytes is odd, 1 0x00 byte is appended for the CRC and the frame layout does not change.
The sequence number is not a separate field in the frame: it is maintained by the sender and takes part in the CRC calculation (ETG.5100 §8.1.3.4); the receiver uses the CRC and the watchdog count to decide whether frames were lost, duplicated or timed out. So a frame must not be parsed as if it carried a "2-byte sequence number".
FSoE communication modes
Safety digital signals:
- Emergency stop button state
- Safety door switch
- Safety light curtain
- Safety outputs (safety relay)
Safety analogue signals:
- Safety speed monitoring
- Safety position feedback
- Safety torque limiting
STO (Safe Torque Off):
- Safe torque off
- Cuts the motor power
- It is a safety function of the slave (if that slave is certified); it does not mean this master is certified for SIL3/PLe
SS1 (Safe Stop 1):
- Safe stop 1
- Controlled braking stop
- Torque is cut once standstill is reached
SS2 (Safe Stop 2):
- Safe stop 2
- Controlled stop
- Holds the torque output
SLS (Safely Limited Speed):
- Safely limited speed
- Monitors that the speed does not exceed the limit
- Stops automatically on overspeed
SLP (Safely Limited Position):
- Safely limited position
- Soft limit protection
- Prevents collisions
Applications
Machine safety
Typical applications:
- Emergency stop system — distributed emergency stop buttons (what is certified on site is the machine and the safety slaves, not this master documentation)
- Safety doors — door lock and position monitoring
- Safety light curtains — light-curtain area protection
- Two-hand control — two-hand button monitoring
- Guard locking — guard locking device monitoring
Robot safety
Collaborative robots:
- Safely limited speed (workspace zoning)
- Safe stop (collision detection)
- Safety monitoring of position and torque
Conventional robots:
- Safety fence monitoring
- Safe zone entry detection
- Safety door interlocking
Material handling
Automated logistics:
- AGV safety laser scanners
- Emergency stop network
- Zone isolation and speed limiting
Process industry
Safety instrumented systems:
- Emergency shutdown valves
- Pressure/temperature safety monitoring
- Fire and gas detection
- Safety interlock systems
Performance impact
FSoE overhead:
- Data overhead: 8-12 extra bytes per safety frame
- Processing time: CRC calculation and verification take time
- Cycle time: typically 2-4 times the safety cycle is required
Cycle:
- There is no product-imposed lower limit on the process data cycle, and it is not hard-coded to 1 ms (the configured value is applied as given, with no silent clamping; the cycle actually achievable is measured on site)
- When FSoE is enabled, the cycle and the watchdog are determined by the connection parameters; data is not exchanged automatically every cycle, and the runtime safety connection is not established automatically either (see above for the safety PDO structs generated automatically by the code export)
FSoE certification and development
Certification statement
The FSoE protocol is published by the ETG; the target safety level is given in the ETG / IEC documents. This product does not claim TÜV, SIL3 or PLe certification. What is certified in a site safety circuit is the machine and the certified safety slaves — not this master documentation, and not the PLC.