1. Overview
The S7-300 compact CPU 314C-2DP (order number 6ES7314-6EH04-0AB0, firmware V3.3.x and later) integrates digital and analog I/O directly on the backplane, which makes it the most cost-effective Siemens controller for refrigeration and freezer skids where four or five sensors must be read locally. A typical refrigeration package uses three PT100 RTDs (suction line, discharge line, evaporator outlet) plus one 4-20 mA pressure transducer (refrigerant high-side or low-side).
The integrated analog front-end of the 314C-2DP exposes 5 analog inputs and 2 analog outputs, but only one of those five channels accepts an RTD directly. The remaining four channels are voltage/current-only. This article documents the minimum additional hardware required, the wiring topologies that apply to PT100/4-wire RTD sensors and to a current-loop pressure transducer, and the STEP 7 (Classic) and TIA Portal parameter assignment that brings every scaled engineering variable into the user program.
2. CPU 314C-2DP Integrated I/O Map
| I/O | Quantity | Type | Address range (default) |
|---|---|---|---|
| DI 24 V DC | 24 | IEC 61131-2 type 1 | I 124.0 ... I 126.7 |
| DO 24 V DC / 0.5 A | 16 | Source, short-circuit proof | Q 124.0 ... Q 125.7 |
| AI (V / mA) | 4 | ±10 V, 0-10 V, ±20 mA, 0/4-20 mA | PQW 752 ... PQW 758 |
| AI (RTD / Pt100) | 1 | Pt100 / Ni100 standard & climatic range | PIW 752 (CH0) |
| AO | 2 | ±10 V, 0-10 V, ±20 mA, 0/4-20 mA | PQW 752 ... PQW 754 |
| Counter / Frequency | 4 channels | 24 V incremental encoder, 60 kHz | integrated FB CNT2_CTR |
The RTD channel (channel 0 of the analog subsystem, hardware input terminals 2 / 3 / 4 on the AI connector X2) accepts only one 2-wire, 3-wire, or 4-wire PT100. If you wire three physical probes to it, the integrated front-end will read only the first probe; the firmware does not multiplex the single RTD ADC. Plan the rack expansion accordingly.
For full CPU ordering data refer to the official Siemens CPU 31xC manual on the Siemens Industry Online Support portal (entry ID 109479141).
3. I/O Accounting for 3 PT100s + 1 Pressure Sensor
| Sensor | Required input type | Source | Result |
|---|---|---|---|
| PT100 #1 (suction line) | RTD (Pt100) | CPU 314C-2DP AI CH0 (RTD) | OK |
| PT100 #2 (discharge line) | RTD (Pt100) | SM 331 AI 8xRTD | Required expansion |
| PT100 #3 (evaporator outlet) | RTD (Pt100) | SM 331 AI 8xRTD | Same module, different channel |
| Pressure transducer (4-20 mA) | Current 4-20 mA | CPU 314C-2DP AI CH1..CH3 or SM 331 AI 8x13-bit | Free on integrated AI |
Minimum hardware for the application:
- CPU 314C-2DP — handles the first PT100 on its integrated RTD input.
- One SM 331 AI 8xRTD module (preferred order number
6ES7331-7PF11-0AB0) — handles PT100 #2 and PT100 #3 on two of its eight RTD channels. - The 4-20 mA pressure transducer is wired to AI CH1 of the CPU (a free 4-20 mA channel that is not used as RTD). Alternatively, channel 0 of the SM 331 can be reconfigured to 0/4-20 mA and used for the pressure sensor, freeing the integrated AI entirely.
4. SM 331 RTD Module Alternatives
| Order number | Description | Resolution | Channels usable as PT100 |
|---|---|---|---|
| 6ES7331-7PF01-0AB0 | SM 331 AI 8xRTD, hardware interrupt capable | 15-bit + sign | 8 (2/3/4-wire) |
| 6ES7331-7PF11-0AB0 | SM 331 AI 8xRTD successor, supports Pt100 / Pt200 / Pt500 / Pt1000 / Ni100 / Cu10 | 15-bit + sign | 8 |
| 6ES7331-1KF02-0AB0 | SM 331 AI 8x13-bit (V/mA only) | 13-bit | 0 — requires external Pt100→mA transmitter |
| 6ES7331-7RD00-0AB0 | SM 331 AI 4xRTD for high-accuracy Pt100 / Pt1000 | 15-bit + sign | 4 |
| 6ES7331-7PF10-0AB0 | SM 331 AI 8xRTD older firmware, replaced by 7PF11 | 15-bit + sign | 8 |
The 7PF11 module is the current production replacement. The 7RD00 variant is targeted at laboratory or high-accuracy Pt1000 monitoring, while the 1KF02 cannot read RTDs directly and must be paired with an in-head 4-20 mA transmitter per probe. For a refrigeration application where the engineer usually prefers to keep the front-end simple, an in-head transmitter (Rosemount 0065N, WIKA TC10, IFM TN2) is an alternative path that lets you reuse the cheaper 1KF02 instead of the 7PF11. Refer to the SM 331 analog module manual (entry ID 77376101) for the exact channel assignment, interrupt, and diagnostics block.
5. PT100 Wiring Topologies
PT100 sensors are defined by IEC 60751 with a nominal resistance of 100.00 Ω at 0 °C and a temperature coefficient of 0.00385 Ω/Ω/°C. Lead resistance introduces a fixed positive error in proportion to its length and copper cross-section. The S7-300 family compensates for lead resistance automatically when 3-wire or 4-wire topology is selected in HW Config; 2-wire requires manual offset.
| Topology | Lead wires | Typical error (10 m, 0.34 mm² Cu) | When to use |
|---|---|---|---|
| 2-wire | 2 | +2.0 to +3.0 °C | Cheap indication only, calibration offset applied in software |
| 3-wire | 3 | ±0.1 °C (within module accuracy) | Default refrigeration installation |
| 4-wire | 4 | ±0.05 °C (within module accuracy) | Laboratory / calibrated chamber applications |
Terminal assignments for the integrated RTD input on the CPU 314C-2DP (front connector X2):
- 2-wire: IC+ and IC− (terminals 2 and 3); jumper terminals 3-4.
- 3-wire: IC+, IC−, sense+ (terminals 2, 3, 4).
- 4-wire: IC+, IC−, sense+, sense− (terminals 2, 3, 4, 5).
For the SM 331 AI 8xRTD (7PF11), each channel uses four terminals (M0+/M0−/M0A+/M0A− through M7A+/M7A−) on the 20-pin front connector. Pin assignment and shielding recommendation are detailed in the module manual entry cited above.
6. Pressure Transducer Wiring (4-20 mA)
A standard refrigeration pressure transmitter (e.g. Danfoss AKS 32R, WIKA A-10, IFM PN7) is a 2-wire loop-powered device. The PLC supplies 24 V DC through the AI channel's current loop, the transmitter regulates the loop current between 4 mA and 20 mA proportional to pressure.
| CPU 314C-2DP AI channel | Terminal | Signal | Loop component |
|---|---|---|---|
| AI CH1 (+) | 6 | 24 V supply (integrated, 50 mA max) | Loop + |
| AI CH1 (−) | 7 | Signal return | Loop − |
| AI CH2 / CH3 | 8 / 9 / 10 | Available for spare 4-20 mA inputs | Not used |
Total loop burden must stay below 600 Ω (sum of transmitter burden, cable loop resistance, and any in-line indicator). Verify with:
R_total [Ω] = R_burden + 2 * R_cable + R_indicator V_loop [V] > R_total * 0.020 + 12 V (transmitter minimum compliance)
For a 100 m run of 0.34 mm² Cu cable (~58 Ω/km) the loop resistance is approximately 11.6 Ω, leaving ample headroom for the transmitter compliance voltage.
7. Hardware Configuration in STEP 7 V5.x (Classic)
- Open the SIMATIC Manager project and double-click Hardware.
- Insert the S7-300 rack
0, then drop the CPU 314C-2DP (6ES7314-6EH04-0AB0) into slot 2. - Open the CPU properties (double-click the CPU icon). Confirm the Analog Inputs tab; channel 0 type is
Pt100 (3-wire). Set the integrated AI channel that will be used for the pressure transducer to4-wire Transducer, 4-20 mA. - In slot 4 of the same rack, place SM 331 AI 8xRTD (6ES7331-7PF11-0AB0). Channels 0 and 1 are set to
Pt100 (3-wire); channels 2 through 7 are set todisabledto save on ADC conversion time and to suppress diagnostic interrupts. - For each active RTD channel enable Hardware Interrupt at Limit Exceeded only if the application requires it; the cold-room discharge-line probe is a typical candidate for a high-temperature alarm at 130 °C.
- Save and compile (Station > Save and Compile).
- Download the hardware configuration to the CPU.
8. Hardware Configuration in TIA Portal
- In the project tree, open Devices & networks > Device view.
- Select the CPU 314C-2DP and switch to Properties > Analog inputs. The integrated RTD input is exposed under the AI 0 (RTD) subtree. Configure Pt100, 3-wire, °C, smoothing 4 cycles.
- For the SM 331 module, drag the AI 8xRTD/TC from the catalog into slot 4. Set channels 0 and 1 to RTD 3-wire, smoothing = 4, integration time = 20 ms.
- Right-click each AI module and select IO tags > Add new tag to expose the raw word as
Sensor_AI_PIW752,Sensor_AI_PIW0,Sensor_AI_PIW2, andSensor_AI_PIW754. - Download the device configuration. The portal will issue a STOP/START transition; for production cabinets this is normally scheduled in a maintenance window.
The TIA Portal manual set is published on the official Siemens Industry Online Support portal under entry IDs starting with 109751302 (programming and operating manual) and the STEP 7 V5.7 reference on the same support site.
9. Scaling the Raw Word to Engineering Units
The CPU 314C-2DP and SM 331 deliver the analog value as a 16-bit integer (PIW). The integer is scaled by Siemens according to the configured measuring range:
| Range | 0 % raw | 100 % raw | Resolution |
|---|---|---|---|
| Pt100 standard, −200 to +850 °C | −200 °C → 0x9E48 (negative range) | +850 °C → 0x7FFF | 0.1 °C per LSB |
| Pt100 climatic, −120 to +130 °C | −120 °C → 0xF380 | +130 °C → 0x2A30 | 0.01 °C per LSB |
| 4-20 mA pressure (example 0-30 bar) | 4 mA → 0x0000 | 20 mA → 0x7FFF | per transducer range |
Use FC105 "SCALE" from the STEP 7 Standard Library / TI-S7 Converting Blocks or the TIA Portal equivalent NORM_X and SCALE_X to convert the integer to a floating-point engineering value. In Structured Text (TIA Portal / SCL):
// Pressure transducer: 4 mA = 0.0 bar, 20 mA = 30.0 bar
Sensor_Pressure_Real := NORM_X(MIN := 0, // 4 mA scaled
VALUE := Sensor_Pressure_PIW,
MAX := 27648); // 20 mA raw
Sensor_Pressure_Bar := SCALE_X(MIN := 0.0,
VALUE := Sensor_Pressure_Real,
MAX := 30.0);
For PT100, IEC 60751 provides the Callendar–Van Dusen coefficients A=3.9083e-3, B=−5.775e-7, C=−4.183e-12 (negative range). The 0.1 °C/bit scaling in the CPU 314C-2DP already applies the inversion; the engineer only needs to multiply by 0.1:
// Temperature scaling, climatic range 0.01 °C / LSB Sensor_Temp_C := INT_TO_REAL(Sensor_Temp_PIW) * 0.01;
If the SI unit °F is required downstream, apply T_F := T_C * 9.0 / 5.0 + 32.0.
10. Smoothing, Cycle Time, and Resolution
| Parameter | CPU 314C-2DP RTD | SM 331 7PF11 | Effect |
|---|---|---|---|
| Channel scan time | 0.6 ms | 10 ms / active channel | 8 active channels = 80 ms rack scan |
| Resolution | 14-bit + sign (Pt100 standard) | 15-bit + sign | Δ ≈ 0.1 °C / Δ ≈ 0.025 °C |
| Diagnostic interrupt | Yes (over-range, wire break, short circuit) | Yes | OB 82 fires on broken lead / overrange |
| Smoothing | None / 4 / 16 / 32 cycles | None / weak / medium / strong | Reduces noise but slows response |
For a refrigeration cycle with chiller step response slower than 5 s, configure smoothing = 4 cycles. A freezer defrost probe, which is exposed to rapidly changing air temperature during the defrost phase, should remain at no smoothing.
11. Cold-Junction Compensation Notes
RTD sensors do not require cold-junction compensation (CJC); the PT100 element is a passive resistive sensor whose absolute resistance is measured by the module and converted to temperature in the firmware. CJC is only required for thermocouple (TC) sensors and is not relevant to a refrigeration application built around PT100s.
If a single application uses both PT100 (ice-bank tank) and K-type TC (exhaust), the SM 331 7PF11 module supports mixed TC/RTD configuration per channel. Reference the channel type configuration in the module properties dialog.
12. Commissioning Checklist
- With the cabinet powered, navigate to CPU > Online > Monitor/Modify. Read the PIW of every configured channel and verify the raw value is in range.
- Short each RTD terminal pair with a 100 Ω 0.01 % decade resistor (PT100 simulator). The scaled reading should equal ambient ±0.2 °C.
- Apply a 4 mA and 20 mA current source to the pressure transducer input. Confirm the scaled bar reading matches the transducer datasheet within tolerance.
- Open the diagnostic buffer (CPU > Diagnostic buffer) and confirm no OB 82 calls related to wire break or overrange.
- Trigger a deliberate wire break on PT100 #2 by disconnecting one lead at the sensor head. Verify OB 82 fires, the PIW is forced to
0x7FFF(overflow), and the alarm word lights up in the HMI. - Restore the connection, perform a warm restart, and verify the PIW returns to the normal process value.
13. Troubleshooting Matrix
| Symptom | Raw PIW | Likely cause | Corrective action |
|---|---|---|---|
| Reading sticks at lower limit | 0x8000 |
Wire break on RTD, current loop open | Check terminals, replace probe |
| Reading sticks at upper limit | 0x7FFF |
Over-range, short circuit on RTD lead | Inspect cable, check PT100 element resistance |
| Reading is +2 to +5 °C high | in range | 2-wire compensation missing | Re-wire to 3-wire or apply software offset |
| Pressure reading is −25 % of FS | 0x0000 |
Loop polarity reversed | Swap loop + and − at AI CH1 |
| Pressure reading is jittery | ±150 LSB | No shielding, VFD cable parallel run | Use shielded twisted pair, bond shield at cabinet entry |
| OB 82 fires intermittently | n/a | Loose terminal screw on AI module | Re-torque per Phoenix contact spec, 0.6 Nm |
| SM 331 not recognized in HW Config | n/a | Firmware mismatch, wrong order number (GSD) | Verify order number 6ES7331-7PF11-0AB0; update HSP |
| CPU 314C-2DP SF LED steady on | n/a | External wiring fault or module removed | Inspect wiring, reseat module, read SF diagnostic byte |
14. Notes on Alternate Platforms
Engineers working on smaller refrigeration controllers sometimes evaluate non-Siemens PLC families for cost reasons. The CLICK series from AutomationDirect, for instance, integrates discrete and analog I/O in a brick-style form factor and supports PT100 inputs directly on certain CPU modules. A short application video from the manufacturer demonstrating thermocouple and RTD wiring on the CLICK platform is hosted at AutomationDirect's CLICK PLC temperature sensing video. Where the application does not require PROFIBUS integration, an integrated brick-style controller can compress footprint further. For multi-rack systems or where the S7-300 is already established, the CPU 314C-2DP plus the SM 331 7PF11 expansion module remains the lowest-cost path with the broadest Siemens ecosystem support.
15. Field-Proven Caveats
- The integrated RTD input on the CPU 314C-2DP does not support Pt1000, Ni1000, or thermocouple. If the customer specifies a Pt1000 probe for accuracy reasons, the SM 331 7PF11 must be used from the start.
- The CPU 314C-2DP outputs 24 V at the analog front-end for loop-powered transmitters, but the per-channel current limit is 50 mA. Do not daisy-chain two 4-20 mA transmitters on the same supply terminal; each must have its own supply line.
- The default STEP 7 channel diagnostic addresses of the SM 331 7PF11 (PIW 256+ and PQW 256+) shift with the slot number. Use symbolic I/O (e.g.
I_DischargeLineTemp) instead of absolute addresses so that future rack swaps do not break the application code. - EMC performance is strongly affected by routing the analog shielded cable in the same conduit as the VFD motor cables. Maintain a minimum 200 mm separation, or use a separate shielded cable tray.
- For battery-backed restart after power loss, the diagnostic buffer of the CPU must be evaluated in OB 100 (warm restart). Use SFC 51 to read the diagnostic buffer and broadcast the most recent error to the SCADA layer.
How many PT100 sensors can the CPU 314C-2DP read without expansion?
Exactly one. The CPU 314C-2DP integrates a single RTD/Pt100 input on its analog front-end. A second or third PT100 requires the SM 331 AI 8xRTD module (6ES7331-7PF11-0AB0) on the central rack, or an external PT100-to-current transmitter read on one of the four 4-20 mA inputs.
Can the SM 331 6ES7331-1KF02 read PT100 sensors?
No. The 1KF02 is an 8-channel voltage/current analog input module with no RTD input capability. Use the 7PF11 (or legacy 7PF01 / 7PF10) for RTD and TC measurements, or pair each PT100 with a dedicated 4-20 mA in-head transmitter and read on the 1KF02.
What is the default address of the integrated RTD input on the CPU 314C-2DP?
In STEP 7 the default address is PIW 752 (channel 0). The TIA Portal may shift this if you re-order slots; always verify the symbolic IO tag generated by the IO tag generator. The diagnostic interrupt for that channel is wired to OB 82.
What smoothing value should I use for a freezer suction-line PT100?
For a slow-changing process such as refrigerant suction temperature, configure smoothing = 4 cycles (≈ 0.1 °C RMS noise at 50 Hz integration time). For a defrost-end probe that must react within seconds, keep smoothing off.
Why does the pressure transducer read 0 mA but the transmitter is healthy?
Check loop polarity first (swap loop + and −), then verify that the analog channel is configured as "4-wire Transducer 4-20 mA" rather than "2-wire Transmitter". The CPU 314C-2DP expects a 2-wire loop-powered transmitter on channels 1-3 with the loop power terminal supplied from the module itself.