RS232 RS485 to ethernet converter user guide USR-TCP232-300

Add to my manuals
18 Pages

advertisement

RS232 RS485 to ethernet converter user guide USR-TCP232-300 | Manualzz

Serial Device Server - RS232/RS485 to Ethernet converter http://en.usr.cn

USR-TCP232-300

Hard version: V2.0

File version: V1.1

2011-8-17

Serial Device Server - RS232/RS485 to Ethernet converter is an Equipment for convert TCP or UDP socket data to RS232 or RS485, easy to use, low price, low power, 32 bits arm on board, high speed, high Stability.

Our concept: simple functions, stable performance, reasonable price.

We can supply Custom services, hardware, software and Server, welcome to contact us.

Jinan USR IOT Technology Co., Ltd.

Page 1 of 18 [email protected]

Serial Device Server - RS232/RS485 to Ethernet converter http://en.usr.cn

1. Product introduce........................................................................................................................................ 3

1.1 Introduction.........................................................................................................................................3

1.2 Function Features.............................................................................................................................. 3

1.3 Product Features............................................................................................................................... 3

1.4 Applications Area............................................................................................................................... 4

1.5 Order information............................................................................................................................... 4

1.6 Electrical parameters......................................................................................................................... 4

1.7 Packet list........................................................................................................................................... 4

2. Work mode...................................................................................................................................................5

2.1 System Block Diagram...................................................................................................................... 5

2.2 TCP Client mode................................................................................................................................ 5

2.3 UDP client mode................................................................................................................................ 6

2.4 UDP server Mode.............................................................................................................................. 6

2.5 TCP server Mode............................................................................................................................... 8

3. Hardware Description..................................................................................................................................9

3.1 LED status.......................................................................................................................................... 9

3.2 Interface Description.......................................................................................................................... 9

3.3 Mechanical Dimensions.................................................................................................................. 10

4. Configure....................................................................................................................................................11

4.1 configure through RJ45................................................................................................................... 11

5. Model test.................................................................................................................................................. 12

5.1 Default work mode test....................................................................................................................12

5.2 virtual COM...................................................................................................................................... 14

6. Contact us..................................................................................................................................................18

7. Doc History................................................................................................................................................ 18

Jinan USR IOT Technology Co., Ltd.

Page 2 of 18 [email protected]

Serial Device Server - RS232/RS485 to Ethernet converter http://en.usr.cn

Serial Device Server - RS232/RS485 to Ethernet converter is an Equipment for convert TCP or UDP socket data to RS232 or RS485, easy to use, low price, low power, 32 bits arm on board, high speed , high

Stability.

This is a multi-functional embedded Ethernet serial data conversion device that integrates a TCP / IP protocol stack, the user can easily use it to network functionality of embedded devices, upgrade the existing serial devices into a network function, saving human and material resources and development time, make the product faster to market, enhance their competitiveness.

There is 10/100M auto detected RJ45 interface, RS232 bound rate up to 230.4Kbps, can work at TCP

Server, TCP Client, UDP and UDP server mode, setup easily via RS232 or RJ45.

100M high speed Ethernet card, 10/100M auto detect interface;

� support AUTO MDI/MDIX, Can use a crossover cable or parallel cable connection;

� RS232 bound rate can set up from 300 to 256000

RS485 bound rate can set up from 300 to 115200

� Work mode TCP Server, TCP Client, UDP, UDP Server

Virtual serial port supported;

� across the gateway, across switches, routers

� Can work in LAN, also can work on the Internet (external network)

Working port, destination IP address and port can be easily set up;

� Automatically connection to ensure a reliable network to establish the TCP connection;

Transmission distance: RS232 - 15 meters, RS485 - 1000 meters, cable 200 meters (after the switches together through the Internet, no distance limit)

� 32 bits ARM CPU inside;

LAN : 10/100Mbps; protect: Built-2KV isolated electromagnetic;

RS232 x 1: TXD RXD GND;

� RS485 x 1: A (Data+) B (Data-); 120 Ohms Termination Resistance on board.

� network protocol: ETHERNET ARP IP UDP TCP ICMP;

� Software tool: configuration software, TCP/UDP test soft, RS232 debug soft.

Configuration method: RS232 or via Ethernet, free software available.

Power : DC 5V / 500mA

� Size (L×W×H): 90×83×25(mm)

Operating temperature: -25~75°C.

� Save the environment: -40~85°C, 5~95%RH.

Jinan USR IOT Technology Co., Ltd.

Page 3 of 18 [email protected]

Serial Device Server - RS232/RS485 to Ethernet converter http://en.usr.cn

Serial device server module for connecting serial industrial automation equipment such as PLC, sensors, meters, motors, drives, bar code readers and displays and design. Serial server module is widely used in attendance, access control systems, Canteen machines, POS systems, building control, fire control, the banking system, engine room monitoring, UPS monitoring, power, oil, environmental monitoring, industrial applications and other areas all need to serial devices Data network management where you can use a serial device server solution.

Name

Ethernet card for

MCU

RS232 to Ethernet convert module

RS232/RS485 to

Ethernet convert module

Ethernet to TTL module

Serial Device Server

Model

USR-TCP232-T

USR-TCP232-2

USR-TCP232-24

USR-TCP232-D

USR-TCP232-300

TTL

RS232

RS485/RS234

TTL interface

RS232/RS485

Explain

For PCB embedded customers use, with RJ45 Block

RS232 to TCP/IP

RS232/RS485 choose via Jumper

DIP module,For PCB embedded customers use,with out RJ45

With shell serial servers, network setting parameters

Model Description: USR is our brand, TCP232 that TCPIP to serial module product, 2/4/T that serial-side level in the form.

Operating voltage: 5V

Operating current: 200mA

Operating Temperature: -25 ~ 75 ° C

Storage Temperature: -40 ~ 85 ° C

Storage Humidity: 5% ~ 95% RH

� 1. Serial Device Server - RS232/RS485 to Ethernet converter * 1

2. 110~240V AC to 5V DC power adapter * 1

� 3. Network cable * 1

� 4. RS232 cable (Male to Male: 2-3 3-2 cross) *1

5. CD with soft and user guide in English *1

Jinan USR IOT Technology Co., Ltd.

Page 4 of 18 [email protected]

Serial Device Server - RS232/RS485 to Ethernet converter http://en.usr.cn

USR-TCP232-300 is bridge to connect the network to Serial device, with the RS232/RS485 to Ethernet convert module; users can easily manage and control network devices, application diagram below.

R S 2 3 2 /

R S 4 8 5

Ethernet

User system

When work at TCP client mode, the module auto connect to destination IP and port, make a TCP connection for send or receive data. Destination IP can be a WAN IP or Ethernet IP.

1. Module try to connect to server

1.Server listen a TCP port

2. Data transfer through the connection

R S 2 3 2

R S 4 8 5

S y s t e m

R S 2 3 2

Ethernet

Module work at TCP Client mode

Jinan USR IOT Technology Co., Ltd.

Page 5 of 18 [email protected]

Serial Device Server - RS232/RS485 to Ethernet converter http://en.usr.cn

Work at UDP mode, Module listen a UDP port, and pc listen a UDP port, when need to send data, UDP packet will be send.

1. Module listen a UDP port 1.PC listen a UDP port

2. Data transfer With out connection, only data packet

R S 2 3 2

R S 4 8 5

S y s t e m

R S 2 3 2 Ethernet

Module work at UDP mode

Jinan USR IOT Technology Co., Ltd.

Page 6 of 18 [email protected]

Serial Device Server - RS232/RS485 to Ethernet converter http://en.usr.cn

Like the socket UDP server in pc API. Many to one data transfer supported, the data from uart/232/485 part will be transformed to the last UDP packet’s address.

1. Module listen a UDP port

1.PC listen a UDP port

R S 2 3 2

R S 4 8 5

S y s t e m

R S 2 3 2

Module work at UDP Server mode

Ethernet

P C -A

1

2

3

P C -B

Jinan USR IOT Technology Co., Ltd.

Page 7 of 18 [email protected]

Serial Device Server - RS232/RS485 to Ethernet converter http://en.usr.cn

R S 2 3 2

R S 4 8 5

S y s te m

1. module listen TCP port

1. PC connect to the port

2. data transfer from MCU to PC

R S 2 3 2 Ethernet

U S R -T C P 2 3 2 -300 work at TCP Server mode

N e w p c

c o n n e c t e d

Da t a

t ra n s d an f e b a r ck g o

P C -D

P C -A

It can accept 4 links at the same time.

P C -C

P C -B

Jinan USR IOT Technology Co., Ltd.

Page 8 of 18 [email protected]

Serial Device Server - RS232/RS485 to Ethernet converter http://en.usr.cn

There is two lamps in RJ45 connector, one is green, and the other is yellow. And 1 power led.

LED red name

Power green Link state yellow Data transfer description

Light When Power on

Light when 100Mbps network linked

Blink when there is data in or out

RS232 use 9 pin female (hole), only 3 pins in use, others are NC, the detail is below.

5 4 3 2 1

9 8 7 6

ID

2

3

5

Mark

TXD

RXD

GND

Description

RS232 Send of module

RS232 Receive of module

Ground

We can offer two kinds of serial lines, if needed, please choose to buy:

1. Male to Female direct serial cable: connect serial server and the computer directly to debugging and

Testing.

2. Male to Male and Cross Pin2 and Pin3 serial cable: used to connect RS232 serial port server and general user equipment.

RS485 has two lines A (data+) and B (data-), 120 Ohms Termination Resistance on board.

if you need to use RS485, please open the box and change the jumpers.

Jinan USR IOT Technology Co., Ltd.

Page 9 of 18 [email protected]

Serial Device Server - RS232/RS485 to Ethernet converter http://en.usr.cn

Auto detected 10M/100M RJ45 interface, support AUTO MDI/MDIX,that is to say you can use crossover cable or a straight cable to connect it to PC for test.

7

8

5

6

2

3

Pin

1

4

Name

TX+

TX-

RX+ n/c n/c

RXn/c n/c

Description

Transceiver Data+

Transceiver Data-

Receive Data+

Not connected

Not connected

Receive Data-

Not connected

Not connected

U n i t :m m

4

7 6 m m

8 3 m m

Jinan USR IOT Technology Co., Ltd.

Page 10 of 18 [email protected]

Serial Device Server - RS232/RS485 to Ethernet converter http://en.usr.cn

Parameters: work mode, source IP, source port, net mask, gateway, UART baud rate, destination IP, destination port.

Note: This module does not support network settings by default, if you need network settings module ,please tell us before buying, network settings and serial port settings can only choose one.

The steps for setting via RJ45:

1. Connect the module to the LAN with PC or connect to PC, power on the module.

2. Open the setup software, click Search, find modules, and choose the one you want to change settings.

4. (Optional step) after setup, the module will restart in 5 seconds; you can re click Search to check new config.

5. Power down the module and Power on, the module will work at new configuration.

Jinan USR IOT Technology Co., Ltd.

Page 11 of 18 [email protected]

Serial Device Server - RS232/RS485 to Ethernet converter http://en.usr.cn

The default work mode is TCP Client and the setting is same as the picture show on last page.

First, you can ping the module, if you are in the same LAN with the module.

Default work mode test:

1. What you need for test, A PC with a RS232 interface, 5V Power adapter, RS232 cable, Ethernet Cable,

Test software. If your PC has no RS232 interface, you can use a USB to RS232 convert product.

2. Hardware connects: Connect the module to your PC, RS232 to PC’s RS232 and Ethernet RJ45 to

PC’s RJ45 Ethernet, you can use the Cross or Directly Connect net cable, because the module support

AUTO MDI/MDIX.

Powe r o n

Ether net c able

R S23

2 c ab le

3. Setup the PC IP address to 192.168.0.201

Jinan USR IOT Technology Co., Ltd.

Page 12 of 18 [email protected]

Serial Device Server - RS232/RS485 to Ethernet converter http://en.usr.cn

4. Open the test software, choose Correct COM port, open com port, listen TCP port.

1.

After a short while, the module will connect to the software, as you can see 192.168.0.7:20108.

2.

Now you can send from RS232, receive from Ethernet; and send from Ethernet, receive from

RS232.

Jinan USR IOT Technology Co., Ltd.

Page 13 of 18 [email protected]

Serial Device Server - RS232/RS485 to Ethernet converter

Single-port TCP/IP - serial bridge (RFC 2217) http://en.usr.cn

1. setup the module

2. Install VSPM

3. Open VSPM,

Add virtual COM.

Jinan USR IOT Technology Co., Ltd.

Page 14 of 18 [email protected]

Serial Device Server - RS232/RS485 to Ethernet converter http://en.usr.cn

4. Setup as the follow pictures, you need to notice COM port, bond rate and work mode of PC, then click

5. After Activate click, a Virtual COM port COM2, will be created, COM2 will receive data from TCPIP socket, and send data to COM2 will convert to TCPIP socket data to remote Equipment.

If create failed, please notice to see error notice and log, when use Virtual COM Port, you should close other software who use the same TCPIP port.

The success picture as follow:

Jinan USR IOT Technology Co., Ltd.

Page 15 of 18 [email protected]

Serial Device Server - RS232/RS485 to Ethernet converter http://en.usr.cn

At this point, you can use your equipment as an ordinary serial port, and operate of local virtual serial port will converted to operation of the remote module RS232. The figure is show send data between the two serial port.

Jinan USR IOT Technology Co., Ltd.

Page 16 of 18 [email protected]

Serial Device Server - RS232/RS485 to Ethernet converter http://en.usr.cn

Test 100ms recycle send, send and receive 10,0000 bytes, every thing is ok.

Jinan USR IOT Technology Co., Ltd.

Page 17 of 18 [email protected]

Serial Device Server - RS232/RS485 to Ethernet converter

Company: Jinan USR IOT Technology Co., Ltd

Address: 1-523, Huizhan Guoji Cheng, Gaoxin Qu, Jinan, Shandong, China

Tel: 86-531-55507297 86-531-88826739

Web: http://en.usr.cn

Email: [email protected]

[email protected]

http://en.usr.cn

Version 1.0 2011-05-26

Version 1.1 2011-06-30 add new test software

Version 1.2 2011-08-17 add TCP Server mode and virtual COM test

Jinan USR IOT Technology Co., Ltd.

Page 18 of 18 [email protected]

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals

Download PDF

advertisement