SINAMICS G120 CU240E-2: Configuring Second Ramp Times via DDS

David Krause15 min read
SiemensTutorial / How-toVFD / Drives
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

The SINAMICS G120 modular frequency-inverter family, when equipped with a CU240E-2 Control Unit (article number 6SL3244-0BB12-1BA1), supports a second set of ramp-up and ramp-down times through its drive-data-set (DDS) architecture. Each DDS carries its own copy of the ramp-function generator (RFG) parameters, so the application can switch between two completely independent acceleration and deceleration profiles - one for normal operation, one for soft-start, fast-stop, or a process-specific mode - by toggling a single digital input (typically DI2) or a single bit in the fieldbus telegram. The drive evaluates the selection every task cycle and reports the active data set in r0051.

The most common commissioning error on this topic is to place the ramp times in the Command Data Set (CDS) instead of the Drive Data Set (DDS). CDS swaps control sources, setpoint sources, and BICO interconnects; DDS swaps the motor-side and ramp-side data. The result of editing P1120 in CDS is that nothing changes at runtime, which is the symptom captured in the original field note that motivated this article. The correct path - documented below - is to keep P1120/P1121 in DDS and source the DDS bit from a digital input via BICO.

Prerequisites

Before configuring a second ramp profile, confirm the following:

  • Control Unit: CU240E-2 (6SL3244-0BB12-1BA1) or a firmware-compatible variant (CU240E-2 DP, CU240E-2 PN, CU240E-2 F). All variants share the same DDS/BICO architecture described here.
  • Power Module: any PM240, PM240-2, PM250, or PM260 sized for the motor. The DDS architecture is independent of the power section.
  • Firmware: CU240E-2 firmware V4.4 or higher. Earlier firmware uses the same parameter numbers but the BICO list is a subset. Read the firmware version in r0018 or on the SD card label.
  • Commissioning tool: STARTER V4.5 (or later) with the matching Drive ES package, or Startdrive in TIA Portal V15 (or later). Both expose the full drive-data-set and command-data-set editors.
  • Motor data: motor commissioning must be complete. Set P0300/P0301 (motor type and voltage), run P1900 = 1 (motor data identification) and P1910 = 1 (rotating measurement) if the application allows. The RFG references a motor model that has been identified.
  • DI2 hardware: DI2 is brought out to terminal 6 of the CU240E-2 customer terminal block (default 24 V isolated input, PNP or NPN configurable). Verify the wiring meets the digital-input electrical specification in the SINAMICS G120 with CU240B-2/CU240E-2 operating instructions.
Ramp times shorter than the drive's overload capability can trip F1 (overcurrent) or F2 (DC-link overvoltage) on high-inertia loads. Always size the second slope with the application's worst-case inertia and regenerative energy in mind.

Data Set Architecture: CDS vs DDS

SINAMICS G120 separates drive configuration into four types of data sets. Two of them are relevant to the second-ramp application:

Data Set Indexing Typical Contents When to Use
CDS - Command Data Set 0, 1 (P0810 / P0811 select) Setpoint source (P1000), control source (ON/OFF, direction), BICO interconnects for command bits, fixed setpoints binectors Swap between two PLC masters, manual/auto, or different telegram bits. Does NOT carry ramp times.
DDS - Drive Data Set 0, 1, 2 (P0820 / P0821 / P0822 select) Motor data (P0300 series), RFG ramp times (P1120 / P1121), speed limits (P1080 / P1082), current/voltage limits, fixed setpoints, RFG rounding (P1130 - P1134), OFF3 ramp (P1135) Swap between two operating modes requiring different motor limits, different ramp slopes, or different fixed setpoints. The second ramp belongs here.

The selection bits are binector inputs (BI) that the drive evaluates on every scan. DDS selection is encoded as a 3-bit binary number; the active DDS is reported in r0051. The active CDS is reported in r0050. If you read a parameter in the expert list, the index shown in square brackets is the data-set index - for example P1120[0] is the ramp-up time of DDS 0, and P1120[1] is the ramp-up time of DDS 1.

A common mistake is editing P1120 with the wrong index selected. P1120 is indexed by DDS, not CDS. Editing it with the wrong index changes the value in the offline project without it ever being applied to the running drive, and the symptom is that the new slope never appears.

Parameter Reference for the RFG and DDS Selection

The following parameters are central to the second-ramp configuration. All are documented in the SINAMICS G120 with CU240B-2 / CU240E-2 operating instructions and the SINAMICS G120 parameter list.

Parameter Index Function
P1080[0..2] DDS Minimum frequency (Hz). Independent per DDS.
P1082[0..2] DDS Maximum frequency (Hz). Independent per DDS.
P1120[0..2] DDS Ramp-up time (s) referenced from 0 Hz to P1082.
P1121[0..2] DDS Ramp-down time (s) referenced from P1082 to 0 Hz.
P1130[0..2] DDS Ramp-up initial rounding time (s). 0 = linear ramp.
P1131[0..2] DDS Ramp-up final rounding time (s).
P1132[0..2] DDS Ramp-down initial rounding time (s).
P1133[0..2] DDS Ramp-down final rounding time (s).
P1134[0..2] DDS Rounding type: 0 = continuous smooth; 1 = discontinuous.
P1135[0..2] DDS OFF3 (fast stop) ramp-down time (s).
P1140[0..2] DDS BI: RFG enable (priority high). 1 = RFG active.
P1141[0..2] DDS BI: RFG start (priority low).
P1142[0..2] DDS BI: RFG enable setpoint.
P0820[0..1] CDS BI: DDS bit 0 (selection least significant bit). Default = 0.
P0821[0..1] CDS BI: DDS bit 1. Default = 0.
P0822[0..1] CDS BI: DDS bit 2. Default = 0.
P0810[0..1] CDS BI: CDS bit 0. Used to switch command sources.
P0811[0..1] CDS BI: CDS bit 1.
r0050 - CO/BO: Active CDS. Read-only.
r0051 - CO/BO: Active DDS. Read-only.
r0722 - CO/BO: Status word of digital inputs. Bit 0 = DI0, bit 1 = DI1, bit 2 = DI2, bit 3 = DI3, bit 4 = DI4.

DI2 BICO Source

On the CU240E-2, the digital-input status word is r0722. The bit assignments are fixed by the firmware:

  • Bit 0: DI0
  • Bit 1: DI1
  • Bit 2: DI2
  • Bit 3: DI3
  • Bit 4: DI4
  • Bit 5: DI5 (where available; some terminals are DI/DO shared)

The binector output used to feed DDS-selection BIs is r0722.0 in the BICO browser. The sub-index .0 identifies the diagnostic word; the bit inside the word is the input bit. Selecting r0722.0 from the BICO browser and then bit-routing within the downstream binector handles the bit selection.

Wiring DI2 to DDS Selection

To toggle between DDS 0 and DDS 1 using DI2, wire DI2 into P0820[0] in the active CDS:

  1. In STARTER or Startdrive, open the project online with the drive.
  2. Navigate to Inputs/Outputs → Digital inputs and confirm DI2 is not already assigned to a higher-priority standard function (ON/OFF1, OFF2, OFF3, acknowledge, external fault, etc.). The CU240E-2 default templates often assign DI0 = ON/OFF1, DI1 = OFF2, DI3 = acknowledge; DI2 is usually free.
  3. If DI2 is already in use, pick a different free DI and adapt the steps accordingly. The BICO source for DI3 is r0722.3, for DI4 is r0722.4, and so on.
  4. Open the expert list. Filter for P0820 and select the index of the active CDS. Default CDS is 0, so set P0820[0].
  5. Click the BICO selection icon next to the value field. The BICO browser opens.
  6. Drill into Drive unit → Control Unit → Inputs/Outputs → Status word of digital inputs. Select the binector source corresponding to the chosen DI (for DI2, this is the DI2 bit of r0722).
  7. Write the parameter to the drive (online → RAM). To make the change power-cycle safe, perform a RAM-to-ROM copy.

After the BICO is set, the DDS is selected as follows:

DI2 state P0820[0] (DDS bit 0) Active DDS
0 V (low) 0 DDS 0 (default slope)
24 V (high) 1 DDS 1 (second slope)

Monitor r0051 online to confirm the active DDS follows DI2 in real time. The online watch table in STARTER (Ctrl+F11) or the Startdrive watch table is the easiest place to drop both r0051 and the relevant bit of r0722 for live monitoring.

DI2 is sampled at the basic I/O cycle. Transitions during a running ramp are not mid-ramp corrected: the new ramp slope takes effect at the next internal cycle. For high-dynamics applications, verify the I/O sampling (P0799) and current-controller cycle (P0115) are consistent with the desired response time.

Configuring the Second Ramp Times

Once the BICO wiring is in place, populate the second ramp values in DDS 1.

  1. In the STARTER project tree, right-click Drive → Configuration → Parameter groups and open the drive-data-set editor.
  2. Enable DDS 1 (and optionally DDS 2) by ticking the corresponding boxes. The CU240E-2 supports up to 3 DDS.
  3. Click Drive data set 1 and enter the ramp-up and ramp-down times:
    1. P1120[1] - ramp-up time of DDS 1, in seconds.
    2. P1121[1] - ramp-down time of DDS 1, in seconds.
  4. If the second slope also needs different speed limits, fill P1080[1] and P1082[1] accordingly. If different rounding is required, fill the P1130 - P1133 group.
  5. Save the project offline. Click Load to drive (RAM) and verify, then Copy RAM to ROM to make the change non-volatile.

Sizing the Second Ramp

The RFG slope in P1120/P1121 is referenced to the maximum frequency P1082 of the active DDS. If P1082 changes between DDS 0 and DDS 1, the absolute Hz/s slope also changes. Use the following relation to maintain a constant Hz/s slope between profiles:

slope_Hz_per_s (DDS 1) = P1082[1] / P1120[1]
slope_Hz_per_s (DDS 0) = P1082[0] / P1120[0]

For a 50 Hz system with a 5 s default ramp and a 2 s "fast" ramp, the second DDS would carry P1120[1] = 2.0. The drive automatically references the slope to P1082[1], so unless the maximum frequency also changes, the new ramp time applies directly. The shortest permissible ramp is bounded by the current limit (P0640, default 150 % of rated motor current) and the DC-link voltage on regeneration.

On regenerative loads (downhill conveyors, unwinders, hoists), shortening the ramp-down time can push the DC-link voltage above the brake-chopper threshold. Confirm P1240 = 0 (chopper enabled, default) and verify the brake resistor is sized for the new deceleration energy. A DC-link overvoltage trip is fault F2 with fault value r0949 = 2.

Verification Procedure

  1. Bring the drive to a safe state. ON/OFF1 must be OFF (terminal 0 V or control word bit 0 = 0).
  2. In STARTER, open the control panel and click Assume control priority. Acknowledge any local/remote conflict warning.
  3. Start the drive with a small setpoint (for example 10 Hz). Observe the ramp in the STARTER trace: time from 0 to 10 Hz should be P1120[0] * 10 / P1082[0] seconds (DDS 0 active, DI2 low).
  4. Stop the drive and toggle DI2 high. Verify in the online watch table that r0051 changes from 0 to 1.
  5. With the motor turning under a new setpoint step, observe the time from 0 to 10 Hz; it should now be P1120[1] * 10 / P1082[1] seconds (DDS 1 active).
  6. Toggle DI2 low and confirm the ramp returns to the DDS 0 slope.
  7. Disconnect the control panel, restore field control, and power-cycle the drive. Confirm both slopes persist (P1120[0] and P1120[1] are still in the ROM image).

Alternative: PLC / Telegram Control of DDS

When DI2 is not available, or the application needs more than two slopes, the DDS bit can be sourced from a fieldbus control word. Common implementations:

PROFINET with Telegram 1

Standard Telegram 1 (P0922 = 1) does not contain a DDS bit. Switch to a manufacturer-specific telegram such as 350, 352, 353, or 354, or use free telegram configuration (P0922 = 999) to add a second control word. The DDS selection bit is wired into a free bit of the second PZD word and routed via BICO.

PROFINET with Telegram 20

Telegram 20 contains the standard control word 1 and status word 1. Append the free telegram with the DDS bit mapped to a free bit of the appended word. The PLC writes the bit, the drive evaluates the BICO source connected to the receive-word bit (r2090.x).

PROFIBUS with PZD Extension

On the CU240E-2 DP variant, use P0922 = 999 (free telegram) and add the DDS selection bits to a free PZD word. In the PLC, write the DDS bit to bit 0 of the chosen word, and BICO-connect the binector input in the drive to r2090.x where x is the bit position.

S7 PLC with SINA_SPEED or DriveLib Blocks

The Siemens SINA_SPEED function block (part of the SINAMICS blocks library in TIA Portal) includes a DDS_Out word. Connect bit 0 of DDS_Out to the drive's DDS bit-0 binector. The drive selection follows the PLC state without any digital-input wiring. The block is documented in the Startdrive / DriveLib help integrated with TIA Portal.

When DDS is sourced from the fieldbus, remove the DI2 BICO wiring on P0820 (set P0820[0] = 0) and write the new binector source to the relevant bit of the receive word. The data-set update is synchronized to the fieldbus cycle and is deterministic with respect to PROFIsafe or PROFINET IRT cycle time.

Runtime RFG Scaling vs Fixed DDS

For applications that need a continuous, scalable second slope (for example, a soft-start that adapts to load, or a process where the second slope is a function of measured torque), the RFG ramp times can be multiplied at runtime using a BICO scaler on the RFG time. The method is documented in the official Siemens support entry SINAMICS G120: scaling the ramp-function generator times in operation. This is the right path when the application needs the second slope to be a percentage of the first or to be computed by the PLC each cycle. For a fixed, deterministic second slope (the typical use case for "second ramp-up/ramp-down via DI2"), the DDS approach is simpler, faster, and fieldbus-independent.

Troubleshooting Matrix

Symptom Root Cause Fix
DI2 toggles, but r0051 does not change BICO source on P0820[0] is not connected, or connected to a different DI Re-open the BICO browser on P0820[0] and confirm the DI2 bit of r0722 is selected. Check the active CDS index (P0810/P0811) - editing the wrong CDS leaves the wired CDS untouched.
DI2 toggles, r0051 changes, but the ramp slope does not change P1120[1] / P1121[1] were never set, or were set in CDS instead of DDS Open the expert list, select the DDS-1 index, and write the new values. Confirm "Drive data set 1" is enabled in the configuration editor and is not greyed out.
DI2 toggles and slope changes, but the change is lost after power cycle RAM was written but ROM was not updated In STARTER: Drive → Copy RAM to ROM. In Startdrive: Online → Save to memory card if ROM is on the SD card. Re-power and verify.
Drive faults F1 (overcurrent) when DI2 selects the fast ramp Second slope exceeds the motor's permissible acceleration Lengthen P1120[1] or activate the current-limit ramp (P1401.1) to limit torque during the transition.
Drive faults F2 (DC-link overvoltage) when DI2 selects the fast ramp-down Deceleration energy exceeds brake resistor dissipation Enable brake chopper (P1240 = 0 default, confirm), size the resistor, or lengthen P1121[1]. Check r0949 for the exact sub-fault value.
DI2 has no effect because a default assignment overrode the BICO DI2 was assigned to a standard function (for example, ON/OFF1) that takes priority over the BICO input on P0820 Clear the standard assignment and confirm DI2 status in r0722.2 is changing with the field wiring before re-running the BICO configuration.
Drive reports "Data set not enabled" or fault F07985 DDS 1 was never enabled in the configuration Open the drive-data-set editor, tick DDS 1, save the project, and load to the drive. Clear the fault with the acknowledge input or via r0009 = 0 (depending on firmware).
Second slope triggers F30001 / F30002 during the transition Section change occurs in the middle of a running ramp; the drive's section model is re-initialized Hold the setpoint at a fixed value for one cycle before toggling DI2, or change DDS only when the drive is at standstill.

Commissioning Checklist

  • CU240E-2 firmware version confirmed ≥ 4.4 (read r0018 or check the SD card).
  • Motor commissioning complete (P1900 = 1; P1910 = 1 for rotating measurement if the application allows).
  • DDS 1 enabled in the drive-data-set editor; the DDS bit appears in r0051 when toggled.
  • P0820[0] BICO-connected to the chosen DI bit of r0722.
  • P1120[0] and P1121[0] set to the default profile.
  • P1120[1] and P1121[1] set to the second profile.
  • Optional: P1130[0..1], P1131[0..1], P1132[0..1], P1133[0..1] rounding configured for both slopes.
  • Online trace of P1120, r0051, and the relevant r0722 bit captured during the DI transition.
  • RAM-to-ROM copy completed.
  • Power-cycle test: both slopes persist after the 24 V supply is removed and restored.

FAQ

Why are my second ramp values ignored even after I change P1120?

You are writing the value into the wrong index. P1120 is indexed by Drive Data Set (DDS), not Command Data Set (CDS). Set P1120[1] for the DDS-1 slope, load to the drive, and copy RAM to ROM. Verify the active DDS with r0051.

Can I use a standard digital input on the CU240E-2 to switch between two ramp profiles?

Yes. Wire DI2 (or any free DI) into P0820[0] via BICO. Select the corresponding bit of r0722 as the source - for DI2 use the DI2 bit, for DI3 use the DI3 bit. DI low selects DDS 0, DI high selects DDS 1.

What is the difference between CDS and DDS on a G120?

CDS swaps control sources and setpoint sources (BICO interconnects). DDS swaps motor-side data and ramp-side data. Ramp times live in DDS. Switching CDS will not change the ramp; switching DDS will.

How do I keep the second ramp after a power cycle?

After loading the project to the drive, perform a RAM-to-ROM copy (Drive → Copy RAM to ROM in STARTER; Save to memory card in Startdrive). The values are then stored in the non-volatile memory of the CU240E-2 and survive a power cycle.

Can I use the PROFINET telegram to select the DDS instead of a digital input?

Yes. Configure a free telegram (P0922 = 999) or a manufacturer-specific telegram (such as 350 / 352 / 353 / 354), route the DDS bit from the PLC to a free receive-word bit, and BICO-connect P0820[0] to that bit. The SINA_SPEED function block exposes a DDS_Out word that simplifies the wiring.

How many DDS can the CU240E-2 hold?

The CU240E-2 supports up to 3 drive data sets (DDS 0, DDS 1, DDS 2). Selection uses a 3-bit code on P0820 / P0821 / P0822. If the application needs more than three slopes, switch to runtime RFG scaling using a BICO scaler on the ramp time.

Back to blog