background image

Serial to Ethernet module USR-TCP232-T24 series

http://en.usr.cn

Jinan USR IOT Technology Limited

Page 37 of 53

[email protected]

agreement like that, but not standard RFC2217, it is more sample and easy than RFC2217.

1.When module receive setup command, if is a valid command(right packet head and right checksum),

the module will change self setting and answer nothing, else the data bits would be sent out at com port.

2.TCP Client, TCP Server, UDP Client, UDP Server, UDP broadcast support this function.

3.All changes will work at once, but not save to module, when power off will lose the settings.

USR-TCP232-Setup V4.2.1 and later version support this function. Like follow picture.

The command length is 8 bits, detail as follow table. The demo bytes are in hex mode:

Name

Packet

header

Band rate

UART bits setting

Check sum

Bytes

3

3

1

1

Description

Three bytes

Band rate in hex

mode, High byte first.

Parity/data/stop

settings, see follow

table.

Check sum of

last 4 bytes

For example

(115200,N,8,1)

55 AA 55

01 C2 00

83

83

For example

(9600,N,8,1)

55 AA 55

00 25 80

83

83

Содержание USR-TCP232-2

Страница 1: ...32 442 File version V3 0 The USR TCP232 T24 series is data transparent transmission equipment for convert TCP or UDP socket data to RS232 or RS485 or RS422 easy to use small size low power powered by...

Страница 2: ...2 2 Hardware Description 11 2 2 21 Pin description 11 2 2 22 LED status 12 2 2 23 Mechanical Dimensions 12 2 2 24 Connection Diagram 12 2 3 USR TCP232 D 13 2 3 1 Technical Specifications 13 2 3 2 Har...

Страница 3: ...per usage Mechanical Dimensions 29 3 Work Mode 30 3 1 Block diagram 30 3 2 TCP Client Mode 30 3 3 UDP mode 30 3 4 UDP server Mode 31 3 5 TCP server Mode 32 3 6 Special functions 33 3 61 RS485 33 3 62...

Страница 4: ...2 Function Function Function Function Features Features Features Features 100M high speed Ethernet card 10 100M auto detect interface support AUTO MDI MDIX Can use a crossover cable or parallel cable...

Страница 5: ...Power r r r supply supply supply supply DC DC DC DC I I I Interface nterface nterface nterface Network Network Network Network port port port port 10 100Mbps 10 100Mbps 10 100Mbps 10 100Mbps Package P...

Страница 6: ...chnical Specifications Specifications Specifications Specifications M M M Major ajor ajor ajor characteristic characteristic characteristic characteristic P P P Parameter arameter arameter arameter Pa...

Страница 7: ...crocontroller 5 TXD Module data transmission Data transmission end of the module TTL level can be connected to 5V or 3 3V microcontroller 6 CFG Serial ports Configuration pins Low you can use the seri...

Страница 8: ...ule USR TCP232 T24 series http en usr cn Jinan USR IOT Technology Limited Page 8 of 53 tec usr cn 2 1 22 2 1 22 2 1 22 2 1 22 Mechanical Mechanical Mechanical Mechanical Dimensions Dimensions Dimensio...

Страница 9: ...T24 series http en usr cn Jinan USR IOT Technology Limited Page 9 of 53 tec usr cn 2 1 23 2 1 23 2 1 23 2 1 23 Connection Connection Connection Connection Diagram Diagram Diagram Diagram The network i...

Страница 10: ...Parameter arameter arameter arameter Package Type Pin type package DIP package Schematic diagram and PCB library See the CD library file Power Supply The module adopts double power supply interfaces e...

Страница 11: ...ription VDD Power 1 4 5 5 5V VCC Power 2 3 3V GND GND Power and Communications Ground RST Reset pin 200ms GND reset the module TXD UART transmission pin 5v tolerance RXD UART receive pin 5v tolerance...

Страница 12: ...fer Blink when there is data in or out 2 2 23 2 2 23 2 2 23 2 2 23 Mechanical Mechanical Mechanical Mechanical Dimensions Dimensions Dimensions Dimensions Unit mm 2 2 24 2 2 24 2 2 24 2 2 24 Connectio...

Страница 13: ...P P Parameter arameter arameter arameter Package Type Pin type package DIP package Schematic diagram and PCB library See the CD library file Power Supply The module adopts double power supply interfa...

Страница 14: ...23 NC 3 RX To RJ45 Pin3 22 NC 4 RX To RJ45 Pin6 21 NC 5 Data_LED Link to yellow Led and through a resistance to VCC 20 NC 6 TXD Transmit data 19 NC 7 RXD Receive data 18 ISP For Update 8 RTS RS485 ena...

Страница 15: ...23 2 3 23 Mechanical Mechanical Mechanical Mechanical Dimensions Dimensions Dimensions Dimensions Unit mm 2 3 24 2 3 24 2 3 24 2 3 24 Connection Connection Connection Connection Diagram Diagram Diagra...

Страница 16: ...ical Technical Technical Specifications Specifications Specifications Specifications M M M Major ajor ajor ajor characteristic characteristic characteristic characteristic P P P Parameter arameter ara...

Страница 17: ...Interface Interface Interface Description Description Description Description Power Power Power Power i i i interface nterface nterface nterface DC5V power supply you can make the B type USB or 3 81m...

Страница 18: ...le or a straight cable to connect it to PC for test 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 N...

Страница 19: ...5 1 Technical Technical Technical Technical Specifications Specifications Specifications Specifications Ma Ma Ma Major jor jor jor characteristic characteristic characteristic characteristic P P P Par...

Страница 20: ...wer on green Link state Light when 100Mbps network linked yellow Data transfer Blink when there is data in or out 2 5 22 2 5 22 2 5 22 2 5 22 Interface Interface Interface Interface Description Descri...

Страница 21: ...hanical Mechanical Mechanical Dimensions Dimensions Dimensions Dimensions There are three jumpers and one Welding hole UPD Update jumper connect it and then power on the module to make module into upd...

Страница 22: ...l Technical Technical Technical Specifications Specifications Specifications Specifications M M M Major ajor ajor ajor characteristic characteristic characteristic characteristic P P P Parameter arame...

Страница 23: ...n Description Power Power Power Power i i i interface nterface nterface nterface DC5V power supply you can make 5 5 2 1 standard power supply power input with TVS protection products RS232 RS232 RS232...

Страница 24: ...sistance on board Notice Notice Notice Notice this module user Jumpers to change work for RS232 or RS485 by default it work at RS232 mode RJ45 RJ45 RJ45 RJ45 internet internet internet internet interf...

Страница 25: ...hanical Mechanical Mechanical Dimensions Dimensions Dimensions Dimensions There are three jumpers and one Welding hole UPD Update jumper connect it and then power on the module to make module into upd...

Страница 26: ...2 7 2 7 2 7 USR TCP232 300 USR TCP232 300 USR TCP232 300 USR TCP232 300 USR TCP232 300 model products for RS232 or RS485 level 2 kv RJ45 interface of electromagnetic isolation 5 5 2 1 standard power...

Страница 27: ...8 1 2 8 1 2 8 1 2 8 1 Technical Technical Technical Technical Specifications Specifications Specifications Specifications M M M Major ajor ajor ajor characteristic characteristic characteristic chara...

Страница 28: ...e RS485 has two lines A data and B data the signal terminal 0 5A PTC Resettable Fuse to prevent accidental high current burn out the motherboard Professional TVS lightning protection circuit design In...

Страница 29: ...al Mechanical Mechanical Mechanical Dimensions Dimensions Dimensions Dimensions There are three jumpers and one Welding hole 1 UPD Update jumper connect it and then power on the module to make module...

Страница 30: ...to their own Settings active TCP server to connect to the server and then establish a long connection data transparent transmission after this mode the TCP server IP module would need to be visible a...

Страница 31: ...ceived data source IP similar to TCP server functionality In this mode the module by default record a destination IP when a serial port data to record the IP to send data at the same time the module a...

Страница 32: ...and then monitor set up local port there is connection request response and create a connection can exist at the same time up to 4 links a serial port after receipt of the data will be sent to all at...

Страница 33: ...S CTS Alternate Pin USR TCP232 T products USR TCP232 200 product Link alternate pin external Link instructions Set the software interface 3 63 3 63 3 63 3 63 Rese Rese Rese Reset t t t When the modul...

Страница 34: ...ws for the ID number the last four digits of the display ID negated to authentication The following picture shows the module do TCP CLINENT establish a communication connection ID feature is enabled t...

Страница 35: ...ve the corresponding TCP Client side ID ID Description ID before data transmitted only display four digit ID number The following picture shows the module do the TCP CLINENT ID feature is enabled data...

Страница 36: ...ll send data to serial port with head 49 N followed by data 49 represent incoming data N represent client index 2 When user MCU want send data to module serial port start with head 4F N data 4F repres...

Страница 37: ...Server UDP Client UDP Server UDP broadcast support this function 3 All changes will work at once but not save to module when power off will lose the settings USR TCP232 Setup V4 2 1 and later version...

Страница 38: ...dix UART bits setting detail Bit Description Value Description 1 0 Data bits 00 5 bits 01 6 bits 10 7 bits 11 8 bits 2 Stop bits 0 1 bits 1 2 bits 3 Parity enable 0 Not enable Parity 1 Enable Parity 5...

Страница 39: ...IP 4 destination IP 192 168 0 2 01 0xC9 0x00 0xA8 0xC0 destination port 2 Destination port 8234 0x2A 0x20 Host IP 4 The IP module hold 192 168 0 7 0x07 0x00 0xA8 0xC0 Host port 2 TCP UDP source port...

Страница 40: ...read via com the left side will display the current configuration parameters can modify the parameters of the desired Settings 3 Click setup via com to complete the module configuration 4 After Setti...

Страница 41: ...2 SETUP USR TCP232 SETUP USR TCP232 SETUP USR TCP232 SETUP USR TCP232 the Setup software can be extended in functions to specific function module Settings as shown in the figure below 5 5 5 5 Test Tes...

Страница 42: ...connect module rs232 to pc rs232 RJ45 to pc RJ45 or the same router same subnet Notice Notice Notice Notice USE USE USE USE TTL TTL TTL TTL to to to to USB USB USB USB convert convert convert convert...

Страница 43: ...Ethernet module USR TCP232 T24 series http en usr cn Jinan USR IOT Technology Limited Page 43 of 53 tec usr cn Click Listening Open COM port The module will connect to the server and show the module I...

Страница 44: ...SR TCP232 T24 series http en usr cn Jinan USR IOT Technology Limited Page 44 of 53 tec usr cn 5 Now you can transfer data from PC RS232 to Ethernet You can use other TCP UDP test software and COM port...

Страница 45: ...s http en usr cn Jinan USR IOT Technology Limited Page 45 of 53 tec usr cn 5 2 5 2 5 2 5 2 V V V Virtual irtual irtual irtual COM COM COM COM Single port TCP IP serial bridge RFC 2217 1 setup the modu...

Страница 46: ...d work mode of PC then click Activate 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...

Страница 47: ...R IOT Technology Limited Page 47 of 53 tec 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...

Страница 48: ...Serial to Ethernet module USR TCP232 T24 series http en usr cn Jinan USR IOT Technology Limited Page 48 of 53 tec usr cn Test 100ms recycle send send and receive 10 0000 bytes every thing is ok...

Страница 49: ...R M R S 2 3 2 COM to Ethernet Socket software on PC or hand system Ethernet MCU use as RS 2 3 2 Ethernet 6 2 6 2 6 2 6 2 Virtual Virtual Virtual Virtual COM COM COM COM Install VSPM software The COM l...

Страница 50: ...C A R M A R M A R M A R M R S 2 3 2 Old Communication M C U 5 1 5 1 5 1 5 1 A V R A V R A V R A V R P IC P IC P IC P IC A R M A R M A R M A R M Ethernet M C U 5 1 5 1 5 1 5 1 A V R A V R A V R A V R P...

Страница 51: ...TCP UDP proxy TCP UDP proxy server server server server TCP UDP COM TCP UDP COM TCP UDP COM TCP UDP COM You can use a proxy server to treat the data form one module to other or just use you MCU to co...

Страница 52: ...ttp en usr cn Jinan USR IOT Technology Limited Page 52 of 53 tec usr cn 6 6 6 6 6 6 6 6 COM COM COM COM TCP UDP TCP UDP TCP UDP TCP UDP server server server server M C U M C U M C U M C U M C U M C U...

Страница 53: ...ed Address 1 523 Huizhan Guoji Cheng Gaoxin Qu Jinan Shandong China Tel 86 531 55507297 86 531 88826739 803 Web http en usr cn Skype lisausr Email sales usr cn tec usr cn 8 8 8 8 Doc Doc Doc Doc Histo...

Отзывы: