Overview
The SINAMICS S120 CU320-2 DP control unit (firmware V2.6.2) equipped with a CBE20 PROFINET communication board is a common drive controller in machine-builder and retrofit applications. When commissioning or expanding a system controlled by a SIMATIC S7-1500/S7-1200 in TIA Portal V16, engineers frequently discover that the CU320-2 is missing from the native hardware catalog under the "Drives" folder. This is not a defect; it is an intentional product-lifecycle decision: SINAMICS S120 devices are configured and parameterized in SINAMICS Startdrive or SIMOTION SCOUT, not inside TIA Portal's drive catalog.
The supported integration path in TIA Portal V16 is to import the CU320-2 as a PROFINET IO device via GSDML. After import, the device appears under Other field devices > PROFINET IO > Drives > Siemens AG > SINAMICS > SINAMICS S120/S150 CBE20 V2.6. This article documents the exact procedure, the catalog entry naming, the GSD file source, the PROFIdrive telegram configuration, and the verification steps required for a working cyclic drive controller.
Prerequisites
Before starting the integration, confirm the following:
- Hardware: SINAMICS S120 CU320-2 DP control unit (6SL3040-1MA01-0AA0) with a CBE20 PROFINET board (6SL3055-0AA00-2EB0) inserted in the option slot.
-
Firmware: CU320-2 firmware V2.6.2 (or compatible V2.6.x). CBE20 firmware loaded from the same SINAMICS support package. Verify with parameter
r0002(control unit firmware version) andr0018(CBE20 firmware version) in the drive's parameter list. - Engineering software: TIA Portal V16 Update 7 or later (V16.0 + SP1 recommended). Project compatibility for older TIA Portal projects is documented in the TIA Portal project compatibility matrix.
- GSD file: GSDML-V*-Siemens-SINAMICS_S120_S150_CBE20_V26-*.xml corresponding to firmware V2.6.x. The file ships with SINAMICS Startdrive V16, SIMOTION SCOUT, or can be downloaded from the Siemens Industry Online Support (SIOS) entry "SINAMICS S120/S150 GSDML for CBE20".
- Drive-side configuration: A working SINAMICS commissioning project (STARTER, Startdrive, or SCOUT) from which the CBE20 IP address, device name, and telegram selection are already known.
-0AA0 with PROFIBUS on-board) cannot be added as a PROFINET device directly; the PROFINET capability is only available through the CBE20 option module. If the drive cabinet uses the PN-variant control unit (6SL3040-1MA02-0AA0), the CBE20 is unnecessary because PROFINET is integrated on-board.Hardware Topology Reference
The following table summarizes the standard SINAMICS S120 components referenced in this article.
| Component | Order Number (MLFB) | Function |
|---|---|---|
| CU320-2 DP control unit | 6SL3040-1MA01-0AA0 | Central drive controller, PROFIBUS on-board |
| CU320-2 PN control unit | 6SL3040-1MA02-0AA0 | Central drive controller, PROFINET on-board |
| CBE20 PROFINET board | 6SL3055-0AA00-2EB0 | PROFINET V2.3 / IRT-capable option module |
| TM31 terminal module | 6SL3055-0AA00-3AA1 | Digital/analog I/O expansion (optional) |
| SMC30 encoder module | 6SL3055-0AA00-5CA2 | External encoder evaluation (optional) |
Step-by-Step: Importing the CU320-2 as a GSD Device
- Open the TIA Portal project containing the S7-1500 CPU that will act as the PROFINET IO controller.
- Switch to the Device View of the S7-1500 station and select the PROFINET interface (X1 or X2) of the CPU.
- Open the hardware catalog on the right-hand side and navigate to Other field devices > PROFINET IO > Drives > Siemens AG > SINAMICS.
- Locate the entry SINAMICS S120/S150 CBE20 V2.6. This entry is created only after the GSDML file has been imported. If the entry is not visible, proceed to step 5.
-
Install the GSD file:
- From the menu, select Options > Manage general station description file (GSD).
- Browse to the directory containing the GSDML file (e.g.,
C:\Siemens\Automation\SINAMICS\GSD\V26). - Select the file
GSDML-V2.31-Siemens-SINAMICS_S120_S150_CBE20_V26-20190327.xml(or the newest variant matching firmware V2.6.2) and click Install. - Wait for the catalog to refresh; this can take 15-60 seconds.
- Drag the device SINAMICS S120/S150 CBE20 V2.6 from the catalog into the PROFINET subnet of the S7-1500. TIA Portal automatically assigns a placeholder IP address and PROFINET device name.
-
Open the device properties of the newly inserted SINAMICS station. On the PROFINET interface tab, set:
- IP address: Match the value configured in the drive (e.g., 192.168.0.20).
- Subnet mask: 255.255.255.0 (or matching subnet).
-
PROFINET device name: Match the device name stored on the CBE20 (e.g.,
sinamics-cu320-1). Device names are case-sensitive. - Real-time setting: Select IRT for isochronous applications or RT for standard motion. Most non-isochronous applications can use RT class 1.
- Configure the device name in the drive side. Either use SINAMICS Startdrive, SCOUT, or the online PROFINET naming tool in TIA Portal (Online > Accessible nodes > Assign PROFINET device name).
Configuring PROFIdrive Telegrams
PROFIdrive communication between the S7-1500 and the CU320-2 uses standard telegrams (ST) or Siemens-specific telegrams (SPC). For firmware V2.6.2, the following telegram types are available on the CBE20 slot 0 / slot 1:
| Telegram | Direction | Length (bytes) | Use Case |
|---|---|---|---|
| Standard Telegram 1 | Bidirectional | 20 | Speed control, basic positioning via digital I/O |
| Standard Telegram 2 | Bidirectional | 28 | Speed control with actual speed value 32-bit |
| Standard Telegram 3 | Bidirectional | 12 | Compact speed setpoint only (no encoder feedback) |
| Standard Telegram 4 | Bidirectional | 24 | Speed/position with two encoders |
| Standard Telegram 5 | Bidirectional | 32 | Speed control with DSC (Dynamic Servo Control) |
| Standard Telegram 6 | Bidirectional | 36 | Speed control with DSC and additional torque limits |
| Siemens Telegram 110 | Bidirectional | 32 | Positioning with EPOS basic |
| Siemens Telegram 111 | Bidirectional | 40 | Positioning with EPOS and additional encoders |
| Free Telegram | Configurable | Up to 64 | Custom BICO interconnection |
To assign a telegram in TIA Portal V16:
- Open the Device view of the SINAMICS station.
- Click on the CBE20 slot to open the slot properties.
- In the Module parameters area, locate the PROFIdrive telegram selection dropdown.
- Select the required telegram from the list. If using Siemens Telegram 110, the I/O addresses are automatically mapped.
- Note the assigned I/O addresses (e.g., input range
ID 256..271, output rangeQD 256..271). These addresses are referenced in the user program using standard S7 instructions such asDPRD_DATandDPWR_DAT, or via the SINA_SPEED / SINA_POS function blocks.
User Program Integration
TIA Portal V16 provides several application example libraries for SINAMICS integration. The most common are:
- SINA_SPEED (FB 285): Handles the standard speed-control telegram interface, including enable bits, fault acknowledgement, and ramp-up.
- SINA_POS (FB 288): Handles EPOS basic positioning with Siemens Telegram 110.
- LAcycCom library: For isochronous cyclic data exchange with the drive.
A minimal SINA_SPEED call sequence looks like the following in SCL:
// Instance DB declaration
DATA_BLOCK "dbSinaSpeed"
{ S7_Optimized_Access := 'TRUE' }
VERSION : 0.1
NON_RETAIN
STRUCT
Enable : Bool;
SpeedSetpoint : Real;
ActualSpeed : Real;
AxisEnabled : Bool;
Fault : Bool;
ErrorId : Word;
END_STRUCT;
END_DATA_BLOCK
// Call in OB1
"dbSinaSpeed".Enable := TRUE;
"dbSinaSpeed".SpeedSetpoint := 1500.0;
"SINA_SPEED_DB"(Enable := "dbSinaSpeed".Enable,
SpeedSetpoint := "dbSinaSpeed".SpeedSetpoint,
ActualSpeed := "dbSinaSpeed".ActualSpeed,
AxisEnabled => "dbSinaSpeed".AxisEnabled,
Fault => "dbSinaSpeed".Fault,
ErrorId => "dbSinaSpeed".ErrorId);
The hardware ID parameter of SINA_SPEED must be bound to the configured telegram slot. The hardware ID is found in Properties > System constants of the SINAMICS device.
Verification
After completing the configuration, perform the following verification steps:
- Compile and download the TIA Portal project to the S7-1500 CPU.
-
Assign the PROFINET device name to the CBE20 using TIA Portal (Online > Accessible nodes) or SINAMICS Startdrive. The drive's LED
BF(Bus Fault) must extinguish after a successful name assignment. -
Check cyclic communication: In the SINAMICS parameter list, monitor
r2050[0](PROFINET control word 1) andr2089[0](PROFINET status word 1). When the S7-1500 establishes cyclic I/O, these words should toggle or show the expected control pattern (typically0x047Efor run-ready state). - Online diagnostics in TIA Portal: Right-click the SINAMICS device in the network view and select Online > Diagnostics. The status should report No fault and the device should be marked Available.
- Webserver of CBE20: Open the CBE20 webserver by entering its IP address in a browser. Confirm the diagnostic pages show "Connection established" and the assigned telegram.
- Function test: Trigger a small setpoint (e.g., 50 rpm) from the S7 program and verify with the drive's trace function (STARTER/Startdrive) that the actual speed matches.
Troubleshooting Matrix
| Symptom | Likely Cause | Corrective Action |
|---|---|---|
| Device not visible in catalog | GSD file not installed or wrong version | Reinstall GSDML matching firmware V2.6.x; restart TIA Portal |
| BF LED steady red on CBE20 | No PROFINET name assigned or name mismatch | Assign PROFINET device name via online access; verify spelling and case |
| Diagnostic interrupt in TIA Portal: "Channel fault, slot 0, subslot 1" | Telegram mismatch between PLC and drive configuration | Verify telegram selection identical on both sides; check p0922 and p2079 on drive |
| Cyclic data missing in S7 program | Wrong hardware ID bound to SINA_SPEED | Re-link hardware ID from system constants |
| F01910 (PROFINET timeout) | Watchdog p2040 too short or network jitter | Increase p2040 to 100 ms; check switch/router QoS settings |
| F08501 (PROFINET configuration error) | Device name contains invalid characters | Rename to comply with PROFINET naming rules (a-z, 0-9, hyphen) |
| SINA_SPEED returns ErrorId 0x8001 | Drive not in commissioning state or telegram not active | Save drive parameters (copy RAM to ROM); cycle power |
Catalog Entry Naming Convention
The TIA Portal catalog uses a strictly versioned naming scheme. The string SINAMICS S120/S150 CBE20 V2.6 reflects the GSD version, not necessarily the SINAMICS firmware. The relationship is:
- CBE20 V2.6 GSD → supports firmware V2.5, V2.6, V2.6.1, V2.6.2 on the drive.
- CBE20 V2.5 GSD → supports firmware V2.4 and V2.5 only.
- CBE20 V4.7 GSD → required for SINAMICS V5.x firmware families.
For firmware V2.6.2 specifically, the GSDML file version V2.6 is correct. Installing a newer GSD (e.g., V4.7) will cause parameter-mapping mismatches because the BICO interconnection definitions differ between firmware generations.
Drive-Side Parameter Quick Reference
| Parameter | Value/Range | Meaning |
|---|---|---|
| p0922 | 1..999 | IF1 PROFIdrive telegram selection (must match PLC) |
| p2030 | 1 / 2 | PROFINET interface protocol selection (1 = PN, 2 = PROFIdrive) |
| p2040 | 0..65535 ms | PROFINET watchdog time (default 100 ms) |
| r2050[0..7] | Hex word | Received PZD words from controller |
| p2051[0..7] | BICO connector | Output PZD mapping to controller |
| r2089[0..7] | Hex word | Sent PZD words status |
| p8910 | String (max 63 chars) | CBE20 PROFINET device name |
| p8920 / p8921 / p8922 / p8923 | IP/subnet/router | CBE20 IP configuration (set automatically when PROFINET name assigned) |
Comparison: Native Catalog vs. GSD Integration
| Feature | Native SINAMICS Entry (Startdrive) | GSD Entry (Other field devices) |
|---|---|---|
| Configuration of drive parameters | Yes (full access) | No (read-only diagnostics) |
| Telegram selection | Graphical wizard | Dropdown in module properties |
| Automatic SINA_SPEED instance generation | Yes | No (manual wiring required) |
| Drive trace export | Yes | No |
| Available in TIA Portal V16 standard | Requires Startdrive V16 license | Available without additional license |
| Firmware-aware parameter access | Yes | Limited (only via parameter view) |
For most retrofit and slave-node scenarios where the drive is configured elsewhere (SCOUT, Startdrive, or commissioning software), the GSD approach is the leaner choice. For new installations where TIA Portal is the central engineering environment, licensing SINAMICS Startdrive V16 enables the native catalog path and full drive commissioning.
Notes on Project Compatibility and Versioning
TIA Portal enforces strict version compatibility. Projects created in V15.1 cannot be opened in V16 without an upgrade; projects saved in V16 cannot be downgraded to V15.1. The official compatibility matrix is published in the TIA Portal project compatibility documentation. When upgrading projects that contain GSD-imported SINAMICS devices, the GSD files must be re-installed in the target TIA Portal version because GSD storage is version-local.
For engineering teams operating mixed-version environments (V16 and V17/V18 in parallel), keep a shared GSD library on the network and reinstall as required when transitioning projects.
FAQ
Why is the SINAMICS S120 CU320-2 missing from the TIA Portal V16 hardware catalog?
The CU320-2 is intentionally not present as a native catalog device in TIA Portal V16 standard installations. Siemens positions SINAMICS drive commissioning in SINAMICS Startdrive or SIMOTION SCOUT. The supported integration path in TIA Portal is via GSDML import under Other field devices > PROFINET IO > Drives > Siemens AG > SINAMICS > SINAMICS S120/S150 CBE20 V2.6.
Which GSDML file is required for firmware V2.6.2?
Use the GSDML file matching GSD version V2.6, typically named GSDML-V2.31-Siemens-SINAMICS_S120_S150_CBE20_V26-20190327.xml or newer within the V2.6 family. The GSD version must be greater than or equal to the firmware V2.6.x; firmware V5.x requires the V4.7 GSD family.
Can I configure the drive parameters from TIA Portal after GSD import?
No. GSD-imported SINAMICS devices expose only cyclic I/O, diagnostics, and a limited parameter view. Full parameter access (BICO wiring, motor identification, encoder configuration) requires SINAMICS Startdrive, STARTER, or SIMOTION SCOUT. Treat TIA Portal as the controller side, not the drive commissioning side.
What is the difference between Standard Telegram 1 and Siemens Telegram 110?
Standard Telegram 1 provides basic speed control (2 words control + 2 words status + 4 words setpoint/actual speed). Siemens Telegram 110 adds 16 bytes for EPOS basic positioning (position setpoint, mode, override, position feedback). For EPOS applications, use Telegram 110 together with the SINA_POS (FB 288) function block.
How do I verify cyclic PROFINET communication is active?
Monitor SINAMICS parameter r2050[0] on the drive and observe the bus-fault LEDs on the CBE20. A correctly communicating drive shows BF LED off, the S7-1500 reports "Available" in the online diagnostics, and r2050[0] reflects the control word pattern sent by the PLC (typically 0x047E for run-ready). The CBE20 webserver (browse to the IP address) also confirms telegram status.