SINAMICS S120 Holding Brake Control via SIMOTION C240 PROFIBUS

David Krause13 min read
Motion ControlSiemensTutorial / 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

Problem Statement: Crane Hoist Brake with Safety Gate

On a crane hoist application, a 1FT7068-5AF70-ABB0 Siemens synchronous servo motor with an integrated 24 V DC permanent-magnet holding brake is commanded by a SIMOTION C240 motion controller via PROFIBUS DP through a SINAMICS S120 Control Unit (CU320DP) and an 18 A single-axis Motor Module (6SL3120-2TE21-8AA3). The motor drives a hoist that lowers packaged tiles to operators on the shop floor. A safety gate must prevent a load from being lowered onto personnel, which means the holding brake must close (engage) immediately whenever the gate is opened, and remain released (lifted) only when the gate is closed and the drive is actively controlled.

The user-observed issue is that the brake logic is not defined yet, and the project is mid-commissioning. The brake, by Siemens design, is not controlled directly by SIMOTION application code. Instead, the SINAMICS S120 controls the brake using its internal sequence control, and SIMOTION exchanges brake-relevant commands through the PROFIBUS telegram. A free digital input on the CU320, DI3 (terminal X122.4), is wired to the safety gate contact and must be used as part of the brake release / close decision through BICO interconnection.

Safety note: Crane hoist applications are subject to machinery safety standards. Before deploying the configuration below, evaluate whether Safe Brake Control (SBC), Safe Stop 1 (SS1), and Safe Torque Off (STO) under SINAMICS Safety Integrated are required for the SIL/PL rating of the safety gate. Mechanical fall-back on the gearbox or hoist drum is normally mandatory in addition to any electrical brake.

System Overview and Hardware Architecture

The drive topology is a classic SIMOTION-over-PROFIBUS architecture with the SINAMICS S120 as the intelligent drive periphery.

Component Part Number Role
SIMOTION C240 PN/DP controller 6AU1240-1AA00-0AA0 family PLC and motion controller, PROFIBUS DP master
SINAMICS S120 Control Unit 6SL3040-1MA00-0AA0 (CU320DP) Drive Control Unit; PROFIBUS DP slave; hosts drive objects
SINAMICS S120 Motor Module 6SL3120-2TE21-8AA3 Single-axis 18 A Motor Module; X1 = power, X202 = DRIVE-CLiQ
1FT7 synchronous servo motor 1FT7068-5AF70-ABB0 Hoist drive motor with integrated holding brake (variant ABB0)
Power cable 6FX5002-5DN31-1BK0 Motor power lead to Motor Module X1
Signal/encoder cable 6FX5002-2DC10-1BK0 DRIVE-CLiQ cable to Motor Module X202

The CU320DP hosts the SERVO drive object for the hoist axis. SIMOTION C240 sends motion setpoints and control words through PROFIBUS DP using a configurable Siemens telegram (commonly Telegram 105 for a 16-bit position interface, or Telegram 106 for the 32-bit position interface). The SINAMICS internal brake sequencer decides when the brake opens (during run-up) and closes (during stop or fault). The DI3 input on the CU320 can be wired into the brake logic through BICO without consuming any PROFIBUS telegram bandwidth.

Prerequisites

  1. SINAMICS S120 firmware compatible with the 6SL3120-2TE21-8AA3 Motor Module; install the matching Support Package in SIMOTION SCOUT (or in TIA Portal with Startdrive).
  2. Motor commissioned electronically: either enter the motor code (p0301) manually for the 1FT7068-5AF70-ABB0 or rely on the DRIVE-CLiQ electronic nameplate (preferred).
  3. PROFIBUS DP cable installed between SIMOTION C240 and CU320DP; both ends terminated; baud rate matched on the master and the slave (typically 1.5 Mbps or 12 Mbps).
  4. Safety gate contact wired to a free digital input on the CU320; here DI3 (X122.4) is used.
  5. Motor holding brake supply: confirm the ABB0 brake variant is the 24 V DC version and that the Motor Module provides the configured brake output (default on X1, sometimes via an external Brake Module on the cabinet).
  6. STARTER or SIMOTION SCOUT commissioning tool online to the CU320DP, with control authority granted.

SINAMICS Holding Brake Parameter Reference

Configure the motor holding brake under the SERVO drive object. The most relevant parameters and their typical use for a 1FT7 motor with integrated permanent-magnet brake are listed below.

Parameter Description Typical Value / Use
p1215[0] Motor holding brake configuration 1 = sequence control; 3 = sequence control with PROFIBUS control; 5 = sequence control with extended PROFIBUS control
p1216[0] Brake opening time (ms) Set from the motor data sheet; 1FT7 brakes are typically 300 – 600 ms
p1217[0] Brake closing time (ms) 100 – 300 ms typical
p1218[0] Speed threshold for release (rpm) ~30 rpm (drive speed must exceed this before the brake is fully released)
p1219[0] Speed threshold for close (rpm) 0 rpm (close at zero speed)
p1220[0] Standstill delay before closing (s) 0.1 – 1.0 s
p1224[0] BI: release motor holding brake BICO source - default internal drive enable
p1225[0] BI: close motor holding brake BICO source - default internal drive stop
p1278[0] Brake control evaluation Used with Safety Integrated / SBC
r0899.12 Status word: brake released Read back via BICO or status word in the PROFIBUS telegram
Important: Always verify p1216 and p1217 against the motor data sheet for the specific 1FT7068-5AF70-ABB0 variant. The brake opening time is the maximum interval between commanding release and the brake being fully lifted; during this interval the drive must develop enough torque to hold the suspended load. On a hoist, configure a torque-proving threshold (r0079) and pre-torque via p1517/p1525 to eliminate rollback.

Brake Configuration in SINAMICS (Step-by-Step)

  1. In SIMOTION SCOUT, open the project, navigate to the CU320DP and select the SERVO drive object for the hoist axis. Switch online with control authority.
  2. Open the configuration mask Drive > Functions > Brake Module / Motor Holding Brake (or Configuration > Drives > Brake Module depending on tooling). Confirm the holding brake function is enabled - this sets p1215[0] to 1 (sequence control) or 3 (with PROFIBUS command).
  3. Enter the opening time (p1216) and closing time (p1217) for the 1FT7068-5AF70-ABB0 brake from the motor data sheet.
  4. Configure the speed thresholds p1218 and p1219, and the standstill delay p1220. For a hoist, leave p1219 = 0 and increase p1220 so the drive comes fully to rest before the brake closes; this prevents brake wear and audible impact.
  5. Select the BICO source for the close command (p1225). For a safety-gate-driven close, interconnect p1225 to the inverted status of DI3 (see next section).
  6. Save the project to the ROM of the CU320DP so the parameters survive power-down.

Refer to the Siemens external-motor-holding-brake documentation for the canonical parameter mask and the meaning of each field:

TIA Siemens Cloud: External motor holding brake - F-TM Servo Drive HF

BICO Wiring for DI3 Safety Gate Integration

The DI3 input on the CU320DP is wired to the safety gate contact. CU320 terminal X122 has the following assignment relevant to this application:

Terminal Function Use
X122.1 DI0 Reserved / ON-OFF1
X122.2 DI1 Reserved / OFF2
X122.3 DI2 Reserved / acknowledge
X122.4 DI3 Safety gate feedback
X122.5 DI4 Spare
X122.6 / 7 / 8 DI5 / DI6 / DI7 Spare

The signal r723.3 reports the (non-inverted) status of DI3, and r723.0..7 are the bits of the DI0..DI7 word. To close the brake when the gate is open (DI3 = HIGH in this wiring) use the inverted input via r723.3 or via the inverter block p2024.x. The expert in the source thread recommends using the inverted status word bit (r723.3) for the closing command so that a HIGH level on DI3 - representing gate-open - forces the brake closed.

Use the Starter/Scout BICO editor to interconnect:

p1225[0]   = r723.3          // close brake on DI3 HIGH (gate open)
p0840[0]   = r722.0          // ON/OFF1 from drive enable (PROFIBUS STW1.0 OR'd with master enable)
p0852[0]   = 0               // enable operation from STW1.3 only
r723.0..7  = status of CU320 digital inputs

If the wiring polarity in the panel is reversed (gate-open = LOW), drop the inverter and use r723.3 directly with a downstream AND against the internal brake-close condition.

PROFIBUS Telegram Selection on CU320DP

Select the PROFIBUS telegram for the SERVO DO. Common choices for a hoist with position control:

Telegram Use Case Notes
1 Speed setpoint, 16-bit Smallest payload; not recommended for positioning
2 Speed setpoint, 32-bit Common in speed-controlled hoists
3 Speed + 16-bit position Mixed mode
5 Speed + 32-bit position with DSC High dynamic positioning
105 Positioning with 16-bit position actual value Recommended default for SIMOTION-to-SINAMICS positioning
106 Positioning with 32-bit position actual value Use when position range exceeds 16-bit
111 Positioning with 32-bit position, extended diagnostics Use when enhanced diagnostics are needed

Configure the telegram in two places: under the PROFIBUS slave properties on the CU320DP and under the SIMOTION axis configuration. SIMOTION uses the same telegram number for the receive/transmit slot length. After changing the telegram, download both sides of the PROFIBUS configuration.

With Telegram 105 the relevant control bits from SIMOTION to SINAMICS are:

Bit Name Effect
STW1.0 ON/OFF1 Ramps drive down when cleared; brake closes (per p1220 delay)
STW1.1 OFF2 Coast to stop; immediate pulse disable; brake closes immediately
STW1.2 OFF3 Fast stop; ramp per p1135; brake closes
STW1.3 Enable operation Permits torque-producing operation
STW1.7 Acknowledge fault Reset faults via rising edge

SIMOTION C240 Application Logic (MCC / LAD)

The MCC chart on the SIMOTION C240 commands the hoist axis and exchanges the STW1/ZSW1 bits over PROFIBUS. Below is the canonical ST code skeleton for the brake interlock on a safety gate. Adapt the variable names to the project's tag naming.

// MCC ST snippet - hoist axis with safety gate interlock
// Input:  bSafetyGateClosed : BOOL  ; TRUE when safety gate is closed
// Output: bAxisEnable        : BOOL  ; OR'd into STW1.0 / STW1.3 on PROFIBUS
//         bBrakeForceClose   : BOOL  ; pulsed to p1225 via DPV1 or kept in PLC

IF bSafetyGateClosed THEN
    bAxisEnable        := TRUE;     // permit ON/OFF1 and Enable operation
    bBrakeForceClose   := FALSE;    // SINAMICS internal sequencer manages release
ELSE
    bAxisEnable        := FALSE;    // OFF1 + drop enable -> drive ramps to zero -> brake closes
    bBrakeForceClose   := TRUE;     // belt-and-braces close via DI3 path
END_IF;

// Optional: torque proving before brake release
IF bAxisEnable AND (ABS(r_act_speed) > p1218_threshold) THEN
    bBrakeReleaseOK := TRUE;
END_IF;

The same logic can be expressed as ladder (LD) using a normally-closed contact on bSafetyGateClosed wired into the axis enable rung. The key point - confirmed by Siemens application engineering - is that SIMOTION does not toggle the brake output pin directly; it commands the drive state (enable / disable / stop), and SINAMICS closes the brake based on the resulting state plus the BICO-wired DI3 path.

Brake Timing for Hoist Load Holding (Anti-Rollback)

For hoisting applications the brake opening time is critical. During p1216 the drive must build torque before the mechanical brake fully releases, or the load will roll back. Configure a torque-proving step:

  1. At motion start, command ON/OFF1 (STW1.0 = 1) and Enable operation (STW1.3 = 1).
  2. Watch r0079 (torque actual value) and r0089 (sequence control status, bit 0 = brake released).
  3. Hold STW1.4 (reject ramp) or do not issue a positive speed setpoint until r0079 reaches p1525 (torque threshold for brake release).
  4. After p1216 has elapsed and r0899.12 = 1 (brake released), release the setpoint normally.

On stop, clear ON/OFF1 (STW1.0 = 0). The drive ramps down per p1121 (OFF1 ramp). When the speed reaches p1218 and after p1220 standstill, the SINAMICS closes the brake. The safety-gate path (DI3 HIGH) can short-circuit this sequence by interconnecting p1225 to the DI3 source, which closes the brake regardless of speed.

Gate ClosedDrive EnabledTorque ProvingBrake OpenBrake ClosedDI3 LOWTorque OKStop cmd

Task Lifecycle: Stop, Start, Resume SIMOTION Tasks

During commissioning, the user also wants to stop a SIMOTION task and resume it later. Use the standard MCC / ST system functions on the C240:

Function Effect
_startTask(taskId) Starts the named task; no effect if already running
_stopTask(taskId) Stops the named task; the task completes the current cycle and exits
_suspendTask(taskId) Pauses the task at the next call point; can be resumed
_resumeTask(taskId) Resumes a previously suspended task from its call point
_restartTask(taskId) Stops then restarts the task
_disableTask(taskId) Disables the task; it does not execute at all
_enableTask(taskId) Re-enables a disabled task

Use _suspendTask / _resumeTask only when you want to preserve the call-point state. For a hard commissioning interlock on the hoist axis, prefer _stopTask / _startTask because the suspended-task mechanism keeps the prior program state which can re-engage the drive unintentionally.

Commissioning Verification and Acceptance Test

  1. With the drive offline, verify the BICO wiring using the Starter/Scout signal chart on the Brake Module mask: toggle the simulator bit for DI3 and observe p1225 status, r0899.12 (brake released), and r0046.27.
  2. Power up the drive, enter the safety gate state with the gate closed, command ON/OFF1 from SIMOTION, and confirm in the Starter trace that the brake opens after p1216 and torque builds above p1525.
  3. With the gate closed, command a small lift (10 cm), then OFF1; confirm that the brake closes after p1220 and the load is held. No rollback should be visible on the position trace.
  4. Open the safety gate (DI3 HIGH). Confirm the drive is disabled (STW1.0 / STW1.3 reset) and the brake is closed. Attempting to start the drive from SIMOTION should be inhibited because the gate-closed condition is missing.
  5. Force a drive fault (e.g., by unplugging the encoder). Confirm the brake closes immediately via the fault path (OFF1 / OFF2 behaviour) and the load does not drop.
  6. Perform a load-hold endurance test: load the hoist to its rated mass, command hold, observe temperature rise on the brake (within motor data sheet limits) and current draw on the Motor Module.

Troubleshooting Matrix

Symptom Likely Cause Corrective Action
Brake never releases when ON/OFF1 = 1 p1224 not interconnected to internal drive enable (default) or p1215 = 0 Set p1215 = 1 or 3; confirm p1224 = internal
Brake never closes p1225 wired to internal drive enable; gate-open source missing Set p1225 = r723.3 (DI3 inverted status) or use a BICO OR with the safety gate signal
Brake closes but load rolls back Torque proving disabled or p1525 set too low Raise p1525 to ~80% of stall torque; add pre-torque via p1517
Brake chatters on stop p1220 too short or p1219 wrong sign Increase p1220; verify p1219 = 0
PROFIBUS fault F08501 on CU320 Telegram mismatch between SIMOTION and SINAMICS Match Telegram 105 / 106 on both sides; re-download HW config
DI3 status does not change in Starter trace 24 V missing at X122; wiring polarity reversed Verify 24 V at X122; check contact polarity; consult r723 bit
Brake warning A07931 Brake feedback missing or contactor fault Inspect Brake Module wiring; check p1215 bit field for brake feedback enable
SIMOTION task does not resume _resumeTask called on a non-suspended task Verify task state with _getStateOfTask before calling _resumeTask

Frequently Asked Questions

Does SIMOTION C240 directly control the motor holding brake output?

No. The SINAMICS S120 controls the holding brake via its internal sequence control (p1215, p1216, p1217, p1220). SIMOTION sends drive commands (ON/OFF1, OFF2, OFF3, enable operation) over PROFIBUS through Telegram 105 or 106, and the SINAMICS decides when to release or close the brake based on those commands, the drive state, and any BICO-wired inputs such as DI3 on the CU320.

Which PROFIBUS telegram should I select for a SINAMICS S120 SERVO controlled by SIMOTION?

Telegram 105 is the typical default for a 16-bit position interface with SIMOTION. Use Telegram 106 if you need 32-bit position actual values. Select the same telegram number on both the SINAMICS slave configuration (p0922) and the SIMOTION axis configuration; otherwise the drive raises F08501 and the PROFIBUS handshake fails.

How do I close the brake immediately when the safety gate opens?

Wire the safety gate contact to a free digital input on the CU320 (DI3 / X122.4 is typical). In Starter / SCOUT, open the BICO editor on the SERVO drive object and set p1225 (BI: close motor holding brake) to the inverted status bit of the input, r723.3 in this wiring. Also drop the ON/OFF1 (p0840 = DI3 source) so the drive ramps down simultaneously. If your application requires a SIL/PL-rated response, additionally enable SBC under SINAMICS Safety Integrated.

Why does the load roll back briefly when the brake releases?

The drive did not develop holding torque before the mechanical brake fully opened. Increase p1525 (torque threshold for brake release) to roughly 80% of the motor's stall torque and add a pre-torque via p1517 so the drive counteracts gravity before the brake air-gap closes. Also confirm p1216 (brake opening time) matches the value on the 1FT7068-5AF70-ABB0 motor data sheet.

What is the difference between _suspendTask and _stopTask on SIMOTION C240?

_stopTask terminates the current cycle and exits the task; the next call restarts the program from the first line. _suspendTask pauses the task at its next call point and keeps the program state, so _resumeTask continues from where it stopped. Use _stopTask/_startTask for a clean commissioning interlock on a hoist axis; use _suspendTask/_resumeTask only when you need to preserve local variable state.

Back to blog