IMDHMIControls LibraryShop main store

Troubleshooting

Why an S7-1200 analog output reads 3 mA at any command

PLC programming Published 5 min read

Short answer

A 0-20 mA output that reads 3 mA at every command is not scaling wrong — the meter and the drive are in the circuit incorrectly, or the output stage has lost its 24 V DC supply. Confirm the channel is set to current mode and 20.4-28.8 V DC at L+, then command 0 and 27000 from a watch table with the drive disconnected and the meter in series. A healthy channel tracks both writes; a flat reading with the supply verified means a failed output stage.

On this page
  1. What a working 0-20 mA channel has to show
  2. Where a steady low reading actually comes from
  3. Prove the loop in five steps
  4. Read the result and decide
  5. Reconnect the drive and prove it follows
  6. Questions asked

An S7-1200 analog output that reads the same current at every command is not a scaling fault. A steady 3 mA on a channel set up for 0-20 mA means the meter or the drive is sitting in the circuit wrong, or the output stage on your CPU 1217C has no 24 V DC to source from. The test that separates the three cases takes minutes: confirm the channel mode, verify the supply, disconnect the drive, put the meter in series, and write 0 and then 27000 straight from a watch table. A healthy channel reads close to 0 mA on the first write and close to full scale on the second. With the supply verified and the meter provably in series, a reading that never moves means the on-board output stage has failed, and the fix is to move the loop to the second on-board output or replace the CPU.

What a working 0-20 mA channel has to show #

The documented representation for S7-1200 analog channels maps the value you write linearly across the configured range. For a current output set to 0-20 mA, full scale is the integer 27648, so every expected reading comes from one line:

I (mA) = command × 20 ÷ 27648

Worked example, at a command of 27000:

27000 × 20 ÷ 27648 = 540000 ÷ 27648 = 19.53 mA

At a command of 0 the expected reading is 0 mA. If a series meter shows both values with the drive disconnected, the channel and the measurement are both good, and the fault lives downstream.

Two things follow before you touch a wire. First, prove the command itself: watch the integer at the output while the system runs, because a program that never refreshes its output word will hide behind any wiring theory. Second, know that an output channel never announces a fault the way an input does — the 32767 you would read on a broken input wire, as covered in why an S7-1200 analog input shows 32767 on wire break, has no output-side equivalent, because the stage sources current without ever measuring the loop. The meter is the only witness here.

Where a steady low reading actually comes from #

A current output stage can only push current when it has supply and a closed loop, so a fixed low reading against a moving command is one of three circuit problems, never a scaling problem:

  • No 24 V DC at the CPU supply terminals. The output stage is unpowered and sources nothing, and the only current left in the loop is whatever the drive's reference input network feeds through the idle terminals. The drive sits at 0 Hz because its reference is effectively dead.
  • The loop is not in current mode. A channel left in voltage mode, or signal conductors landed on the wrong terminals, leaves the drive's current input connected to something other than the current source you configured, so the meter reports the drive-side network instead of a commanded value.
  • The meter is not in the circuit you think. Leads in the voltage jacks while the dial is on milliamps, or a meter wired in parallel with the drive, produces a number set by the meter's own input path and the drive's bias, not by the loop current.

All three leave the same signature: one nearly constant low reading at every command. Before you energize a metered loop, confirm both leads are in the meter's current jacks; a lead sitting in a voltage jack turns the probes into a short circuit across the first live terminal they touch.

Prove the loop in five steps #

  1. In the device configuration, confirm the wired channel is set to current mode with the 0-20 mA range, and identify which of the CPU's two built-in analog outputs is actually wired to the drive.
  2. Measure DC from L+ to M at the CPU's supply terminals with the system powered. The CPU 1217C data sheet, order number 6ES7217-1AG40-0XB0, gives the accepted supply window as 20.4-28.8 V DC; below that window, repair the supply before judging the output.
  3. De-energize per your site's lockout procedure and disconnect the drive's reference conductors at the drive end.
  4. Set the meter to DC milliamps with the leads in the current jacks, and wire it in series between the output terminal and the return conductor, so the loop stays closed without the drive.
  5. Remove the program's write to that channel and write the test values directly from a watch table: 0 first, then 27000. Expect close to 0 mA, then 19.53 mA.

If step 5 reads flat, change the meter range, recheck the lead jacks, and repeat once before drawing a conclusion.

Read the result and decide #

  • Both writes tracked. The channel and the meter are good and the fault lives downstream. Reconnect the drive, measure once more in series at the drive terminals to confirm the current arrives, then verify the drive's reference configuration and its own scaling. The conductor run out to the drive is the same wiring task as wiring a 1769-OF2 analog output to a PowerFlex 753 input, and it deserves the same care.
  • Flat, with the supply verified and current mode confirmed. After the meter recheck, this is a failed on-board output stage. Move the loop to the second on-board output, update the device configuration to match, and rerun the two writes; replace the CPU if both channels are committed. Expansion cards fail louder — a shorted 4-20 mA channel on an SM1232 output card shows up as its own short-circuit fault, as in troubleshooting SM1232 short circuit on 4-20 mA analog outputs — but the on-board stages give you no such message.
  • Supply below its window. Fix or replace the supply, rerun the five steps, and only then pass judgment on the channel.

Reconnect the drive and prove it follows #

Apply whatever fix the result called for, rerun the two watch-table writes with the meter still in series, and require the same two readings as the isolated test. Land the drive's reference conductors per the drive's analog input documentation, power up, and record three numbers at the same operating point: the integer you wrote, the series current, and the frequency the drive displays. The current must track the command across the range, and the displayed frequency must move with it. The 0 Hz you saw at startup was the drive's response to a reference it could not trust, and it was never evidence about the analog output.

Questions asked

What integers command full scale and half scale on a 0-20 mA output?

The linear map runs from 0 at 0 mA to 27648 at 20.00 mA. A third test point at 13824 lands exactly halfway, at 10.00 mA, which proves linearity between the low and high writes. Anything the program writes outside 0 to 27648 is outside the range for this configuration.

Why did the drive show 0 Hz if the output was being commanded up?

A drive treats a missing or invalid reference as zero speed, so the frequency display tells you nothing about the current leaving the PLC. With the output stage unpowered or the meter in the wrong jacks, the loop is open or nearly open from the drive's point of view, and the small residual you measure comes from the drive's own reference input network. Judge the drive only after the series measurement tracks the command.

Does it matter whether this is a new install or a loop that used to work?

Yes, and it should change where you look first. On a commissioning that never ran correctly, expect the channel mode, the supply at L+ or the terminal wiring to be wrong. If the loop drove the drive for months and now sits at one steady value, expect a supply that dropped out of its window, a damaged conductor, or a failed output stage. Configuration rarely changes by itself.

What does the current output do when the CPU leaves RUN?

An S7-1200 analog output goes to its configured substitute value when the CPU stops or the output value overflows. With the substitute value left at its default of 0, a current channel drives 0 mA and the drive sees a dead reference. If a stopped PLC must park the drive at a defined speed, set a deliberate substitute value in the device configuration instead.

Keep reading

  • Troubleshooting

    Troubleshooting S7-300 analog output stuck at 25 mA

    A 4-20 mA channel on a 6ES7332-5HD01-0AB0 converts 0-27,648 counts to 4-20 mA, so fixed readings of 25 mA and 3.2 mA cannot come from scaling arithmetic. Read the output word online: if it differs from the scaling block's result, a competing write owns the channel; if it matches, the downloaded configuration or the current loop is at fault. Check the block, then the word, then the loop, and stop at the first failure.

    PLC programming

  • How-to

    Set up a CLICK PLC 4-20 mA pressure trip with a relay output

    Wire the two-wire loop into channel 1 of a C0-04AD-1, set that channel to 4-20 mA with 4 mA scaled to 0 PSI and 20 mA to 300 PSI in DF1, and drive relay output Y1 from Set and Rst coils that trip above 250 PSI and release below 230 PSI, with a loop-fault test below -10 PSI.

    PLC programming

  • How-to

    Scaling a PLC-5 FLEX analog output from PID 0-4095 to 0-30840

    A PLC-5 PID drives its control variable from 0 to 4095, while a FLEX analog output channel configured for the current loop expects output data from 0 to 30840, so a raw CV gives 6.125 mA at 100 percent. Leave the PID limits at 0 and 100 percent, scale the control variable times 30840 divided by 4095 into a separate integer word, and point the BTW at that word. The CV word and the BTW data word must be different addresses.

    PLC programming