Siemens 6ES7134-6JD00-0CA1 RTD Scaling and Wire Break Detection

David Krause15 min read
I/O ModulesSiemensTechnical Reference
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

Siemens 6ES7134-6JD00-0CA1 RTD Scaling and Wire Break Detection Reference

Field reference for the SIMATIC ET 200SP AI 4xRTD/TC HF analog input module. Covers integer-to-engineering-unit scaling, decimal-place resolution, the overrange/overflow boundary at 32511, wire break detection at the excitation current and channel-diagnostic level, and the S7 status-byte evaluation in TIA Portal. Targets commissioning engineers migrating 4-20 mA scaling logic to RTD channels or debugging existing Pt100/Pt1000 installations.

Module under discussion: 6ES7134-6JD00-0CA1, SIMATIC ET 200SP, AI 4xRTD/TC HF, 4 channels, high-feature variant. Refer to the official ET 200SP AI 4xRTD/TC HF manual (entry ID 59753600) for the full function block, channel parameter description, and diagnostic structure. Chapter references in this guide follow that manual (4.2 diagnostics, 4.3/4.4 measurement resolution).

1. Module Identification and Order Data

The 6ES7134-6JD00-0CA1 is the high-feature RTD/thermocouple analog input of the SIMATIC ET 200SP distributed I/O family. It is a 4-channel module occupying one BU (BaseUnit) slot and supports Pt, Ni, and Cu RTDs plus type B, E, J, K, N, R, S, T thermocouples in a single firmware image. Module-level key data from the Siemens product page and manual entry ID 59753600:

Parameter Value
Order number (MLFB) 6ES7134-6JD00-0CA1
Channels 4
Resolution up to 15 bits + sign (channel-configurable)
Conversion time / cycle configurable per channel group
Wiring modes 2-wire, 3-wire, 4-wire
RTD types Pt100, Pt200, Pt500, Pt1000, Ni100, Ni1000, Cu10, Cu50, Cu100 (family-specific)
TC types B, E, J, K, N, R, S, T (cold-junction configurable)
Diagnostic interrupt yes, channel-level
Wire break detection yes, per channel, can be enabled in HW config
Overflow / underflow reported in channel value and QI status byte

The base unit determines the connection system (BU15-P16+A0+2B for spring terminals, BU15-P16+A0+2D for push-in). Always check the BU type when commissioning because the wiring diagram and shield contact method differ.

2. Wiring Modes and Sensor Cabling

Each channel can be configured for 2-wire, 3-wire, or 4-wire connection. The wiring mode is set in TIA Portal under Device view → AI 4xRTD/TC HF → Channel n → Sensor → Connection type and must match the physical sensor harness or the linearization is invalidated.

Mode Lead resistance compensation Typical use
2-wire none - lead resistance added to measurement short runs, low-accuracy probes, cost-sensitive panels
3-wire software-compensated using matched I+ and I- leads most industrial Pt100 installations
4-wire lead resistance fully cancelled laboratory-grade, long cable runs, high-accuracy
Lead-resistance field rule: in 3-wire mode the two current-carrying leads must be the same gauge and length or the internal ratiometric compensation produces an offset proportional to the mismatch. In 4-wire mode only the sense leads carry current during measurement transitions, so this constraint is largely relaxed.

3. RTD Scaling Fundamentals

An RTD module returns the measured temperature as a signed 16-bit integer in the process image (input word IW). To convert to engineering units (°C, °F, K) the integer must be scaled. The scaling factor is dictated by the channel resolution chosen in HW config, not by the RTD type.

The 6ES7134-6JD00-0CA1 supports the following resolution presets, configurable in TIA Portal under Channel → Measurement → Resolution / Integration time:

Resolution preset Engineering unit increment Scale divisor Example: integer 2534
0.1 °C / unit (default) 0.1 °C 10.0 253.4 °C
0.01 °C / unit 0.01 °C 100.0 25.34 °C
0.05 °C / unit 0.05 °C 20.0 126.7 °C (round to 126.75)

General formula:

Temperature_EU = INT_ChannelValue / ScaleDivisor

Where the divisor is the engineering-unit resolution: 10 for one decimal place, 100 for two decimal places, 20 for 0.05 °C resolution, etc. The scaling is purely integer-to-real arithmetic; no additional linearization of the Pt curve is required because the module applies the IEC 60751 polynomial internally before the integer is written to the process image.

3.1 Why divide by 10.0 and not 10

Always force a real (REAL / LREAL) divisor. Dividing two INTs in S7-1500 STL or SCL performs integer division and truncates, so 2534 / 10 = 253 (3.4 lost). Use 2534 / 10.0 or explicit INT_TO_REAL(2534) / 10.0 to obtain 253.4. A common field bug is a SCALE block configured with integer IN/OUT that drops the least-significant digit silently.

4. Resolution and Decimal Place Configuration

Resolution is a per-channel setting. The trade-off is integration time vs. noise: higher resolution requires longer ADC integration, which slows the channel update. Per the manual chapters 4.3 and 4.4 referenced in the Siemens support entry ID 59753600, the typical presets are:

Resolution Approx. integration time Recommended divisor Use case
15 bit + sign ~100 ms 10 (0.1 °C) general process temperature
16 bit equivalent ~20-50 ms 100 (0.01 °C) precision measurement, lab
Coarse (12 bit) ~5-10 ms 10 or 20 fast thermal profiling

If you change the resolution after deployment, the scaling divisor must be updated in the program at the same time. Failing to do so produces a constant offset (factor of 10 if 0.01 °C is loaded into a divide-by-10 block) that is easy to miss during commissioning.

5. Value Range: Nominal, Overrange, Overflow, Underflow

The 6ES7134-6JD00-0CA1 writes the measured value into a 16-bit signed word (INT, range -32768 to +32767). The Siemens convention reserves special values for fault signalling. These values are returned regardless of the configured resolution - they are the underlying channel-value integers before scaling.

Channel value (INT) Meaning Action
-32768 (0x8000) Underflow / negative overrange / broken sensor pulling low Trip fault
-32512 to 0 Valid negative range (sub-zero measurement) Scale and use
0 to 27648 Nominal range for most RTD types Scale and use
27649 to 32511 Overrange - measurement above nominal but within sensor headroom Scale and use, flag warning
32512 to 32767 (0x7F00 to 0x7FFF) Overflow - sensor short, wiring fault, or temperature above sensor limit Trip fault

As confirmed in the discussion thread, the overrange boundary is 32511 at the input value. Any value at or above 32512 indicates an overflow condition. Any value at or below -32512 (effectively -32768 as the lower sentinel) indicates an underflow. These sentinels are valid regardless of resolution preset - they exist in the underlying channel-value integer space.

Field rule: do not scale the raw word before checking for the overflow / underflow sentinels. Scaling 32512 by 0.1 produces 3251.2 °C, which is plausible at first glance. Always check the pre-scale integer against 32512 and -32768 first, then scale. The Siemens SCALE / NORM_X block does not handle these sentinels cleanly and may pass them through as extreme scaled values.

6. Wire Break Detection Mechanism

Wire break is a critical safety and process-integrity diagnostic. On the 6ES7134-6JD00-0CA1 it can be implemented at two levels: hardware (channel-diagnostic) and software (raw-value sentinel).

6.1 Hardware-level detection (excitation current path)

At the ADC level, RTD wire break is detected by the excitation current sources (IDAC) integrated into the delta-sigma ADC and by monitoring the reference voltage (VREF). When a sense or current lead opens, the differential voltage seen by the ADC exceeds the normal PTAT (proportional-to-absolute-temperature) range, and the converter flags an out-of-range condition. The principle is documented in the Texas Instruments application brief RTD Wire-Break Detection Using Precision Delta-Sigma ADCs (SBAA483): the IDAC continues to source current into a broken lead, the sense input saturates at the ADC reference rails, and the digital filter reports a code corresponding to either the upper or lower sentinel (overflow / underflow). The Siemens module's internal ASIC applies an equivalent technique and exposes the result as a per-channel wire-break diagnostic bit.

6.2 Enabling the diagnostic in TIA Portal

To get a hardware-level wire-break interrupt:

  1. Open the ET 200SP station in the device view.
  2. Select the AI 4xRTD/TC HF module.
  3. Open Properties → Diagnostics.
  4. Enable Wire break for the relevant channel(s).
  5. Optionally enable Diagnostic interrupt at module level so an OB82 is triggered when the bit changes state.

Once enabled, the channel status byte (assigned automatically to the channel-quality / QI byte in the process image) reports the wire-break state. In the S7 program this is read from the value-status (quality information) byte associated with the input word.

6.3 Software sentinel detection (fallback)

For installations where the diagnostic interrupt is not enabled (older CPU firmware, slot-routing constraints, or third-party master), the raw-value sentinel method still works. The condition posted in the source:

#ANLi < -865   // underflow sentinel region (negative-side wire break, lead open)

#ANLi > 28513  // overflow sentinel region (positive-side wire break, lead open)

These thresholds are application-specific and assume a particular nominal range and resolution; they are NOT the standard S7 sentinels of 32512 / -32768. Always derive thresholds from the configured sensor type and resolution - for example, on a Pt100 with 0.1 °C resolution (-200.0 to +850.0 °C, scaled to -2000 to +8500), 28513 ≈ 2851.3 °C is well above the physical sensor limit and can be treated as overflow.

The recommended, unambiguous sentinel check is:

IF #RawAI = 16#7FFF OR #RawAI >= 32512 THEN

  #WireBreak := TRUE;

END_IF;

IF #RawAI = 16#8000 THEN

  #WireBreak := TRUE;

END_IF;

7. Diagnostic Interrupt Structure (OB82)

When a diagnostic event is enabled and fires, the CPU enters OB82. The following local-byte layout is typical for the AI 4xRTD/TC HF module (per the manual chapter 4.2, entry ID 59753600):

OB82 byte Meaning
LB0 / LB1 Module / sub-module status (16 bits, channel encoding)
LB2-LB5 Channel error vector: bit 0 = channel 0, bit 7 = channel 7, etc. Per-channel error type follows in extended payload.
LB6-LB7 Error type / extended diagnostic (overflow, underflow, wire break, short circuit)

The standard Siemens pattern is to read the channel vector and trigger a fault routine per channel. The exact offset of the wire-break flag depends on the GSD file revision and TIA Portal version; always validate against the offline-online compare and the diagnostic buffer after the first intentional fault.

7.1 Reading the value-status (QI) byte directly

For cyclic (non-interrupt) wire-break detection, assign the value-status byte in the channel's I/O address configuration. The byte returned has a bit set when the channel is faulted:

QI bit State
0 Channel OK - process value is valid
1 Channel faulted - process value is invalid (overflow, underflow, wire break, etc.)

Sample ladder check using the QI byte at address IB n:

A    IB[n]      // non-zero = at least one channel faulted

JCN  NOFLT

S    M 100.0    // aggregate wire-break flag

8. TIA Portal Programming Example (SCL)

Reusable FB for scaling, sentinel check, and wire-break flag. The instance DB holds the raw word, scaled REAL, and three boolean flags. Wire to a call in OB1 with the channel IW address and the QI byte IB address passed as inputs.

FUNCTION_BLOCK "FB_RTD_Scale_WB"
VAR_INPUT
    iRawAI     : INT;   // channel value, e.g. IW 0
    iQIByte     : BYTE;  // value-status byte, e.g. IB 4
    iDivisor    : REAL := 10.0;
END_VAR
VAR_OUTPUT
    oTemperature : REAL;
    oOverflow   : BOOL;
    oUnderflow  : BOOL;
    oWireBreak  : BOOL;
    oValid     : BOOL;
END_VAR
BEGIN
    // --- Wire break from value-status (QI) bit ---
    // QI bit per channel: 0 = OK, 1 = fault
    oWireBreak := (iQIByte <> 16#00);

    // --- Overflow sentinel: 32512..32767 ---
    IF iRawAI >= 32512 THEN
        oOverflow := TRUE;
        oValid   := FALSE;
    ELSIF iRawAI = -32768 THEN
        // --- Underflow sentinel: -32768 ---
        oUnderflow := TRUE;
        oValid    := FALSE;
    ELSE
        oOverflow := FALSE;
        oUnderflow := FALSE;
        oValid    := TRUE;
    END_IF;

    // --- Scale only when value is valid ---
    IF oValid THEN
        oTemperature := INT_TO_REAL(iRawAI) / iDivisor;
    ELSE
        oTemperature := 0.0;
    END_IF;
END_FUNCTION_BLOCK

Usage in OB1:

"iDB_RTD".iRawAI   := "AI_RTD_HF".Channel0.IW;
"iDB_RTD".iQIByte   := "AI_RTD_HF".Channel0.ValueStatus;
"iDB_RTD".iDivisor   := 10.0;       // 0.1 °C resolution
"FB_RTD_Scale_WB"(iDB := "iDB_RTD");

IF "iDB_RTD".oWireBreak OR "iDB_RTD".oOverflow OR "iDB_RTD".oUnderflow THEN
    // trip fault, latch into HMI tag, write to alarm log
END_IF;
Note on the source thresholds (ANLi < -865, ANLi > 28513): these are application-specific. They make sense for a Pt100 in 0.01 °C resolution mapped to a 0-3000 °C custom range, but they are not portable. Use the 32512 / -32768 sentinels unless the project documentation explicitly defines an alternate range.

9. Comparison: RTD vs 4-20 mA AI Scaling

Many control engineers migrate 4-20 mA scaling logic to RTD channels. The two are similar in mechanics but differ in three important ways.

Aspect 4-20 mA analog input RTD input (6ES7134-6JD00-0CA1)
Sensor Two-wire current loop, externally powered Resistive element, module-driven excitation current
Raw range 0 to 27648 (nominal), overflow 32512 0 to 27648 (nominal), overflow 32512, underflow -32768
Linearization Linear in current, scaling is linear in EU Module applies IEC 60751 polynomial; integer is already linear in °C
Wire break effect on raw value Drives current to 0 mA → raw drops below 0 to 0 mA scale (underflow ~ -32768 for 4-20 mA or 0 for 0-20 mA) Open sense lead saturates ADC at rail; reported as overflow or underflow sentinel
Short circuit effect Drives current to 20+ mA → raw hits overflow 32512 Short between sense leads → near-zero ohms → underflow / low reading, may or may not trip diagnostic
Loop power required Yes (24 V supply, field-side) No (module provides IDAC)
Scaling formula EU = ((Raw - 0) / 27648) × (EU_Hi - EU_Lo) + EU_Lo EU = Raw / Divisor (with sentinel check first)

The two wire-break conditions are NOT the same: in 4-20 mA, a broken wire drops the loop current to zero and the raw value falls below the 4 mA floor (underflow). In RTD, a broken lead typically saturates the ADC high (overflow) because the IDAC sources current into an open circuit and the differential sense voltage pegs to VREF. The fault polarity can therefore be inverted between the two sensor types, and a one-size-fits-all 4 mA floor check will not detect an RTD wire break.

10. Troubleshooting Matrix

Symptom Likely cause Diagnostic step Fix
Raw value = 32767 (0x7FFF) continuously Sense lead open, or RTD element open Measure resistance across RTD with DMM - should be ~100-1000 Ω depending on type Repair cable; check crimp on sense leads
Raw value = -32768 (0x8000) continuously Short between sense leads, IDAC path pulled low Insulate RTD, measure loop resistance Replace RTD; check for moisture ingress in junction box
Raw value stuck at overrange limit (e.g. 27649 to 32511) Temperature genuinely above sensor spec, or wrong RTD type selected Compare reading to handheld calibrator Verify sensor type in HW config matches physical probe
Reading offset by factor of 10 Resolution changed in HW config but divisor not updated in program Cross-check channel resolution preset against FB divisor constant Update divisor to 100 for 0.01 °C, 20 for 0.05 °C, etc.
Reading drifts with ambient temperature in 2-wire mode Lead resistance adding to RTD element Short the field terminals at the sensor; reading should be near 0 °C (or actual lead resistance in °C) Switch to 3-wire or 4-wire mode in HW config
Wire-break diagnostic does not fire Diagnostic disabled in HW config, or OB82 not loaded Check device properties → Diagnostics; check CPU program for OB82 Enable diagnostic interrupt, ensure OB82 present
QI byte is always zero even during fault Value-status not assigned to I/O address Check channel properties → Quality information Enable value-status (QI) in channel configuration
OB82 fires but channel is unknown Channel vector byte is read from wrong offset Inspect OB82 local bytes in online monitor Cross-reference against manual section 4.2 diagnostic layout
Reading noisy / flickering LSB EMI on long sensor cable, or wrong integration time Check cable shielding, segregation from VFD power cables Use shielded twisted pair, bond shield at BU only, increase integration time

11. Field Commissioning Checklist

  1. Verify the base unit (BU type) matches the wiring plan; mismatched BU types are a frequent cause of intermittent channel faults.
  2. In TIA Portal, set the sensor type, wiring mode, resolution, and diagnostic enables per channel before download.
  3. Compile, download, and go online. Confirm the device view shows the module with the expected article number and firmware.
  4. Force each channel to a known resistance (precision decade box or Pt100 simulator) at three points: 0 °C, mid-scale, and overrange. Verify the integer matches expected Raw = T °C × 10 (or × 100 for 0.01 °C resolution).
  5. Open one RTD lead and confirm the wire-break flag (QI bit or OB82) fires within the configured diagnostic time.
  6. Short the sense leads at the field terminals and confirm the underflow sentinel (-32768) is reported.
  7. Log all three fault scenarios to the alarm buffer and HMI before sign-off.

12. Common Mistakes

  • Scaling 32512 with the engineering-unit formula. The sentinel must be intercepted before scaling.
  • Using the 4-20 mA wire-break threshold on an RTD channel. The two conditions drive the ADC in opposite directions.
  • Forgetting the trailing ".0" on the divisor. Integer division truncates and silently loses precision.
  • Leaving the QI (value-status) byte disabled in HW config, so the wire-break diagnostic is only visible in OB82 but not in cyclic read.
  • Configuring 2-wire mode in HW config but wiring a 3-wire probe (or vice versa) - linearization is invalid and the offset is roughly proportional to lead resistance.

FAQ

What is the correct scale divisor for the 6ES7134-6JD00-0CA1?

It depends on the channel resolution set in TIA Portal. For 0.1 °C resolution (default) the divisor is 10.0; for 0.01 °C resolution it is 100.0. Always force a real divisor to avoid integer truncation.

At what raw integer does overflow start on this module?

Overflow begins at 32512. Values 27649-32511 indicate overrange but are still scaled and usable; values 32512-32767 must be treated as overflow faults and the channel flagged invalid.

How is wire break detected on an RTD channel?

Internally the module excites the RTD with a precision current source (IDAC). If a sense lead opens, the differential voltage pegs to the ADC reference rail, producing a sentinel code (typically overflow 32512+). The diagnostic can be exposed as a value-status (QI) bit, a channel-level diagnostic, or an OB82 interrupt when enabled in TIA Portal.

Can I use the same 4-20 mA scaling and wire-break logic on RTD channels?

No. The scaling mechanics (linear integer to EU) are similar, but wire break drives an RTD raw value to overflow (saturated high), whereas a broken 4-20 mA loop drives the raw value to underflow (zero current). The fault polarity is inverted and a 4 mA floor check will not detect an RTD wire break.

Where is the module manual and which chapters cover diagnostics and resolution?

The official manual is at Siemens Support entry ID 59753600. Diagnostics are covered in chapter 4.2, and measurement resolution configuration in chapters 4.3 / 4.4. The overflow boundary at 32511 is documented in those sections.

Back to blog