Siemens LOGO! Analog Scaling: Display Values Above 10,000

David Krause15 min read
PLC HardwareSiemensTechnical Reference
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

Siemens LOGO! Analog Scaling: Displaying Values Above 10,000

Siemens LOGO! 8 base modules and their AM2/AM2 RTD/AM2 PT1000 expansion modules resolve every analog input into 1,000 internal counts. That fixed mapping is the reason a 0–10 V sensor can never natively produce a reading of 11,299 or 12,235 in the LOGO! display or message text. This reference explains the root cause, defines the resolution boundary, and presents three engineering solutions that allow LOGO! to display 0–12,500 cleanly without losing diagnostic fidelity.

Engineering boundary: A 0–10 V input on a LOGO! 8 base module has only 1,001 distinct values (0 to 1,000). Any displayed value higher than 10,000 is a scaled view of those 1,001 values, not new data. You cannot recover intermediate readings that the underlying sensor never produced.

Problem Statement: Why 0–12,500 Cannot Display Natively

The original requirement is to display an analog engineering value in the range 0 to 12,500 on a LOGO! system. The default LOGO! analog input chain looks like this:

  1. Voltage or current at the terminal block (0–10 V or 0/4–20 mA).
  2. 10-bit successive-approximation ADC on the LOGO! 8 main unit, or 12-bit ADC on the AM2 expansion.
  3. Internal value normalized to a fixed 0–1,000 range for 0–10 V or 0–20 mA.
  4. Optional gain block (max ±10) producing 0–10,000 maximum after amplification.
  5. Message text, LOGO! TDE, or web server display.

Because the last gain stage tops out at ±10 on the internal 0–1,000 stream, the largest possible engineering value is 1,000 × 10 = 10,000. To display 12,500, the engineer must move the gain stage to an arithmetic block with non-integer multiplier, or accept a coarser step size, or push the final display outside LOGO! to an external indicator.

LOGO! Analog Input Architecture and Internal Representation

The LOGO! 8 base module (order numbers 6ED1052-xxx08-0BA1/0BA2) exposes eight inputs I1–I8. The first four (I1–I4) are configurable as analog 0–10 V inputs with a 10-bit ADC; the remaining four are digital-only unless an AM2 module is added. For current loops, an AM2 expansion (6ED1055-1MA00-0BA2) is required, which has a true 12-bit ADC and produces 0–1,000 counts over 0–20 mA or 4–20 mA.

LOGO! 8 analog input mapping
Module Order Number Input Type ADC Bits Internal Range Increment per LSB
LOGO! 8 base, I1–I4 6ED1052-1xx08-0BA2 0–10 V 10 0–1,000 10.0 mV
LOGO! 8 base, I5–I8 6ED1052-1xx08-0BA2 Digital only — — —
AM2 analog module 6ED1055-1MA00-0BA2 0–10 V or 0/4–20 mA 12 0–1,000 10.0 mV / 0.020 mA
AM2 RTD (PT100/PT1000) 6ED1055-1MD00-0BA2 Resistance 12 −50 to +200 °C 0.25 °C
AM2 PT1000 6ED1055-1ME00-0BA2 PT1000 only 12 −50 to +200 °C 0.25 °C

Reference: Siemens Industry Online Support – LOGO! 8 System Manual (entry ID 109741041), section 4.4 "Analog value processing". Although the AM2 silicon is 12-bit, LOGO! firmware intentionally normalizes every analog input to 0–1,000 counts so that all blocks share a common scaling model. The 12 leftover codes on the AM2 are filtered out and used for overrange diagnostics.

The 1,000-Step Resolution Boundary

Consider a real sensor that delivers 0–10 V proportional to 0–12,500 RPM, 0–12,500 Pa, or 0–12,500 mm. After the LOGO! ADC, the engineer holds 1,000 voltage buckets, not 12,500 engineering buckets. The display chain has only 1,001 distinct levels available, and the gain block cannot create more data than the ADC captured.

Mathematically, if N is the count after gain and Y is the engineering value, the relationship is always

Y = N × (E_max / 1,000)

where E_max is the desired full-scale engineering value. For E_max = 10,000 the increment is 10.0 per LSB. For E_max = 12,500 the increment becomes 12.5 per LSB. The engineer gets 1,000 displayed steps spread over 12,500 units, so the smallest visible change is 12 or 13 units. A request to display "11,299" or "12,235" has no physical meaning, because the closest possible readings are 11,287.5 and 12,300 (one LSB away from the requested value). This is the same mathematical reality the community has confirmed: scaling up reveals fewer intermediate values, not more.

Misconception warning: A gain of 1.25 on a 0–1,000 stream does not turn 1,000 counts into 1,250 counts. The block still outputs 1,000 integer steps, each now weighted at 12.5 engineering units. The granularity of the input signal is fixed; only the displayed weight per LSB changes.

Solution A: Cascade Two Analog Amplifier Blocks

The first engineering solution is to use the Analog Amplifier (block B042 in LOGO! Soft Comfort) twice in series. Each amplifier accepts a sensor input plus a gain factor and an offset. The maximum per-block gain is ±10, and the maximum resulting integer output per block is bounded by the firmware at ±10,000 in some firmwares (0BA7 and earlier) or 0–10,000 in newer ones.

For the 0–10 V → 0–10,000 internal stream, the two-stage cascade is implemented as:

  1. First amplifier (B042) at gain = 10. Output 1 = 0–10,000.
  2. Second amplifier (B042) at gain = 1.25. Output 2 = 0–12,500.

Because LOGO! amplifier blocks truncate to integer values, the final value is computed as floor(Output 1 × 1.25). With 0–10,000 on Output 1, the second stage yields 0, 12, 25, 37, 50, 62, 75, 87, 100, ... and ends at 12,500. There are still only 1,001 visible states — they are simply spread further apart.

The advantage of the cascaded amplifier is that the value remains an integer that LOGO! can display directly on the LOGO! TDE (6ED1055-4MH00-0BA0) or via LOGO! Soft Comfort message text without a floating-point formatter. The disadvantage is the loss of single-LSB precision: an analog input that moves 10 mV no longer produces a 1-digit change on the display.

Solution B: Linear Scaling with y = mx + b Arithmetic

For applications where 12.5 units per step is acceptable but the user still wants the math expressed cleanly, the Arithmetic block (B050) implements the slope-intercept equation in firmware:

Y = ((V_a − V_min) / (V_max − V_min)) × (E_max − E_min) + E_min

With V_min = 0, V_max = 10,000 (post first amplifier), E_min = 0, E_max = 12,500, the constants reduce to:

  • Gain (m) = 1.25
  • Offset (b) = 0

Configure the Arithmetic block in LOGO! Soft Comfort as follows:

  1. Insert block B050 (Analog Arithmetic) into the program.
  2. Set the value source V to the output of the first Analog Amplifier.
  3. Set Gain1 = 1.25, Gain2 = 0 (unused), Offset = 0.
  4. Enable output range 0–32,000 in the block properties.
  5. Wire the output to a message text or to a network variable for the LOGO! TDE.

The Arithmetic block is the recommended solution when the engineering units are non-integer, the offset is non-zero (e.g., scaling a 4 mA = 0 kg to 20 mA = 12,500 kg load cell), or the scaling must compensate for sensor zero shift. The block also handles a 4–20 mA current-loop input where the live-zero must be subtracted; see the Schneider Electric 4–20 mA primer for a generic current-loop reference.

Solution C: External Digital Panel Meter / LOGO! TDE

If the engineer must show the user a value with single-unit resolution (e.g., 11,299 exactly), the LOGO! cannot do it alone because the underlying data has 12.5-unit granularity. Two paths exist:

C.1 Use the LOGO! TDE text display

The LOGO! TDE (6ED1055-4MH00-0BA0) is a 6-line text HMI that mirrors all LOGO! variables. It accepts message text entries with embedded bar graphs, status icons, and scaled values. By inserting a PI Controller block (block B060) with a manipulated variable setpoint range of 0–12,500, the operator sees the setpoint in the requested engineering units even though the controlled variable is still 0–1,000 internally. The TDE is not a true work-around for resolution; it is a re-labelling of the same 1,000 internal steps.

C.2 Use an external digital panel meter

For displays that require higher visual resolution than LOGO! provides, install a digital panel meter (DPM) with a 0–10 V or 4–20 mA input and a user-scalable readout. Typical DPMs in the 96 × 48 mm form factor accept 0–10 V and have a 4-digit LED display with configurable decimal point. Because the DPM is a separate instrument, the LOGO! is relieved of any responsibility for showing 0–12,500; it only transmits the 0–10 V (or 4–20 mA) signal. The trade-off is additional cost and panel cutout.

Engineering the Slope Equation: Worked Example 0–10,000 → 0–12,500

Worked numerical example for clarity. Suppose a 0–10 V pressure transducer is wired to LOGO! I3, and the engineering range required is 0 to 12,500 Pa. The expected sensor sensitivity is 1.25 Pa / mV.

Slope-engineering constants for 0–10,000 → 0–12,500 scaling
Parameter Value Notes
Sensor output at zero 0 V True zero
Sensor output at full scale 10 V = 10,000 internal counts
Engineering zero 0 Pa Required display minimum
Engineering full scale 12,500 Pa Required display maximum
Slope m 1.25 Pa / internal count
Intercept b 0 Sensor zero alignment
Resolution per LSB 12.5 Pa 1,000 steps over 12,500 Pa
Update rate (LOGO! base) 50 ms (typical) 10-bit oversampling
Update rate (AM2) 50 ms (typical) 12-bit oversampling

To compensate a sensor with a non-zero live-zero (e.g., 4 mA = 0 Pa in a 4–20 mA loop), set Offset = 0 in the Arithmetic block and apply a pre-conditioning subtraction. With a 4 mA sensor at 0–12,500 Pa the live-zero takes up 20 % of the input range, so the arithmetic becomes:

Y = ((V_a − 200) / 800) × 12,500

Here V_a is the AM2 internal count of 0–1,000 representing 4–20 mA. The engineer subtracts 200 (= 4 mA in internal counts), divides by 800 (= 16 mA in counts), then multiplies by 12,500. The Arithmetic block performs this with Gain1 = 15.625, Gain2 = 0, Offset = 0, but only when the upstream amplifier is set to gain 1.

LOGO! Soft Comfort Step-by-Step Configuration

The following procedure produces a working program that displays 0–12,500 on the LOGO! onboard display and the LOGO! TDE. Open LOGO! Soft Comfort V8.4 (or later 8.x), create a new project, and follow the steps.

Prerequisites

  • LOGO! 8 base module, firmware 8.3 or later (8.4 recommended for the 0–32,000 Arithmetic block range).
  • LOGO! Soft Comfort V8.4 or later.
  • One free analog input (I1–I4 on the base unit, or any AI on an AM2).
  • Sensor wired 0–10 V (or 0/4–20 mA on AM2).

Procedure

  1. Insert the analog input terminal. Drag I3 (Analog Input) onto the program. The default is 0–10 V, 0–1,000 internal.
  2. Insert the first Analog Amplifier (B042). Set Sensor = I3, Gain = 10, Offset = 0. The output Ax is now 0–10,000.
  3. Insert the second Analog Amplifier (B042). Set Sensor = output of block 2, Gain = 1.25, Offset = 0. Note that gain values in LOGO! are entered as floating-point numbers; firmware computes floor(Ax × 1.25) automatically.
  4. Optional: replace the second amplifier with an Arithmetic block (B050). Set V = output of block 2, Gain1 = 1.25, Offset = 0. This is functionally identical but provides an explicit y = mx + b representation in the program.
  5. Add a message text (B033). In the message text, drag "Analog Input" or "Function Block Output" onto the display line and select the output of the second amplifier (or the Arithmetic block). Enable "Bar graph" only if it is desired.
  6. Set EN on each block to a high logic level (e.g., flag M8 or a constant 1). This avoids the default behavior of disabling the block on program download.
  7. Compile and download via the LOGO! Soft Comfort PC → LOGO! Ethernet cable.
  8. Verify on the LOGO! TDE or onboard display by sweeping the input from 0 V to 10 V and confirming 0, 12, 25, 37, 50, 62, 75, 87, 100, ... , 12,500 at the corresponding points.

Verification

  • At 0 V input the display must show 0 ± 1 LSB (12 units).
  • At 5 V input the display must show 6,250 ± 12 units.
  • At 10 V input the display must show 12,500 ± 12 units.
  • If the readout climbs only to 10,000, the second amplifier gain is still 1.0; check the gain field.

Solution Comparison Matrix

Which LOGO! analog scaling approach to use
Approach Full-Scale Range Resolution per LSB Supports Offset? Program Effort Best For
Single amplifier, gain 10 0–10,000 10 units Yes Minimal Most applications
Two amplifiers cascade, 10 × 1.25 0–12,500 12.5 units Yes Low Direct integer display, simple scaling
Arithmetic block y = 1.25x 0–12,500 12.5 units Yes (offset parameter) Low Linear scaling with non-zero offset
PI Controller setpoint range 0–32,000 32 units Yes Medium Closed-loop applications with setpoint display
External digital panel meter Sensor-native 1 unit (DPM native) Yes (DPM setting) Higher (hardware) High-resolution readout, e.g., 11,299 exact

LOGO! 8.3 / 8.4 Firmware Considerations and Edge Cases

Siemens released the LOGO! 8.3 (0BA3) and 8.4 (0BA4) firmware generations with several analog-processing improvements documented in the release notes archived on the Siemens Industry Online Support portal:

  • Arithmetic block range extension: Firmware 8.0 limited the Arithmetic block output to 0–9,999. Firmware 8.3 extended the working range to 0–32,767 in signed mode and 0–65,535 in unsigned mode. This is what enables a gain of 1.25 to produce 12,500 without an overflow flag.
  • Higher analog input count for AM2 AQ: Firmware 8.4 added a non-linear curve option in the Analog Amplifier for sensor linearisation, but the integer step granularity remains 0.5 counts at the AM2 input.
  • Web server variable scaling: Firmware 8.4 added scaling tags in the LOGO! web server, so an external HMI can read 0–12,500 over HTTP without requiring a separate display.

When upgrading from a pre-8.3 system, the engineer must recompile the program in Soft Comfort V8.3 or later to access the new analog range. Programs written for 0BA6/0BA7 firmwares may show an out-of-range warning if the second amplifier output exceeds 10,000; the upgrade clears the warning.

Field-Proven Pitfalls and Diagnostic Checklist

Engineers deploying the 0–12,500 solution in production should watch for the following known issues:

LOGO! analog scaling fault matrix
Symptom Likely Root Cause Corrective Action
Display tops out at 10,000 with input at 10 V Second amplifier gain still at 1.0 Re-enter Gain = 1.25 in block B042 #2
Display shows negative values when input is positive Gain sign inverted in second amplifier Set Gain to positive 1.25
Display saturates above 10,000 in old firmware Arithmetic block range capped at 9,999 in firmware pre-8.3 Upgrade LOGO! to firmware 8.3 or later
Reading oscillates by ±1 LSB (12.5 units) Sensor noise on the analog input Add 100 nF capacitor at terminal, average with PT1 filter block
Display reads 11,299 exactly Impossible from 0–10 V input; possible only from external DPM or sensor with higher native resolution Verify sensor specification; consider AM2 with oversampling
Reading is stable but offset by constant Sensor zero not aligned; live-zero in current loop not subtracted Apply offset b in Arithmetic block
TDE shows dashes "----" Block output out of display range Reduce gain or upgrade firmware
Live-zero loop gotcha: A 4–20 mA pressure sensor scaled to 0–12,500 Pa must be preconditioned. Subtract the 4 mA live-zero (200 internal counts on AM2) before applying the gain of 15.625, or the display will bottom out at −3,125 Pa instead of 0 Pa. Reference the current-loop explanation at Schneider Electric's 4–20 mA primer for the live-zero principle.

Resolution Recovery Strategies

If the application genuinely requires sub-12.5-unit resolution on a 0–12,500 full scale, the LOGO! ADC must be supplemented. Three strategies exist:

Strategy 1: External ADC

Mount a 16-bit ADC module (e.g., Siemens SIMATIC ET 200SP AI 4×RTD/TC) and transmit the 16-bit value to LOGO! via Modbus TCP. LOGO! 8.3 supports Modbus TCP server and client roles natively, so a 0–65,535 word from a higher-resolution ADC can be read into a network variable. The LOGO! then displays the value directly without the 12.5-unit granularity imposed by its own ADC. Resolution per LSB improves to 0.19 unit on a 0–12,500 scale.

Strategy 2: Two-point oversampling and averaging

The AM2 module supports software oversampling through the Math/Filter functions. By sampling the AM2 16 times and averaging, the effective resolution improves by log2(16) × 0.5 = 2 bits, giving a 14-bit equivalent. The resulting engineering value (after gain 12.5) reaches 0.78 units per LSB.

Strategy 3: Change sensor output type

If the sensor can output 0–20 mA instead of 0–10 V, the AM2's true 12-bit silicon and oversampling path will deliver 4,096 distinct codes (after firmware normalization to 1,000). Some industrial sensors (e.g., flowmeters, pressure transmitters) can be ordered with 0–20 mA output for this reason. Engineering units per LSB at 12,500 full scale drops to ~3 units, a 4× improvement over the 0–10 V case.

Frequently Asked Questions

Can a Siemens LOGO! 8 display the exact value 11,299 from a 0–10 V analog input?

No. The LOGO! 8 base module resolves 0–10 V into 1,000 internal counts, so the smallest step on a 0–12,500 scale is 12.5 units. The closest representable readings near 11,299 are 11,287.5 and 11,300.0. Use an external digital panel meter or a higher-resolution external ADC for single-unit precision.

What is the maximum gain of the LOGO! Analog Amplifier block?

The Analog Amplifier (B042) accepts a gain parameter from −10.0 to +10.0 with a 0.01 resolution. Two amplifiers in series therefore allow a maximum compound gain of ±100 if intermediate values stay within the integer range; for 0–12,500 output the practical compound gain is 1.25 × 10 = 12.5.

Does LOGO! firmware 8.4 improve analog resolution?

Firmware 8.4 (released with the 0BA4 hardware) does not increase the 10-bit ADC resolution, but it extends the Arithmetic block output range to 0–32,767 and adds web server scaling. Effective display range improves from 10,000 to 32,767 without integer overflow.

How do I scale 4–20 mA to 0–12,500 in LOGO! Soft Comfort?

Use the AM2 module (6ED1055-1MA00-0BA2) on the 4–20 mA input. Insert an Analog Amplifier with gain 1.0 to read the live-zero, then an Arithmetic block with Gain1 = 15.625 and Offset = 0 applied to the post-amplifier value. The result spans 0–12,500 with a 12.5-unit LSB.

Can a LOGO! TDE text display show 0–12,500 directly?

Yes. The LOGO! TDE (6ED1055-4MH00-0BA0) shows any analog variable in the LOGO! program. Reference the output of the second Analog Amplifier (or the Arithmetic block) in a message text on the TDE; the value will display as an integer up to 32,767 on firmware 8.3 and later.

Why does my second amplifier output stop at 10,000 even though I entered 1.25?

Older LOGO! firmware (pre-8.3) clamps the Analog Amplifier output at 10,000. Either upgrade to firmware 8.3 or later, or replace the second amplifier with the Arithmetic block (B050), which supports the extended 0–32,767 range on newer firmware.

Is there a LOGO! block that displays floating-point numbers with one-decimal precision?

No. The LOGO! base module and TDE display integer values up to ±32,767. For a decimal point, use the Message Text with the bar-graph or numeric text configuration; the value itself is always an integer. Use an external HMI for floating-point display.

Back to blog