|
Index >> Products >> IP Serial >> I/O Controller xxxx
HWg-ER02a: 230V Relays & RS-232 over Telnet
The IP Relay ER02a is a RS-232 / RS-485 serial line converter with two 230V-rated SPDT relays.
The contacts and the serial line can be controlled using the free HW VSP (virtual serial port) software, or using the documented M2M protocol. The communication protocol is based on Telnet and RFC2217 extensions.
HWg SDK gives examples, in several programming languages, of using IP Relay in your software and applications.
IP Relay applications
- IP Relay used as an Ethernet/RS-485 converter, optionally switching power on and off.
- Access control systems
- Barcode readers
- Electronic scales
- RFID interfaces
- Fingerprint scanners
- Remote monitoring of Ethernet devices over a serial console, Ethernet-commanded RESET if needed.
Remote reset can take place by shorting an internal reset button, or by disconnecting 110/230V power supply. Contacts of IP Relay ER02a are certified for switching mains power.
- Commonly used to connect an IP video camera and restart it remotely when needed.
Note: The relay is controlled with Ethernet commands. It is not an autonomous device. If you need a unit that will autonomously monitor other devices, use the IP WatchDog, which monitors up to 2 servers using a serial connection, ICMP PING, or WWW access. |
|
|
Basic features
Ethernet Network - RJ45 (10BASE-T - IEEE 802.3)
- 2 relay outputs for 110/ 240V / 16A
- RS-232 serial port (RxD, TxD, CTS,
RTS)
- Virtual serial port for Windows 2000/XP/Vista/Windows 2000 Server/Windows 2003 Server available on CD
- Two independent, Ethernet controlled relay up to 240V/16A
- Secure access with a predefined IP
address range and a 128-bit TEA encryption
- Simple and well-documented M2M (Machine to Machine)
communication
protocol, many examples of communication for various programming
languages - MS
Visual Basic, Delphi,
Borland
C++, JAVA,
PHP a and others.. Product is fully supported by HWg SDK.
- Simple and quick installation
Typical
applications
Usage examples
- Remote monitoring of IP camera system's
failure
- Remote control of the network configuration
- Remote control and restarting of micowawe connections.
- Remote devices control (ventilation, door opening..)
One built-in serial port can be used for remote access
using RS-232 console, but it also can be used as a virtual serial port
(for example "COM 8") using the HW
Virtual Serial Port driver.
You can order the IP Relay in the DIN molding version,
or a modification with 8 inputs and 8 outputs (the I/O Controller).
If you are not sure wheather the IP Relay can be used in your
application, please contact us...
Download
& Datasheets
|
|
 |
 |
Application note
- AN21
– Controlling of IP Relay using program NetCat
IP Relay contains except RS-232 serial port also another two
relay, which switching
on/off can be controlled over Ethernet (TCP/IP). This application note
describe how to control ethernet i/o relays from the Windows command
line sending
right sequence using program NetCat.
|
M2M (Machine
to Machine)
Communication protocol
The built-in relays
are controled
using NVT commands. This is a 7-byte sequence, which is sent to the
opened TCP/IP connection and if accepted, it is confirmed with a
similar 7-byte sequence sent back. This TCP connection is similar to
the TP connection to the RS-232 port, but when using the NVT (which is
a standard TELNET) the data from serial port are not interrupted when
sending the commands. You can read more about NVT and our RFC2217
compatible extension on the Network Virtual
Terminal page. Detailed list of relay's controling
commands you can find in product manual.
Useful SW
- Hercules
Utility
This utility will
help you testing a
setting up the device. .
- RS-232 terminal
- TCP/IP Client terminal
- TCP/IP Server terminal
- UDP terminal
- UDP Config
- Test mode (TCP/IP NVT commands + TEA)
This utility is completely free to use and distribute..
- HW
Virtual Serial Port
Virtual serial port
driver for windows is a software tool for adding a virtual COM port to
your windows system. All the data from this port is then redirected to
another HW interface.
You can control the relays using the "Binary I/O" tab.
- Unlimited, free Virtual Serial Port for any
TCP/IP device.
- Designed for Windows 2000, XP Vista, 200 server, 2003 server.
- If the device supports RFC 2217 (NVT), you can
setup all the serial port parameters (speed, parity, stop bits).
- The driver works as a "TCP client", but it can be
also used in "TCP server" mode.
- Logging all the communication into a file, to
make debugging easier.
- You can create more virtual serial ports on one
system using command line parameters
- The software can be run o a windows startup and
hidden to the system tray.
Borland
C++ communication example
A simple TCP/IP device communication example,
written in Borland C++ Builder 6.00. It demonstrates a simple Client
terminal with basic NVT (Network Virtual Terminal) commands = Are You
There and I/O functions extension.
Delphi
Charon 1 - NVT communication example
A simple TCP/IP device communication example,
written in Borland Delphi 5. It demonstrates a simple Client terminal
with basic NVT (Network Virtual Terminal) commands = Are You There and
I/O functions extension.
MS Visual Basic example
Simple routines for NVT commands and a TCP/IP device over Winsock in MS
Visual Basic 5.0. Simple I/O commands are implemented, but without TEA.
Java NVT simple Code Example
A very simple I/O pins control written in JAVA. The application is not
password protected, so you can modify it as you wish.
PHP
- working with the I/O Controller
A simple remote I/O pins control. User requests a www page from the
server, which opens a connection to the predefined IP and port, reads
and displays the values on the final www page.
FAQ & Support
Q: Can the relays
be controlled using a WWW page?
A: No, this IP relay version supports
only M2M (Machine to Machine) protocol (NVT + RFC2217). If need a
version that can be
controlled using a WWW page, please use IP WatchDog.
Q: Can the IP Relay
be mounted on the DIN moulding?
A: Yes.
Q: Is it possibl to switch 110/230V with internal relaye contacts?
A: Yes, IP Relay HWg-ER02a can be used to switch 110/230V do 16A AC. There is CE certificate approval for this.
Q: Do you plan to
publish any other software examples?
A: Yes, you can find many software
examples for Borland C++ a Delphi
(also Visual Basic, JAVA and
PHP) on the Support
& Download page. There are more to come.
Product is fully supported by HWg SDK.
.
Ordering
We always keep several units in stock. We ship worldwide, using FedEx or other carriers. Request a quote
IP Relay HWg-ER02a SET [600
334]
IP Relay HWg-ER02a SET is ready for immediate use. The
set contain except the device also device manual, CD and necessary
connecting cables.
- IP Relay HWG-ER02a [600
334]
- LapLink cable [600 063]
Serial communication cable (2x DB9F) for setting up the device
over RS-232
- Power
adaptor European
version [600 080]
(possible USA version [600 081] or UK
version [600 082])
- Printed manual
- CD with
all the necessary software in the /IP-relay/ directory
- Virtual Serial Port for
Windows 2000 / XP / Vista / 2000 server / 2003 server on the CD, or the latest version on the Internet.
Note: If you need other than European
adaptor, please mark it into OrderForm and we will send you USA or UK
version instead of the European one.
Ordering variants
We can supply a PortStore2 PL starter set, or just the unit – as specified by the ordering ID number, OID. Please call for the lead time of uncommon types, or request lead time confirmation in your order.
| Order
# |
Product
name |
Version of device |
| 600
334 |
IP Relay HWg-ER02a |
Device only (photo) |
| 600 340 |
IP Relay HWg-ER02a SET |
Easy to start set (photo)
Set include power adaptor, printed manual, CD with software etc. |
Optionally
accessories & related products
Keywords
Related WEB page & products
- AN21
– Controlling of IP Relay using program NetCat
This application note
describe how to control ethernet i/o relays from the Windows command
line sending
right sequence using program NetCat.
- PortBox
Conversion of a serial line to Ethernet and vice versa (Server or
Client/Server mode) with RS-485 support and protocol enhancements. Data
is transmitted over the Ethernet using the TCP/IP or UDP/IP protocols.
- HW
Virtual Serial Port
Free Virtual Serial Port driver for Windows is a software tool, which
adds a virtual Comm port to the system, for instance COM5, and all the
data from this port is re-directed to another TCP/IP device on the
Ethernet network.
- Ethernet
I/O
Controller
Conversion of a serial line to Ethernet and vice versa (Server or
Client/Server mode) with RS-485 support and protocol enhancements. Data
is transmitted over the Ethernet using the TCP/IP or UDP/IP protocols.
- Charon
I module
Embedded serial line to ethernet converter module, you can connect
measuring devices, SNMP interface, thermometers etc...
- IP
WatchDog
Remote monitoring Ethernet and serial (R-S232, RS-485) devices provided
by tracking the serial communication, ICMP ping function or requesting
the WWW page. By the means of these functions it can RESET up to two
monitored devices, such as servers, routers, access and security
systems.
|