WB-MAO4-20mA
Four-channel isolated 0–20 mA and 4–20 mA analog output module
Referencias de pedido incluidas (1)
WB-MAO4-20mA— Four-channel isolated current output module
WB-MAO4-20mA is a four-channel analog output module for industrial automation. It controls variable-frequency drives, servo drives, air-damper actuators, valves and other equipment with 0–20 mA or 4–20 mA current-loop inputs. The module can be controlled locally from buttons or remotely over RS-485 using Modbus RTU.

Especificaciones técnicas
| Parámetro | Valor |
|---|---|
| Alimentación | |
| Tensión de alimentación | 9–28 V DC |
| Consumo de energía | 0.3–2.3 W |
| Analog outputs | |
| Número de canales | 4 |
| Señal de salida | 0–20 mA or 4–20 mA |
| Isolation | Each output is galvanically isolated from the other outputs and from the module's internal circuitry |
| Maximum load resistance | 500 Ω |
| Exactitud | ±(2% + 100 µA) at +25 °C; ±(3% + 100 µA) from −40 to +80 °C |
| Entradas digitales | |
| Función | Four universal, flexibly configurable inputs |
| Tipo de entrada | Dry contact, non-isolated; approximately 5 V DC and 5 mA when closed |
| Tensión admisible | 0–30 V |
| Control | |
| Interface / protocol | Non-isolated RS-485; Modbus RTU; software-configurable address |
| Factory serial settings | 9,600 bit/s, 8 data bits, no parity, 2 stop bits (8N2) |
| Ready time after power-up | Aproximadamente 2 segundos |
| Environmental and mechanical | |
| Operating temperature / humidity | −40 to +80 °C; up to 95% RH, non-condensing |
| Climatic classification | O2.1 under GOST 15150-69 |
| Garantía / vida útil | 2 años / 8 años |
| Recommended ferruled conductor | 0.35–1 mm² single ferrule; 0.35–0.5 mm² twin ferrule |
| Ferrule sleeve / tightening torque | 8 mm / 0.2 N·m |
| DIN width / dimensions / packaged weight | 2 modules / 36 × 90 × 58 mm / 80 g |
Principio de funcionamiento
The four outputs are independent, galvanically isolated current-source channels. Each channel uses a transistor controlled by an operational amplifier with feedback from a precision shunt. Every channel has its own internal 15 V supply, so no external loop power supply is required. At 20 mA, the connected load resistance must not exceed 500 Ω.
An output can be controlled directly in microamperes from 0 to 20,480 µA, or as a percentage of the selected 0–20 mA, 4–20 mA or user-defined range. Smooth transitions can be configured separately for increasing and decreasing values.
Indicators and output-current error
The green S indicator lights when low-voltage power is present and flashes during Modbus traffic. It flashes more frequently with Fast Modbus event polling, once per second in the bootloader, and rapidly during firmware upload.
Four channel LEDs show the output condition: off means zero current, on means current above zero, and flashing indicates that the actual loop current is below the configured threshold. This error detects a broken loop, excessive load resistance or another condition that prevents the requested current from being established.
Digital inputs and press recognition
The module recognises short, long, double, and short-then-long presses. The controller can read a counter for every press type, or the module can apply a configured action directly to one or all outputs. Local button actions are disabled by default.


Instalación

Mount the module on a standard 35 mm DIN rail. Connect 9–28 V DC and RS-485 to the 3.5 mm-pitch V+, GND, A and B terminal block. If bus devices use different power supplies, interconnect their GND terminals. Use a terminated daisy-chain bus and keep it separated from mains wiring.
Close a digital input to the minus terminal or GND. The input current is approximately 5 mA, so ordinary momentary buttons and latching switches can be used. Route each input with GND as a twisted pair near power wiring. Connect every 0–20 mA or 4–20 mA output to its actuator using twisted pair.
In the example, two isolated channels control a variable-frequency drive and a valve. The valve can use a separate supply because the WB-MAO4-20mA output has its own isolated current source. The outputs are isolated both from the internal circuit and from one another, so the controlled devices may use different power supplies.
Wiren Board controller interface

Add the device by RS-485 discovery or select the WB-MAO4-20ma template manually. The device card provides output control, input states, press counters, serial number, supply voltage and service channels. Enable only the channels required by the project.
Configuración
Métodos de configuración
- On a Wiren Board controller, open Settings → Configs → Serial devices driver configuration.
- Write the configuration registers with the controller's Modbus utilities or another Modbus master.
- Without a controller, use the Wiren Board device web configurator and a compatible USB-to-RS-485 adapter.
If a documented setting is missing, update the device firmware and controller software before commissioning.
Configuración de las salidas analógicas

For each output, select 0–20 mA, 4–20 mA or a user-defined range. Set minimum and maximum current for the 0% and 100% points, the rates for increasing and decreasing the level, and the repeat rate used while a long-press action is held.
Debouncing and press counters
Configure Debounce Time (ms) independently for each input. A signal must remain stable for this interval before it is accepted. The factory value is 50 ms. Configure the long-press threshold and the second-press waiting time. Double-press detection delays a short-press event by the waiting interval; set the interval to 0 ms if double and short-then-long presses are not needed.
Vinculación de eventos de entrada con las salidas


Four inputs and four recognised press types provide sixteen events. Each event can target one output, all outputs or no output. Available actions are Off, On, Toggle, Increase level, Decrease level, alternating Increase/Decrease, and Turn on and set level. For a short or double press, the level step is configured per output. Turn on and set level accepts 0.1–100% and uses the configured ramp rates.
| Tipo de pulsación | Off / On | Toggle | Increase / Decrease | Alternating direction | Turn on and set level |
|---|---|---|---|---|---|
| Short | One or all outputs | Una salida | One or all outputs | Not available | One or all outputs |
| Long | One or all outputs | Una salida | One or all outputs | Una salida | One or all outputs |
| Double | One or all outputs | Una salida | One or all outputs | Not available | One or all outputs |
| Short, then long | One or all outputs | Una salida | One or all outputs | Una salida | One or all outputs |
Latching switches

For a latching switch, use the Latching switch input mode. Separate actions are available for the closed and open states: On, Off or Toggle. Each state may target one output, all outputs or none.
Quadrature encoders


Up to two AB incremental encoders can be connected: Encoder 1 uses Inputs 1 and 2, while Encoder 2 uses Inputs 3 and 4. Set debounce to 2–5 ms; use 2 ms for fast rotation. Input frequency must remain below 250 pulses per second at 2 ms debounce. Encoders with up to 25 pulses per revolution provide adequate margin.
Configure pulses per logical step, the controlled output, and the percentage step per encoder step. When rotation decreases the level below its configured minimum, the channel can either switch off or remain at the minimum. The encoder position is readable and writable as a signed 32-bit value. A shaft push switch may use any free input.
Automatic switch-on channels
Each output has an additional automatic switch-on channel. Writing a value above zero turns the output on and sets the value in one operation. Writing zero behaves like the ordinary level channel. This is useful for automation rules and external integrations that should not need a separate coil write.
Safety Mode

Safety Mode moves selected outputs to predefined states if Modbus communication is lost. The timer restarts after every successfully processed request; its factory value is 10 seconds. Configure the safe state and whether it applies independently for each output. Local input control can remain active, be blocked in Safety Mode, or be enabled only while Safety Mode is active.
Output state after power-up

Each output can start Off, restore its last stored state, start On, or turn on at a configured level. A level of 0% leaves the channel off; a later change from 0% to a non-zero level switches it on.
Funcionamiento Modbus
The module supports the standard Modbus RTU commands for reading and writing one or multiple registers. Factory settings are 9,600 bit/s, 8 data bits, no parity and 2 stop bits. Current firmware tolerates a stop-bit setting different from the master. For lower latency, 115,200 bit/s can be used when every device and the master are configured consistently.
Dirección Modbus

Every device on one RS-485 line must have a unique address from 1 to 247. The factory address is printed on the enclosure. It can be discovered, changed or reset with the controller tools, the device configurator or compatible Modbus software.
Ajuste gradual remoto del nivel
Auto-Change lets the master start a smooth change with one register write instead of continuously sending level values. Action 0 stops; 1 decreases; 2 increases; and 3 alternates the direction. The ramp stops at the minimum non-zero value or 100%, when the output is switched off, or when another command changes the channel. To switch fully off, write 0 to the level register.
Fast Modbus
Fast Modbus adds rapid device discovery and event polling while retaining compatibility with ordinary Modbus masters. A compatible master enables the extension with a special command. Event-capable registers are identified in the device register map.
Mapa de registros
The register map includes direct current setpoints, percentage levels, output switches, automatic switch-on channels, input states and counters, encoder positions, ramp commands, serial settings, Safety Mode and power-up behaviour. Use the register names and data types shown by the controller template or device configurator.
Firmware, reset and commissioning
Firmware can be updated over Modbus and stored settings are retained. Do not interrupt power or RS-485 communication during an update. After a factory reset, verify the address, serial parameters, output ranges, input mappings, power-up state and Safety Mode before returning the system to service.
Device photographs and dimensions


