Configuring CU320-2 DP with CBE20 in TIA Portal V17 for SIMATIC

David Krause14 min read
SiemensTIA PortalTutorial / 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: Why V16 Cannot Add the CU320-2 DP

The CU320-2 Control Unit is available in two hardware variants: a PROFINET variant (CU320-2 PN, order code 6SL3040-1MA01-0AA0) and a PROFIBUS variant (CU320-2 DP, order code 6SL3040-1MA00-0AA0). The CBE20 Communication Board Ethernet can be plugged into either variant as an option module. The catalog content of the TIA Portal / Startdrive option package, however, is not identical across versions.

In TIA Portal V16 / Startdrive V16, only the CU320-2 PN device object is published. The CU320-2 DP is missing from the hardware catalog entirely, so the Add new device dialog will not offer it. Siemens introduced the CU320-2 DP as a configurable object only with Startdrive V17, which is the minimum version required for the workflow described below.

Field-proven rule: The Startdrive version is locked to the TIA Portal version. To get Startdrive V17, install or upgrade the engineering framework to TIA Portal V17 (or V17 Update x). Mixed operation of TIA Portal V16 and Startdrive V17 is not supported.

Prerequisites

Item Required Value / Part
Engineering framework TIA Portal V17 (or later V17 Update) with Startdrive option package V17
SIMATIC PLC SIMATIC S7-1507D TF (6ES7516-3AN02-0AB0) or any S7-1500 CPU with PROFINET interface
Drive Control Unit CU320-2 DP (6SL3040-1MA00-0AA0) with CBE20 (6SL3055-0AA00-2EB0) plugged into option slot
Firmware on CU320-2 DP SINAMICS S120 firmware ≥ V5.2 SP3 (CBE20 is supported from V5.1 upward; Startdrive V17 requires ≥ V5.2 SP3 to expose the integrated object)
Drive line / motor modules SINAMICS S120 Line Module (e.g. 6SL3130-6TE25-0AAx) + Motor Modules (e.g. 6SL3120-2TE21-0AAx) wired to DRIVE-CLiQ
Topology DRIVE-CLiQ topology defined: Control Unit → Line Module → Motor Modules. The first Motor Module in the topology is auto-assigned as drive object 2 (DO2).
Network PROFINET from CPU 1507D to CBE20 port. No PROFIBUS used.
Operator panel SIMATIC HMI Panel (e.g. KTP / Comfort / Unified) for WinCC visualization

Hardware and Topology Constraints of the SIMATIC 1507D TF

The SIMATIC S7-1507D TF is a SIMATIC Drive Controller: a S7-1500 CPU and a SINAMICS S120 integrated CU320-2 PN on a single backplane. The integrated CU320-2 can govern up to 6 SINAMICS S120 Motor Modules by default. If the machine needs more than 6 axes, additional external CU320-2 Control Units are required.

Drive Controller / PLC Max S120 Motor Modules (integrated) Notes
S7-1507D TF (CPU 1507D) 6 servo / 6 vector Add external CUs to scale beyond 6 axes
S7-1508D TF (CPU 1508D) Up to 12 (license-dependent) Same backplane, higher axis count
External CU320-2 PN (6SL3040-1MA01-0AA0) 6 per unit Profinet, full Startdrive support
External CU320-2 DP (6SL3040-1MA00-0AA0) 6 per unit Profibus, Startdrive support from V17

Because the original machine reused a CU320-2 DP with CBE20, the new build carries an extra DP Control Unit that sits in parallel to the integrated CU inside the 1507D. The integrated CU is wired to its own group of Motor Modules; the external CU320-2 DP is wired to a second group. This is the only supported way to scale beyond 6 axes on a Drive Controller while keeping PROFIBUS-based legacy hardware.

Step-by-Step: Adding the CU320-2 DP with CBE20 in TIA Portal V17

  1. Open or create the TIA Portal V17 project. If the existing project was created in V16, use Project → TIA Portal version → Upgrade project to V17. The catalog does not back-populate devices added in a later version, so upgrading first is mandatory.
  2. Open the project view and switch to the device configuration. Double-click Devices & networks in the project tree.
  3. Add the SIMATIC Drive Controller. In the hardware catalog, navigate to Controller → SIMATIC Drive Controller and select the controller variant matching the firmware on the physical unit (e.g. CPU 1507D TF, firmware V2.9). Drag it into the network view. Per the official SIMATIC Drive Controller configuration procedure, the device version and firmware must match the real hardware so the integrated CU320-2 object exposes the correct drive objects.
  4. Add the external CU320-2 DP. In the hardware catalog, navigate to Drive → SINAMICS → S120 → Control Unit → CU320-2 DP. Confirm the firmware version displayed in the catalog matches the firmware of the physical CU (readable via the BOP20 or via the Web server of the CBE20 at https://<cbe20-ip>). Drag the CU320-2 DP into the project.
  5. Plug the CBE20 into the option slot. Open the device view of the CU320-2 DP. In the catalog, navigate to Drive → SINAMICS → S120 → Communication → CBE20. Drag the CBE20 onto option slot 1 or 2 of the CU320-2 DP. The slot number is physically determined by where the CBE20 is screwed onto the CU backplane.
  6. Connect the integrated CU and the external CU to PROFINET. Drag a PROFINET connection from the PROFINET interface of the 1507D (X150) to PROFINET port 1 of the CBE20. The network view shows the logical link; the physical wiring is from the 1507D switch port to the CBE20 RJ45.
  7. Assign IP addresses and PROFINET device names. Open Properties → Ethernet addresses on the CBE20. Set:
    • IP address: e.g. 192.168.0.10
    • Subnet mask: 255.255.255.0
    • PROFINET device name: cu320-2dp-cbe20 (must match the name written to the CBE20 by the topology editor or by the PLC online assignment).
  8. Assign the CBE20 to a SINAMICS IO controller slot. In the CBE20 properties, the slot assignment maps the PROFINET telegram to a drive-object slot (e.g. telegram 1 for a servo, telegram 3 / 5 for a vector). For SINAMICS S120 servo control, set slot 1 to Standard Telegram 2 or SIEMENS Telegram 105 depending on the axis type.

Step-by-Step: Wiring DRIVE-CLiQ to Line and Motor Modules

After both Control Units are in the project, attach the SINAMICS S120 power modules to each CU. The order is the same for the integrated CU of the 1507D and the external CU320-2 DP.

  1. From the hardware catalog, drag a Line Module (e.g. 6SL3130-6TE25-0AAx Active Line Module) onto the DRIVE-CLiQ port labeled OUT of the Control Unit.
  2. Drag each Motor Module onto the next DRIVE-CLiQ ports in the physical sequence. The first Motor Module becomes drive object 2, the second drive object 3, and so on.
  3. For each Motor Module, add the matching motor from the catalog (Drive → SINAMICS → S120 → Motor). Use Induction motor (rotating) or Synchronous motor (rotating) depending on the connected motor. The catalog will then pre-fill stator resistance, leakage inductance, and pole-pair count from the motor's MLFB / article number.
  4. If the topology must be enforced strictly, enable Compare topology under Properties → DRIVE-CLiQ topology on the CU. The PLC will only go to RUN if the physical DRIVE-CLiQ ring matches the configured one.
Top-of-rack constraint: On a CU320-2, the Line Module must occupy DRIVE-CLiQ port 0 of the CU. The Motor Modules then daisy-chain from the Line Module's outgoing port. Reversing this order causes the topology check to fail at startup and the drive to remain in OFF1 with F0135 "topology error".

Configuring the CBE20: Why Only SINAMICS Link Is Exposed

The CBE20 is a flexible communication board. It supports several Ethernet-based protocols:

Protocol Use Case Supported on CBE20 + CU320-2 DP in Startdrive V17?
SINAMICS Link High-speed drive-to-drive cross-link (real-time, deterministic, up to 256 nodes) Yes — only option exposed in the Startdrive V17 network configuration
PROFINET IO controller / device Distributed I/O and subordinate drives Yes, on CU320-2 PN only. Not on the DP variant — the DP variant's PROFINET capability is limited to engineering / SINAMICS Link only
EtherNet/IP Third-party PLC communication (Rockwell Logix, etc.) Requires explicit firmware licensing and is currently enabled only on CU320-2 PN with Startdrive V18+; not available on CU320-2 DP
Modbus TCP Parameter access via register map Available, but not configurable through the Startdrive network wizard — must be enabled in the drive expert list (p2030 = Modbus TCP)
PROFIBUS DP-V1 Standard DP communication on the DP variant Handled by the CU's own PROFIBUS port, not by the CBE20

When you open the CBE20 properties in the device view, the Operating mode drop-down is forced to SINAMICS Link for the CU320-2 DP. The Startdrive V17 network editor does not yet expose PROFINET controller / EtherNet/IP as selectable operating modes for the DP variant. This is a Startdrive limitation, not a hardware limitation of the CBE20.

For the workflow in this article, that is acceptable: the PLC ↔ drive telegrams are exchanged over the CBE20's PROFINET interface as PROFINET IO. The PROFINET IO functionality on the CBE20 does not require switching operating modes — the SINAMICS Link operating mode label refers only to drive-to-drive cross-traffic. Setting the operating mode to 1 (SINAMICS Link) in p8835 is what the Startdrive wizard writes; the PROFINET IO channel remains active simultaneously.

Alternative Path: GSDML Import + STARTER Commissioning

If Startdrive V17 still does not expose a required mode, the historical fallback path is to import the CU320-2 DP as a PROFINET device via its GSDML file, then commission with STARTER (or the modern SINAMICS Startdrive Standalone) rather than the integrated TIA Portal commissioning editor.

  1. Download the GSDML for the CU320-2 DP from the Siemens Support Portal: search for article ID 109751706 (CU320-2 DP GSDML) and install it via Tools → Manage device description files (GSD) in TIA Portal.
  2. In the device configuration, drag the imported CU320-2 DP PN device from Other field devices → PROFINET IO → Drives → Siemens AG → SINAMICS into the project. This makes the CU a slave of the 1507D's PROFINET controller.
  3. Set the IP address and PROFINET name on the GSDML proxy object identically to the values on the CBE20.
  4. Commission the drive using STARTER connected to the CBE20's service interface. STARTER reads and writes the parameter set over PROFINET, the same way it does over PROFIBUS. The functional view, trace, control panel, and drive wizards are all available.
  5. Use TIA Portal for the PLC logic (SCL / LAD / FBD), HMI tags, and WinCC visualization. Use STARTER exclusively for the SINAMICS parameter set and trace.
Boundary: Startdrive integrated in TIA Portal cannot commission the combination of SIMATIC Drive Controller (1507D) plus a DP-variant external CU320-2. The path is GSDML import + STARTER for that single CU, or upgrade the project to a non-Drive-Controller S7-1500 CPU with a DP interface.

PLC ↔ Drive Telegram Mapping

After the topology is set, map the data exchanged between the 1507D and the CU320-2 DP. On the CBE20 of the external CU, configure the PROFINET slots as follows.

Slot Drive Object Standard Telegram Direction Length Use
1 DO2 (Servo 1) SIEMENS Telegram 105 Cyclical 10 / 10 words Position control with DSC, torque limit, encoder 1
2 DO3 (Servo 2) SIEMENS Telegram 105 Cyclical 10 / 10 words Position control with DSC
3 DO4 (Vector) SIEMENS Telegram 3 Cyclical 5 / 9 words Speed-controlled spindle
4 CU320-2 DP itself SIEMENS Telegram 390 Cyclical 2 / 2 words Control word + status word of the CU

On the 1507D, the integrated PROFINET interface of the CPU generates the corresponding Drive technology object (TO_Axis, TO_SynchronousAxis) automatically when you add the CU320-2 DP to the device view and select Add technology object in the inspector. The TO_Axis links to the PROFINET slot / telegram of the chosen axis.

Verification and Commissioning Sequence

  1. Compile and download the project. TIA Portal V17 compiles the configuration. Download to the 1507D first, then to the external CU320-2 DP via the CBE20.
  2. Power up the drive line. Precharge the Line Module, wait for the 24 V ready signal, and confirm that the CU320-2 DP reports r0002 = 0 "Operation - everything enabled".
  3. Topology check. In the TIA Portal online view of the CU320-2 DP, open Diagnostics → Topology. Every DRIVE-CLiQ component must show green and the actual serial numbers must match the project.
  4. Motor identification. Run Commissioning → Motor identification → Stationary measurement on each Motor Module. This populates the motor equivalent circuit diagram parameters (stator resistance, leakage inductance, magnetizing current).
  5. Encoder calibration. For absolute encoders, run the encoder adjustment routine so the commutation offset is stored in p0431.
  6. Velocity and position controller optimization. Use the Startdrive / STARTER trace to record step responses and run the auto-tuning routine (p2900 = 1 for a one-button optimization on servo drives).
  7. End-to-end test from the PLC. From a SCL FB, write MC_Power then MC_MoveAbsolute to the TO_Axis. Verify the axis reaches the target position with the configured dynamic limits.

Troubleshooting Matrix

Symptom Probable Cause Remedy
CU320-2 DP does not appear in the catalog TIA Portal V16 in use Upgrade to TIA Portal V17 + Startdrive V17. Reinstall the Startdrive option package if the device is still missing.
CBE20 properties show only "SINAMICS Link" Startdrive V17 limitation on the DP variant Acceptable for normal PROFINET IO operation. For EtherNet/IP / third-party, switch the hardware to CU320-2 PN or use the GSDML import path.
Drive remains OFF1, F0135 topology error DRIVE-CLiQ order wrong, or Line Module not on port 0 Re-seat the Line Module on port 0; re-verify the daisy-chain order matches the device view
PROFINET connection fails, F08501 PROFINET device name mismatch between project and CBE20 Assign the device name from TIA Portal via Online → Accessible nodes → Assign PROFINET device name
Axis goes to follow-up mode immediately after MC_Power Telegram mapping wrong, slot assignment does not match motor module Check slot 1 / 2 / 3 mapping in the CBE20 properties matches the DO2 / DO3 / DO4 assignment in the DRIVE-CLiQ topology
Startdrive refuses to commission the Drive Controller + DP CU Known limitation of Startdrive with that combination Use the GSDML import + STARTER commissioning path for the external CU320-2 DP
Long lead time on the CU320-2 PN replacement forces reuse of the DP variant Supply chain Confirm the CU320-2 DP is still in active production (Siemens article 6SL3040-1MA00-0AA0) and order a backup unit. The CBE20 (6SL3055-0AA00-2EB0) is a shared option for both PN and DP variants.

Key Parameter Reference for the CU320-2 DP + CBE20

Parameter Meaning Typical Value
p8835 CBE20 operating mode (IF1/IF2 routing) 1 = SINAMICS Link, 2 = PROFINET IO, 4 = EtherNet/IP (CU320-2 PN only)
p8920 PROFINET device name (LLDP-readable on port 0) cu320-2dp-cbe20
p8921 IP address of the CBE20 PROFINET interface 192.168.0.10
p8922 Default gateway for the CBE20 192.168.0.1
p8923 Subnet mask of the CBE20 255.255.255.0
p8925 Activate CBE20 interface configuration 1 = activate after next power-up
p0977 Save all parameters to non-volatile memory 1 = save, 10 = save to CF / card
r0002 Drive state word 0 = operation, 7 = fault active, 12 = commissioning mode

Safety and Acceptance Checklist

  • Confirm the drive has an STO (Safe Torque Off) input wired per the SINAMICS S120 Function Manual and that the PLC's PROFIsafe slot is configured with the correct F-monitoring time and F-host address.
  • Verify the integrated CU of the 1507D and the external CU320-2 DP each have their own stop category and emergency stop wiring. The integrated CU is part of the Drive Controller; its STO is wired to the backplane terminals of the 1507D. The external CU's STO is on its X120 terminal block.
  • Run an acceptance test of the SINAMICS safety functions (SS1, SLS, SOS) with the trace recorder active, and store the trace recordings as evidence.
  • Document the firmware version on every Control Unit and the Startdrive project version in the machine's safety dossier. A safety acceptance test is only valid for the firmware / project version under which it was performed.

Why is the CU320-2 DP not in the TIA Portal V16 hardware catalog?

The CU320-2 DP was added to the Startdrive option package with V17. V16 / Startdrive V16 only contains the CU320-2 PN device object. Upgrade the engineering framework to TIA Portal V17 (or later) and reinstall the Startdrive option package so the device becomes visible in Drive → SINAMICS → S120 → Control Unit.

Can I use the CBE20 with EtherNet/IP on the CU320-2 DP?

No, the CBE20 with the CU320-2 DP in Startdrive V17 only exposes SINAMICS Link as the operating mode in the network editor. EtherNet/IP support on CBE20 is currently tied to the CU320-2 PN variant. To talk to third-party EtherNet/IP devices, switch to a CU320-2 PN or use an external EtherNet/IP scanner / adapter module.

How do I add more than 6 axes to a SIMATIC 1507D TF?

The integrated CU320-2 of the 1507D drives up to 6 SINAMICS S120 Motor Modules. For additional axes, add an external CU320-2 Control Unit (PN or DP) as a sibling device, wire its own Line Module and Motor Modules, and connect it to the 1507D's PROFINET network. The 1507D is the only PROFINET IO controller; the external CU is a PROFINET IO device on the same subnet.

Do I need PROFIBUS at all to use the CU320-2 DP with CBE20?

No. The DP variant's PROFIBUS port is optional. The CBE20 PROFINET interface provides the PLC ↔ drive telegram exchange. You can leave the PROFIBUS port on the CU320-2 DP unused. STARTER commissioning is also possible over the CBE20 PROFINET channel, so no PROFIBUS cable is required.

Can Startdrive commission a SIMATIC Drive Controller together with an external CU320-2 DP?

No. The Startdrive option package does not commission the combination of a SIMATIC Drive Controller (1507D / 1508D) with an external S120 PROFIBUS Control Unit. The recommended path is to import the external CU320-2 DP via its GSDML and commission the drive parameter set with STARTER, while keeping the PLC program and HMI in TIA Portal V17.

Back to blog