Siemens LOGO! 24 ON/OFF Level Control with SINAMICS G110 Drive

David Krause15 min read
PLC HardwareSiemensTutorial / How-to
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

Overview

This reference covers a complete ON/OFF pump-down level control system built around three Siemens components: a LOGO! 24RCE (or LOGO! 24) logic module, a Prosonic FMU 860 ultrasonic level sensor with 4–20 mA output, and a SINAMICS G110 variable-frequency drive controlling the pump motor. The logic dictates that the drive runs when the water level falls to a low setpoint and stops when the level rises to a high setpoint. The implementation uses an external 500 Ω precision resistor to convert the 4–20 mA loop into a 0–10 V signal that the LOGO! analog input can read.

The two engineering decisions that drive every parameter in the program are:

  1. 4 mA × 500 Ω = 2.0 V at the LOGO! input (empty / low setpoint).
  2. 20 mA × 500 Ω = 10.0 V at the LOGO! input (full / high setpoint).

The LOGO! displays this voltage scaled to 0–1000 internal units, so the switch-on threshold sits near 200 (≈ 2 V) and the switch-off threshold near 1000 (≈ 10 V). A separate wire-break detector is added below 2 V because a true 4–20 mA loop produces 0 mA (and therefore 0 V) on a broken conductor — this lets the program raise a fault instead of interpreting an empty pipe as "low level".

Safety note: All wiring to the Prosonic FMU 860 transmitter head, LOGO! base unit and SINAMICS G110 control terminals must comply with the relevant installation manual and local electrical code. De-energise the drive (wait for the DC bus to discharge per G110 manual) and the LOGO! supply before making any changes to terminals. Provide a dedicated MCB and E-stop that hard-wires to the G110 STO/Enable input independent of the LOGO! program.

System Architecture and Components

Component Function Key Spec Used in this Project
Siemens LOGO! 24RCE (e.g. 6ED1052-1CC08-0BA0) Logic controller, analog threshold evaluation, drive enable output 4 digital inputs, 4 digital outputs (relay), AI1–AI4 = 0–10 V analog inputs; supply 24 V DC
Siemens Prosonic FMU 860 Ultrasonic level transmitter 4–20 mA HART output, two-wire loop powered, 24 V DC loop supply
Siemens SINAMICS G110 (e.g. 6SL3211-0AB1x-xBAx) Variable-frequency drive for pump motor 0.12–3.0 kW; analog setpoint input (parameterised for 0–10 V) and digital inputs for RUN/STOP
500 Ω precision resistor, 0.1 %, ¼ W or larger 4–20 mA → 2–10 V conversion Loop burden; mounted at LOGO! terminals
24 V DC loop supply Sensor power and current loop excitation ≥ 22 V under load; observe sensor compliance voltage

Prerequisites

  • LOGO! Soft Comfort V8.3 (or compatible) installed on a PC and connected to the LOGO! via Ethernet or the programming cable.
  • SINAMICS G110 parameter list / operator panel (BOP) for setting analog input scaling and digital input source.
  • Calibration of the FMU 860: empty-tank (4 mA) and full-tank (20 mA) trim must be performed with the actual tank before the LOGO! program is finalised.
  • Multimeter capable of reading 0–10 V and 0–30 mA with 0.1 % accuracy for verifying the 500 Ω burden.
  • Two shielded twisted pairs: one for the FMU 860 loop, one for the G110 control wiring. Keep analog and motor cables in separate conduit runs.

Sensor Signal Conditioning: 4–20 mA to 0–10 V

The LOGO! 24 base unit's analog inputs accept 0–10 V only. The Prosonic FMU 860 delivers a 4–20 mA signal. Adding a 500 Ω burden resistor in parallel with the LOGO! input gives a 2.0–10.0 V measurement that preserves the "live zero" feature of the 4–20 mA standard:

Tank Condition Loop Current Voltage across 500 Ω LOGO! Internal Value (0–1000) Program Action
Wire break / sensor fault 0 mA 0.0 V 0 Fault: stop drive, raise alarm
Low level (pump ON) 4 mA 2.0 V 200 Drive enabled (RUN)
Mid level 12 mA 6.0 V 600 Hold last state (hysteresis)
High level (pump OFF) 20 mA 10.0 V 1000 Drive disabled (STOP)

The conversion formula and Ohm's law check:

V = I × R → V_min = 4 mA × 500 Ω = 2.0 V ; V_max = 20 mA × 500 Ω = 10.0 V
Live zero principle. A 0–10 V signal cannot distinguish "empty tank" from "broken wire" because both read 0 V. By mapping 4–20 mA → 2–10 V the LOGO! can recognise 0 V as a fault and only treat 2 V and above as a valid level reading. The 2 V dead band is the only downside and is acceptable for ON/OFF service.

Wiring the Burden Resistor

  1. Connect the positive conductor of the FMU 860 loop to LOGO! terminal AI1 (e.g. terminal I7 on LOGO! 24RCE when configured as analog).
  2. Connect the negative conductor of the FMU 860 loop to LOGO! terminal M (analog ground).
  3. Solder or screw-clamp the 500 Ω precision resistor directly across AI1 and M, as close to the LOGO! terminals as physically practical. Lead length should not exceed 30 mm to avoid picking up noise.
  4. Connect the loop supply (24 V DC +) to the positive input of the FMU 860; connect the loop supply (24 V DC –) to the LOGO! M terminal so the current path is: supply(+) → FMU 860 → AI1 → 500 Ω → M → supply(–).

Wiring the LOGO! 24 PLC to the Prosonic FMU 860

The Prosonic FMU 860 is a two-wire loop-powered transmitter. Wire it as a current source sinking into the LOGO! analog input. The shield of the signal cable should be bonded at the LOGO! cabinet gland only; the sensor end is left floating (or terminated through a 1 nF capacitor if local practice requires).

FMU 860 Terminal Function LOGO! Terminal Notes
+ Loop powered device + 24 V supply + Via separate fused branch
– Loop output – AI1 (e.g. I7 analog) Current return path
(loop – at LOGO! side) Return to supply M / 24 V – Completes current loop
Shield EMC Cabinet ground bar One end only
Shielding and segregation. Route the analog loop at least 200 mm away from the G110 motor cable, the contactor coils, and the 24 V relay outputs. Use a twisted pair with overall shield. A failure to shield properly is the single most common cause of a "floating" or noisy analog reading in the LOGO!.

Wiring the LOGO! Output to the SINAMICS G110

You can drive the G110 from either an analog setpoint or a digital RUN/STOP command. The simplest and most reliable method for an ON/OFF level control is digital RUN/STOP. The analog setpoint can be hard-wired to a fixed value (e.g. 5 V = 30 Hz) or used to vary the pump speed if a soft-start is desired later.

Recommended Method — Digital Enable to the G110

  1. On the LOGO!, allocate relay output Q1 (e.g. terminals of a 6ED1052-1CC08-0BA0 relay) to the "drive enable" function in the program.
  2. Wire Q1 contact (or one pole of the SPDT output) to the G110 terminal 5 (digital input DIN1 by default for ON/OFF1 with P0701 = 1).
  3. Wire the other side of the contact to the G110 terminal 9 (24 V reference) or terminal 2 depending on the G110 variant and the chosen control source.
  4. Wire the G110 terminal 8 (digital common / 0 V) to the LOGO! M terminal so both reference potentials match.

Optional Method — Analog Setpoint

If you want a fixed 30 Hz pump speed when enabled, use the LOGO! Q1 to switch a 0–10 V signal to the G110 analog input (terminal 3 = AIN+, terminal 4 = AIN–). Wire a 10 kΩ potentiometer across the G110 10 V reference (terminal 1) and GND (terminal 2), and connect the wiper through a Q1 contact to terminal 3. When Q1 closes, the G110 sees the preset voltage; when it opens, the G110 falls back to 0 V and ramps down.

G110 Terminal Function LOGO! Connection
1 +10 V reference Potentiometer top end (optional analog method)
2 0 V reference LOGO! M
3 AIN+ (0–10 V setpoint) Pot wiper via Q1 contact (optional)
4 AIN– LOGO! M
5 DIN1 (default ON/OFF1) LOGO! Q1 contact (digital method)
8 Digital common LOGO! M
9 +24 V digital in supply LOGO! Q1 contact (other side) — digital method

LOGO! Programming: Threshold Blocks and Hysteresis

The control law needs hysteresis so the pump does not chatter at the high setpoint. Implement it as two analog threshold comparators feeding an SR flip-flop, then route the flip-flop output to Q1.

Block Diagram (LOGO! Soft Comfort)

  AI1 ──┬──►[ Analog Threshold "Off" ]──┐ ON (level high)
        │                                │
        │     gain 1.0                  ──►[ RS Flip-Flop ]──► Q1 (Drive enable)
        │     On  : 1000 (10.0 V)        │
        │     Off :  900 (9.0 V)         │
        │                                │
        │     gain 1.0                  │
        │     On  :  200 (2.0 V)         │
        │     Off :  300 (3.0 V)         │
        └──►[ Analog Threshold "On" ]───┘ SET (level low)

  AI1 ──►[ Analog Threshold "WireBreak" ]──►[ NOT ]──► Q2 (Fault lamp / horn)
              gain 1.0
              On  :   50 (0.5 V)
              Off :  150 (1.5 V)

Threshold Parameters Explained

Block On Threshold Off Threshold Function
Analog Threshold "Off" 1000 (10.0 V) 900 (9.0 V) Trips when level reaches high setpoint; resets 0.5 V below
Analog Threshold "On" 200 (2.0 V) 300 (3.0 V) Trips when level drops to low setpoint; resets 0.5 V above
Analog Threshold "WireBreak" 50 (0.5 V) 150 (1.5 V) Asserts fault below 0.5 V; clears above 1.5 V (debounced)
Off-Parameter correction in the field. During bench testing the original "Off" threshold of 360 (3.6 V) caused the pump to cycle on the rising edge of the level rather than only at the empty setpoint. Changing the OFF parameter to 200 made the program behave as required: pump enabled at the low trip, held on through the mid range, and disabled only at the high trip. The 360 value was a residual from initial 0–10 V calculations; the corrected value corresponds to the 4–20 mA → 2–10 V mapping that the Prosonic FMU 860 actually delivers.

Why Hysteresis Matters

A single-threshold comparator with the tank at the high setpoint would oscillate: any surface ripple would cross the threshold repeatedly and wear the contactor / pulse the drive. The LOGO! "On" and "Off" parameters built into the Analog Threshold block implement two separate switch points (one for the rising edge, one for the falling edge) and provide inherent hysteresis equal to the difference between the two values.

SINAMICS G110 Configuration

With a 24 V digital input from the LOGO! driving the RUN command, the minimum set of G110 parameters to verify on first commissioning is:

Parameter Description Value for this Project Comment
P0700 Command source selection 2 (terminal strip) Use terminal strip, not BOP
P0701 Function of digital input 1 1 (ON / OFF1) LOGO! Q1 energises = drive runs
P1000 Frequency setpoint source 1 (motor potentiometer) or 3 (fixed setpoint) P1000 = 3 with P1001 = 30 Hz gives constant 30 Hz pump speed
P1120 Ramp-up time 3–5 s Avoids water hammer in the rising main
P1121 Ramp-down time 3–5 s Matches ramp-up
P1300 Control mode 0 (V/f linear) or 1 (V/f quadratic) Quadratic suits centrifugal pumps
P1080 Minimum frequency 5 Hz typical Prevents motor stalling
P1082 Maximum frequency 50 Hz (Europe) / 60 Hz Match mains
P0304 / P0305 / P0307 Motor nameplate V / I / kW Per motor plate Critical for thermal model
P0335 Motor cooling 1 (self-cooled) Required for I²t model
P0610 Reaction to motor I²t 1 (trip) Drive will protect the motor on overload
First start. The G110 will not run until the OFF1 command is present (terminal 5 high), the enable (terminal 9) is present, and the drive is in the "Ready" state with no active fault. If the drive shows F0001 (overcurrent) at first start, extend the ramp time and verify that the motor shaft is free to rotate (pump is not jammed).

Wire-Break Monitoring

The 4–20 mA loop can detect a broken conductor because the current will fall to 0 mA. A 0 V reading at the LOGO! is therefore a fault, not a "low tank" condition. The "WireBreak" threshold at 0.5 V (50 internal units) raises a fault output and the G110 is forced to coast to stop.

To implement the forced stop in the program, AND the SR flip-flop output with the negation of the wire-break output:

  (RS Q) ──┐
           ├──[ AND ]──► Q1 (Drive enable)
  (NOT WireBreak) ──┘

Recommended visual indicators and outputs:

LOGO! Output Indicator / Action Wiring
Q1 Drive enable to G110 G110 terminal 5 (DIN1)
Q2 Wire-break alarm lamp (red) 24 V panel lamp, fused
Q3 Run indicator (green) 24 V panel lamp, fused
Q4 Remote alarm (BMS / SCADA) Dry contact into BMS

Commissioning and Verification

  1. Sensor trim. With the tank empty, calibrate the FMU 860 to 4 mA (zero trim). With the tank at the high level, calibrate to 20 mA (span trim). Allow at least 30 cm of measurement range for the ultrasonic blanking zone of the FMU 860.
  2. Burden check. Disconnect the resistor and measure with a multimeter; the value should be 500 Ω ± 0.5 Ω. Reconnect.
  3. LOGO! reading. Power the system. With the tank empty, observe the AI1 value in LOGO! Soft Comfort online mode. It should read between 190 and 210 (2.0 V ± 0.1 V). With the tank full, it should read between 990 and 1000 (≈ 10 V).
  4. Threshold trip test. Force the FMU 860 to 4 mA using a calibrator. The "On" threshold must trip, Q1 must close, and the green run lamp must illuminate. Force the FMU 860 to 20 mA. The "Off" threshold must trip, Q1 must open, the green lamp must extinguish, and the drive must ramp down.
  5. Wire-break test. Disconnect the positive loop conductor. AI1 must read below 50 (0.5 V), the wire-break output must assert, the red alarm lamp must come on, and Q1 must drop out to stop the drive.
  6. G110 trip test. From the BOP or terminal strip, force the drive to ON and verify that it ramps to the fixed setpoint (e.g. 30 Hz) following the ramp time in P1120. Then drop the LOGO! Q1 output. The drive should ramp down following P1121 and stop.
  7. End-to-end. Fill the tank to the high level, run the program, and verify the drive remains off. Open the discharge valve to draw down the level. The drive must start when the level crosses the low setpoint and stop when the level returns to the high setpoint, with no chattering across the mid range.

Troubleshooting Matrix

Symptom Likely Root Cause Corrective Action
LOGO! AI1 reads 0 V, drive will not start, alarm on Open loop (wire break) or FMU 860 lost power Measure loop current; if 0 mA, repair conductor. Check 24 V supply to FMU 860.
LOGO! AI1 reads 0 V but no alarm Wire-break threshold not enabled in program Verify the WireBreak threshold block is present and its output is wired to the AND gate ahead of Q1.
LOGO! AI1 reads 10 V continuously FMU 860 set to current output but stuck at 20 mA, or short across the burden Disconnect burden and measure loop current with a multimeter in series. If 20 mA regardless of level, replace or re-calibrate the FMU 860.
Pump starts immediately on LOGO! power-up RS flip-flop starts in "set" state because both thresholds are already satisfied at 4 mA Add a power-on reset using a pulse generator and the flip-flop reset input so Q1 is forced off on first scan; the On threshold will assert it after the delay.
Pump chatters at the high setpoint Hysteresis too small; thresholds too close Increase the gap between the On and Off parameters of each threshold block (e.g. 100 units = 1.0 V band).
G110 shows F0001 (overcurrent) on first start Ramp time too short or pump is mechanically locked Extend P1120 / P1121 to 5 s. Manually rotate the pump shaft to confirm free rotation.
G110 shows F0051 / F0052 (EEPROM / parameter) Parameter not saved after commissioning After setting all parameters, press the green P button on the BOP for > 2 s to save to EEPROM.
Drive enable from LOGO! is present but drive does not start OFF2 or OFF3 active, or a fault is latched Clear faults on the BOP; verify no other digital input is configured for OFF2/P1000 fault reaction.

Field-Proven Caveats

  • Internal scaling in LOGO!. The 0–1000 internal value is linear with the voltage on the analog input. A 2.0 V signal is therefore 200 units, not 360. The original 360 value comes from a common mistake of treating the sensor range as 0–10 V rather than 2–10 V — a direct consequence of using a 4–20 mA sensor with a burden resistor instead of a native 0–10 V sensor.
  • Sensor blanking zone. The Prosonic FMU 860 cannot reliably measure closer than 25–40 cm to the transducer face (check the FMU 860 manual for the exact value). Set the high setpoint well below the physical top of the tank to avoid reading the false echo from the tank roof.
  • Surge protection. If the sensor cable runs outdoors or in a lightning-prone area, install a surge arrester (e.g. Dehn BVT) on the loop conductors at the cabinet entry. The 500 Ω burden is not rated to dissipate a lightning surge.
  • LOGO! 24RCE vs LOGO! 24RCEo. Both support 0–10 V analog inputs, but the RCEo (without display) has the same AI1–AI4 terminal block. The 500 Ω burden can be soldered directly across the screw terminals on either variant.
  • Loop voltage compliance. The Prosonic FMU 860 requires a minimum of 12 V across its terminals to operate. With 24 V supply, 2–10 V across the burden, and ≈ 0.5 V drop in the conductor, the sensor still has ≈ 11.5 V — acceptably close to the limit. If the supply is reduced to 22 V (worst case at end of cable run), the sensor may drop out at 20 mA. Use a 24.5 V nominal supply or a 24 V supply with low impedance.
  • Drive enable vs safety stop. The LOGO! relay output is not a safety-rated output. The E-stop circuit must hard-wire to the G110's STO (Safe Torque Off) or the contactor ahead of the drive so the system is fail-safe even if the LOGO! is unpowered or stuck.

FAQ

Why is a 500 Ω resistor used to connect a 4–20 mA sensor to the LOGO! 24 input?

The LOGO! 24 analog inputs only accept 0–10 V. A 500 Ω precision burden converts the 4–20 mA current loop into 2.0–10.0 V, which fits the LOGO! range and preserves the "live zero" feature so a wire break can be detected as 0 V.

What is the correct Off threshold in LOGO! for a 4–20 mA → 2–10 V signal at the high level setpoint?

20 mA × 500 Ω = 10.0 V at the LOGO! input, which scales to 1000 internal units. The "Off" parameter for the high level threshold should be set to 1000 (not the 360 value that comes from a 0–10 V assumption).

How can the LOGO! distinguish a wire break from a low level reading?

A wire break produces 0 mA, which is 0 V across the burden. A low level produces 4 mA, which is 2.0 V. Add a third Analog Threshold block set to trip below 50 (≈ 0.5 V) and use its inverted output to force the drive off and raise an alarm.

Should the LOGO! drive the SINAMICS G110 with a digital or analog output?

For simple ON/OFF level control, a digital output (Q1) into the G110's DIN1 configured for ON/OFF1 is the most robust method. Use an analog setpoint only if a varying pump speed is required for soft-start, water hammer control, or proportional level control.

What G110 parameters must be set so the drive runs when the LOGO! relay closes?

Set P0700 = 2 (terminal strip command source), P0701 = 1 (DIN1 = ON/OFF1), P1000 = 3 with P1001 set to the desired fixed frequency, and P1120 / P1121 to 3–5 s ramp times. Save to EEPROM by holding the green P button on the BOP for at least 2 seconds.

Back to blog