RS-232/422/485/DIO to Ethernet Data Gateway Contents Introduction ............1 1.1 Features ................1 1.2 Product Specifications ............1 Package Check List ...........4 Panel Layout ............5 3.1 Connector Layout .............. 5 3.2 Front Panel Layout ............. 6 3.2.1 RS-232 Pin Assignments and Cable Wiring ....6 3.2.2 Digital I/O Control Pins (5V TTL Level) .......7 3.2.3 RS-422/485 Pin Assignments ........7 3.2.4 DIP Switch Settings ............8...
Page 2
RS-232/422/485/DIO to Ethernet Data Gateway 5.1 Entering Setup ..............18 5.2 Digital I/O................20 Troubleshooting ..........23 6.1 The em.exe cannot find the unit: ........23 6.2 How to Restore the unit to its default Settings: ....25...
RS-232/422/485/DIO to Ethernet Data Gateway 1. Introduction Thank you for purchasing this RS-232/422/485/DIO to Ethernet Data Gateway. It allows you to control RS-232, RS-422, RS-485 and Digital Input/Output devices over a TCP/IP-based Ethernet. It provides TCP Server Mode, TCP Client Mode and UDP Modes that compatible with the standard network API (Winsock or BSD Sockets).
Page 4
RS-232/422/485/DIO to Ethernet Data Gateway RS-232/422/485 No. of Ports 1 (RS-232 and RS-422/485 are shared Interface port, only one of them can be used simultaneously) 4-wire RS-422: TxD+/-, RxD+/- 4-wire RS-495: TxD+/-, RxD+/- 2-wire RS-485: Data+/- RS-232 signals: TXD,RXD,RTS,CTS,DTR,DSR,DCD,GND Connector Terminal Block (RS-422/485) DB9 male (RS-232) Serial and LAN and...
Page 5
RS-232/422/485/DIO to Ethernet Data Gateway Mechanical Specifications Material Metal Gross Weight 38065g (0.84 lb) Environmental Operating Temperature 0 to 558C (32 to 1318F) Storage Temperature -20 to 858C (-4 to 1858F) Operating Humidity 5 to 95% RH...
RS-232/422/485/DIO to Ethernet Data Gateway 2. Package Check List Before installing the product, please make sure the following accessories are well packed in the box: □ RS-232/422/485/DIO to Ethernet Data Gateway x 1 □ Optional 12V DC, 1.5A AC Adapter x 1 □...
RS-232/422/485/DIO to Ethernet Data Gateway 3. Panel Layout 3.1 Connector Layout RS-232 Power LED connector( DB9) 12 VDC RS-232 +12V DC IN Power Input DC Jack 10/100M RJ-45 LAN Ethernet Connector DIO1 DIO2 RS-232/422 DIO3 Digital I/O TX/RX /485 LEDs DIO4 Pins LINK/SYS...
RS-232/422/485/DIO to Ethernet Data Gateway 3.2.2 Digital I/O Control Pins (5V TTL Level) Digital I/O Pin 1 DIO1 Digital I/O Pin 2 DIO2 Digital I/O Pin 3 DIO3 Digital I/O Pin 4 DIO4 DIO5 Digital I/O Pin 5 Digital I/O Pin 6 DIO6 DIO7 Digital I/O Pin 7...
RS-232/422/485/DIO to Ethernet Data Gateway 3.2.4 DIP Switch Settings This DIP switch on the front panel is used to set RS-485 or RS-422 modes, enable and disable the termination resistors on the TxD+/TxD- and RxD+/RxD- wires. 1 2 3 4 DIP Switch No.
RS-232/422/485/DIO to Ethernet Data Gateway 3.3.1 Input Power Connectors There are 2 connectors (DC jack and Terminator Blocks) for the input power. Connect a 12V DC to either of them. Please do NOT connect power to both connectors. 3.3.2 LED Indicators There are 4 green LEDs on the rear panel as described in the following table: LINK...
RS-232/422/485/DIO to Ethernet Data Gateway 4. Configuring the Data Gateway The configuration of the Data Gateway can be done by running the Em.exe program or by a web browser by the Data Gateway’s web console. If you don’t know the IP address of the Data Gateway, the Em.exe program (see next section) will find and allows you the configure them.
Page 13
RS-232/422/485/DIO to Ethernet Data Gateway Since broadcast packets cannot pass through the router, only the devices on the same network section can be detected. Due to the fact that Em.exe uses UDP broadcast, for security reasons the Config function is available when only one device is detected.
RS-232/422/485/DIO to Ethernet Data Gateway Mac Address The Mac Address is automatically generated by the system based on system time. It does not need to be changed under normal operation. 4.2 Web Browser Console Configuration 4.2.1 Entering the web Browser Console The Data Gateway supports the HTTP communication protocol.
Page 15
RS-232/422/485/DIO to Ethernet Data Gateway 7 minutes and 5 seconds. This information can be used to determine if the device has been operating normally without being reset. Firmware version: : : : This is used to identity the firmware version of the Ethernet Data Gateway device.
RS-232/422/485/DIO to Ethernet Data Gateway 4.2.2 Updating Configuration After changed the configuration, click the〝 〝 〝 〝 Update〞 〞 〞 〞 button to update the parameters. Item Description IP address 4 numbers separated by dots, it will be re-assigned by the server under DHCP mode. Subnet mask 4 numbers separated by dots, re-assigned by the server under DHCP mode.
Page 17
RS-232/422/485/DIO to Ethernet Data Gateway mask and Gateway address must be assigned manually. Socket port of HTTP If disable, then IP address, Subnet masks and setup Gateway address must be assigned manually. Port Number : : : : any number between 1 and Socket port of serial 65536,except 80 and 81(which have been designated as the web pages, the default...
Page 18
RS-232/422/485/DIO to Ethernet Data Gateway command from its Serial Port. Serial I/O settings Baud Rate: : : : 300 – 115200 bps, default is ( ( ( ( baud rate, parity, 9600 bps data bits, stop bits) ) ) ) Parity: No Parity (default), Even Parity, Odd Parity Data Bits:...
Page 19
RS-232/422/485/DIO to Ethernet Data Gateway The login password can be empty or 1 to 15 Setup password characters long. If the password is empty then no password is required for login. Access password This is the password for socket connection. It can be empty or 1 to 15 characters long.
RS-232/422/485/DIO to Ethernet Data Gateway 5. Diagnosing the Data Gateway 5.1 Entering Setup Make a null modem by connecting pin 2 and 3 together on a 9-pin male RS-232 connector. Plug the null modem on the Data Gateway’s RS-232 connector. Connect the Data Gateway onto the LAN, into the same subnet as the testing Host PC.
Page 21
RS-232/422/485/DIO to Ethernet Data Gateway IP Address Socket port of serial I/O Enter IP Address and socket port of serial I/O. Make sure TCP/IP (Winsock) is selected and clicks the 〝 〝 〝 〝 OK〞 〞 〞 〞 button. The following screen will appear.
RS-232/422/485/DIO to Ethernet Data Gateway should not use the 〝 Send file 〞 function because the transmission protocols such as Zmodem will cause Hyperterminal to reset the Ethernet Data Gateway. 5.2 Digital I/O Connect gateway onto the LAN, into the same subnet as the testing PC.
Page 23
RS-232/422/485/DIO to Ethernet Data Gateway Current status of digital I/O ports Select〝 〝 〝 〝 File〞 〞 〞 〞 / 〝 〝 〝 〝 Property〞 〞 〞 〞 / 〝 〝 〝 〝 Configure〞 〞 〞 〞 / 〝 〝 〝 〝 ASCII〞 〞 〞 〞 and make the following settings.
Page 24
RS-232/422/485/DIO to Ethernet Data Gateway At this point you may key in command strings to change the digital I/O port state. For example: where nn=Output pin number m = 0 or 1, 0 means to set the I/O pin to LOW, 1 means to set the I/O pin to HIGH.
RS-232/422/485/DIO to Ethernet Data Gateway 6. Troubleshooting 6.1 The em.exe cannot find the unit The em.exe will not find the device if it is not in the same sub-net as the client PC. If you connect the PC to unit directly instead of via a Ethernet Hub, you have to use a cross-over LAN cable if your host Ethernet port does NOT support auto cross-over feature (the Gigabit Ethernet supports auto-cross over feature, in this...
Page 26
RS-232/422/485/DIO to Ethernet Data Gateway Or one possible reason is your Anti-Virus or Windows’ Firewall stop the em.exe to search the Gateway unit, in this case, you have to disable your firewall to allow the em.exe to work.
RS-232/422/485/DIO to Ethernet Data Gateway 6.2 How to Restore the unit to its default Settings Remove the power from the unit Connect a wire between the pin 4 and 8 of the male DB9 connector Power on (connect the power) the unit for a while, say 30 seconds for example Power off the unit, remove the wire from the pin 4 and 8.
Need help?
Do you have a question about the EX-6010 and is the answer not in the manual?
Questions and answers