Transmitting 4-Wire Water Level Signal Over 2.5 km Fiber Optic

David Krause13 min read
Industrial NetworkingSiemensTutorial / 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

1. Problem Definition: Copper Cable Failure at a Hydro Intake

At a hydro power plant, the intake gate water level is measured by a 4-wire (active) hydrostatic or ultrasonic level sensor located approximately 2.5 km from the powerhouse. The original copper twisted-pair link is destroyed every winter by galvanic surges and induced transient overvoltages that travel back from the wetted sensor head and the surrounding earth grid. The classical remedies (isolation barriers, surge arresters, additional earthing) all extend the life of the cable marginally but never eliminate the fault, because the 2.5 km run acts as a large antenna for atmospheric and switching transients. The engineering task is therefore not to harden the copper link, but to remove it: convert the analog signal into a galvanically isolated, light-based transmission on glass optical fiber.

This article documents a field-proven Siemens architecture based on Profibus DP with Optical Link Modules (OLM) and an ET 200M remote station at the intake. The remote station hosts an SM 331 analog input module that reads the existing 4-wire sensor. The same hardware pattern works for ET 200L-SC, ET 200pro, ET 200eco PN, or PROFINET fiber transceivers where the controller is a current S7-1500 instead of an S7-400H or S7-300.

2. Why a 2.5 km Copper Run Fails in Winter

Four-wire level sensors at intake gates sit in an exposed, often ice-laden, low-impedance earth environment. The failure mechanisms that recur on long horizontal cable runs are:

  • Galvanic loop current. The shield and signal commons follow a different earth-potential gradient than the control room, so DC loop current flows continuously and corrodes the sensor electronics.
  • Inducted surge from lightning. A 2.5 km unshielded or partially shielded run captures the full field of nearby cloud-to-ground strikes; induced voltages at the sensor end exceed 6 kV.
  • Switching transients from the powerhouse (generator breakers, excitation systems, DC contactors) couple into the cable and travel in both directions.
  • Moisture ingress in the splice box on the intake pier creates a tracking path that shorts the loop when the box ices up.

Fiber eliminates all four mechanisms because the dielectric is glass and the only conductive path is the optical transmitter and receiver housings, which are themselves isolated from the process by the fiber. The sensor still needs local surge protection on its supply, but the 2.5 km path no longer carries the fault back to the control room.

3. Architecture Options for Fiber Transmission

Three architectures are viable for a 2.5 km water-level signal. The choice depends on whether the remote end will house only a sensor or also a Profibus slave.

Architecture Remote Equipment Latency Best When
A. ET 200M + OLM (this article) IM 153-2 + SM 331 AI + OLM/G12 One Profibus cycle (< 10 ms) Existing S7-300/400 with Profibus DP master; future I/O expansion planned.
B. Standalone fiber-optic level transmitter Vendor-specific 4-20 mA → FO converter < 1 s Single point, no future I/O, lowest installed cost.
C. PROFINET fiber (SC or LC) ET 200eco PN with FO or media converter One PN cycle (1 ms) New S7-1500 controller, ring redundancy required.

For a hydro power plant that already operates a SIMATIC S7 with Profibus DP master, Architecture A is the lowest-risk path because the same engineering environment, GSD files, and diagnostic tools are reused. The sensor itself is not changed; the SM 331 continues to read the existing 4-wire output exactly as before.

4. Component Selection at the Intake

Build the remote Profibus DP station at the intake pier using the following catalog numbers. All part numbers are taken from the Siemens SIMATIC ET 200M and OLM product manuals and the SIMATIC NET Profibus network manual.

Function Catalog Number Description
Interface module (Profibus DP slave) 6ES7153-2BA10-0XB0 IM 153-2, supports FO via OLM in segment, redundant Profibus, time stamping
Analog input (4-wire) 6ES7331-7KF02-0AB0 SM 331, 8 AI, 16-bit, 4-wire mode, isolated, 24 V supply from sensor
Active backplane 6ES7195-7HA00-0XA0 BM PS / active rail for hot-swap modules
Optical link module (intake end) 6GK1503-2CB00 OLM/G12 V4.0, 2x BFOC FO ports, redundant ring, 3 km MM / 15 km SM
24 V power supply 6EP1334-3BA10 SITOP PSU100M 24 V / 10 A, marine-grade surge tolerant
Surge protector on 24 V supply 6EP1971-1LA00 (or equivalent Dehn) Type 2 SPD for the 24 V rail feeding the sensor and OLM

Total 2.5 km distance falls well inside the OLM/G12 V4.0 envelope of 3 km on 62.5/125 µm multimode or 15 km on 9/125 µm singlemode, depending on the SFP/transceiver variant selected. The multimode variant is normally used for sub-3 km runs because of lower fiber cost and easier field termination.

5. Component Selection at the Powerhouse

At the control room end, the fiber terminates in another OLM that regenerates the electrical Profibus DP signal into the S7 backplane. The PROFIBUS master can be:

  • CPU 315-2 DP (6ES7315-2EH14-0AB0) with integrated Profibus DP master interface.
  • CPU 416-3 DP (6ES7416-3ES07-0AB0) for larger hydro plants.
  • CP 443-5 Extended (6GK7443-5DX05-0XE0) for redundant S7-400H configurations.

The matching OLM at the powerhouse is the same 6GK1503-2CB00. Connect the OLM segment output to the Profibus DP connector (6ES7972-0BA12) on the CPU or CP. Terminate the segment with the built-in terminating resistor in the last Profibus connector; the OLM itself contains a switchable electrical terminator that can be activated via the front-panel DIP switch when the OLM is at the end of the bus.

6. Fiber Cable and Connector Specification

For outdoor 2.5 km runs in a hydro environment, use armored loose-tube cable, 62.5/125 µm OM1 multimode, with a PE outer jacket rated for cable trays and direct burial where permitted. The Siemens Profibus fiber cable 6XV1821-0AH10 is a standard indoor/outdoor Profibus plastic/glass hybrid but for pure glass, select an FO cable (6XV1821-1AH10) terminated with BFOC (ST) connectors at the OLM. BFOC is the historical Siemens standard for OLM/G12; for OLM V4.0 the BFOC/2.5 ports accept the same ST-style bayonet plugs.

Minimum bend radius: 15 × cable diameter (unloaded), 20 × under tensile load. Pulling tension should not exceed 2700 N for the armored variant. Splice losses must be < 0.5 dB per fusion splice; total link budget at 850 nm should remain below the 8 dB OLM/G12 limit (typical 3 km run measures 4-5 dB at 850 nm including connectors and splices).

Both OLMs must be set to the same baud rate. For a single FO link with one OLM at each end, leave both OLM segment switches in the segment terminator ON position. The two fiber ports form a point-to-point link; if ring redundancy is required, the second FO port of each OLM closes the ring and the OLM segment switches must be OFF in the middle of the ring.

7. SM 331 Wiring for the 4-Wire Sensor

The SM 331 (6ES7331-7KF02-0AB0) measures voltage in the four-wire mode. Configure the measuring range module on the side of the SM 331 to position "A" = 4-wire ±10 V or "B" = 4-wire 0-10 V depending on whether the sensor output is bipolar. For a 4-20 mA sensor, use a 500 Ω precision resistor in parallel with the input and select the ±10 V range; this converts 4-20 mA to 2-10 V, which is then rescaled in the PLC. The same applies to the SM 331-1KF02 variant for 8-channel installations.

Terminal assignments on the SM 331 front connector (per channel):

  • Pin 1: M- (sensor signal negative)
  • Pin 2: M+ (sensor signal positive)
  • Pin 3: Uv- (sensor 24 V supply negative)
  • Pin 4: Uv+ (sensor 24 V supply positive)

Wire the sensor 24 V supply from the same SITOP PSU that feeds the IM 153-2 and OLM, so the entire remote station shares one galvanically isolated power domain. Add the Type 2 SPD on the PSU input and a Dehn DEHNgate type arrester on the sensor cable entry to clamp any residual transients before they reach the SM 331. Because the SM 331 is isolated to 500 V DC channel-to-bus, the only path for surge current is now through the local earth, not back to the powerhouse.

8. Step-by-Step Implementation

  1. Build the ET 200M at the intake: mount the BM PS active rail, click in the IM 153-2 in slot 1, and the SM 331 in slot 2. Set the PROFIBUS address on the IM 153-2 with the rotary switches (e.g., address 7 for the intake station).
  2. Set the SM 331 measuring-range module to the correct position for the sensor output range. Power down before changing the module.
  3. Wire the 4-wire sensor to the SM 331 front connector. Install the SPD on the cable entry.
  4. Install the OLM/G12 V4.0 in the same cabinet. Connect its 24 V supply to the SITOP. Set DIP switch S1 = ON for terminating resistor at end of segment. Plug the BFOC fiber jumpers into OLM ports 1 and 2 (only port 1 used for point-to-point).
  5. Lay the armored fiber cable from the intake to the powerhouse, leaving 3 m service loops at each end. Fusion-splice pigtails terminated with BFOC at both OLM locations.
  6. At the powerhouse, install the second OLM/G12 V4.0 next to the S7 rack. Connect its electrical Profibus port to the CPU/CP via a Profibus cable with Profibus connector (6ES7972-0BA12) with termination ON at this end only.
  7. In STEP 7 (or TIA Portal), install the GSD file for the IM 153-2. Insert the SM 331 in slot 2 with the matching measuring range. Configure the analog input channel: integration time 20 ms, smoothing ON, 4-wire ±10 V.
  8. Download the hardware configuration. The IM 153-2 should appear online and report a green "BF" LED off on both OLMs, indicating good fiber light.
  9. Scale the raw value (PIW) in the user program: Level [%] = (PIW - 0) / 27648 × 100. For 4-20 mA via 500 Ω, use Level [%] = (PIW - 5530) / (27648 - 5530) × 100.

9. Commissioning and Verification

Check Expected Result Tool
OLM LED status at intake DC 24V ON, BF off, SF off Visual / STEP 7 online diagnostics
OLM LED status at powerhouse DC 24V ON, BF off, SF off Visual / STEP 7 online diagnostics
Profibus diagnostics No station failure, no bus failure, IM 153-2 reports cyclic data STEP 7 / TIA Portal online → Profibus diagnostics
Optical power budget Received power ≥ -23 dBm at 850 nm, margin ≥ 3 dB Siemens FO Power Meter (6GK1900-0AB00) or equivalent
SM 331 raw value vs. reference level Matches ±0.3 % FS at three test levels (low, mid, high) Compare against calibrated reference gauge
Surge injection test (optional) 1 kV / 2 Ω pulse on sensor lines — SM 331 survives, no PLC fault Surge generator per IEC 61000-4-5

If the BF LED on either OLM is lit, the optical budget is exceeded. The most common causes are dirty BFOC connectors, a single splice with poor alignment, or a fiber break. Clean the connector with a proper fiber cleaning pen (the 2.5 mm SC/BFOC type), re-measure, and re-seat.

10. Alternative: Standalone Fiber-Optic Level Transmitter

When the remote location will never host more than one signal, a single 4-20 mA → fiber converter pair is faster to install and avoids the Profibus configuration overhead. Several manufacturers sell a matched transmitter and receiver pair operating at 850 nm multimode, with the transmitter head mounted directly on the sensor body and powered locally from 24 V. The receiver at the powerhouse outputs a regenerated 4-20 mA signal into a standard analog input of the existing PLC. The advantage is no DP master, no GSD, no bus address. The disadvantage is the loss of HART diagnostics and the need to verify that the vendor's FO converter actually meets the 2.5 km budget at 850 nm (most plastic-fiber units are limited to 50 m, requiring the glass-fiber variant for this distance). Several industrial optical level gauges based on intensity modulation are documented in the measurement literature (see fiber-optic liquid-level continuous gauge, Sensors and Actuators A, 2006), confirming that the physical principle is mature.

The short optical proximity sensors sold for aquarium and RO applications (e.g., the optical infrared units with 1.8 m cable on consumer marketplaces) are not suitable for a 2.5 km outdoor hydro environment. They lack the optical power budget, the IP68 rating, the surge immunity, and the EMC conformance required for grid-connected power plant I&C.

11. Diagnostic and Troubleshooting Matrix

Symptom Likely Cause Corrective Action
OLM "BF" LED on at intake, off at powerhouse Fiber break or dirty BFOC connector at intake Clean connector; OTDR-test the cable; re-fusion-splice if break confirmed
OLM "BF" LED on at both ends Fiber break mid-run, splice failure, or OLM transmitter failed OTDR from one end; replace the SFP/transceiver on the OLM if local
OLM "SF" LED on, bus failure on PLC Duplicate Profibus address or termination missing Verify IM 153-2 address unique; check terminating resistor DIP switch on OLMs and Profibus connector
SM 331 reads 0x7FFF (overflow) Measuring-range module position wrong; sensor wired to wrong channel Power down, set module to "B" (4-wire ±10 V); re-wire per the channel pinout
SM 331 reads correct value at commissioning, drifts in winter Sensor head flooded or connector wet; remaining surge path into the sensor Replace sensor head; install IP68 junction with proper gland; verify SPD clamping
OLM "DC 24V" LED off PSU failed or SPD shorted after a surge Replace SPD; verify PSU output under load; add upstream fuse

12. Field-Proven Caveats and Safety

  • Even with fiber, the sensor head and the OLM cabinet at the intake remain exposed to direct lightning strike. Provide a local earth ring at the intake pier bonded to the existing earth grid, and install a Type 1 SPD on the mains feed to the OLM cabinet.
  • The Profibus DP master CPU must be configured for the exact OLM topology used. For a point-to-point link with one OLM at each end, both OLMs must be set to segment terminator ON. For a ring, all OLMs between the two master ends must have segment terminator OFF. This is a frequent commissioning error that produces intermittent bus failures.
  • OLM V4.0 firmware supports diagnostic buffer entries accessible via the Profibus master. Enable "Report all DP slave diagnostics" in the S7 project to receive automatic email or SMS alerts on fiber degradation before a full failure.
  • Document the optical budget at commissioning (transmitted power, received power, total loss). Trend the received power annually; a slow degradation of 1-2 dB indicates connector contamination or fiber aging and allows planned maintenance before the bus fails.
  • For hydro plants under IEC 61508 / IEC 61511 (safety instrumented functions), the level signal routed via Profibus DP fiber must be part of the same SIL assessment as the original 4-wire loop. The fiber link itself does not change the SIL capability; the change in the safety case is the proof that the fiber eliminates the surge-induced common-cause failure.

Can I use plastic optical fiber (POF) for the 2.5 km run?

No. POF is limited to approximately 50 m at 850 nm and is intended for cabinet-internal links. For 2.5 km you must use glass multimode (62.5/125 µm, OM1) or singlemode (9/125 µm, OS1) fiber, terminated with BFOC (ST) connectors matching the OLM/G12 V4.0 ports.

Do I need to replace my existing 4-wire level sensor?

No. The sensor output connects to the SM 331 analog input exactly as it did on the original copper cable. The fiber is installed only between the ET 200M station at the intake and the OLM at the powerhouse, so the sensor itself, its calibration, and its wiring are unchanged.

What is the maximum distance an OLM/G12 V4.0 can reach on multimode fiber?

3 km on 62.5/125 µm multimode at 850 nm, and 15 km on 9/125 µm singlemode at 1300 nm, with a total optical budget of 8 dB. A 2.5 km multimode run typically measures 4-5 dB total loss, well inside the budget.

What happens if the fiber is accidentally cut?

Both OLMs report "BF" (bus fault) on the front panel and the Profibus master flags the IM 153-2 as failed. The PLC sees a quality code of "bad" on the analog input and the level value is frozen or substituted per the application program. Restoration requires fusion-splicing the cable and re-measuring the optical budget before the bus is brought back online.

Can I run the level signal over PROFINET instead of Profibus DP?

Yes. Replace the OLM pair with PROFINET fiber transceivers (e.g., SCALANCE XC-100G or MM992-2SFP media converters) and use an ET 200eco PN with FO interface at the intake. The S7-1500 PROFINET master reads the level over standard PROFINET cycles (1 ms). The functional result is the same; the choice is dictated by which PLC family is in service.

Back to blog