IPRS-1201 IPRS-1220 IPRS-1230 Serial to IP gateway USB to IP gateway _________________ User manual Document reference : 9018409-01 _________________
The IPRS gateway is designed and manufactured by ETIC TELECOM 13 Chemin du vieux chêne 38240 MEYLAN FRANCE TEL : + 33 4-76-04-20-00 FAX : + 33 4-76-04-20-01 E-mail : hotline@etictelecom.com web : www.etictelecom.com Page 2 User guide ref.
CONTENT OVERVIEW 1 PRODUCTS IDENTIFICATION.................................................................................... 5 2 PRODUCT OVERVIEW............................................................................................... 6 3 TECHNICAL DATA...................................................................................................... 7 INSTALLATION 1 PRODUCT DESCRIPTION .........................................................................................
CONTENT … SETUP 10 11 12 13 LAN INTERFACE...................................................................................................... 24 10.1 IP protocol .................................................................................................... 24 10.2 Ethernet ports............................................................................................... 24 SERIAL TO IP GATEWAY......................................................................................... 25 11.
OVERVIEW 1 Products identification IPRS- Serial Raw TCP client or server Serial UDP Serial UDP multicast Serial gateway Modbus TCP client or server Serial gateway Telnet Serial Unitelway USB PPP to IP RJ45 10 / 100 BT USB host RS232 RS485 SNMP Digital input for alarm emails HTML setup IO Viewer : optional dynamic data html server 1201 • 2 1 • 1 • • 1220 • • • • • 2 1 1 • 1 • • 1230 • • • • • 2 2 • 1 • • The sign • means the function is provided The sign - means the function is not provided IPRS seri
OVERVIEW 2 Product overview The IPRS-1220 provides one RS232 port and one RS485 port (2 wires). The IPRS-1230 provides two RS232 port. The IPRS-1220 or IPRS-1230 gateway can be Raw TCP client or server RAW UDP RAW UDP multicast Telnet server Modbus TCP client or server Unitelway The IPRS-1201 provides one USB port. The IPRS-120 gateway is a PPP client over the USB interface. Page 6 User guide ref.
OVERVIEW 3 Technical data Car General characteristics Dimensions 137 x 48 x 116 mm (h, l, p) Electrical safety EN 60950- UL 1950 ESD : EN61000-4-2 : Discharge 6 KV RF field : EN61000-4-3 : 10V/m < 2 GHz EMC Fast transient : EN61000-4-4 Surge voltage : EN61000-4-5 : 4KV line / earth RoHS 2002/95/CE (RoHS) Supply voltage IPRS-1201 & IPRS-1230 : 10 to 60 VDC - 250mA / 24VDC IPRS-1220 : 10 to 30 VDC - 250mA / 24VDC Operating T° -20°C / + 60°C Humidity 5 – 95 % Serial interface RS232 1200 – 115200 kb/s
CONFIGURATION 1 Product description IPRS-1220 IPRS-1220 Interface LAN RS232 RS485 Led Ethernet 1 to Ethernet 2 Rx Tx Rx Tx IPRS serial gateway Function Blinking quickly : Data activity Lit : Interface connected, no activity Bytes received from the RS232 (to the RAS) Bytes transmitted to the RS232 (from the RAS) Bytes received from the RS485 (to the RAS) Bytes transmitted to the RS485 (from the RAS) Green : Operation Red : Alarm User guide ref.
CONFIGURATION IPRS-1230 IPRS-1230 Interface LAN RS232 Page 10 Led Function Ethernet 1 to Ethernet 2 Rx Tx Blinking quickly : Data activity Lit : Interface connected, no activity Bytes received from the RS232 (to the RAS) Bytes transmitted to the RS232 (from the RAS) Green : Operation Red : Alarm User guide ref.
CONFIGURATION IPRS-1201 IPRS-1201 Interface LAN Led Ethernet 1 À Ethernet 2 USB IPRS serial gateway Function Blinking quickly : Data activity Lit : Interface connected, no activity Data activity Green : Operation Red : Alarm User guide ref.
CONFIGURATION 8 pins screw block Supply voltage and input / output Pin Nr Signal 1 2 3 4 5 6 7 8 Power 1 + Power 1 Power 2 + Power 2 3V3 In F+ F- Pin Nr 1 2 3 4 5 6 7 8 LAN Ethernet RJ45 connector Ethernet 10/100 BT Signal Function Tx + Tx Rx + N.C N.C Rx N.C. N.C.
CONFIGURATION RS232 RJ45 connector (To connect to a DCE to the RS232 port) Pin Nr Circuit 1 2 3 4 5 6 7 8 DTR - 108 TD - 103 RD - 104 DSR - 107 SG - 102 Not used CTS - 106 RTS - 105 (IPRS-1220 or IPRS-1230) Function OUT OUT IN IN OUT IN OUT Data terminal ready Data Emission Data Reception Data set ready Ground Clear to send Request to send RS232 : RJ45 connector (To connect a DTE to the RS232 port) Pin Circuit 1 2 3 4 5 6 7 8 CD - 109 RD - 104 TD - 103 DTR - 108 SG - 102 DSR - 107 RTS - 105 CTS -
CONFIGURATION 2 Ventilation To avoid overheating when the ambient temperature is high, leave a 1 cm (0.5 inch) space on each side of the product. 3 Supply voltage Product Min Supply voltage Max supply voltage IPRS-1220 10 30 Consumption at 24 VDC mA 250 IPRS-1230 IPRS-1201 10 10 30 60 250 250 VDC 4 VDC Ethernet ports The IPRS features auto-sensing 10/100 Mbps MDI/MDI-X LAN ports.
CONFIGURATION 6 RS485 interface The RS485 serial interface is provided on the front panel 2 pins screw-block. Polarisation resistors 1 Kohm bus polarisation resistors are included inside the product. IPL-E + 1 KOhm B(+) A(-) 1 KOhm RS485 RS485 line matching For a several meters long connection over the RS485 local interface, it is not necessary to adapt the RS485 line. For a longer distance, matching and polarisation resistors must be added. IPRS serial gateway User guide ref.
CONFIGURATION 7 Digital input & output connection Alarm output 1 relay output is provided to indicate an alarm. The alarm condition can be selected using the html server. IPL-E Digital input 3V3 5 In 6 Digital output F+ 7 + FV 8 I max = 0,5 A V < 48 VDC I < 0,5 A F+ The electrical characteristics of the output are : Opto-isolated output Maximum voltage : 48VDC Maximum current : 500 mA Inputs The product features two digital inputs ; they are not isolated.
CONFIGURATION 1 Set up steps To configure the gateway, we advise to proceed as follows : • Connecting a PC to the IPRS serial gateway • Setting up the LAN interface • Setting up the serial gateway or the USB gateway 2 Overview Administration server address : The administration html server is located at the LAN IP address of the serial gateway (The default address is192.168.0.128).
CONFIGURATION Saving and restoring the parameters file (see the maintenance chapter) A parameters file can only be downloaded to a product having the same firmware version. It is why, we advise to assign a name to a parameter file including the product name and the software version like for instance “myfile_IPRS1220_V241.bin”.
CONFIGURATION IPRS serial gateway User guide ref.
CONFIGURATION 4 Modifying the configuration • If the IP @ of the IPRS is assigned by a DHCP server Step 1 : Ensure the DIP switch SW1 is OFF and SW2 ON to select DHCP client operation. Step 2 : Launch ETIC FINDER to detect the IPRS address over the LAN interface. Click the product once detected. The Home page of the administration server is displayed. Remark : If the home page cannot be displayed, refer below.
CONFIGURATION 5 Rebooting the IPRS gateway after parameters changes • After the parameters of any page have been completed, click the « Save » button at the bottom of the page. • After some parameters changes, the IPRS GATEWAY must restart. When the configuration has been completely carried out, click the « Reboot » red button in the green bar, when displayed. • Once the product has restarted, check the « Reboot » button has disappeared from the green bar.
CONFIGURATION 6 Recovering the factory LAN IP address When launching the html browser, the homepage of the html server may not be displayed; the cause may be the IP address you entered was wrong. if the IP address you enter is wrong, you can recover the factory IP address by setting SW01 ON and SW2 OFF. The factory IP address 192.168.0.128 will be restored as long as the SW01 and SW02 micro switch will be left in that position.
CONFIGURATION 9 Recovering a free access to the administration server If the Login & or password entered to reach the administration server have been rejected, it is possible to recover a free access to the administration server from the LAN only, by setting SW01 ON and SW2 OFF. Remark : The factory IP address 192.168.0.128 will also automatically be restored as long as SW01 will remain ON and SW2 OFF. During normal operations SW01 and SW02 must not be left in that position.
CONFIGURATION 10 LAN interface The product provides 2 switched Ethernet interfaces called LAN interface. An IP address must be assigned to that interface and the Ethernet ports must be setup. 10.1 IP protocol • Click the « Configuration» menu and then « LAN interface» and then “IP protocol”. “IP address” parameter : Enter the IP address assigned to the serial gateway over the LAN interface. That IP address will have to be entered to display the administration server.
CONFIGURATION 11 Serial to IP gateway That function is available in IPRS-1220 or IPRS-1230 The IPRS-1220 or IPRS-1230 feature two serial asynchronous ports RS232 or RS485 (see the product identification table). A particular serial gateway can be assigned to each port . If the same type of gateway is assigned to both serial ports, the UDP or TCP port numbers must be different. The gateways listed below are provided : Modbus client or server (i.e.
CONFIGURATION 11.1 COM port data rate A “COM port parameter ” button is displayed in each gateway menu. Once a gateway has been setup, click the “COM port parameter” button to setup the COM port : • The serial port data rate : 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200 • The byte frame : 7 or 8 bits • The byte parity : None, even, odd • The number of stop bits : 1 or 2 Page 26 User guide ref.
CONFIGURATION 11.2 Modbus gateway The MODBUS gateway can be assigned to the serial port 1 or to the serial port 2 or to both. if it is assigned to both serial ports, the UDP port numbers must be different. 11.2.1 Modbus server gateway This gateway allows to connect asynchronous modbus slaves to the serial interface of the IPRS.
CONFIGURATION Select the period at which the gateway will send request to the slaves PLC. “Timeout waiting for the answer” parameter: Set up the timeout the gateway has to wait for the answer of the modbus slave answer. “Local retry” parameter : Set up the number of times the gateway will repeat a request before declaring a failure.
CONFIGURATION 11.2.2 Modbus client gateway This gateway allows to connect a serial modbus master to the serial interface of the IPRS. • Select the modbus menu and then “modbus client” menu; enable the “modbus client” gateway and set up the parameters as follows : “Port selection” parameter : Select the serial port COM 1 or COM2. If the modbus server gateway is assigned to one serial COM port, it cannot be assigned to the other one.
CONFIGURATION “TCP port number” parameter : Set the TCP port number the gateway has to use. “IP address” parameter : The modbus client gateway allows to transmit modbus requests from the serial modbus master device to any modbus slave device, more precisely called “ modbus server”, located on the IP network.
CONFIGURATION 11.3 RAW TCP gateway The RAW TCP gateway can be assigned to the serial port 1 or to the serial port 2 or to both. if it is assigned to both serial ports, the TCP port numbers must be different. 11.3.1 Raw client gateway The RAW client gateway can be used if a serial “master” device has to send requests to one slave device (also called server) located on the IP network. The server can be either an ETIC gateway or a PC including a software TCP server.
CONFIGURATION “TCP inactivity Timeout” parameter : Set the time the gateway will wait before disconnecting the TCP link if no characters are detected. “TCP port number” parameter : Set the port number the gateway has to use. If the Raw TCP client gateway is assigned to both serial COM ports, the TCP port numbers must be different on each port. “Raw server IP address” parameter : The raw client gateway is able to communicate with a raw server gateway. Assign an IP address to define the destination gateway.
CONFIGURATION “Timeout of RS232/485 end of frame” parameter : Set up the delay the gateway will wait before declaring complete a string received from the asynchronous device. Once declared complete, the gateway will transmit the string to the IP network. “TCP inactivity Timeout” parameter : Set up the time the gateway will wait before disconnecting the TCP link if no characters are detected. “TCP port number” parameters : Set up the port number the gateway has to use.
CONFIGURATION 11.4 RAW UDP gateway 11.4.1 Overview The RAW UDP gateway can be assigned to the serial port 1 or to the serial port 2 or to both. if it is assigned to both serial ports, the UDP port numbers must be different. The RAW UDP gateway enables you to connect together a group of serial or IP devices through an IP network. The group can include IP devices if they have the software pieces able to receive or transmit serial data inside UDP.
CONFIGURATION 11.4.2 Configuration • • Select the “gateway” menu and then the “Transparent” menu and then click “RAW UDP COM 1” or the “RAW UDP COM 2” menu. Select the “Activate” check box. « Serial input buffer size” parameter (value 1 to 1024) : Sets the maximum size of an UDP frame. “End of frame time-out” parameter (value 10 ms to 5 sec ) : Sets the delay the gateway will wait before sending the UDP frame towards the IP network when no characters are received from the serial interface.
CONFIGURATION 11.5 “Multicast” gateway 11.5.1 Principle The MULTICAST gateway can be assigned to the serial port 1 or to the serial port 2 or to both. if it is assigned to both serial ports, the UDP port numbers must be different. The multicast gateway must be used when • a serial master device has to send requests to multiple slave devices; that devices can be IP or serial devices.
CONFIGURATION The Internet Assigned Numbers Authority (IANA) controls the assignment of IP multicast addresses. The range of addresses from 224.0.1.0 through 238.255.255.255 are called “globally scoped addresses”. They can be used to multicast data between organizations and across the Internet. The range of addresses from 239.0.0.0 through 239.255.255.255 contains limited scope addresses or administratively scoped addresses. These are defined by RFC 2365 to be constrained to a local group or organization.
CONFIGURATION 11.5.2 Configuration • Select the “transparent” and then the “multicast COM1” or the “multicast COM2” menu. • Enable the multicast gateway and set up the parameters as follows : “RS232/485 input buffer size” parameter : Set up the maximum length of an asynchronous string the gateway will store before transmitting it to the IP network.
CONFIGURATION 12 USB to IP gateway That function is available only on the IPRS-1201 12.1 Principles The IPRS-1201 provides a USB to IP gateway. It is able to forward IP traffic from devices connected to the Ethernet network to a USB device. On the USB interface, the IPRS-1201 behaves like a USB host and a PPP client. The USB device connected to the IPRS-1201 USB interface must behave like a PPP server.
CONFIGURATION 12.2 Configuration Select the “Setup” menu and then the “USB” menu. “Activate” checkbox : Select the “Activate” checkbox. “Use a specific IP address” checkbox : If modbus TCP traffic only has to be forwarded, that checkbox must not be selected. If other kinds of traffic have to be forwarded, that checkbox has to be selected. “Specific IP address” parameter : If modbus TCP traffic only has to be forwarded to the USB interface, no IP address has to be entered.
CONFIGURATION 13 Alarms 13.1 SNMP The IPRS gateway is able to send snmp traps when alarms occur. Activation checkbox : If that option is selected, the serial gateway will send an SNMP trap if an alarm is detected. SNMP network management IP address : Enter the IP address of the management platform SysName & SysLocation : That fields allow to identify the source device.
CONFIGURATION Alarm launched on event : If the option OPEN is selected, the alarm will be sent each time the digital input will be opened. If the option CLOSED is selected, the alarm will be sent each time the digital input will be opened. If the option BOTH is selected, the alarm will be sent each time the digital input will be opened or closed. Hold time parameter : Select the time the input has to stay in its alarm state to be taken into account.
MAINTENANCE 1 Diagnostic The html server provides extended diagnostic functions. Select the Diagnostic menu and then the appropriate sub-menu. • Log sub-menu: The log displays the last 300 dated events : ADSL, VPN and users connections and disconnections, power on, Serial gateway events.
MAINTENANCE 2 Saving the parameters to a file Once a product has been configured, the parameters can be stored and restored when necessary. To save the parameters, • Select the “System” menu and then “Save restore”, • Click the ”Save” button • Select the location to store the file and give a name to the file. The file suffix is “.bin”.
MAINTENANCE 3 Updating the firmware Step 1 : Before starting, you need, a PC with a Web browser and an Ethernet cable; the FTP server software which can be downloaded from the « firmware page » of the ETIC « download area » web server. Step 2 : Download the release of the firmware from our download area to your PC Step 3 : Prepare the PC Check the Ip address of the PC is compatible with the one of the IPRS serial gateway. Connect the IPRS serial gateway to the PC. Launch the TFTP server (tftp32.
APPENDIX 1 : Html server overview 1/ Setup menu LAN interface To enter the IP @ of the serial gateway on the LAN interface.
APPENDIX 1 : Html server overview 3/ Maintenance menu Firmware update To update the firmware Save / restore To save or restore a configuration file .To restore the factory configuration Reboot To restart he gateway 4/ About menu To display the certificate “product key” To display the firmware version Page 48 User guide ref.
ETIC TELECOM 13, Chemin du Vieux Chêne 38240 Meylan - France Tel : 33 4 76 04 20 00 Fax : 33 4 76 04 20 01 E-mail : contact@etictelecom.com Web : www.etictelecom.