background image

2.3.Serial port

2.3.1.Serial port basic parameters

Parameters

Range

Baud Rate

600~230.4Kbps

Data Bits

5, 6, 7, 8

Stop Bits

1, 2

Parity Bits

None, Odd, Even, Mark, Space

Figure 13 Serial port basic parameters

2.3.2.VCOM Application

Figure 14 VCOM application

User can download VCOM software from

http://www.usriot.com/usr-vcom-virtual-serial-software/

.

Through this software user can set up connection between 410s and virtual serial to solve the problem that
traditional equipment PC software used in serial port communication way.

2.3.3.Flow Control

410s supports hardware flow control way ( RTS/CTS, only take effect in RS232 mode ) and software flow control
way Xon/Xoff.

2.3.4.Serial package methods

For network speed is faster than serial. Module will put serial data in buffer before sending it to network. The
data will be sent to network side as data package. There are 2 ways to end the package and send package to
network side - Time Trigger Mode and Length Trigger Mode.

410s serial package time: Default is 4 bytes sending time, range from 0 to 255.

410s serial package length: Default is 1460 bytes, range from 0 to 1460.

2.3.5.Baud rate synchronization

When module works with USR devices or software, serial parameters will change dynamically according to
network protocol. User can modify serial parameters by sending data conformed to specific protocol via network.
It is temporary, after resetting DTU, the parameters will back to original parameters.

11

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

Страница 1: ...1 USR TCP232 410s User Manual File Version V1 1 1 01...

Страница 2: ...2 6 WebSocket 10 2 3 Serial port 11 2 3 1 Serial port basic parameters 11 2 3 2 VCOM Application 11 2 3 3 Flow Control 11 2 3 4 Serial package methods 11 2 3 5 Baud rate synchronization 11 2 4 Feature...

Страница 3: ...work independently Support RTS CTS hardware flow control and Xon Xoff software flow control Support USR VCOM Support Modbus Gateway Support serial port baud rate 600bps 230 4K bps support None Odd Ev...

Страница 4: ...4 1 Get Start Figure 1 Download Page 1 1 Application Diagram Figure 2 Application diagram...

Страница 5: ...r light Not working normally 232TX Blink Sending data to serial RS232 Off No data sending to serial RS232 232RX Blink Receiving data from serial RS232 Off No data receiving from serial RS232 485TX Bli...

Страница 6: ...DHCP Static IP Default setting of module is Static IP and default IP is 192 168 0 7 When user configures module in Static IP mode user need set IP subnet mask and gateway and must pay attention to th...

Страница 7: ...ces TCP Client device will connect to server to realize data transmission between the serial port device and server According to the TCP protocol TCP Client has connection disconnection status differe...

Страница 8: ...s differences to ensure reliable data transmission 410s works in TCP Server mode will listen local port which user set and build connection after receiving connection request Serial data will be sent...

Страница 9: ...t be received by 410s In UDP Client mode if user configure Remote IP to 255 255 255 255 410s can achieve UDP broadcast to all network segment and receive broadcast data User can also configure Remote...

Страница 10: ...Client and configure the HTTP header URL and some other related parameters then can achieve data transmission between serial port device and HTTP server and don t need care about the HTTP format of d...

Страница 11: ...and software flow control way Xon Xoff 2 3 4 Serial package methods For network speed is faster than serial Module will put serial data in buffer before sending it to network The data will be sent to...

Страница 12: ...data and sending interval Serial heartbeat packet can be used for polling Modbus data Network heartbeat packet can be used for showing connection status and keeping the connection only take effect in...

Страница 13: ...nting function is similar to the printer server Through the existing printing driver it can be modified slightly and realize the network printing function by the original serial printer 2 4 6 Editable...

Страница 14: ...nd configure the 410s as follow Figure 18 Setup software After researching 410s and clicking 410s to configure user need log in with user name and password Default user name and password both are admi...

Страница 15: ...module For entering AT command mode please refer to this FAQ http www usriot com enter serial command mode 3 3 2 Network AT command Network AT command is to send a search keyword by broadcast then set...

Страница 16: ...Figure 21 Network AT Command 16...

Отзывы: