Resolving SINAMICS S120 F1420 with Heidenhain EQN 1336S Encoder

David Krause17 min read
SiemensTroubleshootingVFD / Drives
Licensed PE Working through this on a live machine? A Maine-licensed engineer can take it from here — included with IMD hardware, by the hour for everything else. Book an engineer

Problem Description: F1420 on SINAMICS S120 with Heidenhain EQN 1336S

During commissioning of a SINAMICS S120 drive line-up based on a CU320-2 control unit running firmware V5.1.1.12, configuring a Heidenhain EQN 1336S absolute rotary encoder triggers fault F1420 "Component Difference" (or "Component difference in the encoder interface") every time the drive is switched on. The fault is generated regardless of which of the standard p0400 encoder codes is loaded into the drive object:

  • p0400 = 204 (EnDat 2.1 sin/cos 1 Vpp, no commutation)
  • p0400 = 214 (EnDat 2.2 sin/cos 1 Vpp, no commutation)
  • p0400 = 224 (EnDat 2.1 sin/cos with commutation track)
  • p0400 = 244 (EnDat 2.2 sin/cos with commutation track)
  • p0400 = 10058 (third-party / non-listed code)

The drive remains uncommissionable; the encoder is shown in the STARTER / Startdrive topology view with a yellow question mark, indicating that the control unit cannot identify the encoder interface module. The associated fault buffer value read from r2124 is 17040409 (decimal), and the message identifier is 1420. F1420 keeps the drive in "commissioning required" state and blocks pulse enable until the discrepancy between the configured component and the physically detected component is resolved.

Field observation: Cycling mains does not clear F1420. A parameter download (p0970 = 1) and full re-initialization of the drive object is required after the root cause is fixed. Do not assume that a different p0400 value alone will resolve the issue if the topology is wrong.

System Architecture: SINAMICS S120, CU320-2, and the EQN 1336S

The Heidenhain EQN 1336S is a multiturn absolute rotary encoder with the following relevant characteristics for a SINAMICS S120 integration:

Parameter EQN 1336S value SINAMICS implication
Interface EnDat 2.1 (bidirectional, RS-485 differential) Requires an SMC20 or motor-integrated DRIVE-CLiQ interface; SMC30 supports EnDat 2.1 but not with 1 Vpp sin/cos
Incremental track 1 Vpp sin/cos (square-wave interpolation in the SMC) Speed feedback and commutation support
Resolution (singleturn) 29 bits (≈ 536 million steps/rev) Set automatically by SMC20 from the encoder nameplate
Resolution (multiturn) 12 bits (4096 revolutions) Position feedback range matches the parameter p0421
Power supply 3.6 V to 5.25 V / ≤ 5 V at 250 mA (typical) Provided by SMC20 on the encoder port
Cable type Heidenhain pure digital EnDat cable, shielded, twisted pair, ≤ 100 m Standard motor encoder cable is acceptable; do not use HTL/TTL cable

The CU320-2 is the central control unit for the S120. It is connected to a Line Module (infeed), one or more Motor Modules, and any associated Sensor Modules (SMC) via DRIVE-CLiQ. The EQN 1336S does not have a native DRIVE-CLiQ interface, so the encoder must be wired to a Sensor Module Cabinet (SMC) that translates EnDat to DRIVE-CLiQ. For an EnDat 2.1 sin/cos encoder, the correct SMC is the SMC20 (Sensor Module Cabinet 20).

Topology rule: A Sensor Module is a "child" of either a Control Unit (CU) or a Motor Module (MM). For a stand-alone single-axis drive, the typical chain is: CU320-2 → Motor Module (or Line Module + Motor Module) → SMC20 → EQN 1336S. The SMC20 must appear in STARTER's online topology for the encoder to be detected.

F1420 "Component Difference" – Definition and Sub-Codes

F1420 is raised by the SINAMICS firmware when the component type, article number, or vendor identifier that the drive object has in its offline configuration does not match the component that is electrically present and responding on the relevant DRIVE-CLiQ node. The full message is typically:

F1420 (N, A) Component difference: Component number %1, component type %2, connection number %3, reference %4

On SINAMICS S120, the fault can originate from:

Typical cause Symptom First check
Configured SMC type not present (e.g., SMC20 expected, only SMC30 wired) Encoder node shows yellow question mark in STARTER Compare the hardware in the DRIVE-CLiQ chain with the offline topology
p0400 encoder code does not match the connected encoder (vendor / resolution) F1420 raised immediately at first encoder read Set p0400 = 9999 first, then re-select the correct code
Motor Module not commissioned / DO missing in project All downstream sensors (including SMC20) marked as unknown Re-run automatic configuration in STARTER
Two identical DO numbers or wrong DO assignment Cross-fault, drive objects reference each other's components Inspect the DO list in the project navigator
Firmware on the SMC/CU older than the encoder minimum Encoder not in supported list; p0400 codes missing Update the CU and SMC firmware to the same SSP, or use an encoder code that the firmware recognizes

Decoding r2124 = 17040409

The fault value stored in r2124 (or r0949 for the same fault) is a 32-bit integer that Siemens encodes with the cause, the affected drive object, and the connection number. The value 17040409 decimal equals 0x0104_0409 in hexadecimal. Decoding in the way Siemens publishes in the S120 List Manual:

Field Value Interpretation
Byte 3 (bits 24-31) – Component class 0x01 Encoder interface / SMC (component class = "encoder")
Byte 2 (bits 16-23) – Sub-component / sub-error 0x04 Sub-error 4: "expected component not found" / vendor mismatch
Byte 1 (bits 8-15) – Reference / additional info 0x04 Reference code 4 (vendor ID or interface mismatch)
Byte 0 (bits 0-7) – Connection number on the DO 0x09 Connection number 9 (encoder interface 2 on the affected drive object)
Engineer field note: The exact semantic split of r2124 can differ between firmware versions. The interpretation above is the convention used in the SINAMICS S120/S150 List Manual for firmware V5.x. Always cross-check with the latest List Manual for the installed firmware: SINAMICS S120/S150 Manuals on Siemens Industry Online Support.

The most actionable read of the value is "the drive object expected an SMC20 or another encoder interface at the encoder connection, but what is sitting at that DRIVE-CLiQ port either is not the right type or does not respond correctly as an encoder." This is why changing p0400 alone does not clear the fault – the issue is at the component / topology level, not the encoder-code level.

p0400 Reference: Encoder Selection Codes for EnDat on SINAMICS S120

p0400[0..n] (Encoder type selection) is an indexed parameter that maps a numeric code to a specific encoder vendor / protocol / resolution. The List Manual lists the values supported by the firmware version in use. For EnDat 2.1/2.2 sin/cos encoders on firmware V5.1, the typical codes are:

p0400 Meaning Typical encoder family Use with EQN 1336S?
204 EnDat 2.1 sin/cos 1 Vpp, no commutation EQN / ECN, sin/cos 1 Vpp Possible – but only if C/D tracks exist; not the most accurate code
214 EnDat 2.2 sin/cos 1 Vpp, no commutation EQN / ECN EnDat 2.2 Possible if EQN 1336S firmware is EnDat 2.2
224 EnDat 2.1 sin/cos 1 Vpp, with commutation EQN / ECN EnDat 2.1 Correct for EQN 1336S when wired via SMC20 with C/D tracks
244 EnDat 2.2 sin/cos 1 Vpp, with commutation EQN / ECN EnDat 2.2 Correct for EQN 1336S if the encoder is EnDat 2.2
10058 Third-party / non-listed Heidenhain code (firmware-dependent) User-defined Not in the standard V5.1.1.12 list; will raise F1420
9999 No encoder defined — Diagnostic – always use as a baseline

The codes 204 / 214 assume a sin/cos encoder without a separate commutation track. The codes 224 / 244 are for sin/cos encoders with a commutation track. The EQN 1336S has integrated commutation (commutation is derived from the absolute position), so either no-commutation or with-commutation codes may be valid depending on how the drive uses the C/D signals on the SMC20. If the Heidenhain datasheet for the specific EQN 1336S variant states "EnDat 2.1 with incremental signals 1 Vpp", 224 is the correct choice on firmware V5.1. If the datasheet states "EnDat 2.2", 244 applies. The List Manual for firmware V5.1 lists the exact resolution associated with each code; the encoder's singleturn / multiturn resolution in p0421 / p0422 must match the EQN 1336S nameplate (29 / 12 bits).

DRIVE-CLiQ Topology Rules and the "Yellow Question Mark"

When STARTER / Startdrive displays the encoder with a yellow question mark under the Topology tab, it means the offline configuration does not have a component object at that DRIVE-CLiQ port, or the component object that is there does not match what the firmware has discovered online. The most common reasons for this on a Heidenhain EQN 1336S configuration are:

  1. The SMC20 is missing from the offline project. STARTER only knows about the components that were added to the project. If no SMC20 was inserted into the topology tree (right-click → "Insert new component → Sensor Module Cabinet 20"), the firmware finds the device at the DRIVE-CLiQ port but cannot bind it to a drive object.
  2. The SMC20 is on the wrong port. SMC20s are typically connected to the encoder port of the Motor Module (X22 on most MM types), not the DRIVE-CLiQ port of the CU.
  3. The Motor Module itself is not commissioned. If the Motor Module's drive object has not been auto-configured, every component downstream of it appears as unknown.
  4. The Drive Object is mis-numbered. When using a CU320-2 with no Line Module, the first Motor Module must be assigned to DO 2 (Servo) or DO 11/12 (Vector), depending on the commissioning wizard. A wrong number causes the encoder to be looked up under a non-existent DO.

Worked procedure to clear a yellow question mark:

  1. Right-click the Control Unit and choose Automatic configuration → Activate (or Automatic device configuration in Startdrive).
  2. Let STARTER detect the actual DRIVE-CLiQ topology, then compare it to the offline project.
  3. Manually correct any missing or wrong components so the offline topology matches the online detection 1:1.
  4. Save the project to the PG/PC and download it to the CF card of the CU320-2.
  5. Power-cycle the drive line-up.

SMC20: The Required Interface for EnDat 2.1/2.2 sin/cos Encoders

The SMC20 (Sensor Module Cabinet) is the only cabinet-mounted Sensor Module that supports EnDat 2.1/2.2 combined with 1 Vpp sin/cos incremental signals. Key characteristics:

Specification SMC20 Notes
Supported encoder protocols EnDat 2.1, EnDat 2.2, SSI with 1 Vpp sin/cos Not for SSI-only, TTL, HTL
DRIVE-CLiQ interface 1 port (to CU or MM) Hot-plug capable
Encoder interface 17-pin M23 connector (X520) Use the matching Heidenhain adapter cable
Maximum cable length to encoder 100 m Use Heidenhain pure-digital cable only
Status LEDs Ready (green) and Encoder status (red/green) Red = encoder fault (e.g., wire break, EnDat comm error)
Firmware Updated via the CU320-2 during operation SMC20 firmware must match CU firmware family (here V5.1)

The SMC20 must be physically present at the encoder port of the Motor Module, and the offline project must have an SMC20 object inserted at the same DRIVE-CLiQ node. If the project has the wrong SMC type (e.g., an SMC30, which is for TTL/HTL/SSI), the firmware will raise F1420 because the component article number does not match.

Heidenhain adapter cable: Heidenhain supplies pre-assembled EnDat cables with a 17-pin M23 connector on the SMC side and the matching connector on the encoder side. Use only the correct Heidenhain part-numbered cable – third-party cables without proper shielding will cause intermittent F3 (encoder wire break / CRC) faults that mask as F1420 at first commissioning.

Commissioning Procedure: EQN 1336S on CU320-2 V5.1.1.12

Use the following procedure in STARTER V5.4 (or Startdrive in TIA Portal, but the project used in the original case was STARTER V5.4):

  1. Open the project and go online. Connect STARTER to the CU320-2 over PROFIBUS, PROFINET, or Ethernet, then right-click the CU and choose Connect to target system → Online.
  2. Upload the actual topology. Right-click the CU, Target device → Upload from device (RAM to ROM). This pulls the real DRIVE-CLiQ topology from the CU.
  3. Insert missing components. If the SMC20 does not appear in the offline topology, right-click the Motor Module → Insert new component → Sensor Module Cabinet 20. Set the port number to the physical DRIVE-CLiQ port on the Motor Module (typically X22 for the encoder interface).
  4. Set p0400 on the affected drive object. Open the drive object that owns the encoder, navigate to Configuration → Encoder, and set p0400 to the correct EnDat code:
    • p0400[0] = 244 if the EQN 1336S is EnDat 2.2 with commutation.
    • p0400[0] = 224 if the EQN 1336S is EnDat 2.1 with commutation.
  5. Set p0400 = 9999 first as a diagnostic baseline. If F1420 still appears with p0400 = 9999, the problem is not the encoder code; the problem is the topology. Do not waste time cycling p0400 values if p0400 = 9999 already triggers F1420.
  6. Verify the encoder nameplate parameters. After selecting the encoder code, STARTER writes the default singleturn / multiturn resolution and inversion to the drive. Compare:
    • p0421[0] (singleturn resolution) should equal 29 bits for the EQN 1336S.
    • p0422[0] (multiturn resolution) should equal 12 bits.
    • p0423[0] (fine resolution for position) is typically 20 bits for the SMC20 with 1 Vpp sin/cos.
  7. Save and download. Right-click the drive object → Copy RAM to ROM, then Load to target device. Confirm the download completes without further F1420 / A1420 messages.
  8. Power-cycle. Switch the line supply OFF, wait at least 30 seconds for the DC bus to discharge, then switch ON. The control unit boots with the new project and performs a fresh encoder initialization.
  9. Check the fault buffer. After power-up, open Diagnostics → Fault buffer and confirm that F1420 no longer appears. The drive should go to "Commissioned" state.

Verification and Acceptance Test

Once F1420 is cleared, perform a structured acceptance test to confirm the encoder is working at the SINAMICS level:

  1. Encoder status word: Read r0480 (encoder status word Gx_ZSW). Bit 0 (encoder ready) must be set, and bit 1 (parking not active) must be set. Bits 12/13 (function safety status) are not relevant for an SMx without PROFIsafe.
  2. Position actual value: Read r0482[0] (encoder position actual Gx_XIST1). The value must track physical shaft rotation, in fine-resolution units (24 bits = 16,777,216 per revolution at the default fine resolution).
  3. Velocity actual: Read r0061 (speed actual). At standstill, the value must be near 0 rpm, with jitter below the configured p4649 threshold.
  4. Commutation accuracy: With the motor de-energized and the holding brake open, manually rotate the shaft one full revolution. The commutation offset p0431 (or p1011 for induction motors) must remain stable. If commutation shifts, the absolute encoder may be losing a count; check the EnDat cable shielding.
  5. Endat init status: Read r0403[0] (encoder type of operating mode). The display should read "EnDat 2.1 sin/cos" or "EnDat 2.2 sin/cos" depending on the connected EQN 1336S variant.
  6. Topology online vs. offline match: Right-click the CU → Topology. The SMC20 and the EQN 1336S (displayed as the encoder type) must show no yellow question mark. The order numbers and firmware versions should match the components in the cabinet.

Common Pitfalls and Field Notes

The original case report contains several patterns that are easy to repeat in the field. The most common are listed here so that subsequent engineers do not re-introduce the same issues:

  • Setting p0400 without checking the topology. All five of the values 204 / 214 / 224 / 244 / 10058 raised F1420 in the original report. The reason is not that the codes are wrong – it is that the topology was not corrected first. If the offline project has no SMC20, the drive will raise F1420 no matter which EnDat code is selected. Always start with p0400 = 9999 and confirm the fault is reproducible.
  • Using a non-standard p0400 like 10058. Codes above 10000 on the S120 are typically reserved for user-defined third-party encoders with a manufacturer-specific electronic nameplate (via p0440 / p0447). Without that nameplate properly loaded, the firmware cannot decode the encoder and raises F1420. Do not guess a code outside the standard List Manual list.
  • Confusing the SMC and the Sensor Module Integrated (SMI). Some motors come with an SMI mounted directly on the motor, which is a DRIVE-CLiQ device. The EQN 1336S is a cabinet-mounting encoder without DRIVE-CLiQ, so it must go through a separate SMC20. Inserting an "SMI 20" or "SMI 30" into the offline project instead of an SMC20 will raise F1420.
  • Misreading r2124 as a single number. The fault value is a packed field. Engineers sometimes look at "17040409" and think it is a single large identifier, then chase non-existent error codes. The correct read is the byte-wise split shown in the decoding table above.
  • Skipping the power-cycle. After changing p0400, some firmware versions cache the encoder identification for the duration of the active session. A "warm restart" (p0970 = 1 alone) is not always sufficient. Power-cycle the line supply to force a cold re-init of the encoder interface.
  • Mixing up C/D and A/B wiring. The EQN 1336S has both EnDat data lines and sin/cos 1 Vpp lines. If the cable is wired correctly for a Heidenhain pure-digital cable, the SMC20 will see both tracks. If the cable is wired as SSI-only (no A/B), the drive may show "SSI" instead of "EnDat sin/cos" in r0403.
Related fault to watch for: If, after the fix, the drive raises F3 (encoder wire break) or F3 (encoder CRC error) instead of F1420, suspect the cable shielding, the connector pinout, or a damaged cable. Heidenhain's pure-digital cables are not field-repairable – replace the entire cable if there is any sign of damage.

Standard Document References (Verification)

Before accepting the fix, always verify the configuration against the current Siemens documentation. The two key documents are:

Frequently Asked Questions

What does fault F1420 on a SINAMICS S120 with a Heidenhain EQN 1336S encoder mean?

F1420 "Component Difference" means the encoder interface component that the drive object expects at a given DRIVE-CLiQ port does not match what is physically detected. With a Heidenhain EQN 1336S this is almost always a missing or wrong Sensor Module (typically an SMC20 is required, not an SMC30 or an SMI) in the offline topology, or a p0400 encoder code outside the firmware's supported list.

How do I decode the F1420 fault value r2124 = 17040409?

17040409 decimal = 0x01040409. On SINAMICS S120 firmware V5.x the value is byte-wise: 0x01 = encoder / SMC class, 0x04 = sub-error "expected component not found", 0x04 = vendor or interface reference code, 0x09 = connection number on the affected drive object. The most actionable read is "expected an SMC20-style encoder interface at connection 9 but did not find one". Always confirm against the List Manual for the installed firmware.

What is the correct p0400 value for an EQN 1336S on CU320-2 firmware V5.1.1.12?

For an EnDat 2.1 EQN 1336S use p0400 = 224 (sin/cos 1 Vpp with commutation). For an EnDat 2.2 EQN 1336S use p0400 = 244. The codes 204 and 214 are for EnDat encoders without a separate commutation track. The code 10058 is not a standard code on firmware V5.1.1.12 and will raise F1420. Always cross-check p0400 against the List Manual for the firmware version in use.

Why does the EQN 1336S show a yellow question mark in the STARTER topology?

A yellow question mark means the offline project does not have a component object at the corresponding DRIVE-CLiQ port, or the component object that is there does not match what the firmware has discovered online. For an EQN 1336S, insert an SMC20 (Sensor Module Cabinet 20) into the offline topology at the encoder port of the Motor Module, perform automatic configuration, then download the project to the CU320-2 and power-cycle the drive.

Do I need an SMC20 or an SMC30 for the EQN 1336S?

You need an SMC20. The EQN 1336S uses EnDat 2.1 or 2.2 combined with 1 Vpp sin/cos incremental signals, and the SMC20 is the only cabinet Sensor Module that supports this combination. The SMC30 is for SSI, TTL, and HTL encoders and will not correctly handle the EnDat 2.1/2.2 protocol of the EQN 1336S, which will trigger F1420.

Will a parameter download or warm restart clear F1420 on its own?

No. F1420 is a component-difference fault, not a parameter-value fault. Clearing it requires (1) correcting the offline topology, (2) selecting a valid p0400, (3) downloading the project to the CU320-2, and (4) a full power-cycle of the drive line-up (off, wait for the DC bus to discharge, on). A warm restart (p0970 = 1) alone is not sufficient because the cached encoder identification may persist for the session.

Back to blog