Wiren BoardDocumentation
Documentation / Input modules / WB-MAI2-mini/CC v.3
Device manual · English

WB-MAI2-mini/CC v.3

Compact two-channel 0–20 mA analogue input module with RS-485 Modbus RTU

revision 113737
Covered order codes (1)
  • WB-MAI2-mini/CC v.3 — Dual-channel 4–20 mA analogue input module

WB-MAI2-mini/CC v.3 is a compact two-channel analogue input module for 0–20 mA and 4–20 mA current-loop sensors. It connects to a controller or another Modbus RTU master over RS-485. The CC version has two current inputs; version 3 provides the same functions as the preceding model in a much smaller enclosure.

WB-MAI2-mini/CC v.3 analogue input module
WB-MAI2-mini/CC v.3

Technical specifications

Supply voltage9–28 V DC
Power consumption0.06 W
Inputs2 passive current inputs
Measurement range0–20 mA
Input resistance49.9 Ω
Measurement error±(0.1 mA + 1.5%)
InterfaceNon-isolated RS-485; Modbus RTU; factory serial settings 9,600 bit/s, 8 data bits, no parity and 2 stop bits
Ready timeApproximately 2 seconds after power-up
Operating conditions−40 to +80 °C; up to 95% RH without condensation
Dimensions34 × 20 × 17 mm
Packaged weight13 g
Service life / warranty8 years / 2 years

Operation and indication

Both inputs measure current across internal 49.9 Ω shunt resistors. The inputs and RS-485 interface are not galvanically isolated. The S status LED is below terminal B. It flashes during normal Modbus communication, flashes more frequently during Fast Modbus polling, blinks once per second in the bootloader and blinks rapidly while firmware is being written.

WB-MAI2-mini/CC v.3 status indicator
Status indicator location

Installation and wiring

The 3.5 mm terminal block provides V+, GND, A and B. The compact enclosure can be installed in a mounting box, junction box or cable duct. Keep analogue signal wiring away from mains conductors and sources of interference.

Passive two-wire sensor

A passive current-loop sensor needs an external supply. Connect the supply positive terminal to the sensor positive lead, the sensor output to the selected module input and the supply negative terminal to module GND.

Passive 4–20 mA sensor wiring
Passive current-loop sensor wiring

Active three-wire sensor

Power an active sensor from its specified supply, connect its signal output to the selected input and join the sensor ground, supply ground and module GND. The module power bus may supply the sensor when its voltage and current requirements are compatible.

Active three-wire 4–20 mA sensor wiring
Active sensor wiring

Configuration

On a Wiren Board controller, scan the RS-485 bus or add the WB-MAI2-mini/CC fw 4.32 template manually. Older firmware uses the earlier template and can be updated. Without a controller, use the Web Configurator with a compatible USB-to-RS-485 adapter. The same parameters are also available through Modbus registers.

Signal averaging

Each channel has an independent signal averaging time. The factory value is 100 ms; 0 disables averaging. Increase it, for example to 1,000 ms, when a noisy current loop produces unstable readings.

Scaling to a physical quantity

Firmware 4.32 and later can convert measured current directly to a physical value. For each input, select 0–5 mA, 0–20 mA or 4–20 mA (the default), then set the lower and upper engineering limits. Select integer, one-, two- or three-decimal resolution with representable ranges of −32768…32766, −3276.8…3276.6, −327.68…327.66 or −32.768…32.766 respectively.

Example: for a 4–20 mA level sensor representing 0–10 m, set the lower limit to 0, upper limit to 10 and two-decimal resolution. A 12 mA signal is then reported as 5.00 m with 0.01 m display precision.

Physical-quantity scaling settings
Input range, engineering limits and resolution

Controller values and automation

The controller interface exposes Input 1 Current, Input 2 Current, Input 1 Value, Input 2 Value and Serial NO. Optional diagnostic channels include supply voltage, firmware version and uptime. A signal outside the configured range marks the scaled value as an error while the measured-current registers remain available.

WB-MAI2-mini/CC v.3 values in the controller interface
Measured currents and scaled values

Scaling can also be performed in an automation rule. For a 4–20 mA pressure transmitter representing 0–10 bar, the conversion is:

(current - 4.0) / 1.6
Calculated water pressure value
Calculated pressure in a virtual device

Essential Modbus registers

AddressTypePurposeFormat / values
0–1InputInput 1 / 2 currentµA; firmware 4.32 and later
2–3InputInput 1 / 2 scaled valueSigned value; decimal position follows the selected resolution; 0x7FFF indicates an error
8–9HoldingInput range0 = 0–5 mA; 1 = 0–20 mA; 2 = 4–20 mA
10–11HoldingLower engineering limitSigned value
12–13HoldingUpper engineering limitSigned value
110HoldingRS-485 baud rateRate divided by 100
111HoldingParity0 none; 1 odd; 2 even
112HoldingStop bits1 or 2
128HoldingModbus address1–247
246–247InputLegacy input current registers×0.03125 mA
273–274HoldingInput 1 / 2 averaging timeMilliseconds; default 100; 0 disables averaging

Firmware, reset and known issue

Firmware is updated over Modbus and the stored configuration is preserved. Do not disconnect the power supply or RS-485 bus during an update. After a reset, verify the Modbus address and serial settings before returning the channel to service.

Hardware revision 3.1 has been used in production batches since April 2025.

Dimensions

WB-MAI2-mini/CC v.3 dimensions
Overall dimensions
Revision 113737.