Configuring S7-300 PROFINET via PN/PN Coupler to S7-1500

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

Configuring S7-300 PROFINET via PN/PN Coupler to S7-1500 PLC

Many legacy S7-300 stations ship with only PROFIBUS DP connectivity. Modern S7-1500 systems, by contrast, expose PROFINET natively. Bridging those two worlds without ripping out a working CPU typically means adding a PROFINET interface to the S7-300 and coupling the two PROFINET subnets through a PN/PN Coupler. This guide covers the engineering path: hardware selection, GSD installation, TIA Portal configuration, slot mapping, diagnostics, and the field-proven troubleshooting checks that get the data flowing.

1. System Architecture Overview

The PN/PN Coupler is a routed PROFINET gateway that links two independent PROFINET IO subnets. Each subnet is owned by its own IO Controller. From the S7-300's perspective, the coupler appears as a PROFINET IO Device on the right-hand PROFINET subnet. From the S7-1500's perspective, the same coupler appears as a PROFINET IO Device on the left-hand subnet. The two subnets are logically and electrically isolated; the coupler copies the output data from the left controller into the right device's input image, and vice versa.

Three constraints follow from that architecture:

  1. The S7-300 must act as a PROFINET IO Controller, which requires a CP 343-1 family module (the CPU 31x does not provide PROFINET IO Controller mode).
  2. The S7-1500 must act as a PROFINET IO Controller on its subnet. The integrated PROFINET interface of every S7-1500 CPU supports this role out of the box.
  3. The two PROFINET networks must have distinct IP subnets. The coupler enforces this by occupying one address on each side.

Siemens documents this pattern in the official Getting Started entry, see PN/PN Coupler Getting Started (entry ID 88737127).

2. Prerequisites

Before you open TIA Portal, verify the following:

  • S7-300 station: SIMATIC S7-300 with a free slot in the central rack for the CP 343-1.
  • CP 343-1: Order number 6GK7343-1EX30-0XE0 (or successor variant) with PROFINET IO Controller capability. The Lean variants (CX10) only support PROFINET IO Device, not IO Controller, and are not suitable for this role.
  • S7-1500 station: CPU 1511-1 PN or higher. The integrated PROFINET interface acts as IO Controller.
  • PN/PN Coupler: 6GK7151-1BA02-0AB0. The previous variant 6GK7151-1AA00-0AB0 is functionally compatible but uses an older GSD revision.
  • Engineering software: TIA Portal V16 or later. For S7-300 projects originally built in STEP 7 V5.x, a STEP 7 V5.5 SP2 or higher installation is also required.
  • GSD file: GSDML-V2.xx-Siemens-PNPNCoupler-xxxxxxxx.xml, downloadable from the Siemens Support entry linked in Section 6.
  • Network: Two separate Ethernet subnets with managed switches or direct device-to-device cabling. Maximum segment length 100 m (copper) or per fiber SFP specification.

3. Hardware Selection

3.1 CP 343-1 Variants for the S7-300 IO Controller Role

Not every CP 343-1 can act as PROFINET IO Controller. The relevant ordering data is summarized below.

Order Number PROFINET IO Controller PROFINET Ports Web Server Status
6GK7343-1CX00-0XE0 No (Device only) 1 No Discontinued
6GK7343-1CX10-0XE0 No (Device only, Lean) 1 Yes Active
6GK7343-1EX30-0XE0 Yes 2 (integrated switch) Yes Spare part (active)
6GK7343-1EX40-0XE0 Yes 2 (integrated switch) Yes Active
6GK7343-1EX41-0XE0 Yes 2 (integrated switch) Yes Active

For the role described in this article, the 6GK7343-1EX30-0XE0 (explicitly named in the project requirements) is sufficient. If you are specifying a new project, prefer the EX40 or EX41 for longer product life and built-in security features (e.g., access protection). The Lean (CX10) module will not work in this topology because it lacks IO Controller capability.

Spare part note: Siemens has migrated several CP 343-1 part numbers to spare-part status. Lead time can extend and price is higher than the equivalent PROFINET interface on a current S7-1500 station. If a long-life build is required, consider the gateway alternative in Section 9.

3.2 PN/PN Coupler Selection

The standard PN/PN Coupler 6GK7151-1BA02-0AB0 is the correct choice. The variant is a DIN-rail mounted device with two PROFINET ports (left and right) and a 24 V DC power input. It contains no application logic; it is a pure data router between two PROFINET subnets.

4. Network Architecture

The physical topology is intentionally simple. Each side of the coupler belongs to a different subnet; IP routing between the two subnets is not required for cyclic IO data exchange, because the data is copied at the coupler.

  S7-300 (IO Controller, Subnet A)              S7-1500 (IO Controller, Subnet B)
  +-------------------+                          +---------------------+
  | CPU 315-2 DP/PN   |                          | CPU 1515-2 PN       |
  |  + CP 343-1 EX30  |                          |  PROFINET Port 1    |
  |  (192.168.0.10)   |                          |  (192.168.1.10)     |
  +---------+---------+                          +---------+-----------+
            | PROFINET (Subnet A: 192.168.0.x)             | PROFINET (Subnet B: 192.168.1.x)
            |                                               |
            |      +---------------------------+           |
            +------| PN/PN Coupler             |-----------+
                   | Left:  192.168.0.20       |
                   | Right: 192.168.1.20       |
                   | 6GK7151-1BA02-0AB0        |
                   +---------------------------+

5. PN/PN Coupler Technical Specifications

Parameter Value
Order number 6GK7151-1BA02-0AB0
PROFINET interfaces 2, electrically isolated
Number of slots per side 16
Maximum input bytes per slot 256
Maximum output bytes per slot 256
Maximum total bytes per side 4096 in / 4096 out
Update time 1 ms minimum, set by IO Controller
Power supply 24 V DC (19.2 to 28.8 V), 200 mA typical
Power loss approx. 3.5 W
Mounting DIN rail 35 mm
Operating temperature 0 to 60 °C
Protection class IP20
Configuration Via IO Controller using the GSD file
Diagnostics Per-port LEDs (BF, SF, Link), 24 V OK LED

Data mapping rule: outputs configured on the left side of the coupler appear as inputs on the right side, and vice versa. The left side outputs (consumed by the right IO Controller as inputs) and the right side outputs (consumed by the left IO Controller as inputs) are the two data channels.

6. Installing the GSD File for the PN/PN Coupler

The PN/PN Coupler is a third-party-style device to TIA Portal until its GSD is installed. Procedure:

  1. Download the GSD file. The current file is shipped with TIA Portal V16+ (under Options > Manage General Station Description Files (GSD)). If absent, retrieve it from the Siemens support page associated with the PN/PN Coupler manual, see PN/PN Coupler Getting Started (entry 88737127).
  2. In TIA Portal, choose Options > Manage General Station Description Files (GSD).
  3. Browse to the GSDML-Vx.x-Siemens-PNPNCoupler-*.xml file and install.
  4. Confirm that the device appears in the hardware catalog under Other field devices > PROFINET IO > Gateway > Siemens AG > PN/PN Coupler.
  5. Close and reopen the project to refresh the catalog.
Catalog placement warning: Until the GSD is installed the PN/PN Coupler will not appear in the device catalog. Drag-and-drop of an unknown device will fail. Always verify the catalog entry before attempting to insert the coupler into a subnet.

7. Configuring the S7-300 Station

7.1 Add the CP 343-1 to the S7-300 Station

  1. Open the S7-300 device configuration in TIA Portal.
  2. Locate an empty slot (slot 4 to 11 in a typical central rack).
  3. From the hardware catalog, choose Communication > CP 343-1 > 6GK7343-1EX30-0XE0 and drag to the empty slot.
  4. Open the CP properties. In PROFINET interface > Ethernet addresses, set the IP address (default 192.168.0.10) and the subnet mask (255.255.255.0). Activate the IO Controller role on the PROFINET port.
  5. Compile and download the hardware configuration to the S7-300 CPU.

7.2 Insert the PN/PN Coupler as an IO Device

  1. Switch to the Network view.
  2. From the catalog (after GSD install), drag the PN/PN Coupler onto Subnet A (the S7-300's PROFINET network).
  3. Assign the coupler as a PROFINET IO Device of the S7-300. The PROFINET port of the CP 343-1 becomes the IO Controller for that subnet.
  4. Set the left-side IP address of the coupler (e.g., 192.168.0.20). The right-side address will be set later under the S7-1500 configuration, but it is visible in the same device properties if the device view is shared.
  5. Open the device view of the coupler and assign input/output modules to slots 1 to 16. Each slot becomes one data channel. Typical configuration: insert 1 byte input modules on the S7-300 side, which appears as 1 byte output modules on the S7-1500 side, and vice versa.

8. Configuring the S7-1500 Station

  1. Open the S7-1500 device configuration.
  2. On the CPU's PROFINET interface, set the IP address (e.g., 192.168.1.10) and subnet mask (255.255.255.0). The CPU's PROFINET interface must be set as IO Controller.
  3. Switch to the Network view and connect the CPU's PROFINET port to Subnet B (192.168.1.x).
  4. Drag a second PN/PN Coupler instance from the catalog onto Subnet B. Critical: this is a separate device object in the project that represents the same physical coupler. Do not attempt to place a single device on two subnets - TIA Portal requires a second device object that maps the right-side PROFINET interface of the physical coupler.
  5. Assign the second device object to the S7-1500 as its IO Device and set the right-side IP address (e.g., 192.168.1.20). Confirm the device name matches the physical coupler's PROFINET name (default pn-pn-coupler).
  6. In the device view, assign the complementary input/output modules. What was an input module on the S7-300 side becomes an output module on the S7-1500 side for the same data direction.
Two device objects: The PN/PN Coupler is modeled as two IO Devices in TIA Portal - one per PROFINET subnet. Both objects refer to the same physical hardware. The PROFINET device name must be identical on both objects. Use the Assign PROFINET device name function in the Online > Accessible nodes menu to write the name into the physical coupler.

9. Slot Configuration and Data Mapping

Slot mapping is where most field engineers trip up. The data direction is set by the module type placed in each slot:

S7-300 (Subnet A) Module type PN/PN Coupler Slot S7-1500 (Subnet B) Module type
Writes (output) 1 byte output Slot 1, left side Reads (input) 1 byte input
Reads (input) 1 byte input Slot 1, right side Writes (output) 1 byte output

For a 32-byte bidirectional exchange, configure four slots of 8 bytes or two slots of 16 bytes on each side. The total bytes per side must not exceed 4096 input and 4096 output bytes. Plan a single contiguous data block in the S7-300 (e.g., DB100) and a corresponding DB in the S7-1500 (e.g., DB200) for clarity. The S7-300 program writes the output portion of DB100; the IO Controller firmware copies the bytes through the coupler; the S7-1500 reads them into the input portion of DB200.

10. STEP 7 V5.x Configuration (Legacy Path)

If the S7-300 project is still in STEP 7 V5.5, the procedure is similar but uses HW Config. Insert the CP 343-1 EX30 into the S7-300 station, assign the PROFINET network, and install the GSD for the PN/PN Coupler under Options > Install GSD File. Place the coupler on the PROFINET subnet, configure its slots, then export the station as a GSD-based S7-1500 Station or rebuild the S7-1500 in TIA Portal and import the S7-300 GSD into the TIA project. Siemens supports mixed-vendor engineering with TIA Portal V16 or higher; the project must be migrated before adding the S7-1500 to the same project.

For STEP 7 V5.x users, refer to the Siemens Knowledge Base entry Bus coupling with PN/PN coupler - STEP 7 (TIA Portal V20 docs) for cross-tool configuration of the coupler.

11. Alternative: PROFIBUS DP Master to PROFINET IO Device Gateway

If the CP 343-1 is unavailable or its spare-part lead time is unacceptable, a third-party gateway can act as a PROFIBUS DP slave on the S7-300 side and a PROFINET IO Device on the S7-1500 side. The Anybus Communicator (HMS Industrial Networks) is one option that performs this protocol conversion at the gateway level, allowing the existing PROFIBUS interface of an S7-300 CPU 315-2 DP/PN to participate in a PROFINET architecture. This path requires neither a CP 343-1 nor a PN/PN Coupler; the gateway replaces both. Verify that the S7-300 firmware version and the gateway's GSDML are mutually compatible before purchase.

Topology difference: A PROFIBUS-to-PROFINET gateway introduces a different data-latency profile than a PN/PN Coupler. Where the PN/PN Coupler adds roughly one PROFINET update-time of latency, a gateway can add 5 to 15 ms depending on acyclic services. Validate that the application tolerates this latency for closed-loop or safety-related data.

12. Diagnostics and Status LEDs

The PN/PN Coupler exposes four LEDs per port plus a power LED. Reading the LEDs resolves 80 percent of commissioning problems.

LED State Meaning
PWR (24 V OK) Green Supply voltage present
PWR (24 V OK) Off Supply missing or polarity reversed
BF (Bus Fault) per port Red, flashing No PROFINET connection / device name not assigned
BF per port Red, steady Configuration mismatch / IO Controller not in RUN
SF (System Fault) per port Red Slot configuration error / diagnostics message active
Link per port Green Physical link present
RX/TX activity Yellow flashing Cyclic data exchange active

Online diagnostics are also available from TIA Portal: Online > Online and Diagnostics > PROFINET diagnostics on the CP 343-1 or S7-1500 CPU. The diagnostic buffer will record configuration errors with slot number and expected vs. actual module identifier.

13. Verification Checklist

  1. CP 343-1 is online and reports no fault (BF off, SF off on the CP itself).
  2. PN/PN Coupler port LEDs are green with yellow activity flicker on both sides.
  3. In TIA Portal Online > Accessible nodes, the coupler is reachable from each subnet.
  4. Diagnostic status of the coupler is OK on both subnets (no maintenance or fault events).
  5. A test data pattern (alternating 0xAA and 0x55) written into the S7-300 output DB appears in the S7-1500 input DB with the expected update time (typically 1 to 4 ms).
  6. Reverse direction: writing a counter pattern from the S7-1500 updates the S7-300 input DB within the configured PROFINET update time.
  7. Disconnect the S7-1500 PROFINET cable. The S7-300 diagnostic buffer should record a station failure on the IO Device. Reconnect and verify the failure is cleared automatically.
  8. Cycle power on the PN/PN Coupler. Both IO Controllers should re-establish the AR (Application Relationship) within a few seconds and resume data exchange without operator intervention.

14. Troubleshooting Matrix

Symptom Likely Cause Action
BF LED red, flashing on coupler port PROFINET device name not assigned Use Assign PROFINET device name on the S7-300 side; verify name matches project
BF LED red, steady on coupler port Configuration mismatch or IO Controller not in RUN Compare slot configuration; verify the S7-300 CPU is in RUN
Coupler LEDs normal but data not updating Slot module direction inverted Verify output module on sender side, input module on receiver side, swap if reversed
Diagnostic buffer: "Station failure" on the CP 343-1 IP subnet conflict or duplicate device name Verify all devices on the subnet have unique names; ping both sides of the coupler
CP 343-1 not visible in TIA Portal catalog Wrong TIA Portal version or HSP missing Install the corresponding HSP (Hardware Support Package) for the CP 343-1
S7-1500 reports "IO Device not found" Two device objects of the coupler not both assigned to physical coupler Confirm the same PROFINET device name on both objects; assign the name to the physical device
High latency (50 ms+) between writes and reads Update time set too high or PROFINET watchdog tripped Lower the update time; verify the IO Controller has spare CPU capacity
Intermittent data with one slot only Slot 0 used for I/O data (reserved for device) Configure slots 1 to 16, never slot 0

15. Field-Proven Caveats

  • Slot 0 of the PN/PN Coupler is reserved for the device itself; placing any I/O module on slot 0 will fail configuration. Always start at slot 1.
  • If the S7-300 project is migrated from STEP 7 V5.x to TIA Portal, the CP 343-1 firmware revision may be downgraded. Check the firmware under Online > Accessible nodes and update to the latest available using the SIMATIC Automation Tool.
  • PROFINET update time of 1 ms is supported on the PN/PN Coupler but is rarely needed and stresses the S7-300 CP. Use 2 ms or 4 ms in production unless motion coordination requires lower.
  • Do not place the S7-300 CPU, CP 343-1, and PN/PN Coupler on the same managed switch as the S7-1500 subnet. The two subnets must remain physically separate, otherwise loopback or broadcast storms can occur.
  • When ordering spares, prefer the EX41 or EX40 over the EX30 - they share the same GSD but provide better diagnostics and security features that ease future migration.

16. References to Official Documentation

FAQ

Can I use a SIMATIC S7-300 CPU 315-2 PN/DP integrated PROFINET port as the IO Controller for the PN/PN Coupler?

No. The integrated PROFINET port of the S7-300 CPUs (PN/DP variants) supports PROFINET IO Device only. To act as IO Controller you must add a CP 343-1 module, e.g., 6GK7343-1EX30-0XE0, and use its PROFINET interface as the IO Controller.

How many bytes can the PN/PN Coupler exchange per side?

Up to 4096 bytes of input and 4096 bytes of output per side, distributed across slots 1 to 16 with a maximum of 256 bytes per slot. For most applications, 32 to 256 bytes is sufficient and keeps the PROFINET update time low.

Do the two PROFINET subnets need different IP ranges?

Yes. The PN/PN Coupler enforces separate subnets, with one IP address on each side. Using the same subnet on both sides results in duplicate IP addresses and the coupler will not pass a connection check.

What firmware does the CP 343-1 EX30 need for PROFINET IO Controller mode?

Firmware V2.x or higher is required. The current firmware is available on the Siemens Support page for the order number 6GK7343-1EX30-0XE0. Verify the firmware with Online > Accessible nodes after installing the module.

Can I replace the PN/PN Coupler with a third-party PROFINET-to-PROFINET gateway?

Functionally yes, provided the gateway supports PROFINET IO Device mode on both sides and is configured as an IO Device of each controller. Verify that the S7-300 and S7-1500 controllers both accept the gateway as a PROFINET device and that update-time and watchdog settings are compatible.

Back to blog