LOGO! PLC Fiber Optic Communication: 3 km Ethernet Setup Guide

David Krause10 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

Overview

Siemens LOGO! logic modules do not ship with a native fiber-optic transceiver. They expose only a standard RJ45 Ethernet interface (LOGO! 8/8.3 BA: 10/100 Mbit/s Ethernet, RJ45, IEEE 802.3). To close a point-to-point link over a buried fiber run of 3–3.3 km, the copper RJ45 port of each LOGO! must be terminated into an industrial media converter that converts the 100BASE-TX electrical signal into an optical signal on 1300 nm fiber. This article documents the engineering selection, physical topology, IP addressing, and commissioning procedure required to make two LOGO! controllers exchange data reliably across several kilometers of single-mode or multi-mode fiber.

Prerequisites

  • Two Siemens LOGO! 8 or 8.3 logic modules (6ED1052-xxx08-0BAx family or newer). Both CPUs must carry the same firmware train so the LOGO! communication feature set matches.
  • LOGO! Soft Comfort V8.3 or later installed on the engineering PC for IP configuration and Ethernet connection setup.
  • Two 24 VDC power supplies rated for industrial environment (LOGO! 8 PSU and the media converter PSU share the same SELV rail).
  • One fiber-optic media converter per end of the link. Siemens SCALANCE or equivalent third-party unit with 100 Mbit/s electrical and 100BASE-FX optical port.
  • Fiber-optic cable: single-mode 9/125 µm for distances greater than 5 km, or OM2/OM3 multi-mode 50/125 µm for runs up to 5 km. Outdoor-rated, gel-filled, armored (steel tape or corrugated steel) for direct burial.
  • Fiber patch cords matched to the converter connector type (SC duplex for SCALANCE X101 series).
  • Fusion splicer or pre-terminated pigtails plus a fiber cleaver for termination.
  • OTDR or optical power meter (1310/1550 nm) for commissioning.

Technical Constraints and Signal Path

LOGO! 8 Ethernet is implemented with a Realtek RTL8211E PHY driving an internal RJ45 magnetics module. The MAC supports only copper 100BASE-TX/10BASE-T, full duplex. There is no SFP cage and no IEC 61754 fiber receptacle. Any fiber transport therefore requires an outboard media converter that maps the MDI/MDIX copper pair to an optical transmit/receive pair.

Optical vs. copper loss budget at 3 km
Medium Attenuation @ 1310 nm Total loss at 3 km Notes
Multi-mode OM2 50/125 µm ≤ 1.5 dB/km ≈ 4.5 dB Limit 5 km on 100BASE-FX
Single-mode 9/125 µm (OS2) ≤ 0.4 dB/km ≈ 1.2 dB Headroom for splices/connectors

100BASE-FX links carry the physical layer requirements from IEEE 802.3u. The receiver sensitivity of a typical SCALANCE X101 optical port is around –31 dBm at 1310 nm; the transmit power is roughly –19 to –14 dBm. A 3 km single-mode link leaves 25+ dB of optical margin, which is more than sufficient for buried cable with two fusion splices and four SC connector pairs.

Critical: Never mix multi-mode (orange) and single-mode (yellow) patch cords at the same converter port. The 50/125 µm core of multi-mode fiber will not couple enough light into the 9/125 µm core of single-mode fiber, producing link failure even on short patches.

Component Selection: Media Converters

Siemens offers two industrial-grade converters from the SCALANCE X-100 family that are purpose-built for cabinet mounting on a 35 mm DIN rail, accepting 24 VDC and featuring diagnostic LEDs and fault relay contacts:

Siemens SCALANCE media converter variants for LOGO! fiber link
Order number Model Fiber type Max distance Optical budget Wavelength
6GK5101-1BB00-2AA3 SCALANCE X101-1 Multi-mode 50/125 µm 5 km ≈ 11 dB 1310 nm
6GK5101-1BC00-2AA3 SCALANCE X101-1LD Single-mode 9/125 µm 26 km ≈ 16 dB 1310 nm

Both units present one RJ45 (10/100 Mbit/s) and one SC duplex fiber port. The –1LD variant is the correct choice for a 3.3 km buried link because single-mode cable is the universally deployed outside-plant medium and its dispersion characteristics at 1310 nm are essentially flat over the run.

Third-party alternatives such as the TP-Link MC210CS (Gigabit single-mode) are electrically compatible but do not carry the SCALANCE diagnostics. Industrial sites with harsh EMC or extended temperature requirements should default to the SCALANCE family.

Topology

LOGO! #1 192.168.0.10 RJ45 10/100 TX SCALANCE X101-1LD Site A RJ45 ←→ SC SCALANCE X101-1LD Site B SC ←→ RJ45 LOGO! #2 192.168.0.11 RJ45 10/100 TX CAT5e <3 m Single-mode fiber 3.3 km CAT5e <3 m

The topology is a strict point-to-point link. There is no Ethernet switch between LOGO! #1 and LOGO! #2, only two media converters in the middle. No additional router or NAT is required; the converters are layer-1 transparent devices.

IP Address Plan

LOGO! communication uses standard TCP/IP over IPv4. The two stations must be on the same subnet and the subnet mask must be identical:

IP plan for closed LOGO!-to-LOGO! link
Device IP address Subnet mask Default gateway Notes
LOGO! #1 (master) 192.168.0.10 255.255.255.0 0.0.0.0 Stores the network project
LOGO! #2 (slave) 192.168.0.11 255.255.255.0 0.0.0.0 Receives VM/NM mapping
SCALANCE X101-1LD A 192.168.0.250 255.255.255.0 0.0.0.0 Out-of-band web diagnostics
SCALANCE X101-1LD B 192.168.0.251 255.255.255.0 0.0.0.0 Out-of-band web diagnostics
The gateway can stay 0.0.0.0 because the two LOGO!s communicate only with each other. Add a default gateway only if remote engineering access (e.g. via cellular router) is planned later.

LOGO! Soft Comfort Configuration

Both LOGO! devices must be configured for Ethernet communication. Open the project in LOGO! Soft Comfort V8.3 or newer. On each LOGO! CPU configuration page:

  1. Select Tools → Ethernet Connections (or right-click the LOGO! in the network view and choose Properties).
  2. Enter the static IP, subnet mask, and disable DHCP client.
  3. Enable Server mode on the master and Client mode on the slave.
  4. In the project tree, drag a Network Input (NI) or Network Output (NQ) onto the workspace. Link the local VM bit to NI/NQ tags that point to the partner LOGO!.
  5. Compile and download the project to each LOGO! via USB or the local Ethernet port.

The closed LOGO!-to-LOGO! data exchange uses the proprietary Siemens S7-compatible protocol on TCP port 102 (ISO-on-TCP). One LOGO! acts as the active partner (server), the other as passive (client). Up to 32 NI/NQ tags are supported per LOGO! 8 base module in a 1:1 point-to-point setup. With LOGO! 8.3 and a CMR/DM8 expansion, the maximum mapping rises to 64 NI plus 64 NQ.

Physical Installation

  1. Mount both SCALANCE X101-1LD on a DIN rail in the same enclosure as the LOGO! 8 base module. Maintain ≥ 50 mm clearance above and below for fiber bend radius.
  2. Wire the 24 VDC supply to the SCALANCE's 4-pin plug-in terminal. The same PSU that feeds the LOGO! may be used; total inrush on cold start of the SCALANCE is below 1 A.
  3. Use a short (< 3 m) CAT5e or better patch cord between the LOGO! RJ45 jack and the SCALANCE RJ45 jack.
  4. Route the single-mode cable through the enclosure wall via a proper cable gland. Do not exceed the SCALANCE SC port minimum bend radius of 30 mm.
  5. Splice the outdoor cable onto SC/APC pigtails inside a fiber-termination box mounted to the enclosure. Use a fusion splicer; mechanical splices are acceptable only for repair, not commissioning.
  6. Bond the metallic strength member of the armored cable to the cabinet PE bar at one end only to avoid ground loops.

Commissioning Procedure

  1. With the fiber disconnected, verify each LOGO!-to-SCALANCE copper link: the SCALANCE LEDs for Port 1 Link and Activity should light green within 5 s of LOGO! boot.
  2. Connect an OTDR to one end of the fiber run and shoot a trace at 1310 nm. Expect a single end-to-end event with insertion loss < 2 dB plus splice events ≤ 0.1 dB each.
  3. Connect both fiber patch cords and power both SCALANCE units. The fiber-port Link LED on each converter must turn green; if it stays off, swap TX and RX on one patch cord (single-mode SC connectors are keyed but misalignment still produces zero link).
  4. From the engineering PC, ping 192.168.0.10 and 192.168.0.11. Round-trip time on 3.3 km single-mode fiber should be ≈ 33 µs; expect ≈ 35 ms over ICMP due to LOGO! firmware handling.
  5. Open LOGO! Soft Comfort, select Online → Ethernet Connections, and confirm both LOGO! modules appear in the access list.
  6. Toggle a local output on LOGO! #1 wired to a Network Output tag. Verify the corresponding Network Input tag on LOGO! #2 changes state within two LOGO! scan cycles (≤ 200 ms typical).

Verification Checklist

Acceptance test for closed fiber link
Test Expected Pass criterion
SCALANCE Port 1 link LED Solid green Within 5 s of power-up
SCALANCE fiber link LED Solid green Within 30 s after both ends powered
OTDR trace 1310 nm < 2.0 dB total loss to far end Plus ≤ 0.3 dB per connector pair
Ping 192.168.0.10 → 192.168.0.11 < 100 ms RTT 0% packet loss over 100 pings
LOGO! NI/NQ update time ≤ 200 ms Stable, no bit toggles in idle state
SCALANCE web UI fault relay De-energized Open contact = no fault
Bit error test (loopback NI ↔ NQ) 1 hour no errors LOGO! diagnostic buffer empty

Troubleshooting Matrix

Field diagnostics for the closed fiber link
Symptom Likely cause Action
Fiber link LED stays dark on both SCALANCE units TX/RX reversed, fiber break, or wrong fiber type Swap SC patch on one end; if still dark, OTDR-test the cable
Fiber link LED blinks irregularly Optical power at receiver below threshold (dirty connector or marginal splice) Clean SC ferrules with IEC 61300-3-35 click cleaner; re-OTDR
Copper link LED off on SCALANCE Port 1 Bad patch cord, wrong pinout, or LOGO! powered down Replace patch; verify LOGO! 24 V supply ≥ 20.4 V
Ping fails but both LEDs are green IP/subnet mismatch or duplicate address Re-check 192.168.0.10/11 with Soft Comfort
LOGO! shows E91 diagnostic (communication error) NI/NQ partner address not configured Re-download both projects; verify partner IP on Ethernet Connections dialog
Intermittent NI update 1–10 s Broadcast storm or duplex mismatch Force 100 Mbit/s full duplex on both SCALANCE copper ports (web UI)
SCALANCE fault relay closed after rain Moisture in fiber termination box Re-enter splice tray, install IP65 cable gland with desiccant

Performance Limits

The LOGO! 8 firmware polls its partner connection at roughly 100 ms intervals when NI/NQ are configured, so the closed link is not suited to high-speed interlocking. Round-trip latency on a healthy 3 km fiber path measures 35–55 ms, dominated by LOGO! scan and stack handling rather than fiber propagation (≈ 16 µs per km). For deterministic sub-10 ms response, move to a SIMATIC S7-1200 with PN/PN coupler and an IRT-capable switch.

Alternative Architectures

For redundant paths or higher data volume, replace the direct SCALANCE pair with two SCALANCE XC-100 switches (managed) at each end and a redundant fiber ring. LOGO! 8.3 supports the SIMATIC LOGO! CMR2020 cellular router, allowing remote engineering access over LTE without disturbing the deterministic closed link.

If the buried cable run exceeds 26 km, cascade multiple SCALANCE X101-1LD units as regenerator segments. Each unit's optical receiver resets the signal and re-transmits at full power.

FAQ

Can two Siemens LOGO! PLCs communicate directly over fiber optic cable without converters?

No. LOGO! 8 and 8.3 base modules expose only an RJ45 10/100BASE-TX copper port; they have no SFP cage or SC fiber receptacle. An external 100 Mbit/s copper-to-fiber media converter such as the SCALANCE X101-1LD is required at each end of the fiber run.

What is the maximum distance between two LOGO! PLCs over fiber?

With multi-mode fiber and SCALANCE X101-1 (6GK5101-1BB00-2AA3) the limit is 5 km. With single-mode fiber and SCALANCE X101-1LD (6GK5101-1BC00-2AA3) the link extends to 26 km. A 3.3 km buried link easily fits the multi-mode budget, but single-mode is preferred for outside-plant reliability.

Which IP address and TCP port does LOGO!-to-LOGO! communication use?

LOGO! 8 Ethernet communication uses ISO-on-TCP (RFC 1006) on TCP port 102. Both LOGO! devices must be on the same IPv4 subnet; for a closed link use static addresses such as 192.168.0.10 and 192.168.0.11 with mask 255.255.255.0 and gateway 0.0.0.0.

How many NI and NQ tags can be exchanged between two LOGO! controllers?

A LOGO! 8 base module supports up to 32 Network Inputs and 32 Network Outputs in a 1:1 point-to-point link. LOGO! 8.3 with a CMR or DM8 expansion raises the cap to 64 NI plus 64 NQ per partner. Bit-level, byte-level, and counter/timer tags are all supported.

Is a media converter in the link a layer-1 or layer-2 device, and does it add latency?

The SCALANCE X101 series is a pure layer-1 media converter. It re-clocks the electrical MLT-3 signal into an optical 4B/5B-encoded stream without buffering a full Ethernet frame, so the added latency is below 1 bit time (≈ 100 ns at 10 Mbit/s). It is transparent to MAC addresses and does not require an IP address, although one can be assigned for web diagnostics.

Back to blog