Siemens S7 to Softing S5-PCLink: Configuring PUT/GET Bridging

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

Overview: Bridging SIMATIC S5 and S7 Over Industrial Ethernet

The Softing S5-PCLink (the product line formerly marketed as S5-LAN++) is an industrial Ethernet gateway that terminates the legacy Siemens AS511 protocol on the S5 side and exposes a TCP/IP transport on the S7 side. The product lets a SIMATIC S7-300 or S7-400 controller read and write data blocks (DB), markers (M), inputs (E), outputs (A), timers (T), and counters (C) on a SIMATIC S5-90U, S5-95U, S5-115U, or S5-948U without modifying the S5 program.

This article documents the configuration path used in field deployments: a CP443-1 in an S7-400 station initiates an ISO-on-TCP connection to the gateway, and S7 communication function blocks (FB PUT / FB GET) carry payload in 64-word telegrams. The S5 is configured as the passive partner. The throughput ceiling observed in production is approximately 500 ms per poll cycle when a single PUT and a single GET fit within one telegram each.

Compatibility note. The Softing S5-PCLink is designed for the AS511 serial programming interface. It does not interoperate with MPI/DP on the S5 side. For S5 PLCs that expose only the PG interface (e.g., early AG 90U), confirm the presence of an AS511 front connector before commissioning.

Reference documents: Softing S5-PCLink product manual, Softing S7/S5 OPC Server datasheet, Softing Siemens connectivity overview.

System Architecture

The end-to-end topology consists of three logical nodes and two protocol transitions:

  1. S7 station (active): S7-300 or S7-400 with CP343-1 / CP443-1 Industrial Ethernet CP. STEP 7 V5.x or TIA Portal configures the CP, the NetPro connection, and the PUT/GET blocks.
  2. Softing S5-PCLink gateway: Industrial Ethernet on the field side, AS511 (TTY 20 mA or RS-232-C, 9600 baud) on the S5 side. The 511 protocol parameters are fixed; only IP/subnet are user-configurable via the VCOM utility.
  3. S5 station (passive): Any S5 CPU that exposes a programming/AS511 port. The S5 does not require any program changes; the gateway polls/commands it as a passive participant.
S7-400 CPU 416 + CP443-1 PUT/GET (active) ISO-on-TCP (RFC1006) Softing S5-PCLink Ethernet ⇄ AS511 VCOM setup 511 protocol fixed SIMATIC S5 95U / 115U / 948U AS511 (passive) No program change TCP/IP TTY 20mA / RS-232

Inside the S7 station, the application logic only knows the gateway's IP address, the local CP's connection ID, and the S5 memory image to manipulate. The gateway performs the byte-order and data-width conversion between S5 (16-bit word) and S7 (BYTE/WORD/DWORD) formats transparently.

Prerequisites and Component Selection

Component Specification Notes
S7 CPU S7-300 (CPU 31x) or S7-400 (CPU 41x) Firmware any modern version; PUT/GET is standard library code.
S7 Ethernet CP CP343-1 (6GK7 343-1EX30) or CP443-1 (6GK7 443-1EX20 / -1GX20) Must support ISO-on-TCP transport.
S5 CPU S5-90U, 95U, 100U, 115U, 135U, 155U, 948U Must expose AS511 programming port.
Gateway Softing S5-PCLink (S5-LAN++ compatible firmware) VCOM setup utility on enclosed CD.
Cables CAT5e Ethernet patch; AS511 PG cable (Siemens 6ES5 734-1xxxx family or equivalent) TTY current loop model for older S5 CPUs; RS-232 variant for S5-135U/155U with PG adapter.
Engineering STEP 7 V5.5 / V5.6 (or TIA Portal V15+) NetPro for connection, standard library for PUT/GET.

Hardware Wiring: AS511 and Industrial Ethernet

On the S5 side, plug the AS511 cable into the 15-pin PG socket of the S5 CPU and connect its DB-9 or DB-25 tail to the Softing gateway's "S5" port. Polarity of the TTY current loop matters on S5-115U and earlier; consult the S5 installation manual for the canonical pin-out before powering the system.

On the S7 side, connect the CP443-1 (or CP343-1) RJ-45 port to the same Ethernet subnet as the Softing S5-PCLink. Use managed switches only if IGMP snooping or port-priority QoS is required; the gateway itself does not impose restrictions on switch port type.

Power and grounding. The S5-PCLink is typically powered from the 24 V backplane or an external DIN-rail supply. Ensure that the S5 rack, the gateway, and the S7 station share a common protective earth. Floating grounds cause AS511 framing errors that look like random timeouts and are difficult to attribute without an oscilloscope on the TTY pair.

Configuring the Softing S5-PCLink with VCOM

The VCOM setup utility ships on the CD bundled with the gateway. It is a Windows-based COM-port configurator that operates against the gateway over a temporary serial session before the Ethernet port is enabled. The 511 protocol parameters (baud rate, character format, handshake) are fixed by the gateway firmware and cannot be edited.

Minimum parameter set entered in VCOM:

Field Example value Comment
IP Address 192.168.10.50 Must be in the same subnet as the S7 CP.
Subnet Mask 255.255.255.0 Match the S7 CP subnet mask exactly.
Default Gateway 192.168.10.1 Optional; required only if routing outside subnet.
TCP Port 102 Default ISO-on-TCP / RFC1006 port.
AS511 Mode S5 passive Fixed; do not toggle.
Local TSAP 10.00 Hex byte pair entered as ASCII in VCOM.

Save the configuration and power-cycle the gateway. Verify reachability from a maintenance PG with ping 192.168.10.50 before opening STEP 7.

S7 CP443-1 / CP343-1 Network Configuration

Open the S7 station in STEP 7 (or the device view in TIA Portal) and assign the CP an IP address on the same subnet, for example 192.168.10.10/24. Confirm the CP is operational by checking the SF/BF LEDs after download; both must be off.

For an S7-400 with CP443-1, the CP slot is fixed by the rack design (slot 4–6 typical). For an S7-300 with CP343-1, mount the CP next to the CPU and assign rack 0, slot 1 logic in hardware configuration. The CP's MAC address is printed on the front panel and must be unique on the subnet.

CP firmware. ISO-on-TCP (RFC1006) requires CP343-1 firmware V2.0 or higher (6GK7 343-1EX30-0XE0) and CP443-1 firmware V3.0 or higher (6GK7 443-1EX20-0XE0). Older "EX10" variants only support S7 connections and will refuse the "unspecified" partner entry described below.

NetPro Connection Definition (Unknown Partner)

The Softing S5-PCLink presents itself as a non-Siemens device, so the connection in NetPro is configured as an "unspecified" partner. This bypasses the S7 partner-CPU type check and forces the CP to accept the gateway's response.

  1. Open NetPro and select the CP443-1 (or CP343-1) row.
  2. Right-click → Insert New Connection.
  3. Connection partner: Other stations → Unspecified.
  4. Connection type: ISO-on-TCP connection (RFC1006).
  5. Local TSAP: any free value, e.g. 01.00.
  6. Partner TSAP: must match the value entered in VCOM (e.g. 10.00).
  7. Partner IP Address: enter the gateway IP (e.g. 192.168.10.50).
  8. Connection ID: e.g. 1. This ID is referenced by the PUT/GET blocks.
  9. Active connection establishment: enable the S7 as the active endpoint.
  10. Compile and download to the S7 station.
Why "unspecified"? Specifying the partner as a known S7 CPU makes the CP expect a Siemens S7 handshake. The Softing gateway does not implement the S7 connection handshake; it speaks only RFC1006. Selecting "Unspecified" tells the CP to drop that check and to use the partner TSAP purely as a port selector.

Verify in online view that the connection status reads Established. If the status reads Not connected or cycles between Connecting and Disconnected, the TSAP pairing is wrong (see troubleshooting matrix below).

PUT/GET Programming in STEP 7

The PUT and GET blocks are pulled from the standard STEP 7 library:

  • S7-300: FB15 "PUT" and FB14 "GET" from Standard Library → Communication Blocks.
  • S7-400: FB15 "PUT" and FB14 "GET" from Standard Library → Communication Blocks; S7-400 can also use FB8 / FB9 (older PUT_S / GET_S variants) but FB14/15 is preferred for new code.
  • TIA Portal: Instructions → Communication → S7 Communication; blocks named PUT and GET are available for S7-300/400 CP variants.

The PUT block transfers a local source area to a remote partner area. The GET block reads a remote partner area into a local destination. Both work in any S7 memory area (DB, M, I, Q), and the Softing gateway maps those areas 1:1 onto the corresponding S5 data image.

PUT Interface (FB15)

Parameter Type Meaning
REQ BOOL Rising edge starts the transfer.
ID WORD Connection ID from NetPro (e.g., W#16#1).
DONE BOOL Set when transfer completes without error.
ERROR BOOL Set when the call returned a status code.
STATUS WORD Detailed status; see PUT/GET manual.
ADDR_1 ANY Pointer to partner area, e.g. P#DB100.DBX0.0 WORD 32.
SD_1 ANY Pointer to local source, e.g. P#DB200.DBX0.0 WORD 32.

GET Interface (FB14)

Parameter Type Meaning
REQ BOOL Rising edge starts the read.
ID WORD Connection ID.
DONE BOOL Set on successful read.
ERROR BOOL Set on error.
STATUS WORD Detailed status.
ADDR_1 ANY Pointer to partner area on the S5 side.
RD_1 ANY Pointer to local destination.

Sample Call (STL, S7-400)

// One-shot trigger from a cyclic OB
// WRITE 32 words of local recipe DB into S5 DB100
      CALL  FB15,  DB300
       REQ   :=M 100.0
       ID    :=W#16#1
       DONE  :=M 110.0
       ERROR :=M 110.1
       STATUS:=MW 112
       ADDR_1:=P#DB100.DBX 0.0 WORD 32   // partner S5 DB100, words 0..31
       SD_1  :=P#DB200.DBX 0.0 WORD 32   // local S7 DB200, words 0..31

// READ 32 words of S5 markers M0..M31 into local DB201
      CALL  FB14,  DB301
       REQ   :=M 100.1
       ID    :=W#16#1
       DONE  :=M 111.0
       ERROR :=M 111.1
       STATUS:=MW 114
       ADDR_1:=P#M0.0 WORD 32            // partner S5 marker area
       RD_1  :=P#DB201.DBX 0.0 WORD 32

The Softing gateway accepts both DB targets and marker targets on the S5 side. Use P#M<byte>.0 WORD <count> for markers and P#DB<n>.DBX<b>.0 WORD <count> for data blocks. Inputs, outputs, timers, and counters are addressed similarly with P#E, P#A, P#T, P#C.

TSAP, Rack/Slot, and Addressing Rules

The TSAP is a 2-byte (or sometimes 4-byte ASCII) local port selector on each side of an ISO-on-TCP connection. For S7-to-S7 links the byte pattern is well-defined, but for third-party gateways you must use whatever convention the gateway expects. The Softing S5-PCLink accepts any TSAP on the partner side that matches the value configured in VCOM; the local S7 TSAP is free of convention because the CP is the active opener.

Two field-proven conventions work without further configuration:

  • Symmetric pair: Local TSAP 01.00 and partner TSAP 01.00. The gateway is set to listen on 01.00 via VCOM. Easy to remember; works on first commissioning.
  • Asymmetric pair: Local TSAP 01.00 (rack 0, slot 0 of the S7 CP), partner TSAP 11.00. The gateway listens on 11.00. Useful when multiple gateways share one CP.

Because the gateway presents itself as a single connection point, do not configure two S7 connections to the same gateway TSAP — the second connection fails to establish with STATUS = 0x000E.

Data Area Mapping: Data Blocks and Markers

S7 pointer S5 area Width note
P#DB<n>.DBX<b>.0 WORD <c> S5 DB<n>, word offset <b>/2, count <c> S5 DBs are word-addressed.
P#M<b>.0 WORD <c> S5 marker area, word offset <b>/2, count <c> M0.0 = byte 0 (MW0).
P#E<b>.0 WORD <c> S5 input image, byte offset <b>, count <c> Limited to input image size.
P#A<b>.0 WORD <c> S5 output image, byte offset <b>, count <c> Limited to output image size.
P#T<n> (DWORD) S5 timer word <n> Time value is BCD-coded.
P#C<n> (WORD) S5 counter word <n> Counter value is BCD-coded.

Byte-order is little-endian on both sides; no swap is required. S5 data words are 16 bits and align on word boundaries; the Softing gateway does not support bit-level access. If you require single-bit manipulation, mirror the bit in a marker and rewrite the surrounding word.

Performance Characteristics and Throughput Limits

The 511 protocol imposes a hard upper bound on cycle time. Production measurements taken on a CP443-1 against an S5-115U through a S5-PCLink show:

Configuration Cycle time Notes
1 PUT + 1 GET, ≤ 64 words each ~500 ms Best case observed.
1 PUT only, ≤ 64 words ~280 ms Half-duplex idle on read.
1 PUT, 128 words ~900 ms Two telegrams required.
PUT + GET, 128 words each ~1700 ms Four telegrams.

Throughput is dominated by the serial 511 request/response delay, not by Ethernet. Adding managed switches, QoS, or higher CP firmware versions does not reduce cycle time. Plan polling intervals of 1 s or longer for closed-loop control; for non-time-critical data exchange (recipes, setpoints, diagnostics) the gateway is comfortably adequate.

Don't overrun the gateway. Issuing two parallel PUT/GET calls against the same connection ID blocks the CP and can stall the 511 serial link. Drive the blocks from a single OB with a serial trigger (PUT first, GET second), not from separate OBs that preempt each other.

Troubleshooting Matrix

Symptom Likely cause Diagnostic Remediation
Connection status cycles Connecting → Disconnected TSAP mismatch between VCOM and NetPro Read CP connection diagnostic buffer Align both TSAPs to the same value, e.g. 01.00.
STATUS = 0x0001 on PUT, ID valid Partner unreachable (no S5 attached) Check gateway SF LED; verify AS511 cable polarity Re-seat cable; for TTY confirm current loop orientation.
STATUS = 0x000A (timeout) Partner area not present on S5 Cross-check DB number and size in S5 project Resize S5 DB or change pointer to an existing area.
STATUS = 0x000E (no resources) CP443-1 connection table full or duplicate TSAP NetPro connection overview Delete unused connections; max 64 ISO-on-TCP per CP.
Data values inverted or zeroed Wrong area type in ADDR_1 (e.g., DB vs M) Pointer trace in S7 online monitor Reissue PUT/GET with corrected pointer syntax.
Intermittent communication drops after hours AS511 cable shield not bonded at gateway end Inspect shield termination Re-terminate shield on gateway DB-9 shell.
Gateway not reachable on ping IP/subnet mismatch with S7 CP Verify both addresses Re-run VCOM with corrected IP, then power-cycle.
STATUS = 0x001F on GET Partner area type unsupported (bit-level access) Inspect ADDR_1 granularity Change to WORD/DWORD granularity.
PUT done, GET returns stale data RD_1 buffer not refreshed before read Reset RD_1 DB before each call Clear buffer or use a double-buffered DB.
CP SF LED on after download Duplicate IP address on subnet arp -a from PG Change CP IP, re-download.

Verification and Commissioning Checklist

  1. VCOM parameters saved; gateway power-cycled.
  2. ping from the S7 engineering station to gateway IP returns < 1 ms.
  3. NetPro connection is downloaded; online status is Established.
  4. One PUT into a known S5 DB returns STATUS = 0 (DONE = TRUE within 1 s).
  5. One GET from a known S5 marker area returns STATUS = 0 (DONE = TRUE within 1 s).
  6. Reading and writing the same S5 word produces the expected pattern (write 0xAAAA, read back 0xAAAA).
  7. Continuous polling for 1 hour produces zero STATUS ≠ 0 events.
  8. CP SF and BF LEDs remain off; gateway SF LED is off; S5 CPU is in RUN.

If any of the above fails, capture the CP connection diagnostic buffer (PLC → CPU Messages → Connection Diagnostics in STEP 7) and the S5-PCLink event log (VCOM → View Log) before escalating to Softing support.

What is the maximum data length per PUT or GET call through the Softing S5-PCLink?

The effective ceiling is 64 words of user data per single PUT or GET telegram due to AS511 framing. Larger payloads are split internally, which roughly doubles or quadruples cycle time.

Can the Softing gateway replace a Siemens Ethernet CP on the S5 side?

No. The S5-PCLink is a protocol converter, not a CPU substitute. The S5 must remain in RUN; the gateway only forwards memory reads and writes between the S7 and the S5's AS511 port.

Do I need to install VCOM on every engineering station?

Yes, VCOM must run on a Windows PC with a free COM port to initially provision the gateway. After that, the IP address can be modified remotely via VCOM over Telnet if the gateway firmware permits.

Does the S5 program need to be changed?

No. The S5 acts as a passive target; data is exchanged through its AS511 port without any FB or OB modification on the S5.

Which S5 PLCs are supported?

S5-90U, 95U, 100U, 115U, 135U, 155U, and 948U are supported as long as they expose the AS511 programming interface. The S5-100U and S5-95U work but their smaller memory footprint limits the practical data set.

Why is the cycle time around 500 ms instead of faster?

The AS511 protocol is fundamentally limited by serial 9600-baud turnaround and request/response latency. Field testing shows ~500 ms for a single PUT plus a single GET of ≤ 64 words; Ethernet speed has no measurable effect.

Back to blog