You are here

Case study HWg-CS51: Controlling a 110/230V power switch over Ethernet

The remote power switch is connected to a LAN (IP) and controlled from any application. Open a gate or switch on a light (230V/16A relay output) by clicking an icon on your desktop. The relay output can be controlled from Windows or Linux, from the command line or from a GUI.

Activate a remote power switch simply by clicking an icon on your computer's desktop. Control the switch from your own application using HWg-SDK. See the examples in VB, C#, .NET, Borland C++, Microsoft C++, Borland Delphi, JAVA, PHP.

IP relay connects to a 10/100 Mbps Ethernet network. The device contains two switching (NO/NC) 230V/16A contacts. The relay (IP relay) is activated or deactivated using the supplied GUI or command-line applications and communicates using a Telnet-type NVT protocol. The built-in RS-232/485 serial port can be used as a virtual serial port in Windows (e.g. COM17). The built-in serial port can be used to connect, for example, a bar code reader, RFID reader, or LCD. The “IPRC cmd” comIP Relay HWg-ER02amand-line application can be used in scripts, e.g. in SNMP monitoring (Nagios / Zabbix). For configuration and testing, the Hercules utility can be used.


  • Opening a remote gate over WiFi / Ethernet
  • Convenient add-on to a surveillance system – remotely open a gate or switch off a light
  • Activating alerting systems over IP (emergency light, horn, etc.)

Solution benefits:

  • Save time and money by using your existing IP network instead of laying new cables
  • Simple installation
  • Internal relay directly switches 110/230V / 16A



HW group

PDF icon CS51_ip_relay_power_output_en.pdf150.61 KB
Hodnocení článku: