47 / 69
Basic Parameter:
Name
Byte Example
Explanation
ucSequenceN
um
1
xx
Write the read values
ucCRC
1
xx
Write the read values
ucVersion
1
xx
Write the read values
ucFlags
1
80
IP address type:
0 in 8
th
bit: DHCP;1 in 8
th
bit: Static IP
usLocationUR
LPort
2
20 19
Write the read values
usHTTPServer
Port
2
50 00
HTTP server port
ucUserFlag
1
Write the read values
ulStaticIP
4
38 00 A8 C0
Static IP
ulGatewayIP
4
01 00 A8 C0
Gateway
ulSubnetMask
4
00 FF FF FF
Subnet Mask
ucModName
16
55 53 52 2D 54 43 50
32 33 32 2D 45 00 00
00 00
USR-N520 name
username
6
61 64 6D 69 6E 00
username
password
6
61 64 6D 69 6E 00
password
ucNetSendTim
e
1
Write the read values
uiId
2 01 00
Device ID
ucIdType
1 0
Device ID type (0~3)
0:no use
1:send id when connect
2:send id when send data
3:both
ucUserMAC
6 FF FF FF FF FF FF
MAC
ucReserved
8
Unused
Example:
FF 56 05 AC CF 23 66 66 67 61 64 6D 69 6E 00 61 64 6D 69 6E 00 61 66 03 80 20 19 50 00 02 07 00 A8 C0
01 00 A8 C0 00 FF FF FF 55 53 52 2D 54 43 50 32 33 32 2D 45 34 35 00 00 61 64 6D 69 6E 00 61 64 6D 69
6E 00 02 01 00 00 AC CF 23 66 66 67 00 48 54 54 50 2F 31 2E 1C
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 ...