Overview
The Siemens LOGO! 8 logic module consolidates digital and analog I/O into a single 71 mm wide base module. Unlike a conventional PLC where analog and digital channels are physically isolated, the LOGO! 8 base module shares its analog input terminals with selected digital inputs. AI1 and AI2 share the same physical screw terminals as I7 and I8, while AI3 and AI4 share terminals with I1 and I2. The sharing is configurable in LOGO! Soft Comfort (LSC) through the AI Configuration property, allowing the engineer to enable zero, two, or four analog channels depending on the application's I/O budget.
The most common field question is: If I enable 2 AIs, can I still treat I8 as a normal digital input? The answer is yes. The AI enable flag only reserves the analog address space inside the LOGO! 8 program; it does not disable the corresponding digital input. The same terminal can therefore be read simultaneously as a digital bit and scaled as a 0-10 V analog value, provided the voltage lies inside the supported analog range and the program processes both representations without conflict.
This article documents the exact terminal-to-AI mapping, the voltage thresholds, supported base module variants, the LSC configuration path, and verified wiring examples so that the AI sharing feature can be deployed without losing digital I/O.
LOGO! 8 Hardware Variants and AI Availability
Analog input capability is offered only on the DC-powered base modules. The 230 V AC variant does not expose onboard analog channels because its input circuit topology is designed for mains-voltage switching rather than low-voltage measurement.
| Base Module | MLFB (Order Number) | Power Supply | Digital Inputs | Onboard Analog Inputs |
|---|---|---|---|---|
| LOGO! 8.3 BM 12/24 RCE | 6ED1052-1MD08-0BA3 | 12/24 V DC | 8 (I1-I8) | Up to 4 (AI1-AI4) |
| LOGO! 8.3 BM 24 CE | 6ED1052-1CC08-0BA3 | 24 V DC | 8 (I1-I8) | Up to 4 (AI1-AI4) |
| LOGO! 8.3 BM 230 RCE | 6ED1052-1FB08-0BA3 | 115/230 V AC | 8 (I1-I8) | None (digital only) |
| LOGO! 8.2 BM 12/24 RCE | 6ED1052-1MD08-0BA2 | 12/24 V DC | 8 (I1-I8) | Up to 4 |
| LOGO! 8.1 BM 12/24 RCE | 6ED1052-1MD08-0BA1 | 12/24 V DC | 8 (I1-I8) | Up to 4 |
| LOGO! 8 BM 12/24 (TDE) | 6ED1052-1MD08-0BA0 | 12/24 V DC | 8 (I1-I8) | Up to 4 |
Confirm the printed part number on the side label of the module before designing the AI wiring. The AI Configuration property is only displayed by LSC when the online module or selected hardware in the project navigator is a DC variant. Refer to the Siemens Industry Online Support portal for full ordering data and firmware-specific manuals.
AI Configuration Options in LOGO! Soft Comfort
The number of available analog inputs is set inside the LSC project, not on the physical module. There are no DIP switches or jumpers on the LOGO! 8 base module for AI selection.
Configuration path (LSC V8.0 - V8.2):
- Open the project in LOGO!Soft Comfort.
- Select File > Properties.
- Open the AI Configuration tab.
- Choose one of three options:
-
Enable 0 AIs– no analog channels exposed. -
Enable 2 AIs– AI1 and AI2 available on I7 and I8. -
Enable 4 AIs– AI1, AI2 on I7, I8 and AI3, AI4 on I1, I2.
-
- Click OK and re-compile the program.
Configuration path (LSC V8.3 and later):
- Select Tools > AI Settings from the menu bar.
- The dialog shows the current AI mode; select 0, 2, or 4.
- Click Apply. The program is recompiled automatically.
The choice is stored inside the program file (.lsc / .lma / .lmp depending on LSC version) and is downloaded to the LOGO! 8 as part of the project. After a successful download, the AI channel becomes available in the analog function block palette.
Terminal-to-AI Mapping and Electrical Sharing
The hardware sharing between analog and digital inputs is fixed by the input stage design. Each shared terminal routes the incoming voltage simultaneously to two ADC/digital comparator paths inside the LOGO! 8 ASIC.
| AI Channel | Physical Terminal | Digital Alias | Analog Range | Digital Threshold (Low) | Digital Threshold (High) |
|---|---|---|---|---|---|
| AI1 | I7 | I7 | 0 - 10 V DC | < 5 V DC | > 8.5 V DC |
| AI2 | I8 | I8 | 0 - 10 V DC | < 5 V DC | > 8.5 V DC |
| AI3 | I1 | I1 | 0 - 10 V DC | < 5 V DC | > 8.5 V DC |
| AI4 | I2 | I2 | 0 - 10 V DC | < 5 V DC | > 8.5 V DC |
The implication of the threshold table is critical for mixed-mode designs:
- If the analog voltage is below 5 V, the digital input reads 0.
- If the analog voltage is above 8.5 V, the digital input reads 1.
- If the analog voltage is between 5 V and 8.5 V, the digital state is undefined and may toggle.
This means a 0-10 V analog signal on AI1 (I7) can produce phantom edges on I7 every time the analog value crosses the digital threshold. In practice, avoid relying on I1, I2, I7, or I8 as reliable digital inputs when those same terminals are wired to a continuously varying analog source. Use those digital inputs only for clean 24 V DC switching signals or use the spare digital channels (I3-I6) for switching logic.
Digital Input Function While AI is Active
The AI enable flag is purely a software address-allocation setting. It does NOT install any series resistance, optocoupler, or relay in the input path that would isolate the digital comparator from the analog ADC. Therefore:
- Digital inputs are never disabled by enabling AI. The I1, I2, I7, I8 screw terminals always remain electrically functional as 24 V digital inputs.
- Both digital and analog values are simultaneously updated. The LOGO! 8 ASIC samples each shared terminal at the analog sampling rate and forwards both the scaled analog value and the digital comparator result to the runtime engine.
- You can use I8 as a digital input while AI2 is enabled on the same terminal. The LSC program simply references I8 for digital logic and AI2 for analog scaling; both work concurrently.
- Use 0 AIs only when no analog measurement is needed. Setting AI count to 0 removes AI1-AI4 from the address map but does not change any electrical behavior on the terminals. The reason to set 0 AIs is purely to reduce program memory and prevent accidental use of an analog block on a non-existent channel.
Voltage Thresholds and Analog Scaling
The onboard analog inputs use a 10-bit successive-approximation ADC. The full-scale value of 10 V maps to an integer of 1000 in the program, giving a usable resolution of 10 mV per LSB. The input impedance of the analog circuit is high enough that most 0-10 V transducers (10 kΩ potentiometers, 4-20 mA transmitters with 250 Ω shunt, 0-10 V outputs from sensors) can be connected without loading errors.
| Parameter | Specification | Notes |
|---|---|---|
| Analog input range | 0 - 10 V DC | Single-ended; no bipolar or negative range |
| Digital resolution | 10 bits (0-1000) | 10 mV nominal per LSB |
| Input impedance | ≥ 78 kΩ | Refer to module datasheet for exact figure per variant |
| Sample rate | ~50 ms per channel | Two-AI and four-AI modes share the converter |
| Accuracy | ± 1.5 % of full scale | Typical at 25 °C; derate with temperature |
| Overvoltage protection | ± 30 V DC continuous | Protected but not designed for sustained over-voltage |
| Digital low threshold | < 5 V DC | Input guaranteed OFF |
| Digital high threshold | > 8.5 V DC | Input guaranteed ON |
| Input current at 24 V | typical 5 mA per input | IEC 61131-2 Type 1 characteristics |
Analog scaling formula:
The internal representation is:
AI_raw = (V_in / 10 V) × 1000
For a 4-20 mA transmitter with a 250 Ω shunt resistor, the voltage across AI is 1-5 V. Convert this to engineering units using the LSC Analog Amplifier (B001) or Analog Multiplexer (B013) function blocks. A typical scale for 0-100 °C using a 4-20 mA / 0-100 °C transmitter:
- AI at 1 V → 0 °C
- AI at 5 V → 100 °C
Configure the Amplifier block with Gain = 25 and Offset = -25 (or use the linear equation T = (V - 1) × 25). Verify the result by applying a known mA source and reading AI from the LSC online monitor.
Wiring Topologies and Sensor Connections
The shared nature of the terminals requires care when connecting mixed signal types. The following topologies cover the most common field installations.
Topology 1 – Potentiometer (3-wire) on AI1:
- Connect one end of the 10 kΩ potentiometer to terminal M (0 V reference of LOGO! supply).
- Connect the wiper to terminal I7 (shared with AI1).
- Connect the opposite end to terminal +24 V (LOGO! supply).
- Set AI Configuration to "Enable 2 AIs" or higher.
The wiper voltage swings 0-10 V linearly as the knob is rotated; AI1 reads 0-1000 scaled. Because the wiper is also connected to the digital comparator, I7 will read 0 when the wiper is below 5 V and 1 when above 8.5 V. Use the AI1 block for proportional control and ignore the I7 digital reading, or implement hysteresis in the digital logic to ignore the ambiguous mid-band (5-8.5 V).
Topology 2 – 4-20 mA transmitter (2-wire) on AI3:
- Install a 250 Ω, 0.1 % precision resistor between terminal I1 (AI3) and terminal M (0 V).
- Connect the transmitter positive lead to terminal +24 V.
- Connect the transmitter negative lead to terminal I1.
- Enable 4 AIs in LSC; use AI3 in the program.
The 4-20 mA loop develops 1-5 V across the 250 Ω shunt; AI3 reads 100-500 raw. I1 will read 0 for the entire 1-5 V range, so the digital function on I1 remains quiet and can be used freely as a regular digital input without conflict.
Topology 3 – Clean digital input on I8 while AI2 is enabled:
- Wire the 24 V DC switching contact (pushbutton, sensor output) directly to I8 and M.
- Enable 2 AIs in LSC; reference AI2 for an unrelated analog measurement, or leave AI2 unused.
- Use I8 in the digital logic; the contact transitions remain clean because the source is a true 24 V switching signal.
Programming with AI Blocks in LOGO! Soft Comfort
Once AI is enabled and wired, the analog channels appear in the LSC block palette under the Analog tab. The fundamental blocks that read AI1-AI4 are:
| Block Name | Block Number | Function |
|---|---|---|
| Analog Input | AI reference | Pulls AI1-AI4 onto the diagram as a connection |
| Analog Amplifier | B001 | Scales raw AI (0-1000) to engineering units |
| Analog Comparator | B002 | Compares AI against threshold with hysteresis |
| Analog Threshold Trigger | B003 | Edge-triggered threshold switch |
| Analog Multiplexer | B013 | Routes one of four AI channels to a single output |
| PI Controller | B014 | Closed-loop control using AI feedback |
Example program (FBD): Read AI1 (I7 terminal) as a 0-10 V signal and use the same I7 terminal as a digital enable flag.
Network 1 (Digital logic):
I7 (digital) ---[ NO contact ]--- Q1 (output relay)
Network 2 (Analog logic):
AI1 (raw) ---[ B001 Analog Amplifier ]--- Gain = 0.1, Offset = 0
|
+-- MW100 (engineering value, 0.0 - 100.0)
The Analog Amplifier with Gain = 0.1 and Offset = 0 scales the raw 0-1000 value to 0.0-100.0 for engineering display. To convert to physical units (e.g., °C for a 0-100 °C probe), set Gain = 0.1 and Offset = 0; for a -10 to +50 °C probe, use Gain = 0.06 and Offset = -10.
Example program (Ladder):
| I7 B003 (Threshold) Q1 |
|------[ ]-------|>|-----[/]--------( )---|
| On=80 Off=20
| AI1 B001 (Amplifier) |
|------>AI-----| x0.1 +0 |-->MW100 |
This ladder diagram uses B003 to provide a digital function at a specific analog value, and B001 to expose the scaled AI value at memory word MW100 for use elsewhere in the program or for display on the LOGO! TDE.
Expansion Modules vs. Onboard AI
When the application needs more analog channels than the base module provides, or when the sensor type is not 0-10 V (e.g., Pt100 RTD or 4-20 mA isolated), an expansion module can be added on the right side of the LOGO! 8 base.
| Expansion Module | MLFB | Channel Type | Range | Use Case |
|---|---|---|---|---|
| LOGO! AM2 | 6ED1055-1MA00-0BA3 | 2 AI | 0-10 V or 0/4-20 mA | Additional voltage or current inputs |
| LOGO! AM2 RTD | 6ED1055-1MD00-0BA3 | 2 AI | Pt100 / Pt1000 | Direct RTD temperature probe |
| LOGO! AM2 AQ | 6ED1055-1MM00-0BA3 | 2 AO | 0-10 V or 0/4-20 mA | Analog output (rarely used) |
Expansion modules are addressed as AI5, AI6 (for the first AM2) and AI7, AI8 (for a second AM2) in the LSC program. They do not interact with the onboard AI1-AI4 configuration; you can run "Enable 4 AIs" on the base and still add AM2 modules for additional channels. The total analog input count per LOGO! 8 station is limited by the number of expansion slots supported by the base module (typically up to 24 modules).
Troubleshooting Matrix
| Symptom | Likely Cause | Corrective Action |
|---|---|---|
| AI block shows "--- " in online monitor | AI Configuration not enabled in LSC | Open File > Properties > AI Configuration, set to 2 or 4 AIs, recompile, re-download |
| AI raw value stuck at 0 or 1000 | Sensor wiring open or shorted; sensor ground not at M | Verify sensor wiring; tie sensor 0 V to LOGO! M terminal |
| AI value noisy / fluctuating | Long unshielded cable; ground loop | Use shielded cable, ground shield at one end only, separate from power wiring |
| AI reads expected value but I7/I8 digital reads wrong | Analog voltage falls in 5-8.5 V undefined band | Move digital switching to I3-I6, or accept hysteresis behavior |
| 230 V base module: AI block not available in LSC | BM 230 variant has no onboard AI hardware | Add an AM2 expansion module, or replace with 12/24 V base module |
| Program compile error "AI channel not assigned" | AI block references AI3/AI4 but LSC set to 0 or 2 AIs | Increase AI Configuration, or change block to AI1/AI2 |
| AI value drifts with temperature | Sensor not Pt100; AM2 RTD not installed | Use AM2 RTD expansion module for direct RTD measurement |
| Digital input I1/I2/I7/I8 always reads 1 | Input connected to 24 V supply directly without series resistor; analog signal above 8.5 V threshold | Confirm pull-up configuration; if shared with analog, expect digital = 1 above 8.5 V |
Verification Procedure
After completing the wiring and downloading the program, run this verification sequence to confirm correct AI configuration:
- Online monitor. In LSC, click Tools > Online > Start Online Test. The analog block should display a live value, not "---".
- Sensor substitution. Disconnect the field sensor and apply a known voltage from a calibrated source (e.g., 5.00 V from a precision reference). Confirm the AI raw value reads 500 ± 15.
- Digital independence check. Toggle the shared digital input (e.g., I8) via a 24 V test signal while monitoring AI2. The AI2 reading must remain stable regardless of I8's digital state, confirming that the digital input does not disturb the analog measurement.
- Threshold verification. Slowly ramp the analog voltage from 0 V to 10 V while watching the digital input. Confirm I7 transitions to 1 at approximately 8.5 V and back to 0 at approximately 5 V.
- Save the program to onboard SD card (if installed) and to the LOGO! 8 flash memory to ensure the AI Configuration setting persists across power cycles.
Successful verification confirms that the AI Configuration, wiring, and program are mutually consistent. Document the AI Configuration setting in the project file's Project > Properties > Comment field so that future maintenance engineers understand why the AI mode was chosen.
Can I use I8 as a digital input while AI2 is enabled on the same terminal?
Yes. Enabling 2 AIs (or 4 AIs) only reserves the AI1/AI2 address space in the LOGO! 8 program. The physical I8 terminal continues to function as a standard 24 V digital input. The AI2 analog value and the I8 digital bit are read simultaneously by the LOGO! 8 ASIC, so both can be referenced in the same program without conflict.
What is the digital threshold of the LOGO! 8 shared analog/digital inputs?
The digital low threshold is < 5 V DC (input guaranteed OFF) and the digital high threshold is > 8.5 V DC (input guaranteed ON). Between 5 V and 8.5 V the digital state is undefined. This is important when a 0-10 V analog signal drives the shared terminal, because the digital bit will toggle as the analog value crosses the threshold band.
How do I enable AI1-AI4 in LOGO! Soft Comfort?
Open File > Properties > AI Configuration (LSC V8.0-V8.2) or Tools > AI Settings (LSC V8.3 and later) and select "Enable 2 AIs" or "Enable 4 AIs". Recompile and download the program to the base module. The setting is stored inside the program file, not on a hardware jumper.
Does the 230 V AC base module support onboard analog inputs?
No. The LOGO! 8 BM 230 RCE (e.g., 6ED1052-1FB08-0BA3) has digital inputs only. To add analog measurement to a 230 V station, install a LOGO! AM2 (6ED1055-1MA00-0BA3) or AM2 RTD (6ED1055-1MD00-0BA3) expansion module on the right side of the base.
What is the resolution and sample rate of the onboard AI channels?
The onboard AI uses a 10-bit ADC producing raw values from 0 to 1000 over a 0-10 V range (10 mV nominal per LSB). The sample rate is approximately 50 ms per channel. Accuracy is typically ± 1.5 % of full scale at 25 °C. For higher accuracy or faster sampling, use an AM2 expansion module or an external signal conditioner.
Will enabling AI on the base module reduce the number of available digital inputs?
No. The number of physical digital inputs (I1-I8) does not change. AI Configuration only adds analog address slots to the program. All eight digital inputs remain functional at all times, regardless of the AI Configuration setting.