How-to
Wire eight 0-10 V sensors to an S7-300 analog input card
Short answer
Wire every sensor's pin 1 to 24 VDC and pin 3 to the supply's 0 V, bond that 0 V node to all eight M- terminals, and land each pin 2 signal on a U+ terminal of the SM 331; AI 8 x 13 Bit. Each channel then returns a raw count of 0 to 27648 across the span, and one ratio converts that count to pressure.

On this page
The card to fit is the SM 331; AI 8 x 13 Bit, order number 6ES7331-1KF02-0AB0: eight voltage inputs on channels 0 to 7, each with its own U+ terminal and M- reference on a 40-pin front connector. Feed every sensor's pin 1 from 24 VDC and its pin 3 from that supply's 0 V, bond the same 0 V node to all eight M- terminals, and land each sensor's pin 2 signal on one U+ terminal. The sensor supply return and the measurement reference are one node, and that is the whole connection. Below is the terminal schedule, the scaling from raw count to pressure, and the meter readings that prove each of the eight loops.
Which S7-300 card reads eight 0-10 V signals? #
Use the SM 331; AI 8 x 13 Bit with order number 6ES7331-1KF02-0AB0: it gives you channels 0 to 7 as separate voltage inputs, and the manufacturer's wiring diagrams for it apply to every one of those channels, so one drawing answers all eight connections.
A channel measures the potential between its U+ terminal and its M- reference; the sensor's supply powers its electronics, and the signal on pin 2 is a 0-10 V output measured against that same supply return. In the hardware configuration you set the channels to the unipolar voltage range; the order number sets nothing by itself, so the range setting and the wiring must agree. The manufacturer's wiring diagrams for this module show several connection variants, and every one of them applies to channels 0 to 7. The connector also carries a coding key that keeps a wired connector paired with its module, covered in the S7-300 front connector coding key on analog I/O modules.
Does the sensor's L- terminal go to the card's M- terminal? #
Yes, electrically, but run it as the supply's 0 V node: take every sensor's pin 3 to the 24 VDC supply's 0 V terminal, then land that same 0 V on all eight M- terminals, front connector pins 5, 10, 15, 20, 25, 30, 35 and 40.
Electrically the two terminals are the same node; the difference is which conductor carries what. The sensor's operating current returns to the supply through the supply return conductor, while the M- terminals only tap that node to give each channel its reference. So do not daisy-chain one sensor's return through the next sensor's M- pin; that route pushes supply current through measurement references and the readings move with load. An M- pin with no bond leaves its channel measuring against leakage, and the count wanders. Protective earth and the cable shield are not this reference; the one-node rule is the same one that applies when tying sensor and drive outputs to one analog common.
How do you land eight sensors on the 40-pin front connector? #
Land it as one reference bus with eight signal drops: every sensor feeds the bus from its pin 3, the bus lands on the eight M- pins, and each pin 2 signal lands on one U+ pin.
The order of work:
- Isolate the supply and the rack before you open the front connector; this is the one step on the job you never skip.
- Run one conductor from the supply's return terminal and terminate it on pins 5, 10, 15, 20, 25, 30, 35 and 40, the eight M- reference terminals. This conductor is your bus.
- Take every sensor's pin 1 to 24 VDC positive and its pin 3 to the supply's return terminal or onto that bus.
- Land sensor 1's pin 2 on pin 1, sensor 2's pin 2 on pin 6, and so on through sensor 8's pin 2 on pin 36; pins 1, 6, 11, 16, 21, 26, 31 and 36 are the eight U+ terminals.
- Set every channel to the unipolar voltage range in the hardware configuration, download, and take each channel's address from that configuration; the address follows the slot, not the pin number.
The schedule in wiring order:
| Sensor | Channel | U+ signal pin | M- reference pin |
|---|---|---|---|
| 1 | 0 | 1 | 5 |
| 2 | 1 | 6 | 10 |
| 3 | 2 | 11 | 15 |
| 4 | 3 | 16 | 20 |
| 5 | 4 | 21 | 25 |
| 6 | 5 | 26 | 30 |
| 7 | 6 | 31 | 35 |
| 8 | 7 | 36 | 40 |
How do you scale the raw count to pressure? #
The module returns a raw count from 0 to 27648 across the configured span, so pressure equals the raw count divided by 27648 and multiplied by the sensor's span.
Worked example with example values: a sensor set to give its full output over 0 to 16 bar, and a terminal measuring 6.0 V. Raw count = 6.0 V ÷ 10 V × 27648 = 16588.8, which the module reports as 16589. Pressure = 16589 ÷ 27648 × 16 bar = 9.60 bar. One count at this span is 16 bar ÷ 27648 ≈ 0.58 mbar, the smallest change the card can report. For any other span only the multiplier changes: pressure = raw count × span ÷ 27648, which in the PLC is one multiply and one divide on the channel word. A count above the span top means the terminal voltage is over range; fix the wiring or the range setting before you trust any scaling.
What meter readings prove each loop? #
Three readings settle every loop: the supply between sensor pins 1 and 3, the process voltage between pins 2 and 3, and that same voltage repeated between the channel's U+ and M- pins at the card.
- Supply: present at pins 1 and 3 with positive on pin 1, while the sensor draws its operating current.
- Signal at the sensor: pin 2 to pin 3 moves with pressure and stays inside the output span.
- Signal at the card: U+ to M- repeats the pin-2-to-pin-3 reading, because a voltage input draws no measurable current; a real difference means an open termination or a missing reference bond.
- Reference: 0 V from each M- pin to the supply's 0 V terminal; volts there mean the bond is missing or carrying current.
- Online: the raw count tracks the terminal voltage linearly, so change the pressure and watch it follow.
A zero count on its own tells you little: this voltage range has no live zero, so an open signal wire and zero pressure look identical at the card. Current channels behave differently, because a broken loop there drives the count to an overflow value, a failure with its own fix, covered in resolving the 6ES7331-1KF02-0AB0 -32767 fault on multi-channel 4-20 mA inputs.
What if a channel reads zero or wanders? #
Chase the reference bond first: an M- pin left off the reference bus is the usual cause, and that channel then wanders or settles wherever leakage leaves it instead of at its sensor.
Work by symptom:
- Zero count with no voltage at U+ to M-, but the right voltage at the sensor's pin 2: the signal run or its U+ termination is open; re-terminate or replace the conductor.
- Right voltage at U+ to M- with a zero count: the configuration is wrong; confirm the channel's range setting and that you are watching the address the hardware configuration actually assigned.
- Count drifting with no pressure change: a missing or resistive M- bond, or a reference carried through a daisy chain; land that M- pin on the bus directly.
- Count following a different sensor: two signal drops are swapped; pressurize one sensor at a time and relabel the pair.
- Count stuck over the span: the terminal voltage is too high; find the wiring or range-setting error before touching the scaling.
The decision for this machine: the SM 331; AI 8 x 13 Bit is the right card for eight sensors of this output type, wire it as the bus schedule above, scale with the single ratio from the raw count, and check each pin-2 voltage at the card on commissioning, because this range cannot report its own broken wire.
Questions asked
Can the eight sensors share the PLC's 24 VDC supply?
Yes, as long as the supply covers the eight sensors' current draw plus its existing load; add up the draw from each sensor's data sheet before hanging them on a shared unit. A separate sensor supply also works, but its 0 V terminal must still be bonded to the M- pins, because every channel measures against that node. Common the return sides only, and never tie two supplies' positive terminals together.
Would 4-20 mA sensors be easier to maintain on this card?
Yes. A current loop has a live zero, 4 mA at the bottom of the span, so a broken wire drops the loop to 0 mA and the card flags the fault instead of showing zero pressure. The same module accepts current transducers, and its wiring diagrams cover them on all eight channels. If zero readings will ever be ambiguous on this machine, the current version of the sensor is the one to order.
What cable should run from each sensor to the card?
A shielded twisted pair for the signal and its reference, with the shield bonded to the panel's PE bus at the cabinet end only and left free at the sensor. Route the runs away from drive and motor cables; the card's voltage input is high impedance, so induced noise lands straight in the reading. The supply conductors can travel in the same cable.
What should you do with channels you are not using?
Short the unused channel's U+ and M- pins together, or disable the channel in the hardware configuration. An open input sits at whatever leakage puts on it and can wander into the module's diagnostics, costing you time while the real loops are fine. With all eight sensors fitted nothing is left open, so this matters only when a sensor is removed later.

