Usconverters Bit Commander Manual de usuario

Serial RS232 / RS485 Ethernet Converter Manual – US2000B WWW.USCONVERTERS.COM
Copyrights © U.S. Converters 1
BIT COMMANDER
Serial RS232 / RS485 to Ethernet Converter
(Part US2000B)

Serial RS232 / RS485 Ethernet Converter Manual – US2000B WWW.USCONVERTERS.COM
Copyrights © U.S. Converters 2
Contents
Overview and Features ..................................................................................................... 3
Functions…………………………………………………………………………………………..5
TCP Server Mode ....................................................................................................... 5
Httpd Client Mode…………………………………………………………………………….5
TCP Auto mode…………………………………………………………………………...….6
WEB to Serial mode………………………………………………………………………...6
Hardware .......................................................................................................................... 7
LED status .................................................................................................................. 7
RS232 interface .......................................................................................................... 7
RS485 interface .......................................................................................................... 8
RJ45 interface ............................................................................................................. 8
Reset .......................................................................................................................... 9
Parameter configuration .................................................................................................... 9
Web browser ............................................................................................................... 9
Serial port ................................................................................................................... 9
Configuration software ............................................................................................... 11
Other Functions and Features ........................................................................................ 12
Hardware flow control ............................................................................................... 12
User MAC address .................................................................................................... 12
Telnet Timeout .......................................................................................................... 13
Send reset (RST) command over Ethernet ............................................................... 14
Firmware update ....................................................................................................... 15
Default Screenshots ........................................................................................................ 17
FAQ ................................................................................................................................. 23
Default parameters:
IP address: 192.168.0.7
Subnet mask: 255.255.255.0
The default gateway: 192.168.0.1
User name: admin
Password: admin

Serial RS232 / RS485 Ethernet Converter Manual – US2000B WWW.USCONVERTERS.COM
Copyrights © U.S. Converters 3
Introduction
Overview
The US2000B is a light-industrial grade serial RS232 / RS485 to Ethernet converter which can
be used to connect any standard RS232 or RS485 serial device to a computer over a standard
Ethernet network.
It has a strong aluminum housing with screw mounting holes for easy installation which makes
it ideal for most factory environments and other commercial facilities.
This converter is designed around the ARM Cortex-M4F chipset which makes it a very reliable
converter with several advanced features and functions.
The included virtual COM software will allow you to create two serial ports, one RS232 and
one RS485 which can be used individually at the same time.
The parameters of the adapter can be configured by a web-browser, through the serial port or
by using the downloadable configuration software.
Overall Features
1. ARM Cortex-M4F TM4C1294 processor; stable, reliable and multiple advanced
functions.
2. Flow control: RS232: Hardware (RTS/CTS), Software (XON/XOFF), None, RAW
mode (all lines). RS485: Automatic Send Control, Software (XON/XOFF), None.
3. Both serial ports (RS232 and RS485) can be used individually at the same time (two
virtual COM ports are created in your computer).
4. Support TCP Server, TCP Client, UDP, UDP Server, HTTPD Client, DHCP, Web to
serial, TCP Auto, ModBus TCP.
5. Virtual COM port software for Windows included.
6. Custom baud rates: Port 0 (RS232) 600 – 230400 bps, Port 1 (RS485) 600 – 230400
bps.
7. Wide voltage range: 5 – 36VDC
8. Supports DHCP and UDP broadcast protocol.
9. TCP/IP SOCKET programming examples available: VB, C++, Delphi, Android, IOS.
10. Parameter configuration via web-browser.
11. Ethernet RJ45 port status indicator lights with built-in 2KV isolation.
12. Auto-MDI/MIDX function, cross-over or direct network cable, automatic switching.
13. Option for unique IEEE MAC address, the user can define MAC address (special
orders for over 100pcs only).
14. Firmware upgrade over network.
15. Support IP and domain name at the same time
16. Supports up to 8 clients per port in TCP mode.
17. Built in Keep alive function.
18. TCP Server mode supports transparent and ‘ID’ communication modes.

Serial RS232 / RS485 Ethernet Converter Manual – US2000B WWW.USCONVERTERS.COM
Copyrights © U.S. Converters 4
Applications
Fire and Security Panels
Vending Machines
Point of Sale Terminals
Remote equipment management
IT management services
Access Control
Industrial Control
Home Automation
Instrumentation
Building Control
Power Management

Serial RS232 / RS485 Ethernet Converter Manual – US2000B WWW.USCONVERTERS.COM
Copyrights © U.S. Converters 5
Most of this converter’s parameter settings are self-explanatory so we will here just mention the available
special functions.
Functions
TCP Server mode
TCP Server mode has 2 parameters: max link number and link type.
1. Max link number: 1 - 4;
2. Link type: Typical: completely transparent, data is sent to all clients.
Extend 1, communicate with ID, otherwise abandon.
Extend 2, communicate with ID, otherwise send to all clients.
Httpd Client mode
This function is mainly used for web page development. PHP example code to create a web server page:
[<?php echo $_GET['data']; ?>]
This means that we can GET data from HTTP client’s request. Open the following URL to see the data:
www.usconverters.com/1.php?data=12345
The web page is shown below, we can see that the web server have received the data (12345).
Diagram 0-1 Request www.usconverters.com/1.php? and upload data

Serial RS232 / RS485 Ethernet Converter Manual – US2000B WWW.USCONVERTERS.COM
Copyrights © U.S. Converters 6
TCP Auto mode
If the converter is set to ‘TCP Auto mode’ it will when powered on work as a TCP Server, it
listens on a local port, but if there is data received from the serial port before any connection is
made, the converter will try to connect to the remote IP and port as a TCP Client.
WEB to Serial mode
Communication between serial port and admin web page.

Serial RS232 / RS485 Ethernet Converter Manual – US2000B WWW.USCONVERTERS.COM
Copyrights © U.S. Converters 7
1. Receive window show data only when “Read” button is clicked or when selecting the “Auto
read” checkmark.
2. Regardless if WEB to Serial mode is selected or not, the send web data to serial screen is
always active.
Hardware
1) Mechanical dimensions: 90 × 84 × 25mm, including RJ45 and connector
2) +5 ~ +36V power input
3) 2 x serial (1 x RS232, 1 x RS485)
4) 1 x RS232 support hardware flow control
5) 1 x RS485
LED status
The converter has 4 indicator lights:
ID Name Description
1 Power (red) Bright after power on
2 Work (green) Flash at work
3 Link (green) In RJ45 port, bright after network connection
4 Data (yellow) In RJ45 port, flash if there are data on network
RS232 interface
Standard DB9 male connector:
Number RS232 Description
1 - -
2 RXD Receive
3 TXD Transmit
4 - -
5 GND Signal ground
6 - -
7 RTS Request to send
8 CTS Clear to send
9 - -

Serial RS232 / RS485 Ethernet Converter Manual – US2000B WWW.USCONVERTERS.COM
Copyrights © U.S. Converters 8
RS485 interface
The RS485 interface has a screw terminal connector with A+ (D +), B- (D-) and GND. .

Serial RS232 / RS485 Ethernet Converter Manual – US2000B WWW.USCONVERTERS.COM
Copyrights © U.S. Converters 9
RJ45 interface
The Ethernet port supports 10 M / 100 M adaptive, AUTO MDI/MDIX, will work with standard
straight through and cross-over Ethernet cables.
Pin Name Description
1 TX+ Transceiver Data+
2 TX- Transceiver Data-
3 RX+ Receive Data+
4 n/c Not connected
5 n/c Not connected
6 RX- Receive Data-
7 n/c Not connected
8 n/c Not connected
Reset
Reset button:
US2000A
The reset button is used for resetting the converter back to factory settings.
When the Ready LED is on, depress the reset button for more than 1 second
and release, wait about 10 seconds until the converter has rebooted.
After releasing the reset button the green “Ready” LED light should turn off
and then come ON again after the module has rebooted.
The converter is now reset to factory defaults.
US2000B
The reset button can be used to reboot the converter by pressing the
button momentarily while the converter is powered ON.
The reset button can also be used to reset the converter to factory defaults
as following:
1. Power off the converter
2. Press and hold the reset button
3. Power on the converter
4. Wait 5 seconds while pressing the reset button
5. Release reset button
The converter is now reset to factory defaults.

Serial RS232 / RS485 Ethernet Converter Manual – US2000B WWW.USCONVERTERS.COM
Copyrights © U.S. Converters 10
The default parameters are:
Address type: Static IP
Static IP Address: 192.168.0.7
User name: admin
Password: admin
Default settings can also be set by software:
Parameter configuration
The parameters can be configured by logging into the converter by using a standard web
browser, through the serial port or by using the software utility.
Web browser
Simply use a web browser and login to the converter at IP address 192.168.0.7.
Serial port
Power on the converter and press the reset button. The converter will now go into
configuration mode. The default port parameters are:
9600, 8, N, 1,
The converter will send the character ‘U’, indicating that it is in serial configuration mode.
The character ‘K’ indicates successful configuration.
The character ‘E’ indicates an error.
Press the reset button after the parameters has been changed and the new configuration will
take effect.
Protocol structure and examples:
name Byte Description example Hex(low front)
head 2 Head(55 BA/55 C1/55 C2) 55 BA 55 BA
Target IP 4 Target IP 192.168.0.201 C9 00 A8 C0
Target port 2 Target port 8234 2A 20
Module IP 4 Module IP 192.168.0.7 07 00 A8 C0
Module port 2 Module port 20108 8C 4E
gateway 4 Gateway IP 192.168.0.201 C9 00 A8 C0
Este manual sirve para los siguientes modelos
1
Tabla de contenidos
Otros manuales de Convertidor de medios de Usconverters




















