Wiren BoardDocumentation
Documentation / Relay modules / WB-MR3LV/S and WB-MR6LV/S
Device manual · English

WB-MR3LV/S and WB-MR6LV/S

Normally open relay modules

revision 114853
Covered order codes (2)
  • WB-MR3LV/S
  • WB-MR6LV/S
Relay module illustration
WB-MR6LV/S

Purpose

WB-MR3LV/S and WB-MR6LV/S are 3- and 6-channel relay modules for industrial and home automation. They switch general-purpose power loads, including loads with high inrush currents such as LED luminaires, incandescent lamps and switching power supplies.

The modules support loads up to 16 A (rated current: 10 A) and can be used without intermediate contactors. A dedicated input switches off all loads simultaneously.

Not suitable for switching three-phase loads under the cited requirements, because the contacts must be mechanically interlocked for that application (GOST 30011.4.1, clause 7.2.1.1.5).

For relay selection, see Relay selection recommendations.

Model naming

WB-MRN LV/S, where N is the number of relay outputs (3 or 6).

For example, WB-MR3LV/S is a three-output relay module with very high inrush-current capability.

Technical specifications

Parameter Value
Power supply
Supply voltage 9 to 28 VDC
Power consumption
  • all relays off — 0.5 W;
  • with all relays on — WB-MR3LV/S: 1.5 W; WB-MR6LV/S: 3 W;
  • peak consumption — up to 8 W (4 W for WB-MR3LV/S) for 20 ms.
Outputs
Number of outputs
  • WB-MR3LV/S: 3;
  • WB-MR6LV/S: 6.
Output type Mechanical relay contacts
Contact configuration Normally open, single-pole single-throw. SPST (C, NO)
Output arrangement 3 or 6 outputs connected to relay contacts
Maximum switching voltage, AC 250 V
Maximum switching voltage, DC 30 V
Rated switching current per output at 230 V AC 10 A
Maximum switching current per output at 230 V AC 16 A
Maximum switching current per output, DC 16 A at 24 V, 10 A at 30 V (resistive load, room temperature, service life of 20,000–50,000 switching operations)
Maximum inrush current (20 ms) at 230 V AC 165 A
Maximum inrush current (1.5 ms) at 230 V AC 500 A
Contact resistance < 100 mΩ
Contact material W+AgSnO2
Dielectric withstand voltage between relay coil and contacts 5000 VAC (1 minute)
Dielectric withstand voltage between open relay contacts 1250 VAC (1 minute)
Operating life 12,000 operations at 16 A / 230 VAC
Detailed specifications HF115F-S
Datasheet HF115F-S.pdf
Inputs
Number of inputs
  • WB-MR3LV/S: 4;
  • WB-MR6LV/S: 7.
Input type Dry contact; inputs isolated as a group.

Input voltage approximately 12 V DC. Current with the input closed: ~2 mA

Permissible voltage −20 V to +40 V
Pulse frequency and duration
  • up to 10 Hz (T > 50 ms) by default;
  • 5 kHz with debounce time set to 0 ms.
Functions
  • general-purpose inputs;
  • pulse counting;
  • frequency measurement;
  • direct relay output control;
  • simultaneous disconnection of all loads;
  • flexible input-to-relay behaviour using the mapping matrix
Delays
Startup Delay When Power On (s) 0–999 s; default: 0 s
Restart Delay After Output Turn Off (s) 0–999 s; default: 0 s
Indicators
LED See Indicators
Control
Control interface RS-485
Interface isolation Non-isolated
Communication protocol Modbus RTU; software-configurable address; factory settings are printed on the label
RS-485 interface parameters Software-configurable; defaults:

baud rate — 9600 bit/s; data — 8 bits; parity — none (N); stop bits — 2

Ready after power-on ~2 s
Operating conditions
Ambient air temperature −40 to +80 °C
Relative humidity Up to 95%, non-condensing
Climatic classification under GOST 15150-69 O2.1* (the designation uses the Cyrillic letter O)
Warranty 2 years
Service life 8 years
Terminal blocks and wire cross-sections
Recommended wire cross-section with insulated wire-end ferrules control inputs: 0.35–1 mm2 — single ferrule; 0.35–0.5 mm2 — twin ferrule,

power outputs: up to 4 mm2 for single ferrules (up to 6 mm2 for solid conductors); up to 2.5 mm2 — twin ferrule

Standard ferrule sleeve length control terminals: 8 mm;

power outputs: 10 mm

Screw tightening torque control inputs: 0.2 N·m,

power outputs: 0.5 N·m

Dimensions
Width, DIN modules 3 / 6
Dimensions (L × W × H)
  • WB-MR3LV/S: 53 x 90 x 58 mm;
  • WB-MR6LV/S: 106 x 90 x 58 mm.
Weight (including box)
  • WB-MR3LV/S: 160 g
  • WB-MR6LV/S: 300 g

Operating principle

Indicators

Relay module illustration
WB-MR3LV/I(K) indicators

The module has indicators that show its status without connecting to a controller:

  • S (green) — Modbus communication status: lights up when low-voltage power is applied and flashes during polling over RS-485. On devices with events enabled in Fast Modbus ⚡ the indicator flashes more frequently than during sequential polling because events are polled faster. In bootloader mode it flashes once per second; during firmware upload it flashes rapidly.
  • 1–6 (orange) — output state: lit when the relay contacts are closed.

Inputs

Inputs use numbered removable terminal blocks with a common iGND terminal and operate as dry-contact inputs.

Connect switches for direct output control, or a signal source for pulse counting and frequency measurement.

Both maintained and push buttones are supported. Push buttones support several press types, each of which can be assigned an action for scene control. Press events are also transmitted to the controller over Modbus for processing in software.

The Wiren Board controller does not poll press counters by default. Enable their polling in the device settings if required.

By default, each input controls the output with the same number, and input 0 switches off all outputs. Inputs use the mode Latching switch — the relay contacts follow the switch contacts. Change the switch type and input parameters in the settings.

Press-type recognition

The module recognises four press types: short; long; double; and short followed by long.

Presses can be processed on the controller, which receives a separate counter for each type over Modbus, or locally in the module to control its outputs.

Press-recognition parameters can be changed in the settings.

Outputs

The modules have 3 or 6 independent normally open relay outputs. The permissible DC load current is specified in the technical specifications. For permissible load power and load types, see Relay selection recommendations.

Safety Mode

Safety Mode can stop a process if control over the module is lost, for example if the RS-485 cable is severed. Account for loss of controller communication when designing control systems. (See Configuring Safety Mode.)

Actuator Control

Relay module illustration
Roller blind motor
Relay module illustration
Curtain track motor

Despite the wide range of actuators with digital control, mains-switched actuators remain common for curtains, blinds, shutters, projector screens, air dampers, ball valves and similar devices. Their main control requirement is to prevent simultaneous activation of Open and Close.

The module's Actuator Control combines two relays into one control and uses a software interlock to prevent both relays being energised simultaneously. It also inserts a 500 ms delay when reversing direction and energises the relays for the configured duration (10 seconds by default).

To protect the actuator, commands through the relay coil registers and input/output mapping matrices are ignored in this mode. These outputs can only be controlled through the Actuator Control registers and the actuator mapping matrix.

Actuator Control is disabled by default. Enable it in the settings before use. Configure delays and control from the module inputs there as well.

Delays

Startup Delay When Power On (s) starts when the device firmware boots, approximately 2.5 s after low-voltage power is applied. It switches outputs on sequentially to protect supply circuits from combined inrush currents.

Restart Delay After Output Turn Off (s) starts when the relay switches off. It protects loads sensitive to frequent switching, such as compressors and pumps.

Delays are configured separately for each relay output.

Output timer functions

Timer functions switch module outputs on or off according to a defined timing sequence.

Direct control and timer functions can be used in the same module. Each output can have only one timer function. Outputs are configured independently; changing one output does not affect the others. More about relay module timer functions.

Each relay output supports these timer functions: On Delay, Off Delay, Switch on for a time, Switch off for a time, On/Off Cycle.

Available from firmware 1.28.0 The following functions are also available Switch on for a time (with command reset) and Switch off for a time (with command reset).

Configuring output timers.

Installation

Mount the device on a standard 35 mm DIN rail. The V+ GND A B terminal block, with a 3.5 mm pitch, connects the power supply and RS-485 bus. For reliable communication, wire the RS-485 bus correctly; see RS-485 bus wiring and connection.

If devices on the RS-485 bus use different power supplies, their GND terminals must be interconnected. See Grounding Wiren Board devices and connecting GND and iGND.

For convenient daisy-chain wiring, the second terminal block on 6-channel modules is connected in parallel with the first.

Relay module illustration
Crimping insulated wire-end ferrules

Use flexible stranded wire with insulated wire-end ferrules (NSHVI).

Strip the insulation to the sleeve length, or strip a little more and trim the protruding wire after crimping. Use a ferrule crimping tool. A crimped ferrule protects the strands from the screw clamp and secures the connection.

Do not overtighten the terminal screws: excessive force damages the screw terminal.

The module briefly draws high power when a relay switches on (see power consumption). Use a power supply with sufficient power reserve.

Digital inputs activate when connected to iGND. The current is low (~2 mA), so any suitable button or switch type can be used. Cable length and cross-section are not critical for contact detection. To reduce interference from nearby power wiring, use twisted pair and connect iGND to the second conductor of the pair. More about connecting iGND/GND terminals.

Installation example

Relay module illustration
WB-MR3LV/S installation example

Input assignments can be changed using the mapping matrix. Select the switch type and change other module parameters under Configuration.

The diagram shows one way to connect loads to WB-MR3LV/S WB-MR3LV/S installation example.

In this example, wiring before and after the relay is protected by a 10 A circuit breaker. Select its rating for the installed conductor size and the module's maximum switching current.

A water heater, fan and LED lamp are connected to outputs K1, K2 and K3. Switches connected to the inputs close them to iGND.

Outputs K2 and K3 can be controlled both by switches and over RS-485. Output K1 is controlled only over RS-485. The OFF ALL switch de-energizes all relay outputs, K1–K3.

For switch types and other module settings, see Configuration.

Connecting curtain actuators

Relay module illustration
Curtain actuator connection example for WB-MR3LV/S

Before connecting a curtain actuator, enable Actuator Control for the outputs used! Incorrect configuration can energise both relays simultaneously and may damage some actuators.

A curtain actuator uses two relays, typically connected to mains phase L and the actuator's Open and Close wires. The actuator is also connected to neutral N and protective earth PE. Always check the proposed wiring against the actuator documentation.

One curtain actuator can be connected to WB-MR3LV/S, and up to three to WB-MR6LV/S. Actuator Control can be assigned to any module input for each of the four press types. Input-based actuator control is disabled by default.

Available output functions
Actuator WB-MR3LV/S outputs WB-MR6LV/S outputs
1 K1 — open; K2 — close K1 — open; K2 — close
2 K3 — open; K4 — close
3 K5 — open; K6 — close

Shop lighting wiring

Relay module illustration
Shop lighting wiring diagram for WB-MR6LV/S

In this example, one WB-MR6LV/S controls the lighting in a small shop. All loads use switching power supplies or drivers with high inrush currents. For more about these loads, see Relay selection recommendations.

The outputs are connected as follows:

  • K1 — 48 V magnetic track with a power supply: shop window and entrance;
  • K2 — 48 V magnetic track with a power supply: sales floor;
  • K3 — standby lighting: an LED panel with a driver;
  • K4 — IP67 power supply with an LED strip: shelf lighting;
  • K5 — IP67 power supply with an LED strip: shop-window lighting;
  • K6 — outdoor illuminated sign, with its power supplies installed inside its enclosure.

Switches in the back room are connected to inputs 1, 2, 4 and 5 and control outputs K1, K2, K4 and K5; this is the default input configuration. The OFF ALL switch on input 0 de-energizes all outputs when the shop closes.

The standby lighting (K3) and sign (K6) are controlled only by the controller over RS-485, for example on a schedule.

Configuration

Configuration methods

  1. Set the parameters in the Wiren Board controller web interface under Settings → Configs → Serial devices driver configuration. If these items are unavailable, check your access level.
  2. Write settings to the Modbus registers of the module from the controller console using the utility modbus-utils-rpc or modbus_client.
  3. Without a Wiren Board controller, use the Wiren Board device web configurator or other software; see Using Wiren Board Modbus devices without a controller. You will need a computer with an interface converter: USB-RS485.

Our devices are continually improved. If settings described in this manual are missing, update the device firmware and controller software.

Input closure and press counters

The counters for input closures to ground are Input X counter. These counters are available in all modes for counting pulses and processing dry-contact signals.

When operating with the mapping matrix the following press-type counters are available:

  • Single Press Counter — single short presses,
  • Long Press Counter — long presses,
  • Double Press Counter — double short presses,
  • Shortlong Press Counter — short-then-long presses.
Relay module illustration
Enabling polling of press-type counters

These count recognised press types, rather than input closures, and are intended for push-button processing. To use press types in wb-rules enable polling of the corresponding channels.

The counters Input X counter and Single Press Counter serve similar purposes but process contact closures differently:

  • counter Input X counter increments as soon as the input closure is accepted after the configured debounce time;
  • counter Single Press Counter increments when a short press has been detected without a second press. The response time is the short-press duration plus the second press waiting time.

Therefore, when using Single Press Counter to count digital signals, you may need to reduce the second press waiting time. For pulses and reed-switch activations, use Input X counter; use the button press counters when working with push buttons.

All counter values are stored in the relay microcontroller's RAM and reset when power is removed.

Control from switches

The parameter Mode lets you select the connected switch type, disable press actions, or select a mode based on the mapping matrix.

In matrix modes, input states and event counters can still be sent to the controller with input actions disabled, depending on channel polling settings.

Matrix modes are universal; switch modes are retained for compatibility with older projects.

When you select the mode Operate according to button mapping-matrix lets you assign output actions to each of the four press types for scene control and multi-location switching. See Press-type recognition.

Available settings:

Relay module illustration
Timing diagram for press events, with debouncing disabled
Relay module illustration
Press counters for the first input in the Wiren Board web interface
  • Long Press Time (ms) — distinguishes long and short presses. A press lasting longer than this value is long; otherwise it is short.
  • Second Press Waiting Time (ms) — opens a time window after a short press ends. A second press within this window is treated as a double press; otherwise the first press is treated as a single press.
  • Debounce Time (ms) — the time for which the input signal must remain unchanged before it is registered and processed by the press recognition algorithm. For press recognition, set this to one-fifth to one-tenth of the second-press waiting time.
  • Polling interval for each counter — leave this at the default value; the driver manages polling automatically.

Double-press recognition delays single-press recognition. With the default setting of 300 ms, a short-press event occurs 300 ms after the button is released. If double presses and short-then-long presses are not required, set Second press waiting time to 0 ms. The short-press event will then occur immediately after button release.

Press recognition takes place after debouncing. With Debounce time set to the default 50 ms, presses shorter than 50 ms are ignored. Button release is also registered 50 ms after physical release. Choose the debounce time for the particular button to minimise latency while preventing false events, such as a double press being detected instead of a single press.

Default input settings:

  • each input controls the corresponding relay: for example, input 2 controls relay 2;
  • inputs use Latching switch mode;
  • input 0 switches off all relays.

Useful resources:

Debouncing

Relay module illustration
Example of setting the debounce time for input 1

For any relay input, configure debouncing with the parameter Debounce Time (ms). Range: 0–2000 ms; default: 50 ms.

Output states at power-on

Relay module illustration
Configuring relay states at power-on

The following power-on behaviours are available:

  • Safe state (default) — after power-on, outputs follow the setting Output Safe State;
  • Restore last state — saves the last output states and restores them at power-on;
  • According to inputs — after power-on, outputs follow the input states (input N closed → output N on, where N is the input/output number). This only works with inputs in Latching switch mode.

Configuring Safety Mode

Relay module illustration
Fail-safe timer and output state after communication resumes

Safety Mode can stop a process if control of the module is lost, for example because the RS-485 cable is severed. Account for communication loss when designing control systems.

The fail-safe timer restarts after every successfully received and processed Modbus. When the configured time expires, the relay enters Safety Mode. Normal operation resumes when communication is restored. The default timeout is 10 seconds.

Each output has a configurable fail-safe state and can be configured to enter it on communication loss.

Input control behaviour can be configured:

  • Don't change — previously enabled input control remains enabled.
  • Block in safe mode — inputs cannot control the relays.
  • Allow only in safe mode — input control blocked in normal operation becomes available in safe mode.

Configuring frequency measurement

Relay module illustration
Frequency measurement settings in the Wiren Board controller web interface

To measure the frequency of a signal at an input, configure that input as follows:

  1. Select the operating mode Control disabled / Frequency measurement. This disconnects the input from output control.
  2. Set Debounce time to 0 ms to measure the highest supported frequencies. For low-frequency signals, the debounce time may instead be set below the pulse period.
  3. Disable polling of the input to reduce bus traffic.

For details of frequency register updates, see Updating frequency values in registers.

Actuator Control

On the Actuator Control tab, select the appropriate output mode. Settings then become available for opening/closing times, reversal delay, and actions at power-on and on entering Safety Mode. The input tabs also allow an actuator action to be assigned to each of the four press types.

Outputs in one module can use different modes: for example, K1 and K2 can control an actuator while K3–K6 operate normally.

Configuring protective delays

In the device settings, open Protective Functions and set the Startup Delay When Power On (s) or Restart Delay After Output Turn Off (s) for the corresponding relay output.

Configuring output timers

In the device settings, open Timers, select a function and configure its duration for the corresponding relay output.

Wiren Board controller web interface

Selecting a template

To display the device on the Devices tab of the Wiren Board controller web interface, add it automatically by scanning for Wiren Board devices on RS-485 or manually by selecting a template:

  • for WB-MR3LV/S — WB-MR3LV/x, WB-MR3HV/x, WB-MRWL3,
  • for WB-MR6LV/S — WB-MR6C v.2, WB-MR6LV/x, WB-MR6HV/x.

Controlling the device and viewing values

The web interface allows you to control device outputs and view readings. To change the displayed channels, edit the device configuration in the wb-mqtt-serial driver settings.

Modbus operation

Wiren Board devices use Modbus RTU. The physical connection uses the RS-485.

interface. All main commands for reading and writing one or multiple registers are supported. See the list in the Modbus protocol description.

The module can be configured:

Default port settings

Value
default
Parameter name
in the web interface
Parameter
9600 Baud rate Baud rate, bit/s
8 Data bits Number of data bits
None Parity Parity
2 Stop bits Number of stop bits

In current firmware, setting Stop bits is optional: the device also operates correctly when its number of stop bits differs from the Modbus master setting.

For a faster response, we recommend increasing the baud rate to 115200 bit/s; see Communication parameter settings.

Modbus address

Relay module illustration
Factory-assigned Modbus address. Left: label on the device cover. Right: label on the side or underside of the device.

Each device on the bus must have a unique address from 1 to 247. The factory-assigned address is printed on labels on the enclosure (top cover, side or underside). Devices in a production batch are assigned different addresses, so devices in one order will usually have different addresses.

For instructions on finding, changing or resetting the address, see Wiren Board device Modbus address.

Fast Modbus extension

Fast Modbus extends standard Modbus with rapid discovery of Wiren Board devices on RS-485 and event polling.

These features are enabled by a special command from the master, so Wiren Board devices remain compatible with third-party equipment.

Not every register supports event generation. Check the register map: event-capable registers are marked with ⚡. See Fast Modbus.

Register map

Relay module register map

Firmware updates and resetting settings

Wiren Board devices support firmware updates over Modbus. This allows bugs to be fixed at the installation site and, where technically possible, new features to be added. Settings stored in the device are retained during a firmware update.

Instructions:

New firmware releases are listed in the device firmware changelog.

Troubleshooting

Interference from relays and contactors

Relays and contactors can interfere with nearby devices. When switching loads, especially inductive loads, the contacts generate high-frequency transients with amplitudes of several kilovolts, which may couple into other circuits. Snubber networks suppress these transients, reducing interference and improving equipment stability. See Interference when switching inductive loads

Device images and drawings

Revision 114853.