SINUMERIK 840D Pl Spindle: Fixing Reference Drift and RPM Error

David Krause20 min read
Motion ControlSiemensTroubleshooting
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

SINUMERIK 840D Pl Spindle: Fixing Reference Drift and RPM Error

Two distinct but co-occurring anomalies are routinely observed on SINUMERIK 840D Pl (Powerline) and 840D sl (Solution Line) installations where the speed/position feedback encoder is mounted on the motor rather than on the spindle: (a) the actual spindle position displayed on the HMI rotates more or less than 360 ° per mechanical turn, and (b) the spindle rotates at an RPM that does not equal the programmed S-word, even with rapid/feedrate override = 100 %, no M40/M41–M45 gear-stage change active, and no spindle override. A third, more subtle symptom is that the position at which the spindle becomes "referenced" after power-on or NCK-RESET varies by 60 °, 180 ° or some other non-multiple of 360 ° from cycle to cycle. All three symptoms have a common, frequently misdiagnosed root cause: the controller's load-gear and drive-encoder machine-data pairs (MD31050/MD31060 and MD31070/MD31080) are tuned independently, while the S-word to speed setpoint calculation uses the result of their product. This reference compiles the field-validated parameter set for an Heidenhain ERN 1387 mounted on the motor shaft with a toothed belt (3 motor revolutions for 2 spindle revolutions), homing via a separate BERO (proximity) sensor wired to the drive module connector X432, on a machine where the NCU was upgraded from NCU 571 to NCU 573.2. Cross-check the resolver at Siemens Industry Online Support and the encoder catalog page at Heidenhain ERN 138x encoder series.

Scope and naming. SINUMERIK 840D "Pl" denotes the original Powerline hardware generation using NCU 5x0 series; "sl" denotes Solution Line using NCU 7x0 and the later 5x0.2 variants. The machine data numbers (MD3xxxx) are identical between 840D Pl and 840D sl, but the firmware expectations, default values, and bus timings differ. Confirm your NCU software release with CFGCARD/IS BEDIEN DIENST menu before changing MDs.

1. System Topology and Observed Symptoms

The failing machine exposes the following architecture, derived from the controller's actual MD values and the drive module wiring diagram:

Element Part Connection
HMI controller NCU 573.2 (replacing original NCU 571) Backplane slot
Spindle drive module SIMODRIVE / SINAMICS S120 (X432 BERO input) DRIVE-CLiQ or PROFIBUS to NCU
Motor-mounted feedback Heidenhain ERN 1387 (incremental, 1 Vpp) Motor feedback cable, evaluated as spindle encoder
Mechanical coupling Toothed belt, gear ratio i = 3/2 3 motor rev → 2 spindle rev
Reference BERO 24 V PNP, NC contact Drive module connector X432, pin configured as probe input
PLC SIMATIC S7-300 with FM/IM, HMI DB21 in user program MPI/PROFIBUS DP

The reported symptoms in chronological order are:

  1. Spindle HMI display shows < 360 ° per actual spindle turn (mechanical angle reading is foreshortened).
  2. After MD31070/MD31080 are changed to ratio 3/2, the position display becomes correct, but M3 S1500 drives the spindle at only 1000 RPM (with override at 100 %).
  3. The position at which Spindle referenced appears on the HMI after each NCK reset is inconsistent — sometimes 60 ° after the BERO signal, sometimes 180 ° after the BERO signal.
  4. Pressing RESET on the MCP yields the HMI status Channel interrupted for 10–12 s before the channel is operational again, while the same operation typically clears in < 2 s on a healthy 840D Pl machine.

Each symptom is independent but the root causes interact; treat them as a single commissioning cluster.

2. Mechanical Transmission: Encoder-to-Spindle Ratio (3 : 2)

The kernel of every MD decision is the ratio between motor shaft revolutions and spindle (load) revolutions:

n_spindle = n_motor × (MD31050 / MD31060)

With the belt giving 3 motor revolutions per 2 spindle revolutions, the algebraic ratio is 2/3. Therefore the canonical machine data values are:

  • MD31050 $MA_LOAD_GEAR_RATIO_NUMERA = 2
  • MD31060 $MA_LOAD_GEAR_RATIO_DENOM = 3

This ratio is multiplied by the drive encoder gear ratio, MD31080/MD31070, to obtain the controller's effective feedback scaling:

displayed_position_mech = encoder_counts × (MD31080/MD31070) × (MD31050/MD31060)

Because the ERN 1387 is mounted on the motor, the encoder turns 1:1 with the motor, so MD31070 and MD31080 must both be 1. Setting them to non-unity values, as the original commissioning did with 3 and 2, double-applies the ratio and gives the exact "less than 360 ° per turn" symptom.

Ambiguity note. The HMI display later becomes consistent when MD31050=20, MD31060=30 (a numerical multiple of 2/3 by 10) instead of the equivalent 2/3 pair. This is mathematically identical (20/30 = 2/3), but if it produces a different mechanical angle read than 2/3 in the actual installation, an additional gearbox stage (e.g., a 10:1 reductor behind the belt) is present in the driveline and has not been disclosed in the machine data sheet. Verify by jogging the spindle one mechanical turn by hand and reading ACTUAL_POSITION in the spindle service screen.

3. Machine Data for Load Gear (MD31050 / MD31060)

MD Name Role Value (this machine)
31050 $MA_LOAD_GEAR_RATIO_NUMERA Numerator of load gear ratio Spindle revolutions per motor revolution × denominator 2 (or 20)
31060 $MA_LOAD_GEAR_RATIO_DENOM Denominator of load gear ratio Motor revolutions per spindle revolution × numerator 3 (or 30)

Behavioural test:

  1. Jog the spindle in M3 at very low speed (≤ 50 RPM actual) so the human eye can verify rotation.
  2. Read the position in the service menu Axis → Spindle → Display position.
  3. Take a registration mark on the spindle housing with a marker.
  4. Confirm that exactly 360.000 ° of displayed position corresponds to one mechanical spindle turn.

If the displayed position is 540° per spindle turn, the ratio is inverted (MD31050 > MD31060). If the displayed position is 240° per spindle turn, the ratio is over-divided; halve MD31050 or double MD31060. If it is 360° × (31050/31060), the load ratio is correct and the discrepancy is in MD31070/MD31080 or in MD34200's homing behaviour.

4. Machine Data for Drive Encoder (MD31070 / MD31080)

MD Name Role Value (this machine)
31070 $MA_DRIVE_ENC_RATIO_DENOM Denominator of measuring-system gear ratio Encoder revolutions × numerator 1
31080 $MA_DRIVE_ENC_RATIO_NUMERA Numerator of measuring-system gear ratio Motor revolutions × denominator 1

Per Siemens documentation the pair MD31080/MD31070 represents the ratio of motor revolutions to encoder revolutions (or vice-versa depending on convention). Because the ERN 1387 is mechanically fixed to the motor, the correct values are 1, 1. The original pairing of 31070=3, 31080=2 forces the controller to interpret each spindle revolution as the encoder having turned 2/3 of a motor revolution, which compounds the belt ratio and yields exactly the "display less than 360 °" symptom. Reset both MDs to 1 before continuing.

Cross-check before HMI write. If the drive commissioning tool (e.g., STARTER / SimoCom U) was used to set the encoder ratio on the drive side, the controller-side MD31070/MD31080 must agree with that setting. Mismatched ratios on the two ends of the DRIVE-CLiQ / PROFIBUS link produce phantom position errors and can cause spontaneous triggering of Axis %1 following error (25050 on SINUMERIK 840D Pl).

5. Index Pulse and BERO Polarity (MD34120)

The Heidenhain ERN 1387 outputs one zero reference pulse per revolution. The BERO sensor delivers one falling (negative) edge per spindle revolution when the spindle marker passes its face. Both pulses are required for robust homing:

  • Index pulse: gives absolute position modulo 360 °/encoder resolution within one revolution.
  • BERO: gives the absolute position within one spindle revolution, and is used as a coarse gate so the controller does not have to rotate the spindle through many index pulses during homing.

MD34120 selects the active edge of the BERO. For a PNP BERO with NC contact a negative edge corresponds to REFP_BERO_LOW_ACTIVE = 1. If the polarity is reversed the controller will home against the opposite side of the spindle index and the displayed reference will be systematically shifted by 180 °.

MD34120 value BERO interpretation When to use
0 BERO high-active (rising edge) PNP sensor with NO contact, rising edge = target mark
1 BERO low-active (falling edge) PNP sensor with NC contact, falling edge = target mark — this machine
2 BERO both edges Reserved / mode-dependent; do not use for spindles

Verify polarity with a scope (channel 1 = BERO at X432, channel 2 = spindle marker as observed on the spindle housing): the falling edge of the BERO should coincide with the spindle marker within ± 5 mechanical degrees. Anything outside this window indicates either a faulty BERO adjustment, a worn-tooth belt, or an axis-swapped cable.

6. Referencing Mode MD34200 — Selection and Behaviour

MD34200 selects which signal(s) are used to synchronize the controller's internal zero with the machine's mechanical zero. For belt-driven spindles with both an encoder index pulse and a BERO, the recommended mode is 5.

MD34200 mode Algorithm Typical application Outcome on this machine
0 No hardware homing required Rotary axis modulo axes (no referencing) n/a
1 BERO edge only Linear axis with home BERO; legacy Lossy — no encoder zero reference restored
2 Encoder zero pulse only Linear axis with rotary encoder zero Two valid zero positions per motor revolution (≤ 180 ° drift)
3 BERO + encoder zero with direction flag Linear motor / direct drive Inconsistent if belt slip present
4 BERO rising edge only Same as 1 but on edge n/a for this hardware
5 BERO + encoder zero in same revolution Spindle with separate home BERO — recommended Stable reference at index pulse
6 BERO + encoder zero, second-side detection Hirth-style tooth coupling over-engineered for belt drive
7 Encoder zero, position-evaluated only Drives without BERO No coherent mechanical zero

For a spindle with a BERO that produces one falling edge per spindle revolution and an incremental encoder with one zero pulse per motor revolution, MD34200 = 5 is the canonical choice. The controller rotates the spindle until the BERO edge is detected, then waits one encoder period for the next zero pulse and latches position. The result is a deterministic reference position.

Why modes 2 and 7 fail. Modes 2 and 7 ignore the BERO, looking only at the ERN 1387 zero pulse. Because the encoder is on the motor, the zero pulse fires every motor revolution (every 1.5 spindle revolutions in this case). Without a BERO, the controller cannot decide which zero pulse to latch, leading to random reference positions on every reset. Mode 5 is the only mode that produces a stable spindle home for this topology.

7. Speed Setpoint Mismatch: Why M3 S1500 Reads 1000 RPM

The reported symptom of M3 S1500 producing a measured 1000 RPM spindle speed with override at 100 % is almost always not a gear-ratio problem; it is almost always a default ceiling on one of three machine-data parameters that clamp the programmed S-word to a maximum.

The actuator control loop in the SINUMERIK performs:

n_motor_commanded = (S × min{MD35100, MD35130[gear]}) × (MD31060/MD31050) × drive scaling

The command path is governed by:

MD Name Default Effect
35100 $MA_SPIND_VELO_LIMIT Maximum spindle speed 1000 RPM Hard ceiling on S-word in open-loop and M3/M4 modes
35110 $MA_GEAR_STEP_SPEEDCTRL_THRESHOLD Threshold for spindle in closed-loop (speed control mode) 0.9 × max Switch-over between M-codes for spindle feedback loop
35130 $MA_GEAR_STEP_MAX_VELO_LIMIT[n] Max speed per gear stage 500/1000/2000/… Gear-stage-specific ceiling, indexed by actual gear selected

The Siemens factory default for MD35100 = 1000 RPM (in the v1.x default set) exactly explains the symptom "S1500 yields 1000 RPM". Even if the S-word is 1500 and the spindle override is 100 %, the controller clamps the spindle at 1000 RPM. The remedy:

  1. Set MD35100 $MA_SPIND_VELO_LIMIT to a value greater than or equal to the S-word maximum +10 % margin. For this machine use MD35100 = 2000 if the encoder's mechanical limit allows.
  2. Verify that MD35130[1..5] for each configured gear stage also accommodates the S-range; for a single-gear-stage (gearing-less) machine set MD35130[1] = 5000 to remove stage limitations, or use the values below.
  3. For an ERN 1387 motor with 3000 RPM nominal, the achievable spindle speed is: n_spindle_max = 3000 × (MD31050/MD31060) = 3000 × 2/3 = 2000 RPM. Therefore MD35100 must be between 1500 and 2000.
Check spindle override, not just MD35100. Rapid/feedrate override does not affect spindle override. If the MCP's Spindle override selector is at 50 % instead of 100 %, the programmed 1500 RPM becomes 750 RPM after MD35100 clamping. Confirm the override window on the MCP shows 100 % before drawing conclusions about the gear ratio.

8. Spindle Speed Limits MD35100 / MD35110 / MD35130

An independently commissioned parameter set for a single-stage spindle with the ERN 1387 and 3/2 belt is:

MD Value (recommended) Rationale
35100 $MA_SPIND_VELO_LIMIT 2000 Max S-word with 10 % margin over encoder cap
35110 $MA_GEAR_STEP_SPEEDCTRL_THRESHOLD[1] 1700 Switch from open-loop to closed-loop speed control
35120 $MA_GEAR_STEP_SPEEDCTRL_THRESHOLD[2..5] n/a Only one gear stage configured
35130 $MA_GEAR_STEP_MAX_VELO_LIMIT[1] 2000 Stage 1 maximum
35135 $MA_GEAR_STEP_MIN_VELO_LIMIT[1] 100 Minimum stable speed in stage 1
35150 $MA_SPIND_DES_VELO_TOL 0.1 (relative) Tolerance on speed setpoint, used for spindle at speed output

If the spindle is configured for two or more gear stages (M40/M41–M45 in the part program), repeat the gear-stage entries for MD35130[2..5] with the values appropriate to that stage. Stage 1 is for the low-speed, high-torque end of the spindle speed range; subsequent stages multiply by belt/planetary ratios. Without M40, only [1] is active.

9. Inconsistent Reference Position (60 ° vs 180 ° Drift)

With MD34200 = 5, every homing cycle should land at the same mechanical angle relative to the BERO edge. Observed drift between 60 ° and 180 ° indicates the controller is latching two different zero-pulse candidates. The possible causes, in order of likelihood, are:

Cause Test / fix
Belt tooth skip or stretch Static torque test: lock motor, mark spindle, rotate motor by 1/10 turn; if spindle marker moves inconsistent with the belt ratio, replace belt and pulleys
BERO hysteresis or chattering Scope BERO + spindle marker; verify one clean edge per revolution, > 100 ms high/low dwell
BERO in wrong direction rotation Reverse M3 ↔ M4 and check direction sense in $MA_SPIND_ROT_DIR; the BERO falling edge must precede (M3 / clockwise) or follow (M4 / counter-clockwise) the index pulse as expected
NCU sampling jitter or different firmware If hardware was upgraded from NCU 571 to NCU 573.2, check that SW_VERSION compatible and re-load backup before homing
Double BERO edge from noise Add 1 msec debounce in PLC on the BERO channel; ensure shielded cable with shield grounded at cabinet side only
MD34200 not enabled for the BERO Verify with MD34210 $MA_ENC_REFP_REF_POS that the reference coordinate equals the desired mechanical zero

The most prevalent cause after an NCU swap (NCU 571 → NCU 573.2) is firmware default-state divergence: the older NCU 571 may have used a different homing state machine. Reload the machine manufacturer's commissioning archive; if unavailable, manually reset MD34200 to 5 and explicitly compute MD34102 REFP_CAM_DIR_IS_MINUS = 0 and MD34104 REFP_DRIVE_NEGATED = 0 before homing, then save via SAVE /CFGINIT.

10. NCU Migration 571 → 573.2 Compatibility

The NCU 571 (6FC5 271-0AA00-0AA0) is the original 840D Pl control unit. The NCU 573.2 (6FC5 573-2AY00-… ) is a 840D sl Solution Line NCU. They are not directly interchangeable; they require a different CF card, different MLFB firmware (different $NC_VERSION default range), and different PLC firmware. Typical side-effects of an unconditional drop-in replacement are:

  • Spindle MD defaults do not load; controller boots with HMI error 600D/F "PLC user program version mismatch".
  • PLC cycle is forced to 4 ms (NCU 571 default) but actual achievable is 8 ms or more under NCU 573.2 if the PLC OB1 was not refactored, slowing the reset handshake.
  • Drive objects (DO) for the spindle may not be assigned to logical axis index 4 / 5, leading to Channel interrupted until re-mapping completes.

Recover the 840D Pl behaviour on NCU 573.2 by:

  1. Confirm NCU software release matches the CF card image (boot the NCU in Service mode, check Display info → SW release).
  2. Load the original machine vendor's commissioning backup: Enable HMI → Startup → Commissioning → Read-in archive.
  3. Verify PLC $PLC_VERSION and toolbuild messages on the HMI are clean.
  4. Reset the spindle axis with GETSEMAPHORE / SETSEMAPHORE in the PLC and clear axis alarms with RESET from the NCK.

11. Reset Behaviour and DB21.DBX35.6 "Channel Interrupted"

The HMI status Channel interrupted is set from the controller's notification interface. The corresponding signal is on the user-program interface:

DB21.DBB35 Bit 6 = channel interrupted

Under normal conditions this bit clears within < 2 seconds after MCP-RESET. The 10–12 second dwell observed on this machine indicates the controller is waiting on one or more asynchronous handshakes that fail to complete in their nominal window. Typical causes:

Cause Why it doubles or triples the reset time Fix
Drive bus (PROFIBUS / DRIVE-CLiQ) init too slow NCU 573.2 boots faster than the spindle drive establishes a cyclic link Disable and re-enable the spindle DO in STARTER; check topology file
PLC OB100 restart waiting on NCU PN handshake PLC waits for DB20.DBX0.0 = 1 before completing OB100 Re-time-out the OB100 handshake to 6 seconds
Spindle encoder not yet synchronised Homing state machine in Reset state; needs explicit $AC_SPLIT_2 to advance Force a Reset done condition with PLC FB7 or equivalent
MD inconsistent with axis configuration NCK waits for NC start interlock because spindle axis has alarm 26074 "encoder config invalid" Verify MD30300/30310/30320/31050-31080 in consistent pairs
CF card corruption / NCU 573.2 wrong image NCK repeatedly fails axis-start-up checks before reporting ready Reflash CF card with vendor image

A typical reset-time of 2 s rises to 10–12 s if the controller is stuck on a hung PROFIBUS-DP cyclic exchange on the spindle DO. The PROFINET or PROFIBUS scan time is determined by the bus configuration in HW-Config and is normally ≤ 4 ms. The error pattern observed aligns with PROFINET sync retries on drive-object DOWN-link.

12. Recommended Parameter Set and Commissioning Procedure

The consolidated MD set recommended for this machine is shown below. Adjust gear stage indexes ([1..5]) to suit the actual gearbox; the values below assume a single-gear-stage spindle (M40 not in part program).

MD Value Comment
30300 $MA_IS_ROT_AX 1 Spindle = rotary axis
30310 $MA_ROT_IS_MODULO 1 Modulo 360 ° display
30320 $MA_DISPLAY_IS_MODULO 1 HMI shows 0-360
31010 $MA_ENC_GRID_POINT_DIST enc-specific ERN 1387 evaluation: see Heidenhain data sheet; default 360000
31020 $MA_ENC_RESOL ERN 1387 marks/res Refer to Heidenhain ERN 138x for the order code
31050 $MA_LOAD_GEAR_RATIO_NUMERA 2 (or 20) Spindle rev per motor rev × denominator
31060 $MA_LOAD_GEAR_RATIO_DENOM 3 (or 30) Motor rev per spindle rev × numerator
31070 $MA_DRIVE_ENC_RATIO_DENOM 1 Encoder 1:1 with motor
31080 $MA_DRIVE_ENC_RATIO_NUMERA 1 Encoder 1:1 with motor
34102 REFP_CAM_DIR_IS_MINUS 0 Homing in positive direction (default)
34104 REFP_DRIVE_NEGATED 0 Drive not negated
34110 REFP_CYCLE_NR 1 Use first BERO assignment
34120 REFP_BERO_LOW_ACTIVE 1 Negative edge active
34200 ENC_REFP_MODE 5 BERO + encoder zero index
34210 ENC_REFP_REF_POS computed (e.g. 0.0) Mechanical zero of spindle
35100 SPIND_VELO_LIMIT 2000 S-word max RPM ceiling
35110 GEAR_STEP_SPEEDCTRL_THRESHOLD[1] 1700 Closed-loop switch-over
35130 GEAR_STEP_MAX_VELO_LIMIT[1] 2000 Stage 1 max RPM
35140 GEAR_STEP_MIN_VELO_LIMIT[1] 100 Stage 1 min RPM
35150 SPIND_DES_VELO_TOL 0.1 Spindle-at-speed tolerance
36200 $MA_AXVELO_LIMIT[1] 3.0 [rad/s²] Axis max acceleration

Apply the following procedure after writing these values:

  1. Run NCK reset (cold restart, NOT a power-cycle) so the new MDs are picked up.
  2. Confirm the HMI reports no axis alarms on the spindle.
  3. Run the spindle in M3 S1000 and read actual RPM via tacho on the spindle housing. Compare to M3 S500 and M3 S1500. The actual RPM should be a linear function of S, scaled only by spindle override and MD35100/MD35130 ceilings.
  4. Set S = 0 and MC spindle: read "spindle stopped" within 1 s of S0.
  5. Issue SPC(0) or DB21.DBX30.0 = 1 via PLC to trigger spindle parameter set switch.
  6. Issue a positioning check: SPOS=0 then SPOS=180. The spindle should align at the programmed angle without slipping the BERO mark.
  7. Power off / power on, and verify referencing lands at the same mechanical angle each cycle (within ± 1 encoder count).

13. Field Validation and Verification Checklist

Check Expected Pass criterion
Mechanical angle per spindle turn (encoder) 360.000 ° measured on HMI ± 0.010 °
Spindle speed at M3 S1500 1500 RPM measured with tacho ± 5 RPM
BERO polarity Falling edge at spindle marker ± 5 mechanical degrees
Index pulse position vs. BERO Deterministic, never drifts ≥ 20 cycles, same position
Reset time (MCP RESET) Channel ready within 2 s ≤ 4 s
Acceleration / deceleration No following error alarm No 25050 / 25060 in alarm history
Spindle override behaviour 50 % override → 50 % actual Linear 0-100 %
Gear stage switching M40/41/42 transitions zero alarm Each stage within ± 1 RPM

Run the checklist twice — once before and once after a power-cycle — to capture any non-volatile MD persistency issues that would indicate a CF card / NCU backup mismatch.

14. Troubleshooting Matrix

Symptom Likely MD Verify on HMI / drive tool Fix
Display shows < 360 °/spindle turn 31050/31060 inverted, or 31070/31080 ≠ 1,1 Display position Reset 31050=2, 31060=3, 31070=1, 31080=1
Display shows > 360 °/spindle turn (e.g. 540 °) 31050/31060 inverted Display position Swap 31050 ↔ 31060
M3 S1500 → 1000 RPM actual 35100 default = 1000 35100 in HMI service Set 35100 = 2000
Homing drift by 60°/180° 34200 = 2 or 7 Spindle ref position Set 34200 = 5, 34120 = 1
Homing drift by 1 index pulse BERO noise / index pulse double-fire Scope BERO + index Verify cable shield, check 34120
Reset takes 10+ s NCU/DRIVE-CLiQ handshake PLC online diag Reload vendor commissioning archive
Encoder alarm 26074 31070/31080 cross-check with drive tool Drive tool topology Re-flash drive topology file
Following error alarm 25050 Accelerations too high (36200) 36200 Reduce acceleration by 20 %

15. Frequently Asked Questions

Why does my SINUMERIK 840D Pl spindle display less than 360° per mechanical spindle revolution with a belt-driven ERN 1387 motor encoder?

The ratio between motor and spindle revolutions is encoded in MD31050 ($MA_LOAD_GEAR_RATIO_NUMERA) and MD31060 ($MA_LOAD_GEAR_RATIO_DENOM). For a 3:2 belt (3 motor rev per 2 spindle rev) the canonical values are 2 and 3; many installers also accidentally load the belt ratio into MD31070/MD31080 (drive encoder ratio), which compounds the scaling. Reset MD31070=1, MD31080=1 and keep MD31050=2, MD31060=3 (or their 20/30 multiples); the HMI then displays exactly 360.000° per spindle turn.

M3 S1500 yields 1000 RPM with the spindle override at 100%. Where is the limit coming from?

MD35100 ($MA_SPIND_VELO_LIMIT) defaults to 1000 RPM on most 840D Pl / sl firmware loads. The controller clamps the S-word to this value regardless of the override setting. Raise MD35100 to a value greater than the maximum planned S-word (e.g., 2000 RPM for a 3000 RPM motor on a 3/2 belt that limits spindle speed to 2000 RPM). Repeat for each gear stage in MD35130[i].

The spindle referenced mark keeps shifting between 60° and 180° after every NCK reset. How do I make it stable?

Set MD34200 = 5 (homing using BERO + encoder zero pulse) and confirm MD34120 = 1 (BERO low-active) to match the NC falling edge. Add a 1 ms debounce in your PLC on the BERO input and verify with a scope that the spindle marker passes the BERO coincident with the falling edge within ±5 mechanical degrees. Replace the toothed belt and pulleys if wear is observed.

Can I swap an NCU 571 with an NCU 573.2 on a 840D Pl machine without changing the spindle MDs?

No — the NCU 571 is Powerline hardware, while the NCU 573.2 is Solution Line (840D sl). They expect different firmware bases and different default MD values. Always re-load the machine vendor's commissioning archive after a 571→573.2 swap, then re-validate MD31050/31060/31070/31080/34200/35100/34120 with the checklist in this article.

Pressing RESET on the MCP takes 10–12 seconds to clear "Channel interrupted" on the HMI; normal resets are under 2 seconds. What should I check?

The 10–12 second reset time signals an asynchronous handshake stall between the NCU 573.2, the spindle drive (DO), and the PLC. Verify that the spindle DO is properly assigned in the DRIVE-CLiQ / PROFIBUS topology, that the spindle's NCU axis assignment is correct (logical axis 4 or 5 by convention), and that the CF card's NC and PLC software releases match the hardware. After reloading the commissioning archive and re-mapping the spindle DO, reset times should return to under 2 seconds.

Where can I find the encoder cable / pinout for an ERN 1387 on the SINUMERIK drive module connector X432?

The ERN 1387 motor-end cable uses a 17-pin Heidenhain connector (refer to the encoder's catalog page at Heidenhain ERN 138x). X432 on the SIMODRIVE / SINAMICS S120 is dedicated to the BERO input only; the encoder cable lands on the drive's encoder connector (e.g., X201/X202 for S120). Do not mix BERO and encoder signals on the same cable, and ensure the shield is grounded at the cabinet side only.

Does using MD31050=20, MD31060=30 instead of 2 and 3 change the controller's behavior?

Numerically the ratio 20/30 reduces to 2/3, so the algebraic result is identical. If the actual mechanical angle read differs between the two settings, an additional hidden driveline gear stage (planetary reducer, additional belt) is present that has not been disclosed in the machine data sheet. Verify by jogging one mechanical spindle turn and reading the displayed angle; if it is 360.000° with both pairs, no extra stage exists. If it differs, document the extra ratio and apply it separately to MD31050/MD31060.

Back to blog