System Overview
This reference documents the implementation of a two-stage cooling controller for a single conditioned room served by two independent package air-conditioner (AC) units arranged in a duty/standby configuration. The system uses a Siemens LOGO! 230RCE logic module to run the staging logic, weekly rotation, trip changeover, high-temperature override, and manual override. Two NTC 100k thermistors provide return-air temperature feedback, one per AC unit, with the higher reading used as the control variable to prevent short-cycling caused by a single failed probe.
The design targets the most common small-plant HVAC redundancy pattern: one operating unit and one standby unit, both identical, with automatic changeover driven by three independent triggers — a 7-day (168 h) duty cycle, a compressor or overload trip, and a sustained high-temperature event at 30 °C. The two compressor stages per unit allow partial-load operation and a recovery boost when load exceeds the first stage's capacity.
Functional Requirements and Operating Sequence
The setpoint is 23 °C. The first compressor stage energises when return-air temperature rises to SP + 1.5 °C = 24.5 °C and de-energises when it falls to SP - 0.5 °C = 22.5 °C. The second stage energises when temperature rises to SP + 3.0 °C = 26.0 °C and de-energises when it falls back to 24.5 °C, so that stage 2 always drops before stage 1 on the recovery side. The hysteresis bands are intentionally asymmetric to avoid simultaneous contactor dropout on small temperature movements.
| Parameter | Value | Engineering rationale |
|---|---|---|
| Setpoint (SP) | 23.0 °C | Design room condition |
| Stage 1 ON | 24.5 °C | SP + 1.5 °C dead band |
| Stage 1 OFF | 22.5 °C | 1.0 °C hysteresis |
| Stage 2 ON | 26.0 °C | SP + 3.0 °C second dead band |
| Stage 2 OFF | 24.5 °C | Aligned with stage 1 ON to enforce sequencing |
| High-temp override | 30.0 °C | Force changeover; run both units if stand-by is healthy |
| High-temp clear | 28.0 °C | 2.0 °C hysteresis to avoid flapping |
| Weekly rotation | 168 h | Equalise compressor run hours |
| Min run time | 180 s | Compressor oil stabilisation |
| Min stop time | 180 s | Suction / discharge pressure equalisation |
Two interpretations of the stage-2 threshold appear in operator requirements — one places stage 2 at 24.5 °C (single dead-band control) and the other at 26.0 °C (two-step dead-band control). The two-step variant is recommended because it provides a true partial-load capability and reduces the number of compressor starts per hour under stable thermal load. If a single-dead-band implementation is required, set stage 2 ON to 24.5 °C and stage 2 OFF to 23.5 °C.
Controller Selection: Siemens LOGO! 230RCE and AM2 Extension
The 230RCE base unit (catalog number 6ED1052-2CC08-0BG0 for LOGO! 8.3 without display, 6ED1052-2MD08-0BG0 with display) is selected for sites where the control panel is fed from a 115/230 V AC distribution. It provides eight digital inputs rated for 115/230 V AC and four relay outputs rated 10 A resistive (8 A inductive) at 230 V AC. Crucially, the 230 V AC variant has no native analog inputs; an extension module is mandatory for temperature feedback.
| Catalog number | Description | Function |
|---|---|---|
| 6ED1052-2CC08-0BG0 | LOGO! 8.3 230RCE (no display) | Base unit, 8 DI 230 V AC, 4 DQ relay |
| 6ED1052-2MD08-0BG0 | LOGO! 8 230RCEo (with display) | Base unit with integrated text HMI |
| 6ED1055-1MA00-0BA2 | LOGO! AM2 | 2 AI 0-10 V or 0/4-20 mA, 12/24 V DC powered |
| 6ED1055-1MD00-0BA2 | LOGO! AM2 RTD | 2 AI for PT100/PT1000, 12/24 V DC powered |
| 6ED1055-1CB00-0BA2 | LOGO! DM8 230R | 4 DI 230 V AC + 4 DQ relay (spares / alarms) |
| 6EP1331-5BA00 | SITOP PSU100C 24 V / 1.3 A | 24 V DC supply for AM2 module |
The AM2 module is the correct analog input for this application provided the NTC 100k thermistor is paired with a signal conditioner that outputs 0-10 V (see next section). The AM2 RTD module is a viable alternative if the field sensor is changed to a PT1000 — the LOGO! then accepts the RTD directly without external conditioning. Up to eight extension modules can be stacked to the right of the base unit; only the AM2 (or AM2 RTD) is required for this application.
For the LOGO! Soft Comfort (LSC) development environment, version 8.3 or later is required for LOGO! 8.3 base units. LSC allows online monitoring, forcing of inputs/outputs, and offline simulation — all of which are used during the commissioning procedure described later. See the LOGO! 8 system manual and the LOGO! Soft Comfort online help on the Siemens support portal for the complete instruction set.
NTC 100k Sensor Interface to LOGO! AI
The NTC 100k thermistor has a nominal resistance of 100 kΩ at 25 °C with a B-value of 3950 K (typical for the 100k6 family). The AM2 analog input module accepts only 0-10 V or 0/4-20 mA. Direct connection of a resistive sensor is not supported, so a signal conditioner is required.
Three interface options are commonly used in the field:
- External NTC-to-voltage transducer. Single-component, calibrated, isolated, and 24 V powered. Examples include Phoenix Contact MACX MCR-SL-NTC, WAGO 857-814, and Siemens SITRANS TR200/TK. Output is typically 0-10 V scaled to a user-defined range, e.g., 0-50 °C. Recommended for new installations because it removes calibration burden and provides sensor-break detection.
- Discrete voltage divider + op-amp buffer. A 100 kΩ reference resistor in series with the NTC, buffered by a low-offset rail-to-rail op-amp (e.g., TLV2372) and scaled to 0-10 V. The divider source must be a precision 5 V reference (e.g., REF3030). This is acceptable for prototypes but adds components, drift, and EMC vulnerability.
- Change the sensor. Replace the NTC 100k with a PT1000 RTD and use the AM2 RTD module. The LOGO! then scales directly to °C with no external components. This is the lowest-risk option if the field wiring is accessible.
For the voltage-divider option the open-circuit transfer function at 24 °C with a 100 kΩ reference and 5 V excitation is:
V_out = 5 × R_fixed / (R_NTC + R_fixed) = 5 × 100k / (R_NTC + 100k)
At 25 °C, R_NTC = 100 kΩ and V_out = 2.50 V. At 30 °C, R_NTC ≈ 80 kΩ and V_out ≈ 2.78 V. This 280 mV swing across a 5 °C range must be amplified by a factor of ~7 to reach a 0-10 V range that uses the full AM2 input span. A typical scaling is 0 °C = 0 V and 50 °C = 10 V, giving a sensitivity of 200 mV/°C. The LOGO! analog amplifier block (B001 / B002) divides the 0-10 V value by 5 to obtain a 0.0-50.0 °C process variable.
Sensor cable must be shielded twisted pair, 0.5 mm² minimum, with the shield bonded to ground at the LOGO! panel end only. Maximum recommended run length is 30 m for an NTC; beyond that, the cable capacitance begins to affect divider dynamics. For runs up to 50 m, reduce the reference resistor to 47 kΩ to keep source impedance low.
I/O Assignment Table
All digital inputs are 230 V AC. The manual selector, trip signals, and reset pushbutton connect to the base 230RCE. The two NTC channels connect to the AM2 module in extension slot 0. Outputs Q1-Q4 drive compressor contactor coils via interposing 24 V DC relays where the coil current exceeds the LOGO! relay's inrush rating.
| LOGO! tag | Terminal | Signal | Source / load | Type |
|---|---|---|---|---|
| I1 | Base terminal 1 | Manual selector A | Panel selector switch 230 V AC | DI 230 V AC |
| I2 | Base terminal 2 | Manual selector B | Panel selector switch 230 V AC | DI 230 V AC |
| I3 | Base terminal 3 | Unit A trip (overload / OLL / HP switch) | Trip relay, normally closed, opens on fault | DI 230 V AC |
| I4 | Base terminal 4 | Unit B trip | Trip relay, normally closed | DI 230 V AC |
| I5 | Base terminal 5 | Reset pushbutton (NO, momentary) | Panel pushbutton 230 V AC | DI 230 V AC |
| I6 | Base terminal 6 | Remote inhibit / external interlock | Spare, fire-stop or BMS enable | DI 230 V AC |
| AI1 | AM2 terminal 1 | Return-air temperature, AC A | NTC 100k -> 0-10 V transducer | AI 0-10 V |
| AI2 | AM2 terminal 3 | Return-air temperature, AC B | NTC 100k -> 0-10 V transducer | AI 0-10 V |
| Q1 | Base terminal Q1 | Unit A compressor stage 1 | Contactor K1A coil (≤ 8 A) | DQ relay 230 V AC, 10 A |
| Q2 | Base terminal Q2 | Unit A compressor stage 2 | Contactor K2A coil | DQ relay 230 V AC, 10 A |
| Q3 | Base terminal Q3 | Unit B compressor stage 1 | Contactor K1B coil | DQ relay 230 V AC, 10 A |
| Q4 | Base terminal Q4 | Unit B compressor stage 2 | Contactor K2B coil | DQ relay 230 V AC, 10 A |
Two additional outputs are commonly wired to the optional DM8 230R extension for an alarm beacon and a common trip indicator. If a DM8 is not fitted, the spare LOGO! memory flag M8 can be used to drive a soft alarm through the LOGO! web server (LOGO! 8 with Ethernet).
Threshold Switch Configuration and Hysteresis
LOGO! provides dedicated analog threshold switch blocks (B006, B007, B008) and analog comparators that operate on the scaled process variable. The analog amplifier chain is:
- AI1 raw value (0-1000 in LOGO! units, equivalent to 0-10 V) is amplified by B001 with gain 0.05 and offset 0 to obtain a 0-50 °C value.
- AI2 is processed identically by B002.
- B003 selects the higher of the two readings (max function), used as the controlling process variable for the high-temperature override.
| Block | Function | ON threshold | OFF threshold | Hysteresis |
|---|---|---|---|---|
| B006 | Stage 1 demand | 24.5 °C | 22.5 °C | 2.0 °C |
| B007 | Stage 2 demand | 26.0 °C | 24.5 °C | 1.5 °C |
| B008 | High-temperature override | 30.0 °C | 28.0 °C | 2.0 °C |
The block properties dialog in LOGO! Soft Comfort allows the threshold to be entered as a scaled value (°C) directly when the input is a temperature signal. The hysteresis is implemented by the block itself, so no external OR of two thresholds is required. The output of each block is a digital flag (Hi/Lo) that is wired into the AND/OR gating that drives Q1-Q4.
Duty/Standby State Machine
The controller moves between five named states. Transitions are evaluated on every LOGO! scan (typically 5-20 ms); changeover is implemented as a non-overlapping transfer enforced by the min-stop timer.
Changeover rules in priority order:
- Manual mode wins whenever I1=1 XOR I2=1. Both set to 0 returns to AUTO; the weekly timer and trip history are preserved.
- Fault mode latches if BOTH Unit A and Unit B trip inputs are active simultaneously. The controller stops all Q outputs, raises a common alarm, and waits for reset.
- High-temperature override transfers duty to the standby unit if the controlled temperature reaches 30 °C. The transfer is delayed by the min-stop timer to respect compressor restart requirements.
- Trip changeover transfers duty to the standby unit on the rising edge of either trip input. The tripped unit is latched OFF until reset.
- Weekly changeover transfers duty after 168 h of run time on the active unit. The counter is reset on transfer.
The current duty unit is stored in a latching (RS) relay (B013). The set input is driven by the OR of the three changeover triggers; the reset input is driven by the manual-mode return or the controller power-up initialise flag (M8 or LOGO! cold-start flag).
LSC / FBD Program Structure
The program is built in LOGO! Soft Comfort using the FBD (function block diagram) editor. A flat structure is used to keep scan time short and to make online forcing straightforward. The block list is shown below.
| Block | Type | Function |
|---|---|---|
| B001 | Analog amplifier | Scale AI1 (0-10 V) to 0-50 deg C, gain 0.05 |
| B002 | Analog amplifier | Scale AI2 (0-10 V) to 0-50 deg C, gain 0.05 |
| B003 | Analog max | Select higher of AI1/AI2 for high-temp override |
| B004 | Analog comparator | Sensor-break detect (out of 0.2-9.8 V range) |
| B006 | Analog threshold | Stage 1 demand: ON 24.5 deg C, OFF 22.5 deg C |
| B007 | Analog threshold | Stage 2 demand: ON 26.0 deg C, OFF 24.5 deg C |
| B008 | Analog threshold | High-temp override: ON 30.0 deg C, OFF 28.0 deg C |
| B009 | Hour counter | Weekly rotation, 168 h threshold |
| B010 | RS latch | Unit A trip latch (set on I3, reset on I5 edge) |
| B011 | RS latch | Unit B trip latch (set on I4, reset on I5 edge) |
| B012 | AND/OR | Mode decoder: I1 XOR I2 -> manual; else auto |
| B013 | RS latch | Duty unit state: 1 = A, 0 = B |
| B014 | OR | Changeover request = weekly OR trip OR high-temp |
| B015 | On-delay 30 s | Stage 2 enable (must follow stage 1) |
| B016 | On-delay 180 s | Min run time |
| B017 | Off-delay 180 s | Min stop time |
| B018 | AND/OR | Q1 drive gating (auto A path) |
| B019 | AND/OR | Q2 drive gating (auto A path, stage 2) |
| B020 | AND/OR | Q3 drive gating (auto B path) |
| B021 | AND/OR | Q4 drive gating (auto B path, stage 2) |
The text representation of the Q1 gating logic is:
Q1 = ( (ManualA AND NOT B_trip AND Stage1_demand) // manual A path
OR (Auto AND B013 AND NOT B_trip AND Stage1_demand) // auto, A is duty
OR (Auto AND NOT B013 AND B_trip AND Stage1_demand) // auto, B trip -> A runs
OR (Auto AND NOT B013 AND HiTemp AND A_OK) ) // auto, high-temp, A is standby but healthy
AND NOT A_trip
AND (NOT MinStop OR MinRun_done)
AND NOT ManualB
AND NOT Fault
Q3 (Unit B stage 1) is the mirror image with A and B roles swapped. Q2 and Q4 add the B015 stage-2 enable delay to the corresponding Q1/Q3 path, and require that the same unit's stage 1 has been continuously ON for at least 30 s. This prevents simultaneous contactor pickup during high-inrush transitions.
Trip Handling, Manual Override, and Reset
Trip inputs I3 and I4 are wired to normally-closed contacts of the compressor overload relay and the high-pressure cut-out switch in series. Under healthy conditions the contact is closed and the input reads 1. A fault opens the contact, the input reads 0, and the rising edge (1->0 transition with NOT input) is fed to the set terminal of the corresponding RS latch (B010/B011). The latched output drives three downstream effects:
- The corresponding Q1/Q3 gating is forced to 0, removing the run command from the tripped unit.
- The changeover request (B014) is asserted, transferring duty to the other unit if that unit is healthy.
- A latched memory flag (M1 for unit A, M2 for unit B) is set to drive a panel-mounted trip indicator.
Reset is implemented as a single pushbutton on I5. The input is fed to an edge detector (rising-edge block in LSC) and then to the reset terminal of both B010 and B011. After reset, the trip flags clear and the previously tripped unit is allowed to start on the next valid run request. Operators are required to inspect the compressor and confirm the cause of the trip before pressing reset; there is no auto-clear timer.
Manual mode is selected by either I1 (Manual A) or I2 (Manual B). The B012 mode decoder is:
ManualA = I1 AND NOT I2
ManualB = I2 AND NOT I1
Auto = NOT I1 AND NOT I2
While in manual mode, all auto logic (weekly rotation, trip changeover, high-temperature override) is disabled. The selected unit runs at its staging thresholds (24.5 °C / 26.0 °C) with no changeover even if it trips. If the manually selected unit trips, the trip latch engages, the unit stops, and a fault alarm is raised; the controller does NOT auto-transfer to the other unit because the operator has assumed explicit responsibility. Returning both I1 and I2 to 0 exits manual mode and resumes auto operation on the current duty unit.
The 30 °C override behaviour: in auto, a sustained reading >= 30 °C transfers duty to the standby unit after the min-stop delay. If the standby unit is itself tripped, the duty unit continues to run with both stages ON, and a high-temp alarm is raised. The override clears when the controlled temperature falls back below 28 °C.
Commissioning and Verification Procedure
Commissioning is performed in LOGO! Soft Comfort online mode with the controller fitted to the panel but before the contactor coils are wired. The panel is energised with all AC unit isolators open and all Q outputs verified by forcing.
- Power-on sanity. With the AM2 and DM8 (if fitted) connected, apply 230 V AC to the base and 24 V DC to the AM2. Check the LOGO! display (if fitted) or LSC online view for the program name and version. Confirm the analog inputs read a sensible value (typically 1-3 V for a 5-15 °C room).
- Sensor calibration. Compare the LOGO! displayed temperature against a calibrated reference thermometer placed next to each NTC probe. If the reading is more than +/- 0.5 °C off, adjust the analog amplifier offset (B001/B002) accordingly. The gain is factory-trimmed on the transducer and should not need adjustment.
- Output forcing. In LSC online mode, force Q1, Q2, Q3, Q4 individually. Verify the corresponding contactor pulls in and the auxiliary contact closes. Release each output and confirm the contactor drops out within 50 ms.
- Threshold verification. Using a precision voltage source on AI1 (or by adjusting the transducer offset), step the input through 22.0, 24.0, 24.5, 26.0, 30.0, 28.0, 22.5 °C equivalents. Confirm Q1 turns on at 24.5, Q2 turns on at 26.0 (with the 30 s delay), Q2 turns off at 24.5, and Q1 turns off at 22.5.
- Trip simulation. Open the I3 circuit (simulate Unit A trip). Confirm Q1 and Q2 drop out, Q3 and Q2 (of unit B) take over after min-stop, and the M1 trip flag sets. Press and release the reset pushbutton (I5) and confirm M1 clears.
- Weekly timer. The 168 h interval is impractical to test in real time. Set B009 threshold to 0.01 h in LSC simulation mode and trigger a transfer. Return the threshold to 168 h before downloading to the live controller.
- Manual mode. Set I1 = 1, I2 = 0. Confirm only Q1/Q2 are active and that weekly and trip changeover are inhibited. Force a trip on I3 and confirm Q1 drops out without auto-transfer to Q3. Return I1 and I2 to 0 and confirm auto mode resumes.
- 30 °C override. Force AI1 (or AI2) to 6.0 V (equivalent to 30 °C). Confirm duty transfers to the standby unit after min-stop delay. Reduce the input to 5.5 V (equivalent to 27.5 °C) and confirm the override clears only when the input drops below 5.6 V (equivalent to 28 °C).
- 24-hour soak test. Close the AC unit isolators and let the system run for 24 h with normal load. Log staging activations and any fault conditions through the LOGO! web server (LOGO! 8 with Ethernet) or the LSC trend view.
Troubleshooting Matrix
| Symptom | Likely cause | Action |
|---|---|---|
| No Q output in AUTO with temperature clearly above 24.5 °C | Sensor wiring reversed or AM2 not powered | Check 24 V DC at AM2 terminals U+ / U-; verify polarity at AI+ / AI- |
| Stage 1 chatters on/off at the setpoint | Hysteresis too narrow or analog amplifier mis-scaled | Confirm B006 thresholds are 24.5 / 22.5 and gain is 0.05 |
| Stage 2 never comes on | B015 (30 s on-delay) not satisfied, or stage 1 path broken | Verify Q1 is active for >30 s; force Q1 and check B015 output |
| Changeover does not occur after 168 h | B009 hour counter wired to wrong run signal, or threshold mis-typed | Confirm B009 is counting only when Q1 OR Q3 is active; check parameter is 168.0 |
| Trip latches but reset pushbutton has no effect | I5 wired NC instead of NO, or edge detector inverted | Verify I5 reads 1 with button released; check rising-edge block polarity |
| Both units run simultaneously in AUTO | B013 duty latch stuck, or Q gating missing NOT-trip terms | Force B013 = 1, then = 0, observe Q outputs; audit Q1/Q3 logic for trip term |
| AI1 reads -1 (out of range) in LSC | Sensor break or AI input below 0 V | Inspect NTC for open circuit; check transducer 24 V supply |
| LOGO! display shows "no program" after power-up | Program not transferred to internal memory, or card write incomplete | Re-download from LSC; check battery / SD card if fitted |
| Compressor short-cycles (under 60 s ON / OFF) | Min-stop / min-run timer not enforced, or B016/B017 mis-wired | Verify B016 and B017 are on-delay and off-delay respectively, parameter 00:00:30 minimum |
| Manual mode runs continuously even after selector returned to AUTO | Selector is maintained type but I1 / I2 read 1 due to wiring fault | Measure I1 and I2 with meter; confirm both read 0 in AUTO |
Frequently Asked Questions
Which LOGO! base model and extension module do I need for two NTC 100k sensors?
Use a LOGO! 230RCE base (6ED1052-2CC08-0BG0) and one LOGO! AM2 extension module (6ED1055-1MA00-0BA2). The 230V AC base unit has no native analog inputs, so the AM2 is mandatory. The NTC 100k must be paired with a 0-10 V signal conditioner; the AM2 does not accept resistive sensors directly.
What is the correct setpoint, stage 1 threshold, and stage 2 threshold for the cooling sequence?
Setpoint 23.0 °C, stage 1 ON at 24.5 °C and OFF at 22.5 °C (1.0 °C hysteresis), stage 2 ON at 26.0 °C and OFF at 24.5 °C. The stage 2 OFF threshold is aligned with the stage 1 ON threshold so that stage 2 always drops out before stage 1 on the recovery side, avoiding simultaneous contactor dropout.
How is the 168-hour weekly rotation implemented in LOGO!?
Use the LOGO! hour counter block (B009) driven by the OR of Q1 and Q3 (i.e., any compressor running). The block parameter is set to 168.0 h. When the counter reaches the threshold, it outputs a pulse that is OR-ed with the trip and high-temperature changeover triggers. The counter resets on duty transfer so the new duty unit starts at zero hours.
What should happen when both AC units trip simultaneously?
The controller latches the FAULT state, removes all Q outputs, sets a common alarm flag, and ignores the reset pushbutton until an operator has physically inspected both units. There is no automatic restart, no timed retry, and no fallback to a single compressor. Both trip inputs must be cleared and the reset pushbutton pressed to exit FAULT.
Why does the 30 °C override switch duty rather than just running both units?
Running both units in normal operation defeats the N+1 redundancy design and doubles the electrical peak load. The 30 °C override is implemented as a duty transfer: if the standby unit is healthy, it is started; if the standby unit is also tripped, the duty unit continues to run with both stages ON and a high-temperature alarm is raised. This maintains the redundancy contract while still allowing a recovery boost in extreme conditions.