Index >> Products >> IP Serial

IP Relay HWg-ER02b: Web relay + full serial port over IP

relé de Ethernet, carril de DIN, interfaz de Web. Se distingue por 2x DI (entrada de contacto seco), completo puerto de serie de RS-232/485 y 2x DO (salida de relé, 230V/16A).
Controlado a través de web o Modbus/TCP. Dos relés de IP conectados espalda contra espalda pueden extender (túnel) el puerto de serie e I/O a través de LAN (RAL).

Las salidas de relé pueden directamente cambiar la red eléctrica de 230V/16A AC; los contactos secos pueden ser usados p.ej. para los botones. El dispositivo presenta completo puerto de serie de RS-232/485 para conectar p.ej. los lectores de RFID o de códigos de barras. IP Relay es completamente certificado para controlar 110/230V y queda en carril de DIN.

I/O de Ethernet pueden ser controladas a través de Web, Modbus/TCP o Telnet NVT.

Cuando IP Relay está conectado con PC a través de LAN (RAL), puede trabajar como convertidor serial que conecta su RS-232 a través de Ethernet con Virtual Puerto de Serie (VSP). HW group ofrece HW VSP – gratuita aplicación de virtual puerto de serie que soporta hasta 100 remotos puertos seriales (soporte incluye Windows 7 y sistemas de x64). Completo puerto serial de RS-232 controla todas 9 señales.

Las aplicaciones típicas incluyen remoto control de energía, apertura de la puerta remota a través de LAN (salida de relé) y conexión de lector de tarjetas de RFID (RS-232).

  • 1x completo puerto de serie de RS-232 o RS-485 (server terminal, puerto virtual)
  • 2x entradas digitales (contactos secos)
  • 2x salidas digitales (salida de relé de 230V/16A)
IP Relay HWg-ER02b: relé de Web + completo puerto de serie a través de IP

vista trasera  Quick start set
  Web1  Web2


IP Relay comparison to previous generation

  NEW: IP Relay ER02b
IP Relay ER02a
Housing Plastic DIN rail Plastic DIN rail
DI (Digital Inputs) 2 -
DO (Digital Outputs – 110/230V / 16A relay) 2 2
Ethernet 100 Mbps 10 Mbps
RS-232 9 wires
(full serial port)
5 wires
Max fulltime serial baudrate 115,200 Bd 38,400 Bd
Web Interface
Modbus/TCP protocol


  • Ethernet: RJ45 (100BASE-T / 100 Mbit/s)
  • Configuración: Web, Telnet
  • Interfaz serial: 1x completo puerto serial de RS-232/RS-485
  • Completo puerto serial de RS-232: RxD, TxD, GND, CTS, RTS, DSR, DTR, RI, CD (115,200 Bd)
  • Entradas: 2 entradas digitales (contacto seco)
  • Salidas: 2 NO/NC salidas digitales (relé), calificado para 230V/16A
  • Modo de Box-2-Box: Dos unidades pueden ser conectadas espalda contra espalda a través de la red y construir un túnel de I/O y puerto de serie (peer-to-peer).
  • Protocolos de M2M: http, Modbus/TCP, Telnet, TCP Server, TCP Client/Server
  • Soporte para programadores: HWg-SDK
  • Gratuito software de HW VSP: Virtual puerto de serie para Windows (servicio de NT, sistemas de x64). Soporta hasta 100 remotos puertos seriales. HW VSP es el más popular virtual puerto de serie para Windows en el mundo!
  • Utilidad de HWg IPRC cmd: Utilidad de línea de comando para el control remoto de las salidas (Windows and Linux)

full serial port RS-232

Full RS-232 serial port

  • IP Relay HWg-ER02b supports full RS-232 serial port in hardware
  • The HW VSP application (Virtual Serial Port) supports full serial ports
  • RFC2217 can be used for third-party SW implementations
  • IP Relay HWg-ER02b also supports 9-bit data transfer over the serial port
  • IP Relay HWg-ER02b can be used as an Ethernet com port (remote serial port)


  • Conexión de dos botones/interruptores con la aplicación de SW.
  • Conexión de sus dispositivos de RS-232 con su LAN (RAL) – código de barras / escáneres de RFID, impresoras seriales, pantallas.
  • La remota salida de relé puede, por ejemplo, abrir la puerta, prender la sirena o desconectar la energía. A la vez puede ser usada como relé de web.
  • I/O pueden ser controladas a través de Modbus/TCP desde cualquier sistema de SCADA, independientemente de la línea serial.
  • Remota cambio de energía (control de energía) puede cambiar 230/110V AC directamente.


Box-2-Box mode – 1:1 (two units connected back-to-back over a LAN)

    • Extension of RS-232 or RS-485 over the network
    • DI at one device controls DO at the other device, 1:1 (peer-to-peer)

Digital I/O transport over the Ethernet (peer-to-peer)

Ejemplos de uso

  • Conexión de lector de RFID a través de LAN (RAL) + remoto reinicio de equipo relacionado
  • Conexión de lector de código de barras a través de Ethernet + controlando DI y DO en la aplicación
  • Remoto UPS o generador de diesel monitorando con RS-232 + inicio remoto / prueba a través de I/O
  • Máquinas expendedoras
  • Alarmas de seguridad
  • Sistemas de control de acceso
  • Escáneres de código de barras en la combinación con relé de LAN (I/O remotas)



User software

    • UDP Config  – Configuring the IP address
    • Hercules – Configuration (IP address, Telnet configuration) + testing utility for Windows (Serial, UDP and TCP terminal)
    • HWg IPRC cmd – Command-line control of outputs
    • HW VSP – Free HW Virtual Serial Port for Windows.
      IP Relay also supports the VSP Multi version – up to 100 virtual serial ports on a single PC.

For programmers

System topology

Web relay, rs-232 over Ethernet, remote relay, Ethernet IO


  • TCP/IP Server   [Telnet Client -> Server]
    I/O Controller, as a TCP server, listens for incoming TCP connections from a computer (a PC or a server). When the connection is established, data in the internal buffer are transmitted, and then bidirectional communication can take place, like a common "terminal server".
    Binary inputs and outputs can be controlled with a M2M protocol that uses an extension of RFC2217 (NVT support must be enabled).

  • TCP/IP Client/Server    [Telnet Server <- Client]
    I/O Controller has received some data into its internal buffer from the serial port (or has detected a change at the digital inputs) and attempts to send it to the server. The unit tries to establish a connection to the specified outgoing IP address and port. If unsuccessful, it waits for about one second in the TCP server mode and then tries to establish the connection again.
    Digital inputs and outputs can be controlled with a M2M protocol that uses an extension of RFC2217, as long as NVT support is enabled and the TCP connection is established.

  • web relay configurationWEB   [Configuration] 
    Configuration and control of I/O over a WEB interface. It can be used as Web relay.

  • Modbus/TCP   [I/O control]
    Serial port cannot be controlled. Digital inputs and outputs are controlled using the Modbus/TCP M2M protocol.
  • VSP (Virtual serial port)
    The HW VSP software, when installed on a PC with Windows, creates a virtual serial port (e.g. COM7), and the serial port at the IP Relay then works as a physical port of your PC.

  • UDP/IP
    Data are sent as UDP packets, without delivery acknowledgments.
    The UDP mode uses a sophisticated “packetiser” that allows you to specify broad conditions about what should be sent from the serial line to the Ethernet, what should not, and when. Digital inputs and outputs cannot be controlled in the UDP mode.

FAQ & Support

Ask for the price or details:
 - Web:  http://
Country: *

Spam protection. How many is SIX times six?

  • How can I configure the IP address of the device?
    To set the IP address, run the "UDP Config" utility on a PC connected to the same network.
    Another option is to configure the unit over its serial port – see the manual.
  • What is the initial username and password to the IP Relay ER02b WEB interface?
    The default username is “admin” and the password is “1234”.
    The factory-default IP address is
  • Can the remote relay switch 230V line voltage – as a remote power switch?
    Yes, up to 16A AC.
  • Can I connect an external voltage to the digital input (DI) of the LAN relay?
    No, digital inputs are designed for dry contacts only. For instance, buttons, relay outputs, or door contacts.
  • Is it possible to control the outputs and read the inputs over a WEB interface?
    Yes, IP relay allows remote IO control over the WEB interface.
  • Can I control the product from my own SW application? Where can I find a description of the protocol?
    Yes, use Modbus/TCP or Telnet control over NVT (see the documentation). For programming examples, see our HWg-SDK.
  • How long does it take to deliver the packet informing about a digital input change?
    In a standard network, the time cannot be determined accurately as it depends on the network load and other factors. In any case, IP Relay attempts to establish the connection and send the data as fast as possible within the relevant specifications. Experience shows that 15-40ms is a typical transfer time.
  • Does the IP Relay inform a TCP Server about changes at its digital inputs, or whenever data are received through the serial port?
    Yes, there are two cases to consider:
    (a) A TCP connection is established – Changes at the digital inputs are signaled by sending a NVT sequence with the new digital input states through the TCP connection.
    (b) No TCP connection is currently open – In the “TCP Client/Server” mode, the unit attempts to open a TCP connection in the TCP Client mode to the specified TCP server and send a NVT sequence with the new digital input states through the newly established TCP connection. If the connection attempt fails, the change is discarded, and it is NOT stored in an internal buffer. ¨¨
  • How can I change the ethernet com port speed (baudrate)?
    The default settings can be changed in the IP Relay WEB setup.
    When using HW VSP (Virtual Serial Port) for Windows, the remote port adapts itself to the local port settings in the PC.
  • Is it possible to extend a RS-232 line using the Ethernet by connecting two IP Relay units back-to-back?
    Yes. Please see the manual for the recommended configuration of two IP Relay units to forward RS-232 data between them.
  • Is it possible to use several virtual serial ports on a single PC with HW VSP?
    Yes. Use Multi HW VSP, it supports up to 100 remote ports on a single PC.
  • Is it possible to read/control all RS-232 signals (DSR, DTR, RI, CD)?
    Yes. RFC2217 allows reading and controlling all signals of a full RS-232 serial port over the Ethernet.  

  • Where can I find product pricing?
    Ask our distributors, or request a quote from us (by e-mail or by filling out this form).
  • What is the warranty?
    The standard warranty for this product is 2 years, can be extended upon request.



Item Description
IP Relay HWg-ER02b SET Quick start set for the IP Relay ER02b. Contains a DIN unit, a power adapter and a DVD with software. - Photo
IP Relay HWg-ER02b DIN compatible IP Relay without the power adapter or other accessories. 2x digital input, 2x digital relay output (230V/16A AC) and a full serial port (RS-232/485) over the Ethernet. - Photo

More accessories


IP Relay ER02b, IP Relay, remote power switch, web relay, power control, Ethernet relay, lan relay, full serial port, serial converter, rs-232 over Ethernet, remote relay, Ethernet IO, digital I/O transport, relay switch, remote io, serial over ip, serial to ip, rs232 to ethernet, serial to Ethernet, ethernet controlled relay, relay switch, remote control relay, network relay, relay over network, remote relay, power controlled ethernet, remote power control, relay Modbus-TCP, free virtual serial port, rs-485, DIN relay

Similar products

  • PortBox2: Full RS-232/RS485 serial port to Ethernet
  • PortStore5: Full RS-233 serial port to Ethernet with logging  
  • I/O Controller2: Full serial port + I/O to Ethernet


Product banners