Analog sensor signal wires connected to I/O module terminals inside a control panel
TECHNICAL NOTE

How to Connect 4–20mA and 0–10V Analog Sensors to Modbus

A sensor’s signal is a current, a voltage or a resistance; Modbus reads registers. An analog input module does the conversion in between: set the jumper and connect two wires, and the value appears at the register address of the slot the module occupies.

Published
ANALOG SIGNALS

Three analog signal types

An analog signal varies continuously, such as a current that rises and falls with temperature. Modbus carries digital data only, so the sensor first connects to an analog input (AI) module, which converts the signal into a value held in a register. The table below lists the three signal types a ModIO analog input module accepts.

Item4–20mA0–10VNTC
What it carriesCurrentVoltageResistance (thermistor)
Typical sensorsPressure, level, temperature and humidity transmittersTemperature and humidity transmitters, damper position feedbackTemperature probes
How to identify itNameplate or datasheet states a 4–20mA outputNameplate or datasheet states a 0–10V outputMarked NTC with its resistance, for example 10kΩ
JUMPER & WIRING

Jumper settings and wiring

The following applies to the analog input channels of ModIO-AI, ModIO-AI+ and ModIO-AIAO. Each channel has its own jumper header, and the position of the jumper cap sets which signal that channel accepts. Wiring is the same for all three signal types: the sensor signal wire goes to the channel terminal and the other wire to COM.

Jumper

Cap on the right two pins of the 3-pin header, marked mA on the board.

Wiring

Signal wire to one of ch-01 to ch-04; the other wire to COM.

ModIO-AI analog input module, front view, jumper headers

Good to know

  • Each channel has its own jumper, so one module can mix signal types, for example NTC on ch-01 and 0–10V on ch-02.
  • The four channels share one COM terminal.
  • Only self-powered sensors can be connected; 2-wire (loop-powered) transmitters are not supported.
MODIO MODULES

Which module to choose

Three ModIO modules provide analog inputs. They differ in channel count, resolution and the slots they fit.

ModIO-AI 4-channel analog input module
ModIO-AI+ 4-channel 16-bit high-resolution analog input module
ModIO-AIAO 2AI+2AO combined analog module
ItemModIO-AIModIO-AI+ModIO-AIAO
Analog input channels442 (plus 2 analog outputs)
Resolution12-bit16-bit12-bit
LLD-Modbus32E-01Module 04 / 05, max. 2Module 01–05, max. 5Module 05, max. 1
LLD-ModbusIO-01Module 04 / 05, max. 2Not supportedModule 05, max. 1
LLD-ModbusIO-02Single slot, max. 1Not supportedSingle slot, max. 1
ModIO-AI 4-channel analog input module

ModIO-AI

Analog input channels
4
Resolution
12-bit
LLD-Modbus32E-01
Module 04 / 05, max. 2
LLD-ModbusIO-01
Module 04 / 05, max. 2
LLD-ModbusIO-02
Single slot, max. 1
ModIO-AI+ 4-channel 16-bit high-resolution analog input module

ModIO-AI+

Analog input channels
4
Resolution
16-bit
LLD-Modbus32E-01
Module 01–05, max. 5
LLD-ModbusIO-01
Not supported
LLD-ModbusIO-02
Not supported
ModIO-AIAO 2AI+2AO combined analog module

ModIO-AIAO

Analog input channels
2 (plus 2 analog outputs)
Resolution
12-bit
LLD-Modbus32E-01
Module 05, max. 1
LLD-ModbusIO-01
Module 05, max. 1
LLD-ModbusIO-02
Single slot, max. 1
MODBUS

Reading the value over Modbus

Analog input values are held in registers and read with function code 03 or 04. Channel ch-01 sits at the slot’s starting address, and each following channel is one address higher.

LLD-Modbus32E-01 remote I/O baseboard, front view, with a ModIO-AI analog input module in Module 04
ModIO-AI installed in Module 04 on LLD-Modbus32E-01
ChannelAddress
ch-010x000C
ch-020x000D
ch-030x000E
ch-040x000F

The register holds a raw value, shown in hex. Conversion to engineering units such as temperature or pressure is set up in the host system based on the sensor’s range.

EBox-RIO connects to the host system over RS-485 (Modbus RTU) or Ethernet (Modbus TCP); see the model cards below for the interfaces each model supports.

EBOX-RIO

Models in this article

Full comparison on the product line page