Skip to main content

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​

CharacteristicSoECoE (CiA 402)
OriginSERCOS III motion control standardCANopen general standard
Parameter addressingIDN (16-bit identifier)Index + subindex
Main applicationServo drives, CNC systemsGeneral-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​

IDNNameTypeDescription
S-0-0134Master Control WordUINT16Master control word (start, stop and so on)
S-0-0135Drive Status WordUINT16Drive status word (running, fault and so on)
S-0-0142Control Unit Cycle TimeUINT32Control cycle time
S-0-0143Drive Cycle TimeUINT32Drive cycle time

Position control​

IDNNameTypeDescription
S-0-0047Position Command ValueINT32Position command value
S-0-0051Position Feedback ValueINT32Position feedback value (for the second feedback of a dual-encoder device, use the IDN given in the device manual)

Velocity and torque​

IDNNameTypeDescription
S-0-0036Velocity Command ValueINT32Velocity command value
S-0-0040Velocity Feedback ValueINT32Velocity feedback value
S-0-0084Torque Command ValueINT16Torque command value
S-0-0085Torque Feedback ValueINT16Actual torque feedback

Diagnostics and status​

IDNNameTypeDescription
S-0-0095Diagnostic MessageSTRINGCurrent diagnostic message
S-0-0011Class 1 DiagnosticUINT16first-level diagnostic code
S-0-0012Class 2 DiagnosticUINT16second-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​

ServiceCodeDescription
Read Request0x01Read IDN data, to obtain status and parameters
Read Response0x02Read response, returns the data
Write Request0x03Write IDN data, to modify parameters
Write Response0x04Write response, confirms the write
Notification0x05The slave reports spontaneously (parameter change notification)
Emergency0x06Emergency 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:

StateDescriptionCharacteristic
S0 - not readyInitialisation stateThe drive is powered up
S1 - standbyParameters readyParameters can be configured
S2 - ready to runCommunication synchronisedWaiting for enable
S3 - runningMotor enabled and runningAccepts motion commands
S4 - faultError stateFault 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​

FunctionDescription
IDN read and writeSupports all standard and product-specific IDNs
Cyclic dataMaps the SoE PDO automatically
State machine managementAutomatic drive state transitions
Diagnostic parsingParses SERCOS diagnostic messages
Multi-axis synchronisationSupports 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.