Configure; Configure Command Format - Usr -TCP232-T Manual

Rs232 serial to ethernet convert module
Table of Contents

Advertisement

4. 4. 4. 4. Configure

Configure
Configure
Configure
parameters: work mode,source IP, source port, net mask, gateway, UART baud rate, destination IP, destination
port.
Configure command is 24byte length.
Pull down CFG pin change the module into configuration mode when use UART to config.
4.1
4.1
configure
configure
command
command
4.1
4.1 configure
configure command
command format
Configure mode UART interface: 9600bps,n,8,1
part
prefix
destination IP
destination port
Host IP
Host port
Gateway
Work mode
baud rate
Reserved
checksum
Full example:00 A8 C0 2A 20 07 00 A8 C0 8C 4E C9 00 A8 C0 01 00 C2 01 00 B9
* once in configure mode, the UART parameter change to 9600bps,n,8,1, and a 'U' ascii character is send out to
ensure the control MCU that in the configure mode. If the 24byte command has effect ,a 'K' ascii character is send
back to control MCU. If configure command format error, an 'E' character will be send back to control MCU. If the
error is the checksum not match , the 1byte right checksum will be send back to control MCU also.
Jinan USR Technology Co., Ltd.
RS232
Serial
TTL UART TO Ethernet TCPIP convert Module
format
format
format
bytes
description
2
0x55 0xAA
4
destination IP
2
Destination port
4
The IP module hold
2
TCP/UDP source port
4
Gateway IP
0x01: TCP Client
1
0x00: UDP
0x02: UDP Server
3
UART baud rate
1
Reserved
Sum(destination
destination port, host IP,
1
host port, gateway, work
mode, baud rate, reserved)
example
0x55 0xAA
0x55 0xAA
192.168.0.201
0xC9 0x00 0xA8 0xC0
8234
0x2A 0x20
192.168.0.7
0x07 0x00 0xA8 0xC0
20108
0x8C 0x4E
192.168.0.201
0xC9 0x00 0xA8 0xC0
TCP mode
0x01
115200
0x00 0xC2 0x01
00
0x00
IP,
0xB9
0xB9
Page 10 of 26
www.usr.cn
hex
sales@usr.cn

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the USR-TCP232-T and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents