Siemens 840C Alarm 1361 ORD2 Z Contamination: Root Cause & Fix

David Krause12 min read
Other TopicSiemensTroubleshooting
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 Definition: SINUMERIK 840C Alarm 1361 ORD2 Z Contamination

The SINUMERIK 840C raises Alarm 1361 "ORD2 Z contamination meas. system axis" when the controller's NCK firmware detects a contaminated, damaged, or electrically degraded signal on the Z-axis second measuring system (ORD2). This alarm is part of the 1xxx alarm group on the 840C platform, which is reserved for measuring-system and encoder-related faults on the NCK side, distinct from the higher 10000–12031 axis-specific alarm range. The alarm is commonly observed on legacy turning centers such as the Hyundai Hit15S CNC lathe paired with the SIMODRIVE 611-D drive system, where the Z axis uses an incremental linear scale or rotary encoder routed through a Heidenhain External Pulse Shaper Electronics (EXE) module.

On a healthy 840C, the NCK continuously monitors the analog signal amplitude and shape coming from the EXE box. When contamination, cable damage, or component drift pushes the signal outside the acceptable amplitude window, the NCK raises 1361 to prevent a positional miscount that could scrap a workpiece or crash an axis. Operators cannot clear the alarm with a simple reset until the underlying signal-quality condition is corrected and the axis reference mark has been re-acquired.

Critical: Alarm 1361 indicates a measured signal-quality fault at the NCK, not a logic-level fault. Attempting to mask or suppress the alarm through PLC interface manipulation is unsafe; the controller will likely re-trigger the fault on the next motion command.

Affected System Topology and Hardware

The 840C measuring system path consists of four physical segments, each of which is a candidate root cause:

  1. Encoder / Scale: Heidenhain LS, LIDA, or ERN-series incremental device producing a 1 VPP sinusoidal differential signal (A, B, and reference mark R or RI).
  2. Extension Cable: Shielded twisted-pair cable with characteristic impedance ~120 Ω, terminated in the Siemens/Heidenhain 9-pin or 12-pin connector standard.
  3. EXE (External Pulse Shaper Electronics): Heidenhain module that subdivides the 1 VPP signals and outputs square-wave TTL/RS-422 (ORD1) plus a position-encoded square-wave (ORD2) signal to the NCK position controller card.
  4. NCK Measuring-Circuit Card: 6FX1xxx series position-sensing module on the 840C backplane that digitizes the EXE output and reports signal quality back to the NCK.

The "ORD2" string in the alarm text refers to the second output of the EXE — typically the subdivided position-evaluated track used by the position controller for fine resolution. "Contamination" is the 840C's generic NCK status string for an amplitude-tracking fault. A second alarm, often raised in cascade, is the limit-switch or reference-mark alarm from the same axis if the contamination has progressed far enough to block reference-mark recognition.

Root Cause Analysis

Empirically, alarm 1361 on a 840C turning center has six documented root-cause families. Each must be ruled out in order of probability before the EXE or NCK card is replaced.

Rank Root Cause Failure Mechanism Detection Method
1 Scale contamination Coolant, oil mist, or swarf on the optical glass scale reduces signal amplitude below the EXE's lower threshold (~0.6 VPP). Visual inspection with magnifier; amplitude reading on EXE test points.
2 Mechanical limit / reference switch failure The mechanical or magnetically-actuated end-of-travel switch on Z sticks or breaks, leaving the EXE in an unsafe state. NCK interprets the resulting axis-position ambiguity as contamination. Continuity check on switch; swap with identical machine.
3 EXE power supply drift The 5 V supply to the EXE drifts below 4.75 V, reducing the 1 VPP differential output below the NCK's lower acceptance window. Measure EXE supply at terminals; compare to nameplate.
4 Cable shield break or ground loop Broken shield at connector strain relief couples in VFD/common-mode noise that modulates the 1 VPP signal above the upper threshold (~1.35 VPP). Insulation resistance test; oscilloscope differential probe on the encoder lines.
5 EXE module component aging Electrolytic capacitors in the EXE change value after years of thermal cycling, attenuating high-frequency harmonics in the sine wave. Substitution test with known-good EXE of identical part number.
6 NCK measuring-card failure The 6FX1xxx input stage on the 840C position card has a damaged differential amplifier. Swapping the card with the spare X axis and re-triggering the fault.

Prerequisites for Diagnosis

  • 840C operator panel with current alarm page accessible.
  • Heidenhain PWM 9 or PWM 12 phase-angle meter (or equivalent oscilloscope with differential probes, 50 MHz minimum bandwidth).
  • Digital multimeter with 0.1 mV resolution for amplitude measurements.
  • Service documentation: SINUMERIK 840C / SIMODRIVE 611-D Diagnostics Manual (PDF).
  • Hex driver set to remove the Z-axis cable channel covers.
  • Known-good spare EXE of identical Heidenhain part number (e.g., EXE 601C, EXE 701C — verify against the machine's parts list before commencing).
  • Clean, lint-free wipes and isopropyl alcohol for scale cleaning.

Diagnostic Procedure

  1. Record the alarm state. From the 840C alarm page, write down Alarm 1361, any cascade alarms (often 1121 for reference mark or 1161 for measuring-circuit failure), and the associated axis status. The cascade alarms frequently indicate whether the contamination has reached the reference-mark signal — a stronger failure condition.
  2. Confirm the alarm is reproducible. Reset the NCK with the RESET key, then command a 1 mm Z-axis jog in both directions. If 1361 re-raises within the first 2 mm of travel, the fault is amplitude-related rather than position-related.
  3. Measure the 1 VPP signal at the EXE input. With the machine in Service mode, connect a differential oscilloscope probe to the A+/A- (or A1/A2) terminals at the EXE. The waveform must be a clean sinusoid with amplitude 1.0 VPP ± 10 % (0.9–1.1 VPP) and a common-mode voltage of 2.5 V ± 0.5 V referenced to EXE ground.
  4. Move the axis and re-measure. Static amplitudes can be misleading. Command a full-range Z traverse at 1000 mm/min and monitor the amplitude envelope. A drop below 0.6 VPP at any point in the travel confirms scale contamination or a cable fault that is sensitive to cable flexing.
  5. Check the EXE power supply. Measure +5 V at the EXE power terminals with the controller powered. Acceptable range: 4.95–5.05 V. A reading below 4.75 V indicates a failing 611-D auxiliary power module or a corroded connector pin.
  6. Inspect the scale and read head. With the axis guard open, wipe the scale with a clean isopropyl wipe. Inspect the read-head mounting for tilt, and verify the read-head-to-scale gap is within the manufacturer's specification (typically 0.1–0.3 mm for LIDA scales, 0.05–0.15 mm for ERN rotary encoders).

EXE Module Signal Verification

The EXE is the most failure-prone element in the 840C measuring chain on machines that have run continuously for more than 8 years. Confirm EXE health by measuring the TTL output of the ORD2 channel directly at the EXE connector that mates to the NCK measuring card.

Test Point Expected Waveform Acceptance Limit Fault Indication
ORD2 A (pin 15 typical) RS-422 square wave, 50 % ± 5 % duty Frequency matches axis velocity / subdivision Duty-cycle distortion > 10 % → EXE power supply ripple
ORD2 B (pin 16 typical) RS-422 square wave, 90° ± 5° phase shift to A 90° ± 5° Phase error > 10° → EXE internal divider failure
ORD2 R (pin 17 typical) Single reference pulse per scale period TTL pulse, > 2 µs width Missing pulse → scale reference mark dirt

If the 1 VPP input to the EXE is within spec but the ORD2 output is distorted, the EXE itself is at fault. Substitute a known-good EXE and re-run the test sequence. Do not attempt to repair the EXE at component level — Heidenhain specifies replacement only.

Encoder Cable and Connector Inspection

The cable between the read head and the EXE carries microvolt-level analog signals. Mechanical fatigue at the strain-relief grommet is the single most common cause of intermittent contamination alarms. Inspect the cable as follows:

  1. Disconnect the cable at both ends and measure pin-to-pin resistance for each of the A, B, R, 0V, and +5V lines. Reading must be < 2 Ω for power and < 5 Ω for signal conductors.
  2. Measure insulation resistance between any signal conductor and the shield with a 500 V megohmmeter. Reading must be > 100 MΩ.
  3. Flex the cable by hand through its full service radius and watch the oscilloscope envelope. Any drop in amplitude under flexing confirms a broken strand inside the cable jacket — replace the entire cable assembly.
  4. Verify shield continuity from connector to connector. The shield must be terminated to the connector shell at both ends with a 360° bond, not a pigtail.
Common error: Bonding the shield at only one end of the cable. The Heidenhain EXE installation requires shield bonding at both ends to a low-impedance ground plane; floating the load end causes common-mode voltage buildup that the 840C reads as a contamination fault.

Limit Switch and Reference Switch Verification

The Z-axis mechanical end-of-travel limit switch and the reference-point cam switch on Hyundai Hit15S-class machines are magnetically-actuated (Hall effect) or mechanical-lever types. Either variant can fail closed, fail open, or develop contact resistance above the EXE detection threshold. Because the EXE uses the limit switch state to qualify its reference-mark logic, a faulty switch can present to the NCK as a measuring-system contamination alarm.

Switch Type Test Procedure Pass Criteria
Mechanical lever Actuate by hand; measure contact resistance. < 100 mΩ closed; > 10 MΩ open.
Hall effect / magnetic Pass ferrous target past the switch face; measure output. Output transitions from 0 V to 24 V ± 10 %.
Reed relay Actuate with magnet; measure contact bounce on scope. Bounce time < 2 ms.

If a switch fails any test, replace it before replacing the EXE or NCK card. A swap-test with an identical machine is the fastest way to confirm a suspect switch: move the switch from a known-good machine to the affected axis and re-trigger the alarm. If the alarm follows the switch, the switch is the root cause. If the alarm stays on the affected machine, the switch is innocent.

Remediation Procedure

  1. Power down the 840C using the proper shutdown sequence — do not pull the main breaker while the 611-D bus is energized.
  2. Wait 5 minutes for the 611-D bus capacitors to discharge below 50 V (verify with a CAT III 600 V meter on the DC bus terminals).
  3. Clean the scale with isopropyl alcohol and a lint-free wipe, moving the axis by hand in the cleaned region. Allow 2 minutes for the alcohol to flash off.
  4. Replace any failed component identified during diagnosis (cable, switch, EXE, NCK card). When replacing the EXE, set the substitution factor switch on the new EXE to match the original — typically ×1, ×5, or ×25, depending on the scale's grating pitch.
  5. Reconnect all connectors and torque to the Siemens/Heidenhain specification. A loose pin is a future contamination alarm.
  6. Power up the controller and observe the boot sequence. Confirm the EXE power LED is solid green (not flashing) before any axis motion.

Verification and Reset

  1. From the 840C operator panel, navigate to the alarm page and confirm Alarm 1361 is no longer active. Cascade alarms (1121, 1161) should also be clear.
  2. Command a slow Z-axis jog in both directions. Monitor the position-actual-value display for smooth, continuous counting without dropouts.
  3. Run a full reference-point approach. The NCK should detect the reference mark on the first pass and clear the REFP (referencing required) status. If the NCK fails to recognize the reference mark, re-check the scale gap and the read-head alignment.
  4. Run a representative part program for at least 30 minutes, observing the 840C alarm page. Any recurrence of 1361 within this window indicates an intermittent fault — typically the cable strain relief or a marginal EXE power rail.
  5. Document the failure and repair in the machine's maintenance log. Record the Heidenhain EXE part number, scale cleaning date, and the date of any component replacement. This record is required for the 840C's mean-time-between-failure trending under most plant TPM programs.

Troubleshooting Matrix

Symptom Most Likely Cause First Action
1361 on first motion of the day, clears after warm-up EXE power supply drift on cold start Measure 5 V rail at EXE; replace 611-D aux supply if < 4.9 V.
1361 only at one end of Z travel Scale contamination localized to that region Clean scale; inspect coolant drip onto scale end.
1361 with cascade 1121 reference-mark alarm Read-head misalignment or broken reference mark track Re-align read head per Heidenhain gauge; verify read-head gap.
1361 with cascade 1161 measuring-circuit alarm NCK position card failure Swap card with spare X axis; re-test.
1361 after a collision or crash Scale physical damage Inspect scale under magnification; replace scale if glass chipped.
1361 intermittent, correlates with VFD start Common-mode noise on cable shield Verify shield bonding at both ends; route cable away from VFD output.

Frequently Asked Questions

What does the "ORD2" in Siemens 840C alarm 1361 mean?

ORD2 is the second output channel of the Heidenhain External Pulse Shaper Electronics (EXE). It carries the subdivided, position-evaluated square-wave signal (TTL/RS-422) to the 840C NCK measuring card. ORD1 is the un-subdivided output, and ORD2 is the high-resolution output used for closed-loop position control. A contamination alarm on ORD2 means the NCK has detected an amplitude or signal-integrity problem on this channel.

Can I clear Siemens 840C alarm 1361 with a CNC reset?

No. Alarm 1361 is a measuring-system fault that re-raises on the next motion command until the underlying signal-quality condition is corrected. The NCK will not allow a controlled axis move with an active contamination alarm, and the alarm will not clear until the EXE input signal returns to the 0.9–1.1 VPP acceptance window and a clean reference-mark recognition has occurred.

Is the Heidenhain EXE module repairable, or must it be replaced?

Heidenhain specifies replacement only for EXE modules. Component-level repair is not supported and will void the EXE's calibration. Always substitute a known-good EXE of the exact part number and subdivision factor. Verify the replacement EXE's output with an oscilloscope before returning the machine to production.

How do I distinguish a scale contamination fault from a cable fault on a 840C?

Measure the 1 VPP signal at the EXE input terminals with the axis stationary, then move the axis through its full travel while watching the amplitude envelope. A drop in amplitude that correlates with axis position indicates scale contamination at that location. A drop that correlates with cable flexing — even slightly — indicates a broken cable strand. The two failures produce the same alarm text but require different remediation.

Why does alarm 1361 sometimes appear together with alarms 1121 or 1161 on a 840C?

These are cascade alarms from the same axis. Alarm 1121 is a reference-mark recognition failure and alarm 1161 is a measuring-circuit failure alarm. When contamination is severe enough to distort the reference-mark pulse or to drive the EXE output below the NCK's lower threshold, the NCK raises the cascade alarms in addition to 1361. Clear the root contamination cause and the cascade alarms clear automatically on the next reference-point approach.

Back to blog