SoE - servo drive profile
What is SoE?
SoE (Servo Drive Profile over EtherCAT) is a high-performance motion control protocol based on the IEC 61800-7-204 (SERCOS III) standard.
SoE versus CoE
| Characteristic | SoE | CoE (CiA 402) |
|---|---|---|
| Origin | SERCOS III motion control standard | CANopen general standard |
| Parameter addressing | IDN (16-bit identifier) | Index + subindex |
| Main application | Servo drives, CNC systems | General-purpose servos, automation equipment |
Core concepts
IDN (Identification Number)
SoE identifies parameters by IDN rather than by object dictionary index:
- S-x-xxxx — standard SERCOS IDN (for example S-0-0134)
- P-x-xxxx — product-specific IDN (for example P-0-1000)
IDN structure:
- S/P: standard / product-specific (the highest bit of the 16-bit IDN)
- Middle digit: parameter set (0 = standard parameter set, 1-7 = product/vendor parameter set)
- Last 4 decimal digits: parameter number (the low 12 bits of the 16-bit IDN)
For example, the 16-bit IDN of S-0-0051 is 0x0033, and for S-0-0047 it is 0x002F.
Common standard IDNs
Control and status
| IDN | Name | Type | Description |
|---|---|---|---|
| S-0-0134 | Master Control Word | UINT16 | Master control word (start, stop and so on) |
| S-0-0135 | Drive Status Word | UINT16 | Drive status word (running, fault and so on) |
| S-0-0142 | Control Unit Cycle Time | UINT32 | Control cycle time |
| S-0-0143 | Drive Cycle Time | UINT32 | Drive cycle time |
Position control
| IDN | Name | Type | Description |
|---|---|---|---|
| S-0-0047 | Position Command Value | INT32 | Position command value |
| S-0-0051 | Position Feedback Value | INT32 | Position feedback value (for the second feedback of a dual-encoder device, use the IDN given in the device manual) |
Velocity and torque
| IDN | Name | Type | Description |
|---|---|---|---|
| S-0-0036 | Velocity Command Value | INT32 | Velocity command value |
| S-0-0040 | Velocity Feedback Value | INT32 | Velocity feedback value |
| S-0-0084 | Torque Command Value | INT16 | Torque command value |
| S-0-0085 | Torque Feedback Value | INT16 | Actual torque feedback |
Diagnostics and status
| IDN | Name | Type | Description |
|---|---|---|---|
| S-0-0095 | Diagnostic Message | STRING | Current diagnostic message |
| S-0-0011 | Class 1 Diagnostic | UINT16 | first-level diagnostic code |
| S-0-0012 | Class 2 Diagnostic | UINT16 | second-level diagnostic code |
SoE communication services
Cyclic data (process data / SoE PDO)
Used for cyclic data exchange (position, velocity, torque and so on):
- Through the PDO mapping
- Updated every control cycle
- Very low latency
Acyclic communication (service channel / acyclic telegram)
Used for parameter read and write, configuration and diagnostics:
- Transferred through the mailbox
- Supports read, write and command execution
- Used for start-up, configuration and monitoring
SoE service types
| Service | Code | Description |
|---|---|---|
| Read Request | 0x01 | Read IDN data, to obtain status and parameters |
| Read Response | 0x02 | Read response, returns the data |
| Write Request | 0x03 | Write IDN data, to modify parameters |
| Write Response | 0x04 | Write response, confirms the write |
| Notification | 0x05 | The slave reports spontaneously (parameter change notification) |
| Emergency | 0x06 | Emergency notification, fault alarm |
The service code is the low 3 bits of the first byte of the SoE header (byte0 & 0x07); it is not a coding where "request and response each occupy a section" — the response codes are independent values, and high-bit markers such as 0x81 / 0x82 do not exist.
SoE drive state machine
SoE defines standard drive state transitions:
| State | Description | Characteristic |
|---|---|---|
| S0 - not ready | Initialisation state | The drive is powered up |
| S1 - standby | Parameters ready | Parameters can be configured |
| S2 - ready to run | Communication synchronised | Waiting for enable |
| S3 - running | Motor enabled and running | Accepts motion commands |
| S4 - fault | Error state | Fault recovery required |
SoE vs CoE - how to choose
If a device supports both SoE and CoE, SoE is recommended — SoE uses standardised IDN numbering, parameter access is simpler and more direct, and it is fully compatible with SERCOS III. CoE offers a more flexible object dictionary structure and suits scenarios that need complex configuration.
Technical advantages
Highly standardised
The SERCOS association defines strictly:
- Parameter naming and numbering
- State machine transition logic
- Data types and units
- Error code definitions
SoE drives from different vendors are highly consistent.
Real-time capability
- There is no product-imposed lower limit on the cycle (the configured value is applied as given, with no silent clamping); the cycle actually achievable depends on the CPU, the isolation configuration, the NIC and the slaves, and is measured on site
- Deterministic communication latency
- Hardware timestamps
- Distributed Clocks (DC) synchronisation
Complete functionality
Built-in motion control functions:
- Position, velocity and torque control modes
- Electronic gear and cam
- Limit and safety functions
- Interpolation and trajectory planning
Strong diagnostics
- Hierarchical diagnostic system
SoE support in the Darra SDK
The Darra SDK provides full SoE protocol support:
Features
| Function | Description |
|---|---|
| IDN read and write | Supports all standard and product-specific IDNs |
| Cyclic data | Maps the SoE PDO automatically |
| State machine management | Automatic drive state transitions |
| Diagnostic parsing | Parses SERCOS diagnostic messages |
| Multi-axis synchronisation | Supports multi-axis time-synchronised control |
Device detection
The SDK detects SoE devices automatically and loads the matching configuration.
Summary
SoE is one of the servo drive protocols supported by EtherCAT. It brings the SERCOS parameter model (IDN) to EtherCAT and is common in multi-axis motion control such as CNC machine tools and robots.