Wiren BoardDocumentación
Documentación / Módulos de entrada / WB-MAI2-mini/CC v.3
Documentación · Español

WB-MAI2-mini/CC v.3

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

revision 113737
Referencias de pedido incluidas (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

Especificaciones técnicas

Tensión de alimentación9–28 V DC
Consumo de energía0.06 W
Entradas2 passive current inputs
Rango de medición0–20 mA
Input resistance49.9 Ω
Error de medición±(0.1 mA + 1.5%)
InterfazNon-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
Condiciones de funcionamiento−40 to +80 °C; up to 95% RH without condensation
Dimensiones34 × 20 × 17 mm
Peso con embalaje13 g
Vida útil / garantía8 años / 2 años

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

Instalación y cableado

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

Configuración

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

DirecciónTipoFunciónFormato / valores
0–1EntradaInput 1 / 2 currentµA; firmware 4.32 and later
2–3EntradaInput 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
110HoldingVelocidad en baudios RS-485Rate divided by 100
111HoldingParidad0 none; 1 odd; 2 even
112HoldingBits de parada1 o 2
128HoldingDirección Modbus1–247
246–247EntradaLegacy 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.

Dimensiones

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