Resolving S5-95U 'Link Not Established' on USB AS511 Programming

David Krause16 min read
Serial CommunicationSiemensTroubleshooting
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

Resolving Siemens S5-95U "Link Not Established" with USB AS511 Programming Cable 700-750-1US13

The Siemens SIMATIC S5-95U compact PLC uses a 20 mA current loop (TTY) programming interface and the proprietary AS511 protocol. Modern PCs no longer ship with native TTY or even RS-232 ports, so a USB-to-TTY adapter is the standard field approach. The cable part number 700-750-1US13 referenced in the source is a third-party USB-to-AS511 converter that emulates a serial port on the PC. When STEP 5 v7.2 reports "Link not established", the failure almost always sits at the boundary between the USB emulated COM port, the AS511 driver layer, and the 20 mA current loop hardware — not in the PLC program itself.

Engineering note: A "link not established" fault is a Layer-1/2 communication error. It is reported before any user program is read or written. Expect to debug cabling, COM port mapping, TTY current source, and STEP 5 interface parameters before touching the PLC project.

1. Problem Definition

When the operator selects Online > Connect (or presses the connection hotkey) inside STEP 5 v7.2 against a CPU 95U via the 700-750-1US13 cable, the software returns:

STATUS:  Link not established
ERROR:   No AS511 connection to AG (target PLC)

Symptoms that always accompany this fault:

  • STEP 5 never displays the CPU type or status LEDs.
  • The "ONLINE" indicator in the STEP 5 title bar does not change from grey to green.
  • No blocks (OB, PB, FB, DB, SB) can be read from the CPU.
  • No fault is logged inside the CPU (because the diagnostic link itself is down).

The PLC continues to execute its user program normally; the fault is purely a programming-device-to-CPU communication failure.

2. S5-95U Communication Architecture

The S5-95U is the higher-memory member of the S5-90U / S5-95U family. Its programming port is a female 15-pin sub-D connector labelled X1 on the CPU front panel. The interface is not RS-232; it is a 20 mA current loop (TTY, German Stromschnittstelle). The 95U acts as the active current source/sink for the loop; the PG (or its adapter) provides the complementary half.

Table 1 — S5-95U programming port X1 characteristics
Parameter Value
Connector 15-pin sub-D, female
Physical layer TTY, 20 mA current loop, optically isolated
Protocol Siemens AS511 (point-to-point, half-duplex)
Default baud rate 9600 bit/s
Data bits / parity / stop 8 / even / 1
Maximum cable length
Cable part numbers (Siemens) 6ES5 734-1BD20, 6ES5 734-1BF20, 6ES5 736-x series

The S5-95U was sold with two power-supply variants: 6ES5 095-8MB (24 VDC) and 6ES5 095-8MA (115/230 VAC). Both share the same X1 pinout, so the cable diagnosis below is identical for either supply.

3. AS511 Protocol and TTY Interface Specifications

AS511 is Siemens' proprietary, character-oriented, half-duplex protocol used for programming the S5-90U, S5-95U, S5-100U, S5-115U, S5-135U, and S5-155U families. The PC side initiates all transactions; the PLC side only responds. The protocol uses STX/ETX framing, an 8-bit address field, and a 16-bit BCC checksum.

Table 2 — AS511 link parameters (fixed by PLC, not user-configurable)
Parameter Value
Line encoding TTY current loop, 20 mA nominal
Mode Half-duplex (two-wire current loop, Tx/Rx shared)
Baud 9600
Data bits 8
Parity Even
Stop bits 1
Flow control None (XON/XOFF disabled)
Handshake AS511 polling, 4-byte polling frame

Because the CPU side is fixed, the entire compatibility burden is on the PC side: the USB-to-TTY cable must present a 20 mA active current loop, not just RS-232 levels. Many cheap USB-to-serial adapters on the market are RS-232 only and will never work against the S5-95U, regardless of the COM port number selected in STEP 5.

4. Cable 700-750-1US13 Identification

The 700-750-1US13 is a third-party USB-to-AS511 cable typically shipped with an internal converter box that performs USB → RS-232 (via FTDI / CH340 / Prolific PL-2303) → 20 mA TTY in a single assembly. The 15-pin sub-D male end plugs directly into the S5-95U X1 port; the USB-A end plugs into the PC.

Table 3 — Cable 700-750-1US13 expected behaviour
Stage Function Failure symptom if broken
USB enumeration Appears as a virtual COM port (COMx) in Windows Device Manager No COM port appears, or yellow warning triangle
RS-232 generation Internal UART produces ±5 to ±12 V levels COM port present but no data, link timeout
TTY conversion Active 20 mA current source on transmit and receive loop "Link not established" — current loop never closes
AS511 framing Cable transparently passes the protocol at 9600/8E1 Garbled characters, BCC errors
Critical field finding: A generic USB-to-RS-232 cable without the TTY stage will appear perfectly healthy in Windows Device Manager and will even open the COM port from STEP 5, but the S5-95U will never respond. The PLC's TTY receiver is current-sensing, not voltage-sensing, and will see nothing but idle current from the cable's RS-232 driver.

5. Root Cause Analysis of "Link Not Established"

Across the field, this fault has five recurring root causes, listed in descending order of frequency:

Table 4 — Root-cause matrix for the 700-750-1US13 / S5-95U link failure
# Root cause Verification Fix
1 STEP 5 is pointed at the wrong COM port (e.g. COM3 instead of the emulated COMx) Windows Device Manager → Ports (COM & LPT) Set PG interface in STEP 5 to the correct COMx
2 USB driver not installed, or driver not emulating COM1 Check driver properties → "Load VCP" option for FTDI Reinstall cable driver, force COM1, reboot
3 The cable is USB-to-RS-232 only, no TTY stage (cable mis-labelled or wrong variant) Open the converter box; check for current-loop transistors and opto-couplers Replace with a genuine USB-to-AS511 cable
4 STEP 5 is configured for an MPI / PROFIBUS interface, not AS511 STEP 5 menu: Options > PG Interface or File > Set PG Interface Select "AS511" as the active interface
5 TTY loop wiring error — Tx and Rx polarity crossed, or shield/ground loop Measure loop current with a milliamp meter (≈20 mA idle) Re-pin or replace cable; isolate grounds

6. STEP 5 v7.2 Software Configuration

STEP 5 v7.2 runs on Windows (NT, 2000, XP, 7 are all supported; 10/11 require compatibility mode). The interface selection is hidden behind several menus, which is a common source of confusion.

  1. Launch STEP 5 v7.2 from the Siemens program group.
  2. Open the menu Options > PG Interface Assignment… (German: Options > PG-Schnittstelle zuordnen…).
  3. In the dialog, select the AS511 driver (not "MPI", not "COM", not "S5-LAN").
  4. Click Properties and confirm the COM port matches the one assigned to the 700-750-1US13 cable.
  5. Set transmission rate to 9600 baud, 8 data bits, even parity, 1 stop bit.
  6. Click Set, then OK. STEP 5 writes the choice to the registry under HKLM\SOFTWARE\Siemens\STEP5\PGIF.
  7. Close and re-launch STEP 5 — the PG interface change only takes effect after a restart.
Registry key (read-only inspection):
  HKLM\SOFTWARE\Siemens\STEP5\7.2\PGIF
     Interface = "AS511"
     ComPort   = "COM1"
     Baud      = 9600
     Parity    = 2     (0=None, 1=Odd, 2=Even, 3=Mark, 4=Space)
     DataBits  = 8
     StopBits  = 1
Compatibility note: On Windows 10/11, run STEP 5 as Administrator the first time you change the PG interface. UAC blocks writes to HKLM otherwise, and STEP 5 silently keeps the old setting — a classic "I clicked OK but nothing changed" trap.

7. USB Driver and COM Port Mapping

The 700-750-1US13 cable is normally built around an FTDI FT232 or a Prolific PL-2303HX. Both vendors supply Windows drivers that create a Virtual COM Port (VCP). The COM port number is assigned by Windows in the order the cables were first plugged in, so a laptop that has ever seen a USB-to-serial adapter before will not necessarily map this cable to COM1.

  1. Plug the cable in. Open Device Manager → Ports (COM & LPT).
  2. Identify the new entry — e.g. USB Serial Port (COM3).
  3. Right-click → Properties > Port Settings > Advanced….
  4. Change the COM port number to COM1 (or to the lowest free number, then update STEP 5 accordingly).
  5. Set Latency Timer to 1 ms (FTDI default is 16 ms; this introduces a 32 ms round-trip delay that can make AS511 polling time out).
  6. Disable Selective Suspend under Power Management — Windows may otherwise power down the USB port after 30 s of idle and break the current loop.
  7. Unplug, re-plug, confirm the COM number persists.
Table 5 — Recommended FTDI / Prolific driver settings
Parameter Recommended value Effect on AS511
COM port number COM1 (or consistent value used in STEP 5) Eliminates port-mapping mismatch
Latency timer (FTDI) 1 ms Removes 30 ms+ response penalty
Buffers Default (512 / 4096) Sufficient for AS511 frames
Selective suspend Disabled Prevents USB power-down idle
USB suspend Disabled Same reason

8. Hardware Loopback and Signal Verification

Before blaming the cable, prove the TTY current loop is actually carrying 20 mA. The S5-95U powers the loop from the X1 port, so a milliamp meter placed in series with either the Tx or Rx line should read roughly 20 mA as soon as power is applied to the PLC — even with the PC disconnected.

  1. Power the S5-95U from its 24 VDC (or 115/230 VAC) supply. The "RUN" and "STOP" LEDs should illuminate, with the CPU in STOP.
  2. Insert a milliamp meter in series with pin 13 (TTY receive+) of the 15-pin sub-D. The cable must be unplugged from the PLC for this measurement — current flows only when the loop is closed through the cable.
  3. Plug the 700-750-1US13 cable into X1, with the USB end not connected to the PC.
  4. Measure again on the same pin: the current should rise to approximately 20 mA. If it stays at zero, the cable's TTY stage is dead.
  5. Repeat on pin 14 (TTY receive−) to confirm the return path.
Table 6 — S5-95U X1 pinout (15-pin sub-D, female on CPU)
Pin Signal Direction (relative to PLC)
1 Shield / chassis —
2 TTY transmit + Output from PLC
3 TTY transmit − Output return
4 +5 V (limited, <100 mA) Output from PLC
13 TTY receive + Input to PLC
14 TTY receive − Input return
15 Ground (signal) —

Numbers in Table 6 follow the standard Siemens convention for the S5-90U / 95U PG port; verify against the wiring diagram shipped with the specific CPU variant before making permanent connections.

9. Step-by-Step Resolution Procedure

Run this sequence in order. Stop at the first step that resolves the fault.

  1. Confirm the cable is USB-to-TTY, not USB-to-RS-232 only. Look for the converter box with two optocouplers and a current-source transistor. If the cable is a flat USB-to-DB9 adapter, it will never work — replace it.
  2. Install or re-install the driver. Download the latest vendor driver (FTDI VCP 2.12.36+ or Prolific PL-2303 v1.9.0+). Force the COM number to COM1 in advanced settings.
  3. Verify the COM port. Open PuTTY (or Tera Term) on the assigned COMx at 9600 / 8E1. With the cable unplugged from the PLC, the receive window is silent. Plug the cable into the powered S5-95U: the PLC's AS511 polling frame should appear every 250–500 ms. If nothing appears, the cable's TTY stage is dead.
  4. Set STEP 5 to AS511 on the same COMx. Restart STEP 5 after the change.
  5. Go online. Use PLC > Online > Connect or press F4. The "ONLINE" indicator should turn green within 2 s.
  6. If still failing, swap the cable for a known-good Siemens 6ES5 734-1BD20 (RS-232-to-TTY) plus a generic USB-to-RS-232 adapter. This isolates the third-party cable as the fault source.

10. Cable Alternatives and Pinout Reference

If the 700-750-1US13 cable proves defective, two alternative paths exist:

10.1 Siemens original RS-232-to-TTY cable + USB-to-RS-232 adapter

Siemens part 6ES5 734-1BD20 (or 6ES5 734-1BF20 for the 95U/100U family) is a passive RS-232 ↔ TTY converter in a 9-pin sub-D shell, with a captive 15-pin lead. Pair it with an industrial-grade USB-to-RS-232 adapter based on FTDI (e.g. Weidmüller IE-US-20-S or ATEN UC232A). This is the most diagnostic-friendly combination because the RS-232 side can be observed with a serial line analyzer.

10.2 Third-party dedicated USB-to-AS511 cables

Several European vendors (e.g. CDe Elektronik, Process-Informatik, IBHsoftec) sell USB-to-AS511 cables that emulate COM1 and run natively on Windows 10/11. These bypass the manual driver-tweaking described in Section 7 but are typically 4–6× the price of the 700-750-1US13 cable.

Table 7 — Cable option comparison
Option Cost class Driver tweak required Diagnostics friendly Field proven
700-750-1US13 (third-party USB-to-TTY) € Yes (latency, COM number) Limited Yes, with caveats
6ES5 734-1BD20 + industrial USB-RS232 €€ Minimal Excellent (RS-232 visible) Yes, reference
Vendor USB-to-AS511 (CDe, IBH, etc.) €€€ No Limited Yes

11. Verification and Online Status Checks

Once the link is established, run the following three verifications to confirm the connection is healthy before trusting any block upload/download:

  1. Read the CPU identity. In STEP 5: PLC > Online > Module Information. The returned PLC type must be CPU 95U. If STEP 5 reports an unknown PLC, the link is up but the protocol is mis-negotiated.
  2. Read the status word. In STEP 5: PLC > Online > Status. The status word should display the CPU's actual state (RUN / STOP / error). Reading without error confirms both directions of the TTY loop are functional.
  3. Read a known DB. Pick a data block that already exists in the project (e.g. DB 10) and read it with PLC > Read from PLC. The values should match what the program logic dictates. A read of all-zero or all-0xFF data usually indicates a Tx/Rx swap on the TTY loop.
Table 8 — Verification outcomes and what they prove
Test result Meaning Next step
CPU 95U identified AS511 handshake OK Proceed to project work
CPU 95U NOT identified, generic "AG" Handshake partial, baud/parity wrong Recheck STEP 5 line parameters
Status word unreadable / timeout Rx loop dead or polarity reversed Swap Tx+/Tx− and Rx+/Rx− at the cable end
Block reads return 0xFF / random Frame errors, BCC mismatch Check for ground loop, add opto-isolation

12. Troubleshooting Matrix

The matrix below maps the user-visible error to the diagnostic action and the fix. Use it as a field checklist.

Table 9 — Field troubleshooting matrix for "Link not established"
Observed symptom Diagnostic Most likely cause Fix
STEP 5 reports "Link not established" immediately on F4 Device Manager COM number vs STEP 5 setting Wrong COM port Reassign or update STEP 5
STEP 5 hangs for 10–30 s then fails PuTTY poll on COMx with cable connected to powered PLC No AS511 polling frames → cable TTY stage dead Replace cable
Polling frames visible, STEP 5 still fails STEP 5 PG interface assignment Wrong driver selected (MPI, etc.) Reassign to AS511, restart STEP 5
Polling frames garbled Serial line analyzer on RS-232 side Baud / parity mismatch Force 9600 / 8E1 in both driver and STEP 5
Link works for 30 s, drops, recovers after re-plug Windows power management event log USB selective suspend enabled Disable selective suspend on COM port
Link works only after warm reboot of PC Driver initialisation race with STEP 5 COM port not ready at STEP 5 launch Wait 5 s after Windows desktop, then launch STEP 5
Link works on one PC, fails on another Driver version comparison Outdated or generic Windows driver Install vendor driver (FTDI / Prolific)

13. Common Engineering Pitfalls

  • Assuming a USB-to-serial adapter is the same as a USB-to-TTY adapter. They are not interchangeable on the S5-95U. The TTY stage is mandatory.
  • Trusting the "USB Serial Port (COMx)" entry in Device Manager as proof of a working link. The driver layer is independent of the TTY hardware. The cable can enumerate perfectly and still have a dead current loop.
  • Forgetting the STEP 5 restart after changing the PG interface. STEP 5 reads the assignment once at start-up. Changing it in Options > PG Interface mid-session does nothing.
  • Using a USB hub between the PC and the cable. Some hubs introduce 16 ms latency that breaks the 250 ms AS511 polling cycle. Plug the cable directly into the PC.
  • Running STEP 5 v7.2 on Windows 10/11 without "Run as Administrator". Writes to the registry for the PG interface fail silently.
  • Leaving the PLC in RUN while troubleshooting. Stop the PLC first; AS511 in RUN mode is more sensitive to timing because the CPU is busy with the OB1 cycle.

14. Documentation References for the Field Engineer

The official Siemens S5-90U / S5-95U manual set and the STEP 5 v7.x programming manual are available in the legacy product section of the Siemens Industry Online Support portal. The S5-95U manual covers the X1 pinout, current-loop specifications, and the recommended PG cable list. The STEP 5 manual covers the AS511 driver, the PG interface assignment dialog, and the meaning of every error code that the link layer can return.

For the cable vendor, FTDI publishes the application note AN232B-05 on latency timer tuning that explains the 16 ms default in detail, and Prolific publishes a driver compatibility matrix that explains why the older PL-2303HXA chips fall back to low-speed mode on Windows 10/11.

15. FAQ

Why does STEP 5 v7.2 say "Link not established" with a working USB-to-serial cable?

Because the S5-95U's X1 port is a 20 mA TTY current loop, not RS-232. A USB-to-serial cable presents ±5–12 V levels; the PLC current-sensing input sees nothing. A USB-to-TTY cable (such as the 700-750-1US13) must be used, and its TTY stage must be functional.

Does the 700-750-1US13 cable need COM1 specifically?

It needs the same COM number that is selected in STEP 5's PG interface assignment. COM1 is conventional because STEP 5 v6.x defaulted to it, but any free COM number (COM1–COM255) works once STEP 5 is reconfigured. Force the COM number in Device Manager → Port Settings → Advanced to avoid renumbering when other USB devices are plugged in.

Can I use the same 700-750-1US13 cable on a Windows 10 or 11 PC?

Yes, but the vendor driver must be the current signed version (FTDI 2.12.36 or Prolific 1.9.0 or newer). Older Prolific 1.0.x drivers are blocked by Windows 10/11 driver-signing enforcement, which can also cause "Link not established" because the COM port silently fails to enumerate.

What is the correct baud rate, parity, and stop bits for AS511 on the S5-95U?

9600 bit/s, 8 data bits, even parity, 1 stop bit (8E1). These values are fixed by the PLC firmware; STEP 5 must be configured to match. The driver for the 700-750-1US13 should be set to the same values in Device Manager's port properties.

Is the Siemens 6ES5 734-1BD20 cable a drop-in replacement for the 700-750-1US13?

Functionally yes, but it does not have a USB connector. Pair it with a USB-to-RS-232 adapter (FTDI-based recommended) and a short DB9 gender-changer if needed. This combination is more diagnostic-friendly because the RS-232 side is visible to a serial analyzer.

Can I leave the S5-95U in RUN while going online with STEP 5?

Yes, but the link is more sensitive to timing because the CPU is busy executing OB1. For initial commissioning, switch the mode selector on the CPU to STOP, establish the link, verify the connection, then return the mode selector to RUN before downloading program changes.

How do I confirm the TTY current loop is actually carrying 20 mA?

Power the S5-95U, leave the PC disconnected, and insert a milliamp meter in series with pin 13 of the X1 port. With the cable unplugged the current is 0 mA; with the 700-750-1US13 plugged in the current should rise to roughly 20 mA. If it stays at zero, the cable's TTY stage is faulty.

Back to blog