45 / 69
Reload
4. Setting Protocol
USR-N520 includes two protocol: network setting protocol and serial port setting protocol.
4.1. Network Setting Protocol
4.1.1. Set Parameter Process
1. Build SOCKET:
Build UDP SOCKET, destination IP: 55.255.255.255, destination port: 1901. Low is in front.
2. Setting command process:
1
The network send searching command
2
USR-N520 returns IP address and MAC
3
The network read USR-N520’s parameter
4
Organize setting command according to MAC, known user name/password and parameter to be
configured.
5
Send setting command
6
USR-N520 returns “correct setting”
7
Host PC send “save setting” command
8
USR-N520 returns “correct”
9
Restart command
10
USE-N520 returns “correct setting”
4.1.2. Setting Command Content
Command Look-up List:
Function
Header Length command MAC
(6 bytes)
User
name
/password
(12bytes)
Parameter
Parity
(sum)
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 ...