Advertisement

Quick Links

IP Relay HWg-ER02b - Manual
HW group
IP Relay HWg-ER02b
Manual
EN 600 552
www.HW-group.com
1/ 42

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the IP Relay HWg-ER02b and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for HW Group IP Relay HWg-ER02b

  • Page 1 IP Relay HWg-ER02b - Manual HW group IP Relay HWg-ER02b Manual EN 600 552 www.HW-group.com 1/ 42...
  • Page 2: Package Contents

    IP Relay HWg-ER02b - Manual HW group Package contents A complete shipment contains the following items:  IP Relay HWg-ER02b  Printed manual + datasheet Safety information The device complies with regulations and industrial standards in force in the Czech Republic and the European Union.
  • Page 3 IP Relay HWg-ER02b - Manual HW group IP Relay HWg-ER02b Ethernet relay, DIN rail, Web interface. The Ethernet relay features 2x DI (dry contact input), a full RS-232/485 serial port, and 2x DO (relay output, 230V/16A). It is controlled over the web or Modbus/TCP.
  • Page 4: Product Description

    IP Relay HWg-ER02b - Manual HW group Product description Relay outputs DIP switch 2x NO-COM-NC RS-232 setup mode RS-485 enabled 3-4) RS-485 termination enabled RS-485 RS-232 Full serial port (9 wires) Power LED Relay outputs 2x NO-COM-NC relay output Ethernet 100 Mbit...
  • Page 5 IP Relay HWg-ER02b - Manual HW group Relay outputs POWER OUT NO NC  NO and NC labels apply to Off (0) state, or device turned off When the output is On (1), a “Normally Open” (NO) relay contact is closed ...
  • Page 6: Technical Specifications

    IP Relay HWg-ER02b - Manual HW group Technical specifications Ethernet port Interface RJ45 (100BASE-Tx) Supported protocols IP: ARP, TCP/IP, (HTTP, Modbus over TCP, NVT, RFC2217), UDP/IP Network modes TCP/IP server, TCP/IP client/server, UDP/IP Serial port RS-232 connector Cannon 9 - DB9M...
  • Page 7 IP Relay HWg-ER02b - Manual HW group Connectors RS-485 RS-232 <-> <-- Carrier Detect A > B <-> 2 TxD --> Transmit Data A > B 3 RxD <-- Receive Data 4 DTR --> Data Terminal Ready 5 GND --- System Ground 6 DSR <-- Data Set Ready...
  • Page 8 IP Relay HWg-ER02b - Manual HW group DIP 1 DIP 2 Function SETUP RS-485 RS-232 Setup mode (9600 8N1) Ethernet is disabled Serial port in the RS-232 mode Serial port in the RS-485 mode (RS-232 is inactive) - check the &R and &H parameters (recommended: &R3 &H1)
  • Page 9: How To Use The Device

    IP Relay HWg-ER02b - Manual HW group How to use the device Configuring the IP address 1) Install the HWg-Config (UDP Config) utility [at our website or on the DVD]. 2) Set DIP1 and DIP2 to OFF. 3) Connect the device to the Ethernet.
  • Page 10 IP Relay HWg-ER02b - Manual HW group Configuring the device over WWW In the HWg-Config tab, click the correct MAC address and press Open in the WEB browser. Default login:  admin  1234 You need to log in to access the configuration.
  • Page 11 IP Relay HWg-ER02b - Manual HW group Controlling DI and DO over the WEB Relay outputs are controlled individually by clicking the switch icons, or by entering a decimal value and clicking Send. www.HW-group.com 11/ 42...
  • Page 12: Load Default Configuration

    IP Relay HWg-ER02b - Manual HW group System + firmware upgrade The System page lets you change the admin's password and back-up or restore configuration. The Firmware Upgrade link in the left-hand menu allows you to upload firmware to the device over the web interface.
  • Page 13 IP Relay HWg-ER02b - Manual HW group Setting up without WWW (TCP Setup) Use the Hercules utility:  Change to the “TCP Client” tab and enter the configured IP address. Set the TCP port to 99.  Click “Connect”. The listing on the left displays the “WEB51>” prompt. Click inside this pane and press ENTER.
  • Page 14 IP Relay HWg-ER02b - Manual HW group Controlling I/O using NVT Use the Hercules utility:  Set DIP1 = OFF, DIP2 = OFF, connect the test board to the connector and turn on the device.  Change to the “UDP Setup” tab, find the devices, and make sure that the “Enable TCP setup”...
  • Page 15 IP Relay HWg-ER02b - Manual HW group Setting up the device – Frequently Asked Questions  Ethernet no longer works but LINK is lit. Perhaps the device was left in the “RS-232 Setup” mode that is activated by setting DIP1 = ON? In this mode, the Ethernet does not respond.
  • Page 16 IP Relay HWg-ER02b - Manual HW group HW VSP – Virtual Serial Port Virtual Serial Port driver is a software tool that adds a virtual serial port (e.g. COM5) to the operating system and redirects data from this port via the Ethernet network to another hardware interface.
  • Page 17 IP Relay HWg-ER02b - Manual HW group Detailed VSP Settings  Log enabled The VSP driver logs the virtual serial port activity to “C:\serialport.log”.  Create port on start VSP Automatically creates virtual ports when the driver is started. To create virtual ports at Windows startup, the “Start VSP on boot”...
  • Page 18 IP Relay HWg-ER02b - Manual HW group Configuring the IP Relay – Command description The description of the settings combines WWW-based configuration and TCP/Serial setup. Some functions are only available in Serial/TCP setup (TEA security settings, QUIT mode). Status Overview of the basic device parameters.
  • Page 19: Network Parameters

    IP Relay HWg-ER02b - Manual HW group Network parameters www.HW-group.com 19/ 42...
  • Page 20 IP Relay HWg-ER02b - Manual HW group MAC Address 00:0A:59:00:95:6C MAC address is a unique device address in the Ethernet network and it is always factory-preset. You can find it on the label inside the device. Using this address, individual devices can be distinguished for example in the UDP section of the setup program.
  • Page 21 IP Relay HWg-ER02b - Manual HW group ====== Out IP Setup ====== S: Send to IP 192.168.0.252 Port configuration in UDP mode U: Port When UDP communication is used, the remote address must If the address in the S option is different from 0.0.0.0, the IP Relay works as a Client/Server in the TCP mode.
  • Page 22: Serial Port Parameters

    IP Relay HWg-ER02b - Manual HW group Serial port parameters P: IP Active Call Timer (65535 – Off) Periodically establishes connection with the remote side at the Predefined values: specified time, even if there are no new data to send.
  • Page 23 IP Relay HWg-ER02b - Manual HW group B: IP Protocol Retry Determines the TCP connection timeout if no communication Setting the connection length takes place. Predefined values are available through the Keeping a TCP socket open is asterisk notation: 30 s (n =...
  • Page 24 IP Relay HWg-ER02b - Manual HW group E: Erase buffer on Open connection Clears the internal device buffer whenever a connection is established or closed. This option is useful for instance when your remote peripheral periodically sends some kind of “I'm alive” characters, you only need to access it once in a while, and receiving all these characters from the buffer wastes time.
  • Page 25 IP Relay HWg-ER02b - Manual HW group ====== Serial Setup ====== &B: Speed 9600 Sets the communication speed for the serial line. Any speed from 50 to 115,200 Bd can be set. To set 9600 Bd, enter at the command prompt: “&B9600”. The resolution depends on the speed. Up to about 1000 Bd, 1 Bd steps can be used.
  • Page 26 IP Relay HWg-ER02b - Manual HW group &S: Stop bits Number of stop bits for the serial communication. As a rule, there should be at least 9 bits and at most 10 bits in total, excluding the start bit. For instance, the 7N1 setting (7+0+1 bits) is corrected by the setup to 7N2.
  • Page 27 IP Relay HWg-ER02b - Manual HW group 0 – Off &G: Char. Transmit Delay When controlling devices with a small RS232 buffer, it is sometimes advantageous to keep a relatively high baud rate but insert delays between individual characters. The delay is specified in milliseconds and defines the time between the starts of individual characters.
  • Page 28 IP Relay HWg-ER02b - Manual HW group Configuring the control of inputs and outputs TCP/IP mode needs to be configured and NVT (Network virtual terminal) enabled in order to work with the digital inputs and outputs. Otherwise, the commands are not even displayed.
  • Page 29 IP Relay HWg-ER02b - Manual HW group ======= I/O Control Setup ======= #T: Trigger AND mask Defines inputs whose changes are automatically transmitted to the remote side (IP address S=X.X.X.X and port U) and synchronized with its outputs, if they change.
  • Page 30 IP Relay HWg-ER02b - Manual HW group #A: Power Up INIT A decimal value from 0 to 255 that is written to the output register after device reset (or power failure), before the IP Relay attempts to establish a connection with the remote unit and synchronize their digital inputs and outputs.
  • Page 31 IP Relay HWg-ER02b - Manual HW group #X: KEEP mask 0 Defines the outputs that will keep their previous values (using bitwise AND). #Y: AND mask Bitwise AND Using bitwise AND, defines the inputs whose states 0 (0x00) AND 0 (0x00) = 0 (0x00)
  • Page 32 IP Relay HWg-ER02b - Manual HW group #H: I/O HeartBeat Off Configures IP Relay behavior when periodically transmitting input states. It is tied with the K: Keep connection command.  K0 disables periodic state transmission, #K#L#M#N#H have no effect and are inaccessible in the menu.
  • Page 33 IP Relay HWg-ER02b - Manual HW group Transmitting input states upon an edge IP Relays can transmit current input states to the corresponding outputs at a specified remote device. The inputs to mirror are defined by the edge mask. -------...
  • Page 34 IP Relay HWg-ER02b - Manual HW group System D: Load/Save Settings from/to Flash Saves the current settings to memory, or restores saved settings. 0: Restores settings from slot 1 1: Restores settings from slot 2 2: Stores current settings to slot 1...
  • Page 35 IP Relay HWg-ER02b - Manual HW group UDP/IP mode settings If you select “T: IP mode UDP”, the device will communicate with the remote side using UDP packets. Also, the following menu appears in the Setup. ==== Trigerring Setup ===== *L: Trigger Length Number of bytes for the packet start and packet end triggering condition.
  • Page 36 IP Relay HWg-ER02b - Manual HW group *P: Post Trigger Length In some protocols, the packet end condition is followed e.g. by a checksum. This condition defines the number of characters that make up a packet after the packet termination condition. If the start and stop trigger conditions are equal, this value specifies the packet length without the leading 0 to 4 bytes of the start trigger.
  • Page 37 IP Relay HWg-ER02b - Manual HW group Parameters unavailable in the WWW interface Security ===== Security Setup ====== 0: TEA authentication Off %A: TCP autorisation 1: TEA authentication On Activates TEA authentication (one-time exchange and password verification to allow the TCP connection to be established) – requested from the remote side after the connection is established.
  • Page 38: Default Settings

    IP Relay HWg-ER02b - Manual HW group Default settings *** HW-group.com HW 6.0 SW 3.1.x #01 *** PortBox I/O MAC Address 00:0A:59:02:06:EF =========== IP Setup ============ I: Address 192.168.1.143 J: Port M: Mask 255.255.255.0 G: Gateway 192.168.1.254 ===== In IP access filter...
  • Page 39 IP Relay HWg-ER02b - Manual HW group Controlling inputs and outputs via NVT The following is a short overview of controlling the IP Relay via the M2M NVT protocol. It is an extract from the detailed description of NVT that is available at our website: http://www.hw-group.com/support/nvt/index_en.html...
  • Page 40 IP Relay HWg-ER02b - Manual HW group Contact HW group s.r.o Rumunská 26 / 122 Praha 2, 120 00, Czech republic Tel. +420 222 511 918 Fax. +420 222 513 833 http://www.HW-group.com www.HW-group.com 40/ 42...

Table of Contents