Shipment contents Complete shipment of the IP Relay contains following items: • IP Relay in a metal box and mechanic version corresponding to the ordering number • A 1:1 serial prolonging cable (DB9F - DB9M) for the device setup via RS-232 •...
Connector descriptions ........................7 Using the device..........................8 Quick setup............................. 8 Controlling the IP Relay with the IP Relay Control 1.2 software ............. 9 Controlling the IP Relay with HW Virtual Serial Port ..............10 SETUP troubleshooting ........................ 10 Controlling the Relay and LED diodes ..................11 Setting other parameters of the device ..................
IP Relay combines two relays controlled over Ethernet and RS- 232 / Ethernet converter. The device can reset a remote device via Ethernet or switch its power supply on or off. IP relay can be also used as a remote serial port.
TCP/IP Client/Server mode - IP Relay keeps the TCP server function but when any data are received from the serial line, it is stored into the buffer, the IP relay switches into a TCP Client mode and tries to establish a TCP connection on the predefined IP address of the opposite side.
GREEN - Ethernet connection + LED3 - D0 (yellow) Controlled via NVT as a D0 output In the combination with HW VSP or IP Relay Control, tied with Channel 1 Controlled via NVT as a D1 output + LED4 - D1 (red)
IP Relay – 2x relay + RS-232 / Ethernet converter HW group Connector descriptions Port 1 - DB9F RS-232 Interface Relay pin descriptions unused Pin Contact Function of the contacts depends 2 TxD --> Transmit Data CH1 A on the supplied configuration. For 3 RxD <-- Receive Data...
Set DIP1 - DIP4 into OFF position Connect the IP Relay into Ethernet 10 Mbit or 10/100 Mbit. For direct connection to a PC use a crossed TP cable. For a connection to a hub/switch/router use classic TP patch cable.
Controlling the IP Relay with the IP Relay Control 1.2 software IP Relay Control is software intended for easy testing and using the IP relay, which allows controlling the relay’s contacts by NVT commands through a graphic environment. IPRC is a simple utility, which does not require installation and besides the device controlling it also allows easy management of more devices and realization of the Reset function.
Virtual serial port HW VSP includes simple functions for controlling the input/output binary lines of the devices produced by Hwgroup such as I/O Controller and IP Relay. These additional functions can be found in the Binary I/O bookmark of the HW Virtual Port Manager program. For more detailed information about HW Virtual serial port see the following chapter: HW VSP –...
IP Relay – 2x relay + RS-232 / Ethernet converter HW group Controlling the Relay and LED diodes Both relays and LED diodes are controlled via NVT commands. It’s a 7-byte binary sequence, which is sent into the established TCP/IP connection and if it’s received correctly, it’s confirmed by a similar 7-byte sequence.
Page 12
5. Check the field „HEX“ next to the line with the command and press the „Send“ button 6. IP relay reacts according to the sent command and responds by the sequence as depicted Controllong the red LED using the Hercules Setup Utility •...
IP Relay – 2x relay + RS-232 / Ethernet converter HW group Setting other parameters of the device More parameters of the device can be configured either by TCP or RS-232 setup. Both methods will be described in the following chapter, use the one that fits your application the best.
Page 14
IP Relay – 2x relay + RS-232 / Ethernet converter HW group SETUP using the RS-232 terminal The description of the configuration using the supplied software Hercules Setup Utility. If you cannot use this software, the device can be set from any RS-232 terminal.
As you run any application which opens selected virtual port (here it’s COM5) the HW VSP will link up with the IP Relay, set the remote port according to the opened serial port (speed, parity, number of bits, handshake) and starts to transfer the data. Some...
Page 16
IP Relay – 2x relay + RS-232 / Ethernet converter HW group Configuration options of the HW VSP TEA Key frame You can use the TEA algorithm to secure the TCP/IP access (you must set the same TEA key on both sides of the communication).
IP relay in the network of more devices. By the “Use This” button is either the corresponding signature written into the configuration file of the IP Relay Control and the IP address and port transferred into the relevant fields of the Connection section.
Page 18
Note : The default state means the default IP relay HW configuration. The Read button is intended for check loading of the actual IP relay state. On the left of it is the control line, which writes out the actual state of the required operation.
Information on the device configuration can be found in the chapter “QUICK Setup of the device”. Default device configuration This is the listing of a standard configuration of every supplied IP Relay. This can be refreshed anytime by “D0” or “D1”commands in the setup mode. Description of the device configuration and commands entry can be found in the chapter “Setting other parameters of the device”.
IP Relay – 2x relay + RS-232 / Ethernet converter HW group Device network parameters MAC Address 00:0A:59:00:95:6C MAC address is a unique network device address in the Ethernet and it is always factory-preset. You can find it on the label inside the device. Using this address, the devices can be distinguished for example in the UDP mode of the configuration program.
IP Relay – 2x relay + RS-232 / Ethernet converter HW group Parameters of TCP and UDP connection ====== Active (Client/Server) mode ====== S: Send to IP 192.168.0.252 The IP address and the port of the opposite side that will be connected for the data transmission from a serial port.
IP Relay – 2x relay + RS-232 / Ethernet converter HW group Serial port parameters ====== Serial Setup ====== &B: Speed 9600 Configuration of the communication speed for the serial line, range 50..115.200 Bd, step 50 Bd. To set 9600 Bd enter: „&B9600”.
#Z: OR mask #W: XOR mask From a whole I/O Control Setup section the IP relay only uses the #A: Power Up INIT command, which can affect directly the states of output relays on the device reset and thus compensate an improper relay configuration.
Page 24
5-byte controlling NVT command for controlling the IP relay (see chapter “Selecting sequences for controlling Relay 1 and Relay 2”). You can get it also by the means of the Test Mode of the Hercules Setup Utility.
Page 25
IP Relay – 2x relay + RS-232 / Ethernet converter HW group UDP/IP mode settings If you select „T: IP mode UDP”, the device will communicate with the remote side using unacknowledged UDP packets. Also, the following menu appears in the setup.
IP Relay – 2x relay + RS-232 / Ethernet converter HW group Application hints Security For raising the security of data transfer in TCP mode it’s possible to authorize both sides on establishing any TCP/IP connection via TEA 128 algorithm with symmetric signature. The configured password of both sides then won’t go throughout the network.
IP Relay – 2x relay + RS-232 / Ethernet converter HW group Mechanical dimensions The device is situated in a sturdy metal box. According to the ordered version of the device, the “L” plate for wall mounting or removable brackets for a DIN molding are available.
HW group Device versions IP Relay can be ordered in several versions, which differ with contact’s configuration as well as with mounting accessories. Please check the product website to choose which output configuration and related Ordering ID (Purchase number) do you need.
Need help?
Do you have a question about the IP Relay and is the answer not in the manual?
Questions and answers