1. Problem Overview
A SINAMICS S120 control unit CU310DP connected to a 1FK7034-5AK71-1DG0 synchronous servo motor reports an encoder type string in STARTER that does not match the motor's MLFB (order number) suffix. The motor carries a 22-bit incremental encoder with 11-bit commutation position and DRIVE-CLiQ interface, identified by the xDxx position in the order code. After automatic configuration STARTER displays the encoder characteristic as:
- Type: rotary
- Encoder code: [2001]
- Resolution: 2048 signals/revolution
- Signal level: 1 Vpp
- Tracks: A/B, C/D with reference (R)
The user observes the standard encoder selection list in STARTER exposes xAxx, xExx, xGxx, xHxx, xJxx, xSxx, xTxx variants of the 1FK7 family but no xDxx. The result is the appearance of an encoder mismatch, even though the Control Unit reads the DRIVE-CLiQ electronic rating plate correctly. Concurrently, the unfiltered actual speed value r63 deviates up to 17% from setpoint at 100 rpm, and the filtered value r21 still drifts approximately 3.5% - outside the required ±1% envelope.
This article documents the underlying cause, the manual encoder parameter path, and the controller optimization that resolves both the encoder label inconsistency and the low-speed accuracy problem.
2. Hardware Identification: CU310DP and 1FK7 Encoder Variants
The CU310DP Control Unit is the standalone (booksize) variant of the SINAMICS S120 platform. It provides PROFIBUS as the fieldbus interface, a DRIVE-CLiQ port for the Sensor Module / motor, and is intended for single-axis high-performance servo applications. Refer to the SINAMICS S120 Function Manual for the full hardware matrix.
The 1FK7 motor family (compact, high-dynamic 3-phase permanent-magnet synchronous servomotors) accepts an encoder in the position 14 of the MLFB. The encoder letter specifies the feedback type and signal interface:
| MLFB Suffix | Encoder Family | Interface | Resolution |
|---|---|---|---|
| xAxx | AM2048S/R absolute | EnDat 2.1 / SSI / sin-cos 1 Vpp | 2048 S/R + 12-bit multi-turn |
| xExx | AM22DQI absolute single-turn | DRIVE-CLiQ | 22-bit singleturn |
| xGxx | AM22DQ multi-turn (battery-backed) | DRIVE-CLiQ | 22-bit + 12-bit multi-turn |
| xHxx | AM24DQI absolute single-turn (high-res) | DRIVE-CLiQ | 24-bit |
| xJxx | Resolver | Resolver | 2-pole resolver |
| xSxx | Resolver (2-pole) | Resolver | 2-pole resolver |
| xTxx | AM18DQI absolute single-turn | DRIVE-CLiQ | 18-bit |
The xDxx suffix on the 1FK7 represents a 22-bit incremental encoder with 11-bit commutation signal (C/D tracks) and integrated DRIVE-CLiQ interface - functionally similar to the AM22DQI concept but delivered as an incremental feedback device rather than an EnDat absolute encoder. The DRIVE-CLiQ encoder is sometimes documented as a 22-bit incremental with commutation offset and is the encoder family that STARTER does not expose in the standard encoder drop-down list, even though the drive firmware contains the correct parameter set.
3. How DRIVE-CLiQ Automatic Configuration Works
When a DRIVE-CLiQ encoder is plugged into a Sensor Module (SMC, SME, or directly into the CU310DP), the SINAMICS S120 performs the following on every power-up:
- Reads the electronic rating plate (EEPROM) inside the encoder via DRIVE-CLiQ.
- Writes motor-side parameters (
p0300series) and encoder-side parameters (p0400series) into the Control Unit automatically. - Selects the matching encoder interface (
p0400) based on the encoder family code stored in the DRIVE-CLiQ identity record. - Reports the active encoder model in the STARTER configuration tree.
According to the SINAMICS S120/S150 List Manual, the parameters that DRIVE-CLiQ auto-populates include p0400 (encoder type), p0401 (encoder selection), p0402 (encoder ratio), p0404 (encoder configuration), p0407 (leading encoder), p0408 (rotary encoder pulses per revolution), p0410 (reversing), and p0411 (measuring gear).
4. Why the Encoder Type Label Appears Incorrect
The display string "rotary, [2001] 2048, 1 Vpp, A/B C/D R" that STARTER shows is not a misdetection - it is the parameterization of the encoder that was actually loaded. The encoder identified by the DRIVE-CLiQ record has:
-
p0400= [2001] (DRIVE-CLiQ incremental encoder with C/D commutation tracks) -
p0408= 2048 (incremental signal periods per revolution) -
p0420(encoder voltage) = 1 Vpp -
p0421(encoder type) = rotary
The mismatch is therefore a display-side issue: the parameter p400 value [2001] and the Enc. type: field in the STARTER GUI both describe a generic DRIVE-CLiQ incremental encoder. The user is searching the standard encoder catalog for the exact xDxx order-number row, but STARTER's catalog table only enumerates the variants listed in section 2. The xDxx variant is a configuration-only entry - the drive firmware recognizes it via the DRIVE-CLiQ electronic rating plate, not via the human-readable MLFB row.
In practice, this means the encoder is already configured correctly. STARTER's drop-down list omits the xDxx row because the same parameter set is reused for several motor variants.
5. Standard Encoder List in STARTER
The STARTER "Select standard encoder from list" dialog (under Configuration > Encoder selection > Select standard encoder from list > Via order no.) is sourced from the STARTER installation directory and from the connected drive firmware's encoder catalog. The catalog is version-dependent; STARTER V4.2.0.1 (used in the original case) is older and pre-dates several 1FK7 motor expansions.
| Selection Source | Includes xDxx 1FK7 row? | Effect |
|---|---|---|
| Drive firmware on CU310DP | Yes (electronic rating plate) | Auto-config uses correct values |
| STARTER V4.2.0.1 catalog | No | GUI shows generic [2001] entry |
| STARTER V4.3.x and later | Partial / case dependent | Match only if catalog was updated with the service pack |
| STARTER V5.x (TIA Portal) | Yes (Startdrive) | Full xDxx row available |
Upgrading STARTER is optional - if the drive has loaded the encoder parameters correctly, the application can proceed. Verify the loaded parameter set in the expert list (see next section).
6. Manual Encoder Parameter Configuration
If the drive has not loaded the encoder automatically, or if the user wants to perform a manual entry, set the following in the STARTER expert list (right-click the drive > Expert list):
| Parameter | Value | Description |
|---|---|---|
p0400[0] |
2001 | Encoder type selection (DRIVE-CLiQ incremental with C/D) |
p0402[0] |
1 | Encoder ratio (motor shaft = encoder shaft) |
p0404[0] |
0 | Encoder configuration (linear/rotary, no inversion) |
p0405[0] |
0 | Square-wave / sin-cos flag (0 = sin-cos 1 Vpp) |
p0407[0] |
0 | Leading encoder / motor encoder |
p0408[0] |
2048 | Incremental signal periods per revolution |
p0420[0] |
1 (= 1 Vpp) | Encoder signal voltage |
p0421[0] |
0 (rotary) | Rotary / linear encoder flag |
p0430[0] |
0 | No commutation with zero mark |
p0431[0] |
0 | No error tolerance for zero mark |
p0437[0] |
0 | No SSI protocol |
p0440 |
0 | No copy/preset configuration |
p0441 |
0 | No commutation offset value needed (auto-determined from C/D tracks) |
p0442 |
0 | Commutation angle offset |
p0400 on a running drive can trigger fault F0700 (Drive: Drive object not configured) or F07930 (Drive: Drive data set changeover error). Stop the drive, set p0010 = 4 (commissioning) before editing encoder parameters, then p0010 = 0 and perform a power-on or warm restart to commit the new data set.7. p-Parameter Reference for Encoder Setup
The most important encoder parameters for diagnosis and verification are summarized below. All are documented in detail in the SINAMICS S120/S150 List Manual.
| Parameter | Description | Typical Value for 1FK7 xDxx |
|---|---|---|
p400 / p0400
|
Encoder type selection | 2001 |
p408 / p0408
|
Encoder pulses per revolution | 2048 |
p420 / p0420
|
Encoder connection (signal level) | 1 Vpp |
p421 / p0421
|
Rotary / linear encoder | Rotary (0) |
p423 / p0423
|
Zero mark active | 1 (yes, C/D reference) |
p425 / p0425
|
Encoder rotation reversal | 0 (no reversal) |
p427 / p0427
|
Zero mark distance | 2048 (one zero mark per rev) |
p440 / p0440
|
Encoder commutation offset | 0 (auto from C/D tracks) |
p441 / p0441
|
Commutation angle offset | 0 (auto) |
r482 |
Encoder actual position Gn_XIST1 | Live value (read-only) |
r63 |
Speed actual value, unfiltered | Live value (read-only) |
r21 |
Speed actual value, filtered (after p1451/p1452) | Live value (read-only) |
The r482 parameter is the raw 32-bit position word (Gn_XIST1) delivered by the encoder to the controller. The 1FK7 xDxx encoder increments r482 with 2048 signal periods and 11-bit commutation position - the controller merges these into a unified position word. A consistent, monotonically increasing r482 during manual shaft rotation confirms the encoder is functional even when the display label looks wrong.
8. Low-Speed Accuracy Diagnostics
The user observed r63 (unfiltered speed actual value) error of up to 17% at 100 rpm setpoint, and r21 (filtered speed actual value) error of 3.5%. The target was ±1% across the entire 100-2000 rpm range. The error pattern - large at low speed, small at high speed - is characteristic of:
- Unoptimized speed controller - low proportional gain, long integral time, or both.
-
Speed filter not configured - the firmware default
p1451 = 0(no filter) exposes the raw 1-ms quantisation of the speed calculation. -
Speed setpoint filter not configured -
p1441andp1442default to 0 ms, allowing step changes to be applied directly to the current setpoint. - Mechanical resonance - typical for direct-drive 1FK7 applications where coupling stiffness is low.
At very low speeds, the speed actual value is computed by differentiation of the position (r482) over a fixed time window. The differentiation window of 1 ms and the position resolution of 2048 S/R (with x4 interpolation in the Sensor Module, 8192 counts/rev) yield a quantisation floor of:
v_quant = 60 / (4 * p0408 * 1e-3) = 60 / (4 * 2048 * 0.001) = 7.32 rpm per LSB
That is, a single LSB of the position counter corresponds to ~7.3 rpm at a 1 ms update rate. At 100 rpm, a 1-LSB jitter is already 7.3% - which matches the 17% peak error observed. The mitigation is filtering and, more importantly, a properly tuned speed controller that pre-shapes the speed setpoint from the position difference rather than differentiating the noisy position feedback.
9. Speed Filter Configuration
Three filter blocks determine the smoothness of the actual and setpoint speed signals. Configure them in the expert list before running automatic controller setting:
| Parameter | Description | Recommended Start Value |
|---|---|---|
p1441 |
Smoothing time actual speed (display only) | 1 ms |
p1442 |
Smoothing time speed setpoint | 4 ms |
p1451 |
Speed actual value filter time (low-pass) | 2 ms |
p1452 |
Speed setpoint filter time (low-pass) | 4 ms |
p1460 |
Speed controller gain Kp_n | auto (set by controller setting) |
p1462 |
Speed controller integral time Tn_n | auto (set by controller setting) |
p1495 |
Acceleration pre-control (Kv) | 1.0 (full) |
p1496 |
Acceleration pre-control scaling | 100 % |
For a 1FK7034 motor with a 100-2000 rpm operating window and ±1% target accuracy, the p1451 low-pass filter time of 2-4 ms is the most effective single adjustment. The filter is a 2nd-order low-pass implemented in the firmware. Increasing the filter time beyond ~10 ms introduces excessive lag; below 1 ms, the quantisation noise remains visible.
10. Automatic Controller Setting Procedure
- Connect STARTER to the CU310DP online (PROFIBUS or Ethernet service port).
- Set the drive to Online > Commissioning mode (top-level toolbar).
- Navigate to Drive > Commissioning > Automatic controller setting.
- Configure the limits: maximum speed, maximum acceleration, and maximum permissible travel (if the motor is connected to a load that can move).
- Start the routine. The drive will perform a series of test movements, then commit the optimised parameters.
- After completion, perform a Copy RAM to ROM (
p0977 = 1) to make the parameters non-volatile.
According to the SINAMICS S120 Function Manual, the automatic controller setting requires the drive to be in operating state S60 (drive commissioning). It is not available in Commissioning Object mode without a preceding online connection.
11. Verification and Acceptance Test
After running the automatic controller setting, verify the speed accuracy by commanding a series of setpoints and recording r21 and r63 via the trace function in STARTER.
| Setpoint (rpm) | Target r21 accuracy | Typical r21 deviation (post-optimisation) |
|---|---|---|
| 100 | ±1% | ±0.8% |
| 500 | ±1% | ±0.4% |
| 1000 | ±1% | ±0.2% |
| 2000 | ±1% | ±0.2% |
The trace recording should be captured at 1-2 ms sampling interval for at least 5 seconds at each setpoint. Use the trace math block to compute (r21 - r62) / r62 * 100 and confirm the maximum deviation is within the ±1% envelope. If the deviation is still outside the envelope, increase p1451 by 1 ms and re-test. If that fails, repeat the automatic controller setting with a higher Maximum acceleration value to force the optimizer into a stiffer control configuration.
12. Encoder Fault Codes and Diagnostics
The following fault codes may appear during the configuration sequence. Refer to the SINAMICS S120/S150 List Manual for the canonical definitions.
| Fault Code | Description | Likely Cause / Remedy |
|---|---|---|
| F0700 | Drive object not configured | Set p0010 = 4 and complete encoder configuration, then p0010 = 0
|
| F0709 | Encoder interface not supported | Set p0400 to a value that matches the actual hardware (2001 for DRIVE-CLiQ inc C/D) |
| F07930 | Drive data set changeover error | Inconsistent encoder data set, perform power cycle |
| F31100 | Encoder 1: zero mark lost | Check DRIVE-CLiQ cabling and shield |
| F31110 | Encoder 1: serial communications failure | DRIVE-CLiQ connection issue, replace Sensor Module |
| F31111 | Encoder 1: encoder signals internal error | Encoder defective, replace motor |
| F31851 | Encoder 1: position error | Check for slip between motor shaft and encoder |
| A31900 | Encoder 1: warning, signal level | Check DRIVE-CLiQ signal level at Sensor Module |
| F08501 | PROFIBUS connection lost (CU310DP) | Re-establish PROFIBUS link and retry |
Why does STARTER show "[2001] 2048, 1 Vpp, A/B C/D R" instead of the xDxx order number for my 1FK7 motor?
The 1FK7 xDxx encoder is a DRIVE-CLiQ incremental encoder with 2048 signal periods and C/D commutation tracks. STARTER displays the encoder type as the generic parameter set p400 = 2001 because the catalog row for xDxx is not in STARTER V4.2.0.1. The drive firmware loaded the correct values from the DRIVE-CLiQ electronic rating plate; the GUI display is cosmetic. Upgrade STARTER or verify p400, p408, p420 in the expert list.
How do I force the encoder to be re-detected from DRIVE-CLiQ?
Set p400 = 0 (no encoder), save with p0977 = 1, perform a power-on, and the Control Unit will re-read the DRIVE-CLiQ electronic rating plate. After confirmation, set p0010 = 4, p0010 = 0 and the encoder parameters will be re-populated automatically.
What is the correct p1451 filter time for ±1% speed accuracy at 100 rpm with 2048 S/R encoder?
Start with p1451 = 2 ms and p1452 = 4 ms. The combination of the 2 ms actual-value low-pass and the 4 ms setpoint filter reduces quantisation noise to approximately ±0.8% at 100 rpm. Verify with the STARTER trace function, then re-run the automatic controller setting.
Can I run the automatic controller setting on a vertical axis or load that cannot move freely?
Yes, but configure the maximum travel limit (rotation angle) and maximum acceleration in the routine dialog so the drive does not exceed mechanical limits. For vertical loads, set the brake control to engage if the drive faults during the routine. A separate moment-of-inertia identification (drive > commissioning > motor identification) may be required first.
What STARTER version contains the xDxx encoder catalog row?
STARTER V4.3.3 and later include the xDxx row for the 1FK7 family. STARTER V5.x in TIA Portal (Startdrive) includes the full catalog. If the drive firmware is up to date and DRIVE-CLiQ auto-configuration is enabled, the catalog row is informational only and not required for correct operation.