
IP Relay – 2x relay + RS-232 / Ethernet converter
HW group
June 2006
www.HW-group.com
Page 11 / 28
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. TCP Connection, by which the relays are controlled, is identical with the
TP connection at RS-232 port but, thanks to the NVT (Network Virtual Terminal), the data from the
serial port are not influenced by these control sequences.
As a further NVT description would exceed the ambit of this manual, you can find the explanation of
the protocol, the commands we use and the RFC2217 extension in the CD enclosed or on
http://www.hw-group.cz/support/nvt/
.
Selection of sequences for controlling Relay 1 and Relay 2
In the table bellow you’ll find the description of the particular NVT commands for controlling the
relay and LED diodes. The actual effect of each relay on the terminal board contacts depends on
the contact configuration of the supplied device (PO, PF, NO or NC version). The version of your IP
Relay can be found at the bottom of the box. For more about particular versions of the device see
the end of this manual.
Command description
NVT command
sent from PC
Command confirmation
from IP Relay
Closes Relay 1
NO:
Switching contact Ch1 : CLOSES
NC:
Break contact Ch1: OPENS
PO:
Power supply over break contact Ch1: TURNS THE POWER
SUPPLY OFF
PF:
Power supply over break contact Ch1: TURNS THE POWER
SUPPLY ON
FF FA 2C 32 25 FF F0
FF FA 2C 97* DF FF F0
Opens Relay 1
NO:
Switching contact Ch1 : OPENS
NC:
Break contact Ch1: CLOSES
PO:
Power supply over break contact Ch1: TURNS THE POWER
SUPPLY ON
PF:
Power supply over break contact Ch1: TURNS THE POWER
SUPPLY OFF
FF FA 2C 32 15 FF F0
FF FA 2C 97* FF FF F0
Closes Relay 2
NO:
Switching contact Ch2 : CLOSES
NC:
Break contact Ch2: OPENS
PO:
Power supply over contact Ch2: TURNS THE POWER
SUPPLY ON
PF:
Power supply over break contact Ch2: TURNS THE POWER
SUPPLY OFF
FF FA 2C 32 26 FF F0
FF FA 2C 97* BF FF F0
Opens Relay 2
NO:
Switching contact Ch2 : OPENS
NC:
Break contact Ch2: CLOSES
PO:
Power supply over contact Ch2: TURNS THE POWER
SUPPLY ON
PF:
Power supply over break contact Ch2: TURNS THE POWER
SUPPLY OFF
FF FA 2C 32 16 FF F0
FF FA 2C 97* FF FF F0
Lights up LED3 – yellow
FF FA 2C 32 10 FF F0
FF FA 2C 97* 61 FF F0
Turns off LED3
FF FA 2C 32 20 FF F0
FF FA 2C 97* 60 FF F0
Lights up LED4 – red
FF FA 2C 32 11 FF F0
FF FA 2C 97* 63 FF F0
Turns off LED4 – red
FF FA 2C 32 21 FF F0
FF FA 2C 97* E1 FF F0
Lights up LED4 – green
FF FA 2C 32 17 FF F0
FF FA 2C 97* E1 FF F0
Turns off LED4 – green
FF FA 2C 32 27 FF F0
FF FA 2C 97* 6C FF F0
Device’s function verification (query "Are you there?")
The response contains SW version and device’s MAC address
FF F6
<WEB51 HW 6.0 SW 2.I SN
009AF2 #E0>
* This byte depends on the DIP2 configuration and so it can change. For DIP2=ON is the return value 98, for DIP2=OFF it’s 97.