Troubleshooting LOGO! 8 FS4 Communication Failures with S7-1200
Problem Summary
When migrating from a LOGO! 8 BM (0BA8, pre-FS4) to a LOGO! 8 BM FS4 module, S7-1200 CPUs (typically firmware V4.1 through V4.6) lose live data exchange in three distinct ways:
- TIA Portal DB monitoring breaks: Bits that should toggle from a LOGO! program (for example, a 1 Hz flag or a marker M57) appear frozen at their last value. The connection status shows "established" but the data does not refresh.
- LOGO! Soft Comfort V8.1 online test freezes: Inputs and outputs show the correct state at session start, then stop updating. Timer values stop incrementing after the first scan.
- HMI network inputs go dark: A previously working HMI tag bound to LOGO! network inputs (NI1-NI24 / NQ1-NQ20) shows no value or shows a stale snapshot, while the same tag works in a freshly built TIA project.
The root cause is not a hardware fault on either device. It is a project-to-hardware binding artifact created by the functional-state (FS) versioning model used by LOGO! 8, combined with stale S7 connection metadata stored inside the TIA Portal project.
Affected Hardware and Firmware
| Component | Order Number / Identifier | Firmware Range | Notes |
|---|---|---|---|
| LOGO! 8 BM (FS1-FS3) | 6ED1052-xxxxx-0BA8 | V1.60.xx to V1.80.xx | "Standard" 0BA8 platform |
| LOGO! 8 BM (FS4) | 6ED1052-xxxxx-0BA8 | V1.81.xx and newer | Same order number suffix, internal FS field shows 4 |
| LOGO! Soft Comfort | V8.0 / V8.1 / V8.2 | n/a | V8.1 minimum required to program FS4; V8.0 cannot download to FS4 firmware |
| S7-1200 CPU | 6ES721x-1xxxxx-0XB0 | V4.0 to V4.6 | All V4.x CPUs support the S7 client role for LOGO! communication |
| LOGO! 8.3 (0BA9) | 6ED1052-xxxxx-0BA9 | V1.0.xx and newer | Different hardware platform, not covered by this article |
Why the Old Project Fails on FS4
LOGO! 8 uses Siemens' functional-state versioning. Each FS level (FS1 through FS4) is a firmware-only update that can change:
- The internal VM (Variable Memory) layout and marker byte ranges
- The S7 communication server defaults (TSAP, slot, max simultaneous connections)
- The network I/O address map and maximum NI/NQ counts
- The LSC project metadata that binds the program to a specific FS descriptor
A TIA Portal project that was commissioned against a LOGO! 8 (FS3) and downloaded into a LOGO! 8 (FS4) compiles and downloads without errors. The S7-1200 keeps the connection up (no fault LED, no diagnostic buffer entry), but the binding layer no longer matches the runtime. The byte offsets the CPU reads from the LOGO! no longer point to the data the LSC program wrote, so every read returns a frozen snapshot from the FS3 layout region that is not used by the FS4 firmware.
The same effect shows up in LSC's online test: the tool reads a valid first frame, then the cyclic polling path hangs because the FS4 firmware returns a different response frame for the legacy read command set that the FS3-bound project still expects.
A brand new TIA + LSC project pair works because it is created against the FS4 device descriptor from the start, so the byte offsets, marker ranges, and TSAPs are aligned by default.
S7 Communication Architecture Between LOGO! 8 and S7-1200
LOGO! 8 FS4 is a passive S7 server. The S7-1200 is the active S7 client. The exchange uses the S7 communication protocol over the PROFINET interface. Two paths exist:
| Path | Direction | Configuration Site | Typical Use |
|---|---|---|---|
| S7 connection (configured in TIA) | Bidirectional (read/write) | TIA Portal → Devices & Networks | S7-1200 DBs reflect LOGO! VM data |
| PUT/GET (single-call) | Bidirectional | S7-1200 program (PUT/GET FB) | Ad-hoc data exchange without a configured connection |
| HMI → LOGO! direct | Bidirectional (read/write) | TIA HMI connection | HMI tags bound to LOGO! NI/NQ/M/VM |
The S7 connection path is the most common in production and the one that carries the migration breakage. The PUT/GET path uses the same S7 transport but stores its parameters in the S7-1200 program code rather than the connection table. The HMI direct path is configured independently in the TIA project and must be rebuilt against the FS4 device descriptor separately.
Connection limits on the LOGO! 8 FS4 side:
- Up to 8 S7 server connections (passive) simultaneously
- Up to 16 S7 client connections (active) simultaneously
- Total active + passive combined cap: 16 S7 connections
VM Memory Layout (FS4 Reference)
LOGO! 8 FS4 exposes its variable memory (VM) as an S7-compatible byte array to the S7 client. The following offsets are the typical FS4 layout. Always verify against the live device using the LOGO! web server (Tools → Diagnostics → VM Memory) because Siemens may revise the layout in minor firmware updates.
| LOGO! Resource | VM Byte Offset | S7 Client View (DB1) | Width |
|---|---|---|---|
| Digital inputs I1-I24 | VB0 | DB1.DBX0.0 - DB1.DBX2.7 | 3 bytes |
| Digital outputs Q1-Q20 | VB3 | DB1.DBX3.0 - DB1.DBX5.3 | 3 bytes |
| Analog inputs AI1-AI8 | VW6 | DB1.DBW6 - DB1.DBW20 | 8 words |
| Analog outputs AQ1-AQ8 | VW22 | DB1.DBW22 - DB1.DBW36 | 8 words |
| Marker bytes M0-M7 | VB38 | DB1.DBB38 | 1 byte |
| Marker bytes M8-M15 | VB39 | DB1.DBB39 | 1 byte |
| Marker bytes M16-M23 | VB40 | DB1.DBB40 | 1 byte |
| Marker bytes M24-M31 | VB41 | DB1.DBB41 | 1 byte |
| Marker bytes M32-M63 (FS4 extended) | VB42 | DB1.DBB42 - DB1.DBB45 | 4 bytes |
| Network inputs NI1-NI24 | VB96 | DB1.DB96 - DB1.DB98 | 3 bytes |
| Network outputs NQ1-NQ20 | VB99 | DB1.DB99 - DB1.DB101 | 3 bytes |
| User VM range | VB512 - VB850 | DB1.DBB512 - DBB850 | 339 bytes |
For the example cited in the field ("bit M57"): on an FS4 device, M57 lives in marker byte 7 (M56-M63), which is at VM offset VB42 + 1 = VB43. The S7-1200 must read DB1.DBB43 and look at bit 1. A TIA DB mapped to DB1.DBB38 (marker byte 1) would read M8-M15 and show the wrong data, which is what creates the "frozen bit" appearance.
Root Cause Mapping
| Symptom | Likely Root Cause | Verification Step |
|---|---|---|
| TIA DB bit frozen at last value | S7 connection was built with FS3 device descriptor; byte offset no longer matches FS4 VM layout | Right-click DB → Properties → compare start address to LOGO! VM layout from the LOGO! web server |
| Online test freezes after first cycle | LSC V8.0 → V8.1 project opened but device type not re-selected | LSC: Tools → Select Hardware → 0BA8 FS4 |
| HMI network input shows "0" or stale value | Network I/O block in TIA bound to a connection that uses the old LOGO! IP or wrong TSAP | TIA: Devices & Networks → S7 connection → Properties → Address details |
| Bit toggles in LSC simulation, not on the wire | LSC program uses a marker that the S7 connection does not map; or marker offset is off by 1-2 bytes | LOGO! web server: Diagnostics → VM memory → check actual byte at the offset the S7 client reads |
| Connection establishes but all reads return 0 | LOGO! IP changed (DHCP reassigned address after hardware swap) | LOGO! → Setup → Network → compare IP to TIA partner IP |
Step-by-Step Recovery Procedure
The following procedure restores communication in the majority of FS3 to FS4 migration cases without re-engineering the application logic.
Step 1: Confirm the device is actually FS4
- On the LOGO! HMI, press ESC to reach the main menu.
- Navigate to Diagnostics → Product Info → Firmware.
- Confirm the FS field shows 4.
- Note the firmware build (typical FS4 builds: V1.81.01, V1.81.02, V1.82.01).
If the device shows FS3 or earlier, the migration problem is not FS-related and the investigation must look at IP, TSAP, or wiring instead.
Step 2: Re-select the hardware inside the existing LSC project
Do not start a new project. The ladder or FBD program is forward-compatible across FS levels. Only the device descriptor binding needs to be updated.
- Open the .lsc file in LOGO! Soft Comfort V8.1 or newer.
- Go to Tools → Select Hardware (or right-click the device banner at the top of the workspace).
- Choose the matching 0BA8 FS4 variant for the physical module (LOGO! 12/24RCE, 230RCE, 24CE, etc.).
- Recompile the project (Ctrl+B).
- Transfer to the LOGO!: PC → LOGO! (Download).
Step 3: Verify the VM memory layout on the live device
- Open a browser and connect to the LOGO!'s web server (http://<LOGO!_IP>).
- Log in (default user: LOGO!, default password: LOGO!; both are case-sensitive).
- Navigate to Diagnostics → VM Memory.
- Compare the live byte values at the offsets the TIA project reads against the expected program state.
This is the fastest way to confirm whether the S7-1200 is reading the right bytes. If the web server shows the marker toggling at offset VB43 but TIA shows it stuck at VB38, the S7 connection in TIA is reading the wrong offset and must be rebuilt.
Step 4: Rebuild the S7 connection in TIA Portal
- In the TIA project, open Devices & Networks.
- Select the S7-1200 CPU.
- Right-click and choose Add new connection.
- Select LOGO! 8 as the partner (not "Unspecific S7 partner").
- Configure the connection:
- Partner IP: must match the LOGO!'s current IP. Verify under LOGO! → Setup → Network → IP Address.
-
Partner TSAP:
03.00(default for LOGO! 8 S7 server, slot 0). - Local endpoint: S7-1200 PROFINET interface.
- Connection resource ID: local.
- Right-click the connection and choose Compile → Connections.
- Download the hardware configuration to the S7-1200.
03.00 will collide. Set secondary units to 03.01, 03.02, etc., on the LOGO! side under Setup → Network → S7 Connection → TSAP, and match the partner TSAP in TIA.Step 5: Re-map the TIA Portal data block
- Open the DB that holds the LOGO! data.
- For each tag, confirm the start address and length match the LOGO! VM layout from Step 3.
- Delete any absolute addressing that was hand-typed during the original commissioning.
- Re-assign tags by dragging them from the connection's I/O view (right-click the S7 connection → I/O view).
- Recompile the S7-1200 program and download.
The most common mapping mistake is offset drift by 1 or 2 bytes. The connection establishes, reads return valid bytes, but those bytes are not the network I/O or marker region the program expects. The result looks exactly like a frozen bit.
Step 6: Re-test online
- TIA Portal: Go online → Monitor All → confirm the DB shows live changes for every mapped tag.
- LSC: Tools → Online Test → confirm I/Q states and timer values update cyclically.
- HMI: Trigger a network input from the panel and confirm the LOGO! program reacts.
Network I/O Configuration (HMI to LOGO! Direct)
The HMI network I/O problem is separate from the S7-1200 monitoring problem. HMI panels (KTP700, KTP1200, Comfort panels) read LOGO! data via the panel's own S7 connection to the LOGO!, not through the S7-1200. The two paths must be configured and re-verified independently.
- In the TIA project, locate the HMI connection to the LOGO! (Devices & Networks → HMI panel → Connections).
- Right-click and open Connection properties.
- Confirm:
- Partner: LOGO! 8 (not "Unspecific S7" or a cached FS3 descriptor)
- Partner IP: matches the current LOGO!
- TSAP:
03.00
- Recompile the HMI image.
- Download the HMI image to the panel.
A common failure pattern is that the HMI connection was built against a different LOGO! hardware descriptor in TIA, so the panel's runtime expects a VM layout that does not match the FS4 firmware on the wire. The connection stays up because the panel is reading valid bytes, but those bytes are not the network I/O region.
S7-1200 Firmware-Specific Notes
If the S7-1200 is being upgraded at the same time as the LOGO!, the firmware jump can change how the CPU handles incoming S7 communication. The following notes are the access-protection settings that commonly break an otherwise correct migration:
| S7-1200 Firmware | Setting to Verify | Path in TIA | Default Behaviour |
|---|---|---|---|
| V4.0 - V4.3 | Connection mechanisms → "Permit access with PUT/GET" | CPU Properties → Protection | Permitted by default |
| V4.4 - V4.5 | Same setting, plus UMAC user levels | CPU Properties → Protection → User Management | Permitted by default |
| V4.6 | Same setting, plus F-CPU access protection if fail-safe variant | CPU Properties → Protection → Connection mechanisms | Permitted by default; FS-CPU adds F-specific blocks |
For general S7-1200 system documentation, see the Siemens Industry Online Support portal at support.industry.siemens.com and search for the S7-1200 system manual entry ID 109772059.
S7-1200 Diagnostic Buffer Codes Relevant to LOGO! Communication
When the S7 connection fails to come up, the S7-1200 diagnostic buffer will typically show one of the following. Match the code to the cause:
| Event ID | Meaning | Likely Cause | Fix |
|---|---|---|---|
| 0x8082 | Connection resource not available | All S7-1200 connection resources are in use by other partners | Free a connection resource or reduce the number of active partners |
| 0x8083 | Partner not reachable | Wrong IP, wrong TSAP, LOGO! offline, network break | Ping LOGO!, verify TSAP, check cabling |
| 0x8084 | TSAP not valid | TSAP byte out of range or format wrong | Set LOGO! TSAP to 03.00 (or 03.0x for multi-LOGO! nets) |
| 0x8085 | Partner rejected the connection | LOGO! S7 server disabled, or access protection on the LOGO! side | Enable S7 server on LOGO! under Setup → Network → S7 Connection |
| 0x8086 | Connection aborted by partner | LOGO! restarted, firmware update in progress | Re-establish after LOGO! finishes booting |
Verification Checklist
Run through the following after any FS3 to FS4 migration, or after any S7-1200 firmware update that changes access protection:
| # | Check | Pass Criterion |
|---|---|---|
| 1 | LOGO! Info → Firmware shows FS4 | FS field = 4 |
| 2 | LSC Tools → Select Hardware shows 0BA8 FS4 | Hardware descriptor matches the physical module |
| 3 | LSC Online Test updates cyclically | Timer values increment every scan |
| 4 | S7 connection in TIA points to LOGO! 8 partner | Partner type = "LOGO! 8", not "Unspecific" |
| 5 | TSAP on both sides is 03.00 (or matching 03.0x) | TIA shows 03.00, LOGO! web server shows 03.00 |
| 6 | TIA DB shows live changes for every mapped tag | Each mapped byte updates at least once per second |
| 7 | HMI network input tag updates | Trigger from HMI → LOGO! program reacts |
| 8 | S7-1200 diagnostic buffer is clean of "Communication fault" | No event IDs 0x8082-0x8086 in the last hour |
| 9 | S7-1200 access protection permits PUT/GET | CPU Properties → Protection → Permit access with PUT/GET = checked |
| 10 | LOGO! web server VM matches TIA DB at the same offsets | Spot-check at least 3 addresses |
Edge Cases and Field-Proven Caveats
- Same part number, different FS: A LOGO! 8 6ED1052-1MD08-0BA8 can ship as FS3 or FS4 depending on the production date. Always check the FS field, not just the order number on the label.
- LOGO! Soft Comfort V8.0 cannot program an FS4: The compiler will accept the file, but the download is rejected by the FS4 firmware. Upgrading LSC to V8.1 or newer is mandatory for FS4 work.
- S7-1200 access protection in V4.4+: New User Management and Access Control (UMAC) settings can block S7 communication that worked in V4.1. Check CPU Properties → Protection → Connection mechanisms.
- TSAP collision with a second LOGO!: If the network has more than one LOGO!, the default TSAP 03.00 will collide. Use 03.01, 03.02, etc. on the secondary units.
- Network I/O and S7 connection are independent: Configuring the S7 connection does not automatically configure the network I/O area. Both must be set up in LSC and in TIA.
- IP address change after FS4 swap: A factory-fresh LOGO! 8 FS4 ships with DHCP enabled. The new IP can differ from the FS3 unit it replaced, and the S7 connection in TIA will silently fail to bind. Always verify the IP after a swap.
- Web server access disabled by default on FS4: The LOGO! 8 FS4 ships with the web server disabled in some firmware builds. Enable it under Setup → Network → Web Server → Access before relying on it for VM diagnostics.
- S7-1200 CPU operating mode STOP: If the S7-1200 transitions to STOP after a program download, the S7 connection is torn down and the LOGO! S7 server drops the partner. Bring the CPU back to RUN before testing.
When to Open a Siemens Support Request
Escalate to Siemens Technical Support if:
- All ten verification checks pass but the DB is still frozen
- The LOGO! web server shows a valid VM layout but the S7-1200 reads garbage or all zeros
- The S7-1200 diagnostic buffer shows "Communication fault" with error code 0x8082 or 0x8083 (resource or partner-not-reachable) repeatedly, with no other network devices affected
- Multiple LOGO! 8 FS4 units on the same network all show the same symptom (indicates a network, switch, or VLAN issue, not a per-unit configuration)
- The LOGO! firmware build is newer than what LOGO! Soft Comfort V8.1 supports (rare, but occurs when a new service release ships ahead of the LSC update)
Open the request via the Siemens Industry Online Support portal at support.industry.siemens.com and include the LOGO! firmware build, the LSC version, the S7-1200 article number and firmware version, the S7 diagnostic buffer export, and a screenshot of the TIA S7 connection properties.
Summary
LOGO! 8 FS4 is firmware-compatible with FS3 at the application-logic level, but project metadata, S7 connection defaults, and VM layout are not identical. The migration failure pattern reported in the field (frozen DB bits, frozen LSC online test, dark HMI network inputs) is caused by a TIA + LSC project pair that was commissioned against an FS3 device descriptor and is now running on FS4 firmware. Re-selecting the hardware inside the existing LSC project, rebuilding the S7 connection in TIA, re-mapping the data block to the correct VM offsets, and re-verifying the HMI connection resolves the issue in the majority of cases. Always validate the live VM layout against the LOGO! web server before changing TIA addresses.
FAQ
Why does my old LOGO! 8 program work on a new LOGO! 8 FS4 when I rebuild the TIA + LSC project from scratch?
A new project starts with the FS4 device descriptor, so byte offsets, marker ranges, and TSAP defaults are correct from the first compile. The old project carries FS3 metadata, which is silently misaligned when run on FS4 firmware, producing frozen bits and stale HMI tags even though the S7 connection stays established.
Do I need to rewire anything when swapping a LOGO! 8 FS3 for a LOGO! 8 FS4?
No. The terminal layout, power supply ratings, and I/O pinout are identical between FS3 and FS4. The swap is a configuration change in LSC and TIA, not a wiring change. Verify the new module's IP address, since factory-fresh LOGO! 8 units ship with DHCP enabled by default.
What is the default TSAP for a LOGO! 8 S7 server, and what should I use for a multi-LOGO! network?
The default TSAP is 03.00 on slot 0. For a network with multiple LOGO! 8 units, set the second byte to a unique value per unit (03.00, 03.01, 03.02, ...) on the LOGO! side under Setup → Network → S7 Connection → TSAP, and match the partner TSAP in the TIA S7 connection properties.
Can I use the same TIA Portal project for both the old LOGO! 8 and the new LOGO! 8 FS4?
Not reliably. The S7 connection properties (partner type, TSAP, partner IP) are stored per device in the TIA project, and the device descriptor changes between FS3 and FS4. Maintain two separate TIA projects, or maintain one project and rebuild the S7 connection and HMI connection after every hardware swap, then re-download to the S7-1200 and the HMI.
Why does the LSC V8.1 online test freeze after the first cycle, and how do I fix it?
The freeze is the symptom of an FS3-bound project running against FS4 firmware: LSC reads a valid first frame using the FS3 command set, then the FS4 firmware returns a response frame the legacy reader does not handle, and the poll hangs. The fix is Tools → Select Hardware → 0BA8 FS4 in the LSC project, then recompile and re-download to the LOGO!.
My HMI shows the LOGO! network inputs as 0, but the LOGO! web server shows them toggling. What is wrong?
The HMI's S7 connection in TIA is bound to an old or unspecific partner descriptor and is reading the wrong VM region. Rebuild the HMI's S7 connection in TIA against the LOGO! 8 FS4 device descriptor, set the partner IP and TSAP correctly, recompile the HMI image, and re-download to the panel.
The S7-1200 connection diagnostic buffer shows event 0x8083 (partner not reachable) after the FS4 swap. What changed?
The most common cause is a changed IP address on the new LOGO! (DHCP reassigned it). Check the LOGO! under Setup → Network → IP Address, assign a static IP if needed, and update the TIA partner IP. A secondary cause is a network or VLAN change on the switch port the new module was plugged into.