Troubleshooting
Why an S7-1200 SB 1232 analog output stays at 0 V
Short answer
A dark DIAG LED, an output word that moves in the online view and a terminal fixed at 0.23 V mean the SB 1232 is not driving its channel. Set the channel to the ±10 V voltage output at the start address the program writes, run TIA Portal V11 SP2 Update 5 or later with CPU firmware V3.0.2 or later, power off and reseat the board, then run a half-scale test; if the LED stays dark, replace the 6ES7232-4HA30-0XB0.
On this page
A dark DIAG LED, an output word that moves in the online view and terminals sitting at a fixed 0.23 V mean one thing: the SB 1232 signal board is not driving its channel. The program, the CPU and the peripheral image are all alive; the converter on the board is not being written. Work the checks in order — output type and start address in device configuration, the supported software and firmware pairing, a power-off reseat, then a half-scale voltage test — and replace the 6ES7232-4HA30-0XB0 if the LED stays dark. The companion symptom reported on this board, a terminal parked near 16 V whatever you command, ends in the same decision.
What the board is documented to do #
Siemens documents the 6ES7232-4HA30-0XB0 as one analog output, 1 x 12 bit, for the ±10 V range, settling within 300 µs into a resistive load, drawing a typical 15 mA from the 5 V backplane bus and dissipating 1.5 W in a 38 × 62 × 21 mm, 40 g package. On that range the bipolar digital span runs from -27648 to +27648, which corresponds to -10 V to +10 V. Two consequences drive the whole diagnosis. A channel that is actually being driven follows its commanded value, and a driven command of zero reads essentially 0.000 V at the terminals. A fixed 0.23 V while the online value sweeps is not a commanded state; it is the residual of a converter nobody is updating.
Capture four facts before changing anything #
Measure these with the CPU in RUN and the program scanning; the reference case here is a 1214C AC/DC/RLY with the signal board plugged on its front:
- The online value at the output word, from a watch table. In this failure it swept with the input potentiometer, which proves the program was writing the peripheral image and the CPU was accepting it.
- The open-circuit terminal voltage. Remove the field wiring and measure DC directly on the board's output terminals: the failing board read 0 V DC across its 10 kΩ load resistor and 0.23 V DC open-circuit.
- The DIAG LED on the signal board itself. A healthy board lights it green once the channel is configured and the CPU is in RUN; dark from power-up with a downloaded, error-free configuration is the fault signature.
- The CPU's diagnostic buffer and maintenance LED. In this case the buffer held no events, the maintenance LED stayed off and the channel was set for voltage, so the software saw nothing wrong.
A board the software likes, with no buffer events and a dark channel LED, is exactly the case where the fault sits between the process image and the converter.
Rule out the software causes #
Open the signal board in the device view and confirm the channel is set to voltage, not current: a current-configured channel will never produce the volts you expect across a resistor, and it may not flag the mismatch. Confirm in the same properties that the output start address matches the address the program writes — QW80 in this case — and that nothing else claims it. Then search the project for every write to that address; a second MOVE each scan would overwrite your test value, though the sweeping online value here already proved a single write path.
Next bring the tool and the CPU to a supported pairing: TIA Portal V11 SP2 Update 5 or later with CPU firmware V3.0.2 or later. In the field case the combination was V11 SP2 Update 2 with firmware V3.0, which predates that pairing. Update TIA Portal, flash the CPU by the manufacturer's documented procedure, recompile the hardware, download it and return to RUN. A hardware-configuration download takes the CPU through STOP — the same stop transition explained in why an S7-1200 download in run demands a STOP transition — so plan the short outage.
De-energize, reseat, and run the dead-short test #
De-energize the CPU before inserting or removing the signal board; the board plugs onto the CPU's front connector, and inserting it live is itself a way to end up with a board that never communicates. Pull the board, inspect the connector pins under a magnifier, reinsert it fully, restore power, re-download the hardware configuration and run.
Then use the short-circuit diagnostic as a communication test. With short-circuit detection enabled in the channel properties, jumper the output terminal to the M terminal for a few seconds. A live channel reports the short in the diagnostic buffer and raises the maintenance LED. If a bolted short produces no event at all, the CPU and the board are not communicating, and no configuration change will fix that.
The half-scale test that closes the case #
With the channel set for the voltage range and the CPU in RUN, force a known command straight into the board's output word from a watch table and measure DC at the open terminals. Force 13824, exactly half of the 27648 full scale: 13824 / 27648 = 0.500, and 0.500 × 10 V = 5.000 V, so the meter must read 5.000 V, give or take a few millivolts. If you use 16384 instead, expect 5.93 V, because 16384 / 27648 = 0.5926 and 0.5926 × 10 V = 5.93 V — 16384 is half of a 16-bit scale, not half of this span. Then force zero and expect essentially 0.000 V, and full scale and expect the range maximum.
A driven channel lands on the commanded value. A meter that stays at the 0.23 V residual while the online view shows your forced number means the converter is not being written: replace the board, 6ES7232-4HA30-0XB0, like for like.
Sibling symptoms and the decisions #
Two sibling symptoms confirm the pattern. A current-side board that holds about 3 mA at any command is the same undriven converter on the current range, and that case is worked through in why an S7-1200 analog output reads 3 mA at any command. A terminal parked far outside any configured range — the reported 16 V case — is the same failure seen from the other side, because a healthy channel cannot produce a level beyond its range. One reported recovery for that stuck board: jumper the output, power-cycle the CPU with the jumper in place, remove the jumper and re-test; if the channel comes back, the board was latched, not broken.
The decisions:
- DIAG LED lights after the reseat and download: the fault was configuration or seating. Reconnect the field wiring and re-check under load.
- LED dark, forced value live in the online view, meter at the residual: replace the 6ES7232-4HA30-0XB0.
- No reaction to the dead-short test after a verified reseat: the board is not communicating; replace it.
- Terminal parked beyond the configured range and deaf to the command: try the jumper-and-power-cycle recovery once, then replace.
Questions asked
Is 16384 a full-scale value for this output?
No. 16384 is half of a 16-bit scale, not half of this output's nominal span, so it commands about 5.93 V. Half of the span is 13824, which must read 5 V at the terminals; full scale commands the range maximum. Use 13824 whenever you want a clean half-scale test value.
Can I keep the line running with a pulse output instead?
Only if the receiving device accepts pulses. The S7-1200's integrated outputs can generate PWM, and some drives take a pulse train as a speed reference, but most instrument and drive analog inputs expect a standard voltage or 4-20 mA signal, so a pulse is a workaround, not a like-for-like replacement. Fix or replace the signal board first and keep the analog path.
Can the program alarm on this failure by itself?
Not from the board alone: it provides no measured-value readback of its own output. Loop the output into a spare analog input channel and compare the commanded value with the measured one in the program, alarming when the deviation exceeds a band you set, for example 5 percent of span. That channel can drive the same fault signal out to SCADA.
How do I check a replacement board before wiring the field device?
Mount it on the de-energized CPU, configure and download, run, and leave the field wiring off. Force zero and measure essentially 0.000 V at the terminals, then force mid-scale and full scale and measure half of the range and the range maximum. A board that passes all three steps open-circuit is good; reconnect the field device and re-check under load.