55 / 69
data_bits: data bits 5,6,7,8
stop_bits: stop bits 1,1.5,2 (which module supports)
parity: check bit
NONE (no check bit)
EVEN (even check)
ODD (odd check)
MASK (1 check)
SPACE (0 check)
flowctrl: hardware flow control (CTS RTS)
NFC: no hardware flow control
FC: hardware flow control
485: supports 485, after opening, RS_EN pin and RTS pin are the same
uartnum
:
0
11. AT+UART1
Function: Set/query UART0 interface parameter
12. AT+SOCKMN
(M: socket number, A~H. N: corresponding serial port number, 1~8. Omit MN numbers for single serial
port and single socket)
Function: Set/query network protocol parameter format:
Query
AT+SOCKMN<CR>
<CR><LF>+OK=<protocol,IP,port ><CR><LF>
Set
AT+SOCKMN=< protocol,IP,port ><CR>
<CR><LF>+OK<CR><LF>
Parameter:
Protocol: protocol type
TCPS: TCP server
TCPC: TCP client
UDPS: UDP server
UDPC: UDP client
TCPA: TCP auto
WEBUART: websocket, tranmission from webpage to serial port
IP: Server’s IP address when USR-N520 works as “CLIENT’
Port: Protocol port, decimal number, smaller than 65535
13. AT+DHCPEN
Function: Open/close DHCP Server;
Format:
Query
AT+DHCPEN<CR>
<CR><LF>+OK=<Type><CR><LF>
Summary of Contents for USR-N520
Page 1: ...1 69 User Manual File Version V1 0 4 ...
Page 17: ...17 69 UDP Client Software Configuration UDP Client Testing Screenshot ...
Page 27: ...27 69 2 Set modbus slave software refer to the following ...
Page 28: ...28 69 3 Return result for query command is as drawing ...
Page 33: ...33 69 Drawing 26 Self Defined Heartbeat Function ...
Page 35: ...35 69 2 Testing result ...
Page 37: ...37 69 Web to Serial COM Send Receive Data ...
Page 40: ...40 69 2 Set Printer Driver ...
Page 59: ...59 69 Software Configuration Full Show ...
Page 69: ...69 69 ...