Overview: The Siemens / Lenze Ethernet/IP Mismatch
A common integration problem on packaging, material handling, and converting lines is the request to attach Lenze drives speaking EtherNet/IP to a Siemens S7-300 CPU 315-2 PN/DP (6ES7315-2EH14-0AB0 and earlier -0AB0x variants). The PLC only has a native PROFINET interface and an MPI/PROFIBUS-DP interface; it has no EtherNet/IP scanner, no CIP stack, and no ODVA-certified assembly class driver.
This reference covers three field-proven integration paths:
- Migrate the Lenze drives to PROFINET (native Siemens, lowest latency, fewest components).
- Use PROFIBUS-DP on both the CPU and the Lenze drives (cheapest for large drive counts).
- Keep the Lenze EtherNet/IP drives in place and bridge them with a third-party protocol gateway (for example the Prosoft Technology PLX31-EIP-SIE).
Protocol Mismatch: EtherNet/IP vs PROFINET vs PROFIBUS
| Attribute | EtherNet/IP (ODVA) | PROFINET (PI) | PROFIBUS-DP (IEC 61158) |
|---|---|---|---|
| Standard body | ODVA | PROFIBUS & PROFINET International | IEC 61158 Type 3 |
| Application layer | CIP (Common Industrial Protocol) | PROFINET RT/IRT | DP-V0 / DP-V1 / DP-V2 |
| Physical layer | 100 Mbit/s Ethernet | 100 Mbit/s Ethernet | RS-485, 9.6 kbit/s to 12 Mbit/s |
| Implicit/cyclic I/O | Class 1 connection (UDP/2222) | RT frames, IRT isochronous | DP cycle, 1-32 stations |
| Configuration object | EDS file / AOI | GSDML file | GSD file |
| Siemens S7-300 native? | No | Yes (PN interface) | Yes (MPI/DP interface) |
| Lenze i500 native? | Yes (option) | Yes (option) | Yes (option) |
Because the two IP-based protocols are not interoperable, you must either (a) move one side to a common protocol, or (b) install a converter that maintains both protocol stacks simultaneously.
S7-300 CPU 315-2 PN/DP Interface Architecture
The CPU 315-2 PN/DP (current MLFB 6ES7315-2EH14-0AB0) provides two physical interfaces:
| Interface | Type | Function | Maximum Devices |
|---|---|---|---|
| Port 1 (X1) | PROFINET, 2-port switch (RJ45) | IO Controller, IO Device, or S7 client/server | 128 IO devices (depends on CPU firmware) |
| Port 2 (X2) | MPI / PROFIBUS-DP master or slave, 9-pin D-sub | DP-V0/V1 master for slaves, or MPI for HMI/PG | 32 DP slaves (master) |
- PROFINET side: 2-port managed switch; topology is line, star, or ring (MRP). A line is the most common drive-integration topology.
- PROFIBUS side: 9.6 kbit/s to 12 Mbit/s selectable. For drive integration 1.5 Mbit/s or 12 Mbit/s is typical; bus terminators must be on, and segment length must obey the table in the SIMATIC S7-300 manual.
- The CPU has no CIP/CIP-Safety stack, so any EtherNet/IP device on a directly connected segment is invisible to the user program.
Lenze Drive Communication Module Options
Lenze's mid-range inverter families (i500 in the i-series line, and the legacy 8400 StateLine / HighLine / TopLine / PLC) all support multiple fieldbus options. The communication module typically plugs into the front slot of the drive; the model code determines which one is shipped from the factory.
| Lenze Drive Family | EtherNet/IP Module | PROFINET Module | PROFIBUS Module |
|---|---|---|---|
| i500 (i51xE-xGxB / IExxE) | Integrated option, selectable via model code "E" for EtherNet/IP | Integrated option, selectable via model code "P" for PROFINET | Integrated option, selectable via model code "B" for PROFIBUS |
| 8400 protec / StateLine | E94AYCEC (EtherNet/IP communication module) | E94AYCPM (PROFINET module) | E94AYCPM swapped to PROFIBUS variant or E94AYCFB |
| 8400 HighLine / TopLine / PLC | E94AYCEC | E94AYCPM | E94AYCPM-DP |
You confirm the actual module on a delivered drive by reading the model code printed on the front label, or by reading parameter C00012 in the Lenze EASY Starter / L-force Engineer tool.
Solution Path 1: Migrate the Lenze Drives to PROFINET
Best when the Lenze drives are new, not yet wired, or when the customer will absorb the cost of a hardware change.
- Order the i500 drives with the PN option (PROFINET), or swap the plug-in communication module on existing 8400 drives from E94AYCEC to E94AYCPM.
- Install the Lenze GSDML-V2.31-LENZE-i500-PN-xxx.xml GSDML file in STEP 7 V5.5 / TIA Portal V15 or later.
- In HW Config (STEP 7) or the Device Configuration (TIA), drag the i500 from the catalog into the PROFINET line of the CPU 315-2 PN/DP.
- Set the device IP address and PROFINET device name. With the i500, the name is assigned from the IO Controller using the "Assign device name" wizard in TIA Portal; the drive's rotary switches are not used for PROFINET addressing.
- Configure the cyclic I/O slots. The default i500 PROFINET slot map is 4 words of process data (PZD) in each direction: control word (STW), status word (ZSW), main setpoint (HSW), main actual (HIW). You can expand to 8/16 PZD by writing parameter C00015 in the drive.
- Insert the standard S7 FB/SFB "DPRD\_DAT" and "DPWR\_DAT" to move the PZD to/from the I/O image. No vendor-specific FB is required — PROFINET is the same on every drive.
Solution Path 2: PROFIBUS-DP for Lowest Cost per Drive
Best for very large drive counts (the cited example was ~70 drives on one machine) where the cost of a PROFINET module is multiplied by each drive. PROFIBUS modules are typically 30-40% less expensive than PROFINET modules on Lenze drives, and the S7-300 CPU 315-2 PN/DP has the DP master already on-board.
- Order i500 drives with the PB option (PROFIBUS), or 8400 drives with the E94AYCPM-DP module.
- Install the Lenze LENZE_0F0C.GSD file in STEP 7 HW Config.
- Set the PROFIBUS address on each drive using the rotary switches (1-126) on the front of the Lenze communication module. Address 0 is reserved for service tools and must not be assigned to a drive.
- Configure the DP cycle. For 70 drives at 4 PZD each direction, run PROFIBUS at 1.5 Mbit/s and set the bus cycle to 2 ms. The cable length at 1.5 Mbit/s is limited to 200 m per segment; use a repeater after that.
- Use the S7 SFC14 / SFC15 ("DPRD\_DAT" / "DPWR\_DAT") to read and write the PZD. The input/output addresses are assigned by HW Config; a typical mapping is PIW 256-263 and PQW 256-263 for the first drive.
| Parameter | Value |
|---|---|
| PROFIBUS baud rate | 1.5 Mbit/s (recommended for 50+ drives) |
| Bus terminator | ON at both ends only |
| Address range | 1 to 125 (0 reserved) |
| Max segment length at 1.5 Mbit/s | 200 m |
| Cable type | Siemens 6XV1830-0EH10 or equivalent PROFIBUS purple |
Solution Path 3: EtherNet/IP to S7 Protocol Gateway
Best when the customer refuses to change the Lenze drives (cost, lead time, or installed-base constraint) and a protocol translator is acceptable. The product most often used in this exact S7-300 to Lenze EtherNet/IP scenario is the Prosoft Technology PLX31-EIP-SIE.
| Spec | PLX31-EIP-SIE |
|---|---|
| Manufacturer | Prosoft Technology |
| Function | Bidirectional data bridge between ODVA EtherNet/IP and Siemens Industrial Ethernet (S7 on TCP/ISO) |
| EtherNet/IP side | Class 1 and Class 3 server, pre-defined and assembly objects |
| Siemens side | S7 client (BSEND/BRECV or fetch/write), simulates a SIMATIC S7 CPU/CP |
| Data buffer | 500-word data buffer, configurable as integer or float |
| Configuration | Prosoft Configuration Builder (PCB); no STEP 7 / TIA change |
| Power | 24 V DC, 0.5 A typical |
| Operating temperature | 0 °C to 60 °C |
The gateway sits between the S7-300 and the Lenze drives and makes each side think it is talking to its native protocol. The S7-300 programs against the gateway as if it were another S7 CPU, and the Lenze drives program against the gateway as if it were an Allen-Bradley Logix scanner.
Hardware Topology with the PLX31-EIP-SIE
S7-300 CPU 315-2 PN/DP
Port 1 (PROFINET) -----> managed Ethernet switch -----> PLX31-EIP-SIE (Siemens side)
|
Ethernet/IP (ODVA)
|
Managed Ethernet switch
| | |
Lenze Lenze Lenze
Drive1 Drive2 DriveN
Two physical segments are required: a Siemens Industrial Ethernet segment between the CPU and the gateway, and a separate EtherNet/IP segment between the gateway and the Lenze drives. Keep the two segments on different switches, or use a VLAN-aware managed switch with the ports properly tagged, to keep PROFINET multicast and CIP multicast from contending on the same broadcast domain.
STEP 7 / TIA Portal Configuration for the Gateway Path
- Set the PLX31-EIP-SIE IP address using Prosoft Configuration Builder; default is 192.168.1.100.
- In STEP 7 or TIA, place an "Other Station / S7 Connection" partner with the gateway IP and rack/slot = 0 (the gateway emulates an S7-300).
- Use S7 PUT / GET (SFB14/SFB15) or the "S7-300 Ethernet Communication" FBs supplied with Prosoft to write to the gateway's data buffer at word offset 0, and read from offset 0.
- Map the data buffer to the Lenze EtherNet/IP assemblies: write the first N words to Lenze output assembly 101 (control word + setpoints); read the first M words from Lenze input assembly 102 (status word + actuals).
Lenze EtherNet/IP Data Mapping
| Word Offset (to drive) | Lenze Parameter | Description |
|---|---|---|
| 0 | Control word | Bit-encoded start/stop/reset/fault ack (C00150) |
| 1 | Main setpoint (HSW) | 0x4000 = 100 % reference (C00050) |
| 2 | PID setpoint | Optional, application-specific |
| 3 | Torque limit | 0x4000 = 100 % |
| Word Offset (from drive) | Lenze Parameter | Description |
| 0 | Status word | Bit-encoded run state, fault, warning (C00151) |
| 1 | Main actual (HIW) | Output frequency, scaled |
| 2 | Motor current | In 0.1 A resolution |
| 3 | DC bus voltage | In 1 V resolution |
Data Mapping and Cycle Time
Latency through the gateway is the sum of three delays:
- Siemens side: S7 send cycle. With PUT/GET on a 315-2 PN/DP, the typical S7 send cycle is 50-100 ms; for deterministic behavior configure a 20 ms OB1 cyclic interrupt (OB35) and call PUT/GET only there.
- Gateway internal scan: the PLX31-EIP-SIE polls the EtherNet/IP side at 10-20 ms per assembly.
- Lenze side: i500 EtherNet/IP RPI (Requested Packet Interval) is 1-10 ms; assembly 101/102 default RPI is 5 ms.
Total loop time, end-to-end, is approximately 20-100 ms depending on OB cycle and gateway scan settings. This is acceptable for V/Hz-driven pumps, fans, and conveyors. For high-speed torque mode or position control, choose Solution Path 1 (PROFINET IRT) to keep the loop under 4 ms.
Verification and Diagnostics
| Check | Tool | Pass Criterion |
|---|---|---|
| PROFINET device name assigned | TIA Portal → Online → Accessible nodes | i500 / 8400 visible with correct name |
| EtherNet/IP connection open | RSLinx / Studio 5000 Logix Designer (if AOP is installed) or CIP diagnostic tools | Class 1 connection O->T and T->O established |
| Gateway data buffer live | Prosoft Configuration Builder → Diagnostics → Data View | Buffers update at the configured scan rate |
| Drive process data response | Lenze EASY Starter → Online → Process data view | Control word changing, status word responding within one RPI |
| S7 program sees the data | STEP 7 / TIA online monitor on the data block | Words match the Lenze values |
Troubleshooting Matrix
| Symptom | Likely Cause | Fix |
|---|---|---|
| S7-300 shows "Station Failure" on the Lenze PROFINET device | Device name not assigned, or GSDML version mismatch | Use TIA "Assign PROFINET device name"; reinstall correct GSDML |
| Lenze drive shows F0730 Bus Fault on PROFIBUS | Missing terminator, bad connector, or duplicate address | Enable terminators at both ends, re-torque connectors, verify addresses 1-125 only |
| PLX31-EIP-SIE EtherNet/IP connection never opens | EDS not installed in RSLogix, or wrong RPI | Install EDS from Prosoft, set RPI 10 ms, cycle power on drive |
| Setpoint writes from S7 do not move the drive | Word order swapped (big-endian vs little-endian) | Match byte order in the gateway; check S7 ANY pointer |
| Drive runs but status word is always 0x0000 | Lenze output assembly 102 not enabled in EASY Starter | Enable EtherNet/IP process data in parameter C00015 |
| PROFINET line goes down when PC connects for programming | PC NIC configured on same subnet, broadcasts a different name | Disable PC multicast filtering or connect PC via router |
Field-Commissioning Notes
- When mixing protocols on the same physical Ethernet, always separate them on different switches, or at minimum on different VLANs. PROFINET uses LLDP multicast and CIP uses UDP broadcast, and a single misconfigured managed switch will break both at the same time.
- For an S7-300 driving more than 30 drives, set the S7-300 OB1 cycle to at least 20 ms and use a separate OB35 cyclic interrupt for the drive I/O. Do not poll all drives from OB1 or the cycle time will be starved.
- On Lenze drives, always set parameter C00121 "Bus source for control word" to the fieldbus slot (3 = EtherNet/IP, 4 = PROFINET, 5 = PROFIBUS) before commissioning, otherwise the drive ignores the control word even though the bus communication is healthy.
- Save the Lenze parameter set to the file system (EASY Starter → Save parameters to file) and store a copy in the project archive. This makes the next swap-out a five-minute job instead of a half-day re-tune.
Selection Guide: Which Path to Choose
| Path | Pros | Cons | |
|---|---|---|---|
| Best When | |||
| PROFINET (Path 1) | Lowest latency, native Siemens, no extra hardware | Drive modules more expensive, requires PROFINET-capable Lenze hardware | New build, <50 drives, motion/servo required |
| PROFIBUS (Path 2) | Cheapest per drive, proven for 70+ drives on one PLC, same S7 program structure as PROFINET | RS-485 wiring discipline, slower 1.5 Mbit/s bus | Large drive counts, brownfield, conveyor/pump/fan |
| Gateway (Path 3) | Keep existing EtherNet/IP drives, minimal S7 change | Extra hardware, 20-100 ms loop time, single point of failure | Drives already installed, retrofit, customer rejects hardware change |
FAQ
Can a Siemens S7-300 CPU 315-2 PN/DP talk EtherNet/IP natively?
No. The 315-2 PN/DP has a PROFINET interface and an MPI/PROFIBUS-DP interface only. There is no CIP stack, no ODVA certification, and no Siemens FB that implements the EtherNet/IP application layer. Use a third-party gateway such as the Prosoft PLX31-EIP-SIE if you must keep the EtherNet/IP drives.
Do Lenze drives support PROFINET IRT or only RT?
The i500 PROFINET module supports RT and IRT with drive firmware 04.02.00 or later. The 8400 PROFINET module E94AYCPM supports RT only. For isochronous mode, the S7-300 CPU must be configured as an IRT controller in HW Config and the send clock set to 1 ms.
Which Lenze parameter enables the fieldbus control word?
Set C00121 (control source) to the appropriate bus slot: 3 for EtherNet/IP, 4 for PROFINET, 5 for PROFIBUS. Without this, the drive ignores process data even if the bus connection is healthy.
What is the difference between the PLX31-EIP-SIE and a generic Modbus TCP to S7 gateway?
Modbus TCP to S7 gateways do not speak CIP and cannot be used with EtherNet/IP drives. The PLX31-EIP-SIE specifically implements the ODVA CIP class 1 connection on the drive side and the Siemens S7-on-TCP fetch/write protocol on the PLC side. A Modbus-only gateway is not a substitute.
How many Lenze drives can one S7-300 CPU 315-2 PN/DP control over PROFINET?
The 315-2 PN/DP supports up to 128 PROFINET IO devices, but in practice the limit is the OB1 cycle time. With 4 PZD per drive, 30 drives is a comfortable target on a 1 ms send clock, and 50 drives is the practical ceiling before the cycle time degrades. Above 50 drives, switch to PROFIBUS-DP at 1.5 Mbit/s.