USR IOT USR-TCP232-E2 Manual Download Page 7

Multifunctional serial to Ethernet module user manual

www.usriot.com

Jinan USR IOT Technology Co., Ltd

[email protected]

Page7

////

9

1.5.

1.5.

1.5.

1.5. Difference

Difference

Difference

Difference between

between

between

between E45

E45

E45

E45 series

series

series

series and

and

and

and M4

M4

M4

M4 series

series

series

series

The new M4 series is a function full-compatible product to the old E45 series product, but there

are still difference.

difference

TCP232-E45

TCP232-M4

frequency

50MHz

120MHz

Flash size

256Kbyte

512Kbyte

RAM size

64Kbyte

256Kbyte

current

180~190mA

-E

120mA

-E2

485 connector

3.81-2

5.08-2

size

ultra-tiny product USR-K3

LEDs

No

LED holder, more tight

webpage

No change

New web page style

Setup software

Use V1.x.x.x setup software

V2.x.x.x or higher

Comm number

3

3(have 1 and more Model)

2.

2.

2.

2. Module

Module

Module

Module Test

Test

Test

Test

If you have any question, please contact us the in the client support center:

http://h.usriot.com/index.php?c=frontTicket&m=sign

http://h.usriot.com/index.php?c=frontTicket&m=sign

http://h.usriot.com/index.php?c=frontTicket&m=sign

http://h.usriot.com/index.php?c=frontTicket&m=sign

2.1.

2.1.

2.1.

2.1. Hardware

Hardware

Hardware

Hardware connection

connection

connection

connection

The picture below is a serial device server of TCP232-410. It have 1 RS232 and 1 RS485,

they can work independently, now we are going to test it's RS232 function.

Summary of Contents for USR-TCP232-E2

Page 1: ...al erial erial erial to to to to E E E Ethernet thernet thernet thernet converter converter converter converter USR TCP232 E2 USR TCP232 ED2 USR TCP232 410 File version V1 0 7 Jinan USR IOT Technology...

Page 2: ...dware connection 7 2 2 Login 9 2 3 Default parameter test 10 3 Work mode 12 3 1 UDP mode 12 3 2 TCP Client mode 13 3 3 UDP Server mode 15 3 4 TCP Server mode 16 3 5 Httpd Client mode 18 4 Hardware 20...

Page 3: ...Webserver port 36 6 7 Module id and id type 36 6 8 Device name 36 6 9 Buffer data before connected 37 6 10 Reset timeout 38 6 11 Local IP config 38 6 11 1 Static IP 39 6 11 2 DHCP 39 6 12 DNS 39 6 13...

Page 4: ...mization TCPIP protocol stack stable and reliable 2 selectable RS232 RS485 UART port Different port can be used together work independently distinguish the connected serial port via port number 3 Auto...

Page 5: ...nes Point of Sale Terminals Remote equipment management IT management services Access Control Industrial Control Home Automation Instrumentation Building Control Power Management 1 3 1 3 1 3 1 3 Order...

Page 6: ...25 network cable plug in max data transmittion 10ms 20 byte sending data constantly Working tempterature range 40 85 Unpowered storage temperature and humidity range 65 150 5 95 RH Input Voltage rang...

Page 7: ...5 08 2 size ultra tiny product USR K3 LEDs No LED holder more tight webpage No change New web page style Setup software Use V1 x x x setup software V2 x x x or higher Comm number 3 3 have 1 and more...

Page 8: ...ectly with network cable No need to distinguish cross or direct connect cable or connect the module and PC via switch or router and set the PC s ip address to 192 168 0 201 must be a format of 192 168...

Page 9: ...d tec usr cn Page9 9 2 2 2 2 2 2 2 2 Login Login Login Login Open a browser type and Login above IP address http 192 168 0 7 you will enter module s setup web pages User name and password are both adm...

Page 10: ...RS485 port config Port2 settings not available Web to serial wesocket function which enable you send and receive data between webpage and comm port 0 Port 0 only Miscellaneous settings used to set key...

Page 11: ...By default the two COM port to be set as TCP Server mode port is 23 26 This illustration shows the 10 ms two way simultaneous automatically transmit screenshots As the allocated memory of the display...

Page 12: ...e mode mode mode When in UDP mode after power on module will connect to remote server s specific port When received data from the remote server module will send it to serial port otherwise when data i...

Page 13: ...local port and remote port can be different 2 Max UDP send length ethernet to serial is 1472 bytes If you want to send more than 1472 Bytes please div it into shorter packet 3 2 3 2 3 2 3 2 TCP TCP TC...

Page 14: ...functional serial to Ethernet module user manual www usriot com Jinan USR IOT Technology Co Ltd tec usr cn Page14 9 Diagram 3 2 TCP Client mode Use USR TCP232 Test Diagram 3 3 TCP Client communication...

Page 15: ...3 3 3 UDP UDP UDP UDP Server Server Server Server mode mode mode mode 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 th...

Page 16: ...R IOT Technology Co Ltd tec usr cn Page16 9 Diagram 3 4 Client 1 server Diagram 3 5 Client 2 server 3 4 3 4 3 4 3 4 TCP TCP TCP TCP Server Server Server Server mode mode mode mode TCP Server mode have...

Page 17: ...Multifunctional serial to Ethernet module user manual www usriot com Jinan USR IOT Technology Co Ltd tec usr cn Page17 9 Diagram 3 6 select workmode TCP server...

Page 18: ...r used for webpage developer We establish one web server page add this php echo _GET data Means we can GET data from HTTP client s request Open this URL www usr cn 1 php data 12345 the web page is dow...

Page 19: ...usriot com Jinan USR IOT Technology Co Ltd tec usr cn Page19 9 Diagram 3 9 config HTTPD Client Open USR TCP232 Test and type in a string such as 12345 then send via comm port to TCP232 410 and see the...

Page 20: ...the data returned but the http header from server will be returned too the user may need to parse this to get your data 4 4 4 4 Hardware Hardware Hardware Hardware About the new PCB libraries file we...

Page 21: ...nsion L W 50 4 30 0 mm 3 5V 3 3V double power input choose 1 input 1 2 serial port 2 TTL 3 3V 2 TTL serial port 0 support hardware flow control RTS CTS 4 1 2 4 1 2 4 1 2 4 1 2 Power Power Power Power...

Page 22: ...low then power off and on keep this pin down for 2 seconds then release it 8 WORK WORK LED indicate it will toggle every 1 second 9 CTS0 Clear to send 10 RTS0 Request to send also muxed as RS485 enabl...

Page 23: ...lished on 3 Data yellow On RJ45 wnen ethernet data communicate twinkle Diagram 4 4 LED definition 4 1 4 4 1 4 4 1 4 4 1 4 Serial TTL Serial TTL Serial TTL Serial TTL interface interface interface inte...

Page 24: ...imension L W 44 45 31 75 mm 3 5V 3 3V double power input you can only choose 1 of them as input 4 3 serial 3 TTL 3 3V 5 TTL serial port support hardware flow control RTS CTS 4 2 2 4 2 2 4 2 2 4 2 2 Po...

Page 25: ...usr cn Page25 9 2 Link green On RJ45 when ethernet physical link established on 3 Data yellow On RJ45 wnen ethernet data communicate toggle Diagram 4 7 LED definition 4 2 4 4 2 4 4 2 4 4 2 4 Serial T...

Page 26: ...ber name Description 1 ETH_TX Ethernet TX 2 ETH_TX Ethernet TX 3 ETH_RX Ethernet RX 4 ETH_RX Ethernet RX 5 LED_DATA Ethernet Data LED 6 TXD0 Uart0 transmit data pin 7 RXD0 Uart0 receive data pin 8 485...

Page 27: ...clear to send 22 RTS1 Default as 485_en for Uart1 Uart1 require to send 23 CTS1 Default no use Uart1 clear to send Diagram 4 10 connector interface include uart0 uart1 uart3 Note 1 There is no RTS2 an...

Page 28: ...5 and connector 2 PCB dimension L W 80 3 50 3 mm 3 DC 5 18V power input 4 DC power plug can be customized to 5 08 connector power input 5 1 RS232 support hardware flow control RTS CTS 6 1 RS485 4 3 2...

Page 29: ...4 4 3 4 4 3 4 RS232 RS232 RS232 RS232 interface interface interface interface The serial port is male needle RS232 level can be directly connected to computer serial via a RS232 extend wire When conne...

Page 30: ...rface interface module network interface is 10 M 100 M adaptive support AUTO MDIX can discretionarily connect cross over or direct network cable That is to say you can use either kind of cable to conn...

Page 31: ...Usually this series of TCP232 module is configured through web pages 5 2 5 2 5 2 5 2 Serial Serial Serial Serial port port port port 1 This function Which we mean Config module s param via serial por...

Page 32: ...ic ip 4 Click Base Save or Save COMx paramters will be saved 5 After 2 second Search again module will appear in new paramters 6 6 6 6 Specific Specific Specific Specific functions functions functions...

Page 33: ...col convertion Selection ModbusTCP means we use protocol convertion from Modbus RTU to ModbusTCP In the comm side RS232 or RS485 it s ModbusRTU protocol the ethernet side is ModbusTCP The ethernet sid...

Page 34: ...send at this time TTL is 0 volt RS232 is 3V 15V When CTS 0 represent module is enabled to send at this time TTL is 0 volt and RS232 is 3V 15V When the logic is reverse represent that disable the othe...

Page 35: ...nism would be triggered if there is either 1 condition meet them If we set packet time and packet length to 0 then the module would use a mechanism of auto packet which have 4 byte time packet time an...

Page 36: ...le Module Module id id id id and and and and id id id id type type type type All module have a 2 byte id default 1 id type default 0 Diagram 6 6 module id and id type The id type have a mean as below...

Page 37: ...er Buffer Buffer data data data data before before before before connected connected connected connected Diagram 6 7 buffer data or not Default not checked That is before TCP connected all the data co...

Page 38: ...ut timeout timeout Diagram 6 8 Reset timeout Default 0 unit is second When this value between 0 60 the reset timeout function would be no use When this value is higher than 60 the module will restart...

Page 39: ...ault Submask usually 255 255 255 0 Gateway usually 192 168 0 1 your router s ip address 6 11 2 6 11 2 6 11 2 6 11 2 DHCP DHCP DHCP DHCP Choose DHCP and save then reset to take effect The module will g...

Page 40: ...name Username Username Username and and and and password password password password Default both admin max 5 chars 6 15 6 15 6 15 6 15 Firmware Firmware Firmware Firmware revision revision revision re...

Page 41: ...Multifunctional serial to Ethernet module user manual www usriot com Jinan USR IOT Technology Co Ltd tec usr cn Page41 9 Diagram 6 12 search and select 2 Device firmware update...

Page 42: ...net module user manual www usriot com Jinan USR IOT Technology Co Ltd tec usr cn Page42 9 Diagram 6 13 firmware update Click to start update progress Diagram 6 14 in update progress 3 Update success c...

Page 43: ...conflicts with another ethernet device 2 Cross network and false subnet mask 3 HTTP server port is modified default 80 Solutions 1 Set another static or use DHCP 2 Set correct subnet mask 3 Set this...

Page 44: ...4 728 Huizhan Guoji Cheng Gaoxin Qu Jinan Shandong China Tel 86 531 55507297 86 531 88826739 803 Web http www usriot com http www usriot com http www usriot com http www usriot com Skype lisausr Suppo...

Page 45: ...o Ltd tec usr cn Page45 9 8 8 8 8 Modified Modified Modified Modified history history history history 1 V1 0 1 doc established by Huibin Li 2 V1 0 3 correct website link and picture mistake 3 V1 0 5 a...

Reviews: