SINAMICS G120C Free Function Blocks: Firmware, Parameter Access, and Configuration
The SINAMICS G120C supports onboard logical, timing, and arithmetic operations through its Free Function Blocks (FFB) firmware feature. Unlike the SINAMICS S120, G130/G150, or G150P platforms, the G120C does not support Drive Control Chart (DCC); instead, all closed-loop, sequencing, and Boolean logic functions are executed by FFBs that are part of the standard firmware and parameter space. This article resolves the most common field complaint — "I cannot find the function blocks, urgently need a timer" — by walking through firmware requirements, part-number identification, parameter mapping, expert-list configuration, and runtime diagnostics for the G120C PN (6SL3210-1KE11-8UF2) and adjacent variants.
p20138, the cause is almost always (1) a firmware level below V4.7 SP6, or (2) the project is offline without the parameter filter expanded.1. Problem Statement
An integrator configures a SINAMICS G120C PN (article number 6SL3210-1KE11-8UF2) and attempts to use an on-delay timer or a Boolean network inside the drive. The expected parameters (for example p20138, the run-time group selector, or the AND/OR block instance parameters) are not visible in the STARTER/Startdrive parameter list, and the FFB editor is not present. The drive ships with firmware V4.7.06.04 and STARTER was installed without the optional components.
The user's underlying need is to deploy simple on-board automation — pump staging, valve sequencing, fault latching, watchdog timing, or analog conditioning — without adding a SIMATIC PLC to the line.
2. Affected Products and Part-Number Decoding
The article number 6SL3210-1KE11-8UF2 decodes as follows:
| Field | Value | Meaning |
|---|---|---|
| 6SL3210 | SINAMICS G120C series | Compact converter family |
| 1KE | Frame size FSA / FSB | 0.55 kW – 18.5 kW class |
| 11-8 | Output rating | 1.8 A / 0.75 kW (230 V 3AC) or 1.8 A / 0.55 kW (400 V 3AC) |
| UF2 | PROFINET variant, V4.7 firmware | PN interface, firmware 4.7 base |
The "UF2" suffix confirms a PROFINET interface and the V4.7 firmware generation. FFBs were introduced in this generation but only became fully functional with hotfix V4.7 SP6. Earlier V4.7.x builds (V4.7.0 through V4.7.5) expose only a partial FFB set, and V4.7.6 (SP6) is the first release in which the full block catalog — including timers, RSR/DFR flip-flops, and the integrator — is present.
3. Reading the Internal Firmware Version
The G120C stores the firmware version as an integer in parameter r0018. Decode the value as follows:
| r0018 Value | Firmware Release |
|---|---|
| 4700000 | V4.7.0 (initial 4.7 release) |
| 4705000 | V4.7.5 |
| 4706000 | V4.7 SP6 (base) |
| 4708318 | V4.7 SP6 HF4 (latest in this branch) |
Procedure: with the drive online in STARTER or Startdrive, navigate to Online → Accessible nodes, connect to the G120C, expand Drive unit → CU → Parameter list, and inspect r0018. The hex/binary representation corresponds to a Siemens internal version map; the decoder table above covers the V4.7 branch. If the value is below 4 706 000, FFB availability is limited or absent and the unit must be flashed to V4.7 SP6 or later.
4. Firmware Update Path to V4.7 SP6
- Download the latest SINAMICS G120C V4.7 SP6 firmware ZIP from the Siemens support portal entry 109482659.
- Extract the archive to a known folder. Inside, locate the file
SINAMICS_G120C_04700600.bin(or higher HF build). - Connect the G120C PN to the engineering PG via PROFINET or the mini-USB service port (use a SIMATIC USB cable, e.g. 6SL3555-0PA00-0AA0, with the drive powered).
- In STARTER: Online → Accessible nodes → select drive → Right-click → Target system → Load firmware to drive → confirm the After loading, perform RAM-to-ROM box.
- Wait for automatic restart. Verify
r0018≥ 4 706 000. - Cycle drive power to flush any cached FFB run-time groups.
5. Free Function Block Catalog
The full FFB catalog is documented in the Siemens FAQ 85168215 and the attached FFB PDF. Categories available on the G120C with V4.7 SP6:
| Category | Blocks | Function |
|---|---|---|
| Logic | AND (0–3), OR (0–3), XOR (0–3), NOT (0–5), NAND, NOR | Boolean operations on connectors and digital inputs |
| Flip-flops | RSR (RS), DFR (D), PDE/PDN (positive/negative edge) | Latching, edge detection |
| Timers | MFP (pulse generator), PCL (pulse shortening), PDE (on-delay), PDF (off-delay), PST (pulse-stretcher) | Time-based sequencing |
| Comparators | CMP0, CMP1, CMP2 | Compare two analog/digital connectors with hysteresis |
| Math | ADD (0–1), SUB, MUL, DIV, AVA (abs+smooth), SQR, SQRT, LIM, NCI (sign changer) | Arithmetic on double-word connectors |
| Switching | MUX (analog & binary), BSW (binary switch) | Channel selection |
| Signal conditioning | PT1 (PT1 low-pass), INT (integrator), DIF (differentiator) | Analog shaping |
| Storage | NSW (numeric save), BSW (binary save) | Save and recall values |
Each block is parameter-based: enabling a block, wiring its inputs and outputs, and configuring the time constants are all done by writing to parameters. There is no graphical editor, no compiled code, and no download to a separate FFB runtime — the firmware interpreter reads the parameter set every cycle.
6. Parameter Numbering and Run-Time Groups
FFB parameters live in the high range, typically p20100 through p20299. The structure follows this convention:
-
Block instance parameters — e.g.
p20138identifies a specific block instance (input configuration) and a matching output parameter inr20138. - Block enable — most blocks are enabled by writing 1 to a dedicated run-time group bit.
-
Run-time groups — parameters
p20116top20119assign each block to one of four available groups. Each group runs at a configurable sampling time (p20115field); the firmware executes group 0 at the highest rate (current-controller / 125 µs on most G120C variants) and groups 1–3 at lower rates suitable for sequencing and slow logic. -
Time-base parameter —
p20115sets the base sampling interval for the run-time groups; verify the value is consistent with the expected timer resolution.
7. STARTER Configuration Procedure
STARTER is the older commissioning tool (TSAP S7ONLINE) and is appropriate for all V4.7 firmware branches. STARTER has no dedicated FFB GUI; configuration is performed via the expert parameter list.
- Open STARTER and connect to the G120C. Bring the project online.
- Right-click the drive unit → Expert list.
- Change the filter to All parameters and switch the view to Expert (top toolbar). The expert list shows the full V4.7 SP6 parameter space.
- Navigate to the FFB block you want to wire (for example the on-delay timer block, parameter range
p20130–p20149depending on block). - Configure input connectors by writing the parameter number of the source signal into the block's input fields. Connectors are signalled by their parameter number; the firmware resolves cross-references at runtime.
- Set the time constant parameter (e.g.
p20148for the timer) in milliseconds. - Assign the block to a run-time group via
p20116top20119; for sequencing, group 1 (4 ms typical) is a good compromise. - Save RAM to ROM on the drive and copy the parameters back to the PG (Load to PG/PC) so the offline project matches the drive.
8. Startdrive Configuration Procedure
Startdrive (TIA Portal add-in) is the modern commissioning tool and supports FFB configuration from V15 onward. It still resolves FFBs to the underlying parameter set, but presents them in a flatter hierarchy.
- Open the TIA Portal project, expand the G120C device, and go online.
- Open Parameters → All parameters and set the filter to Show all.
- Group filters by Function; the Free function blocks group shows the available blocks.
- Right-click the desired block → Configure. Startdrive writes the correct input connector, run-time group, and timing parameters for you.
- For visualization, use Watch table to read the corresponding
r…result parameter in real time.
9. Worked Example: On-Delay Timer Wiring
The most common FFB ask is "I urgently need a timer". The on-delay block (PDE) is enabled as follows. Connector numbers and parameter indices below follow the V4.7 SP6 FFB manual; verify each against the live r0018 version:
- Pick a Boolean source (for example, drive state Run from
r0899.2). This is the trigger input. - Locate the PDE block's input connector parameter (e.g.
p20140[0]) and write the parameter number of the source: 899.2 means0899.2; the firmware treats this as the digital state of bit 2 ofr0899. - Set the time constant in
p20148[0]in milliseconds. For a 5-second delay, enter 5000. - Assign the run-time group via
p20116[0]; for sequencer use, group 1 is recommended. - Wire the output connector (
r20140[0]) to the desired target, for example the run enable of a free technology function or a status word bit exposed over PROFINET. - Set the run-time group time base via
p20115[0]for group 0 and analogous indices for groups 1–3. - Save to ROM and verify by monitoring the output bit in Startdrive's Signal monitor or by writing the output to a free PZD word on PROFINET.
p20115) is the first place to check. A time base set higher than the desired resolution suppresses the trigger event. Also confirm that the input connector is the parameter number of the source (e.g. 899.2), not the descriptive name.10. Diagnostic and Runtime Parameters
Each FFB instance has a matching result parameter in the r range. When troubleshooting, watch:
-
r0018— internal firmware version (decode per Section 3). -
r20138/ analogousr…outputs — the live Boolean or analog result of the wired block. -
r20115and run-time group counters — indicate that the firmware is actually executing the block group at the configured interval. -
r0947/r2124— fault and alarm codes. A mis-wired FFB may raise F08501 (signal source invalid) or simply not produce output without alarming. -
r9798— safety of the parameter checksum; an FFB parameter change forces a new checksum on the next save.
11. Verification Procedure
- Confirm firmware:
r0018≥ 4 706 000. - Open the expert parameter list and confirm presence of
p20138(or the specific block parameter for the desired function). If absent, the project is offline or the parameter filter is hiding expert parameters. - Save parameter set to the PG, save to ROM on the drive, and power-cycle the drive.
- Force the input connector (e.g. via a digital input or a free PZD bit) and observe the output parameter in Startdrive's Signal monitor.
- Toggle the time constant and run-time group time base to confirm dynamic response matches the design intent.
- Record the project archive with the matching firmware version. Siemens support explicitly asks for project archive + firmware version + r0018 when escalating FFB tickets.
12. Troubleshooting Matrix
| Symptom | Most Likely Cause | Corrective Action |
|---|---|---|
| FFB parameters invisible in STARTER expert list | Project is offline, or filter set to Standard | Go online, set filter to All parameters |
| FFB parameters invisible online | Firmware below V4.7 SP6 | Flash to V4.7 SP6 HF4 via the 109482659 package |
| DCC editor requested but missing | DCC is not supported on G120/G120C | Use FFB instead; do not attempt to install DCC |
| Output never changes state | Wrong connector number, or run-time group time base too coarse | Verify source parameter number; reduce p20115 time base |
| FFB blocks disappear after firmware downgrade | V4.7 base lacks the full FFB set | Restore V4.7 SP6 from parameter backup; do not downgrade |
| Timer constant ignored | Time written to wrong instance index or to an r parameter | Confirm the p parameter, not the r parameter |
| PROFINET output not updating | Output connector not mapped to a PZD word | Map the FFB r… to a free PZD slot in the telegram configuration |
13. Field-Proven Caveats
- No DCC, no CFC, no licensing. FFBs are part of the standard firmware. The CFC option referenced in the source thread relates to SIMATIC PLC CFC, not to the drive — do not install CFC to "get" the FFBs.
- STARTER and Startdrive behave differently. In STARTER the FFB parameters are reached via the expert list only; in Startdrive a guided wizard is available from V15.1 onwards. Engineers familiar with DCC will initially look for a block diagram — there is none for FFB; configuration is purely parametric.
- Run-time group time base. For pump staging or sequencing tasks, set group 1 to 4 ms; group 2 to 16 ms. Faster groups consume CPU and may conflict with closed-loop performance; slower groups may miss fast triggers.
- ROM save required. FFB parameter changes are volatile until a RAM-to-ROM save is executed and the drive power is cycled.
- SINAMICS G120X note. The G120X supports the same FFB concept and exposes them through the Smart Access Module (SAM) web server — useful for field service tablets. The G120C lacks the SAM web interface, so use STARTER/Startdrive.
What firmware does the G120C need for Free Function Blocks?
SINAMICS G120C firmware V4.7 SP6 (r0018 ≥ 4 706 000) or higher, with V4.7 SP6 HF4 (r0018 = 4 708 318) being the latest at the time of writing. Earlier V4.7 builds expose only a partial block set.
How do I read the firmware version of a G120C?
Connect online in STARTER or Startdrive and read parameter r0018. The integer value decodes the firmware branch and hotfix; the table in Section 3 of this article covers the V4.7 branch.
Do Free Function Blocks require DCC or CFC?
No. FFBs are part of the standard G120C firmware and are configured purely by parameters. DCC is not supported on G120/G120C, and CFC is a SIMATIC PLC technology — installing it does not enable FFBs.
Why are FFB parameters missing in STARTER?
Three reasons, in order of frequency: (1) the project is offline, (2) the parameter filter is set to Standard rather than All, (3) the drive firmware is below V4.7 SP6. Go online, change the filter, and verify r0018.
Can I configure a timer in the G120C without a PLC?
Yes. Use the on-delay (PDE) or pulse-generator (MFP) FFB blocks available since V4.7 SP6. Configure the input connector to a Boolean source, set the time constant in milliseconds, assign a run-time group, and wire the output to a free PROFINET PZD bit or a digital output.