SINAMICS V20 Digital Outputs: Source Selection and Fault Response

David Krause11 min read
SiemensTechnical ReferenceVFD / 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

SINAMICS V20 Digital Output Hardware Overview

The SINAMICS V20 is a compact, basic-class frequency inverter from Siemens available in 230 V 1AC and 400 V 3AC supply variants from 0.12 kW to 30 kW. Although Siemens markets the V20 as a “basic inverter,” the digital I/O structure is fully parameter-driven and supports status-word bit routing, BICO interconnects, and application-defined fault reactions through the standard parameter set.

Two physical digital outputs are provided on the control board:

  • DO1 — Transistor output (open-collector / source-style 24 V output stage referenced to terminal 14 common)
  • DO2 — Relay output (changeover / SPDT contact, terminals 18-19-20)

The hardware distinction matters: DO1 is suitable for low-power signal-level tasks (driving a PLC input, LED indicator, or low-current 24 V load), while DO2 with its dry contact is intended for switching auxiliary circuits such as contactors, brake releases, or annunciator relays. The selection of the logical source driving each output is independent of the hardware type and is governed by parameters P0731 (DO1) and P0732 (DO2).

DO1 and DO2 Terminal Identification and Electrical Ratings

Output Terminals Type Voltage Rating Current Rating
DO1 14 (common), 15 (output) Transistor, 24 V source 24 V DC (powered by internal 24 V rail or external) Typically up to 100 mA signal current
DO2 18 (NO), 19 (COM), 20 (NC) Relay SPDT, dry contact 250 V AC / 30 V DC max 2 A resistive / inductive derated
Wiring note: The 10 V reference output on the V20 control board must not be back-fed into DO1. For indicator-LED testing, use an external pull-up or pull-down resistor to terminal 15 referencing a stable 24 V or 0 V rail as appropriate for the chosen logic polarity.

Output Source Selection Parameters P0731 and P0732

The parameter list in the SINAMICS V20 Operating Instructions defines P0731 as “Selection of digital output 1 source” and P0732 as “Selection of digital output 2 source.” The accepted values are BICO-style indices pointing to a bit of a status word, comparator output, or logic-gate output.

Factory defaults shipped from Siemens:

  • P0731 = 52.3 — DO1 reflects bit 3 of status word 1 (r0052.3 = “Inverter fault active”)
  • P0732 = 52.7 — DO2 reflects bit 7 of status word 1 (r0052.7 = “Inverter warning active”)

To re-route a digital output, the parameter is written using the BICO form ww.xx, where ww is the parameter number of the source word (for example 52, 53, 3113) and xx is the bit index (0–15) within that word. The V20 BOP (Basic Operator Panel) and the SINAMICS V20 Smart Access Web Server both accept this compound value.

Status Word 1 (r0052) Bit Mapping

Status word 1, parameter r0052, is the primary assignment pool for digital output source selection. The first 16 bits (r0052.0 through r0052.15) each represent a discrete operating condition. The most commonly used bits for external signalling are listed below.

Bit r0052 Index Meaning Typical Application
0 r0052.0 Inverter ready Enables upstream contactor, indicates DC bus charged and no inhibit
1 r0052.1 Inverter ready to run Indicates run enable without active fault
2 r0052.2 Inverter running Reflects active output stage, useful as “run” signal to PLC
3 r0052.3 Inverter fault active Default DO1 source, fault annunciation
4 r0052.4 OFF2 active Coast-stop requested
5 r0052.5 OFF3 active Quick-stop ramp requested
6 r0052.6 Switch-on inhibit active Signals safe state before re-start
7 r0052.7 Inverter warning active Default DO2 source, pre-fault annunciation
8 r0052.8 Deviation setpoint/actual PI error exceeded, useful for process alarms
9 r0052.9 Process control active (PID) Confirms PID regulator engaged
10 r0052.10 Maximum frequency reached End-of-ramp signal
11 r0052.11 Motor current limit reached Torque / current limit, useful for mechanical jam detection
13 r0052.13 Motor overload alarm Maps to I²t model; useful for thermal pre-warning
14 r0052.14 Motor runs in reverse direction Direction confirmation to PLC
15 r0052.15 DC link undervoltage alarm Power-quality pre-warning

Status Word 2 (r0053) Bit Mapping

Status word 2 (r0053) carries the drive-internal control flags and is equally valid as a digital output source.

Bit r0053 Index Meaning
0 r0053.0 DC brake active
1 r0053.1 Output frequency > P2167 (frequency threshold f1)
2 r0053.2 Output frequency ≤ P1080 (minimum frequency)
3 r0053.3 Output frequency > setpoint
4 r0053.4 Output frequency ≤ P2155 (frequency threshold f2)
5 r0053.5 |Output frequency| ≤ P2161 (off-frequency hysteresis)
6 r0053.6 Output frequency ≥ P2155 (frequency threshold f2)
7 r0053.7 Actual speed < setpoint speed
8 r0053.8 |Actual speed| > P2161
9 r0053.9 |Actual speed| ≥ P1082 (max frequency)

When using frequency or speed comparisons, verify the relevant threshold parameters (P1080, P1082, P2155, P2161, P2167) are populated to expected values, otherwise the bit remains at a fixed logic level.

BICO and Logic-Gate Source Options

Apart from raw status-word bits, the V20 supports a small library of internal logic resources. Each can be addressed by its parameter number and bit index and assigned to P0731 / P0732 just like a status word.

  • r2811 — Output of AND gate 1
  • r2812 — Output of AND gate 2
  • r2813 — Output of AND gate 3
  • r2814 — Output of OR gate 1
  • r2815 — Output of OR gate 2
  • r2816 — Output of OR gate 3
  • r2817 — Output of XOR gate 1
  • r2818 — Output of XOR gate 2
  • r2819 — Output of NOT gate 1
  • r2820 — Output of NOT gate 2

These gates are the building blocks for composite conditions such as “run AND above frequency threshold” or “fault OR warning.” The gate inputs are configured with P2810[0..1] for AND1, P2820-style input mappings, and so on. Use r2811 as a runtime probe to verify AND-gate logic while commissioning.

Configuring DO1 to Trigger on Modbus Communication Loss

A common use case is to release a digital output when the upstream Modbus master drops the bus, allowing the drive to fall back to a hard-wired safety state. The V20 exposes a watchdog fault (F72 / fault code 72) generated after a Modbus telegram timeout configured through P2040 and P2041.

  1. Set P2040 = time in ms for telegram timeout (for example 1000 ms).
  2. Set P2041 = 0 (Modbus) or 2 (USS on RS485) as the relevant fieldbus profile.
  3. Confirm the default mapping: fault 72 is raised and routes through the standard fault reaction path.
  4. Assign P0731 to 52.3 (the default) so that DO1 goes low (energized-relaxed) the moment the fault becomes active.
  5. If the default reaction is too aggressive, override the reaction with P2101[x] = 0 (no reaction) and use only the DO as an indicator, leaving the drive to continue from last setpoint.

Verify by physically disconnecting the RS485 cable; DO1 should change state within the P2040 timeout window. The transistor on DO1 inverts with fault logic: drive OK = HIGH, fault active = LOW (or vice versa depending on internal pull-up configuration of the control board variant).

Motor Cable Fault Detection on the V20

The V20 does not provide a dedicated “output phase loss” bit in the same way that higher-tier SINAMICS platforms do. The following bits are the closest available signals and can be routed to DO1 or DO2:

BICO Source Meaning Use Case
3113.01 Power line failure (input phase loss) Detects incoming supply phase loss, not motor cable
52.11 Motor current limit reached Indirect: cable break may produce a no-load condition with low current; however this bit also triggers in normal current-limit operation, so it is not a reliable cable-fault signal
52.13 Motor overload alarm Reflects I²t heating, not cable continuity
52.15 DC link undervoltage alarm May trigger on motor-side short-to-ground depending on fault magnitude; not a primary cable-loss indicator
Field-tested caveat: Attempting to assign 52.11 or 52.15 to P0731 to detect a broken motor conductor does not produce a reliable trigger. The recommended approach is to use an external line-monitoring relay (for example a 3-phase monitoring relay with phase-sequence and phase-loss detection) wired into DO2 upstream, or to upgrade to a SINAMICS V90/G120 drive class where output-phase-loss is a discrete fault.

Fault Number and Reaction Configuration (P2100 / P2101)

The V20 supports user-defined fault numbers in the range of P2100, with the response behaviour defined in P2101 at the same index. To override the default reaction of any fault code:

  1. Set P2100[0] to the fault number whose reaction is to be changed (for example 72 for Modbus timeout, 1 for inverter overtemperature, 2 for overcurrent).
  2. Set P2101[0] to one of the reaction codes: 0 = no reaction, 1 = OFF1 (ramp stop), 2 = OFF2 (coast), 3 = OFF3 (quick-stop ramp).

Multiple fault/reaction pairs may be entered by extending the indices: P2100[0] / P2101[0] through P2100[4] / P2101[4] depending on firmware revision.

Ramp Stop Methods: OFF1, OFF2, OFF3

Reaction Behaviour Deceleration Source Notes
OFF1 Ramp to stop along configured ramp-down P1121 (ramp-down time) Default run-cancel behaviour; mechanical energy returned to DC bus may trigger overvoltage if P1121 is too short
OFF2 Coast to stop; output stage disabled immediately None (motor inertia alone) Fastest removal of drive output; appropriate for E-stop or jam conditions
OFF3 Quick-stop ramp to standstill P1135 (OFF3 ramp-down time) Independent of P1121; set P1135 shorter than P1121 to use as fast E-stop ramp

For machinery where an immediate DO-triggered stop on Modbus loss could damage the product (the source author’s specific concern), set the corresponding P2101 reaction to OFF1 or OFF3 so the ramp times govern the stop, not an abrupt OFF2. Use the digital output only as a status annunciator in that scenario.

Complete Parameter Reference

Parameter Access Default Function
P0731 R/W 52.3 Source of digital output 1 (DO1, transistor)
P0732 R/W 52.7 Source of digital output 2 (DO2, relay)
r0052 RO Status word 1 (16 bits)
r0053 RO Status word 2 (16 bits)
r2811–r2820 RO Outputs of AND/OR/XOR/NOT gates
P2100[0..4] R/W 0 Fault number to configure
P2101[0..4] R/W 0 Reaction code: 0=none, 1=OFF1, 2=OFF2, 3=OFF3
P1121 R/W 10 s OFF1 ramp-down time
P1135 R/W 5 s OFF3 ramp-down time
P2040 R/W 1000 ms Fieldbus telegram failure time
P2041 R/W 0 Fieldbus protocol selection (0=Modbus, 2=USS)
P1080 R/W 0 Hz Minimum frequency
P1082 R/W 50 Hz Maximum frequency
P2155 R/W 30 Hz Frequency threshold f2
P2161 R/W 3 Hz Off-frequency hysteresis
P2167 R/W 30 Hz Frequency threshold f1

Commissioning and Verification Procedure

  1. Read the active state of the digital output by monitoring r0052 in its entirety on the BOP (navigate to r0052 and use the bit-toggle key to view bits 0–15).
  2. Identify the bit representing the desired event (for example r0052.0 = drive ready, r0052.3 = fault active).
  3. Write the BICO value ww.xx (for example 52.0) to P0731 or P0732, where ww is the status word parameter and xx is the bit index.
  4. Force the event locally: trigger a fault by writing P2100[0] = 1 and P2101[0] = 2, or remove a digital input wiring to simulate run inhibit.
  5. Measure the output terminal voltage with a multimeter: DO1 should swing between 0 V and 24 V DC; DO2 contact should open or close per the source bit.
  6. Reset all test entries before returning the drive to production service: zero out P2100 / P2101 test entries, restore P0731 / P0732 to their final assigned values, and perform a save (set P0010 = 30, then P0971 = 1 to write to non-volatile).

Troubleshooting Matrix

Symptom Likely Cause Action
DO1 does not change when Modbus cable is pulled P0731 has been reassigned away from 52.3, or P2040 is set higher than expected Restore P0731 = 52.3, reduce P2040 to 200–500 ms, retry
DO2 energises continuously at power-up P0732 source bit is 0 at boot (for example 52.7 = no warning present, default logic HIGH) Confirm logic polarity expected by downstream load; assign 52.3 instead for fault-driven low
Drive immediately stops when DO1 triggers P2101 reaction for the driving fault is set to OFF2 (coast) Change P2101 = 1 (OFF1) or 3 (OFF3) to obtain a controlled stop
Status word bit does not reflect process event Threshold parameter (P2155, P2161, P2167) is at default and not aligned to the application frequency Adjust P2155, P2161, P2167 to the application-relevant frequencies
BICO gate output does not transition Inputs of the AND/OR gate not assigned Assign P2810[0]/P2810[1] for AND1 inputs; verify r2811 with a forcing input
Motor cable break not detected on any DO V20 firmware does not expose a discrete output-phase-loss bit Add an external phase-monitoring relay or migrate to SINAMICS G120 class for native detection

What is the difference between DO1 and DO2 on a SINAMICS V20?

DO1 is a 24 V transistor output (terminals 14–15) suited for low-current signalling. DO2 is a volt-free relay contact (terminals 18-19-20 SPDT, 250 V AC / 30 V DC, 2 A) suited for switching auxiliary loads such as contactors. Both are configured in software via P0731 and P0732 respectively.

How do I assign a status word bit to a digital output?

Write the BICO index ww.xx to P0731 (DO1) or P0732 (DO2). For example, to make DO1 energise when the drive is in a fault state, set P0731 = 52.3, which maps to bit 3 of status word 1 (r0052.3, “Inverter fault active”). Status word 1 (r0052) and status word 2 (r0053) are the two main assignment pools.

Can the V20 indicate a Modbus communication loss on a digital output?

Yes. Set P2040 to the desired telegram timeout (typical 200–1000 ms) and leave P0731 at the default value of 52.3 so DO1 toggles when fault code 72 becomes active. If the default reaction causes an abrupt stop, override it with P2100 / P2101 to assign reaction code 0 (no reaction) or 1 (OFF1 ramp stop) to that fault.

Why does assigning 52.11 or 52.15 not detect a broken motor cable?

The bits 52.11 (current limit) and 52.15 (DC link undervoltage alarm) are not dedicated output-phase-loss indicators on the V20. They trigger on many normal operating conditions and cannot reliably discriminate a broken motor conductor. Use an external phase-monitoring relay or a higher-tier SINAMICS drive for true motor-cable fault detection.

How do I change the stop behaviour when a fault occurs?

Set P2100[0] to the fault number whose reaction is to be changed (for example 1 for inverter overtemperature) and set P2101[0] to 1 for OFF1 ramp (uses P1121), 2 for OFF2 coast, or 3 for OFF3 quick ramp (uses P1135). Save the change with P0971 = 1 to retain it across power cycles.

Back to blog