|
|
|
IP-Relay
HWg-ER02a Ethernet Relay Unit
|
|
Description |
|
|
|
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.
The
included SDK gives examples, in several programming languages, of
using IP Relay in your software and applications.
|
|
Product |
|
|
|
|
|
|
|
Description |
|
|
|
|
The
IPRelay is a combined Ethenet to Serial converter (RS232 and RS485)
and dual channel mains relay controller.
Connect
it to your network via a standard RJ45 connector, set-up its' IP
address and TCP port number and you are away. With the supplied
Virtual Com port software you can simply communicate with your serial
device as if it were connected to the back of your PC. Programmers
can communicate directly with the IPRelay using standard TCP/IP protocols.
|
|

|
|
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.
Network
modes
-
TCP/IP
Server - After powering up, the device listens on the given port and
awaits client connection. When the client connects, data from the
Ethernet are sent to the serial line and vice versa. If the client is
not connected and data are coming from the serial line, they are
stored in a buffer (size is configurable) and transmitted immediately
after establishing a connection, unless clearing of the buffer upon
establishing a connection has been requested in the SETUP.
-
TCP/IP
Client/Server - IP Relay keeps the server function but when any data
are received from the serial line, it has a preset IP address of the
opposite side and tries to establish the connection as a client. If
not successful, the data are stored into the buffer and transmitted
on the next established connection no matter if it is in the Client
or Server mode.
-
UDP
only allows the data transfer to the RS-232
|
|
Software |
|
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)
|

|
|
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.
|
|
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.
|
|
|
|
|
|
|
Specifications |
|
|
Ethernet
port
Serial
port 1 DB9F
-
Data
bits 7, 8 or 9
- Stop
bits 1 or 2
- Parity
None / Odd / Even / Mark / Space
- RS-232
interface RxD,TxD,RTS,CTS,GND
- Communication
speed Adjustable in the range of 50..115200 Bd
Relay
Environment
parameters
LED
diodes
DIP
switches
Other
parameters
|
|
|
|
|
|
Phone
+44(0)115 925 8412 | Fax +44(0)115 925 9757 |