EasyManua.ls Logo

USR IOT USR-TCP232-302 - Page 27

USR IOT USR-TCP232-302
53 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
USR-TCP232-302 User Manual h.usriot.com
Jinan USR IOT Technology Limited www.usriot.com
27
/ 53
ucCRC
1
00
Reserve package head
ucVersion
1
00
Reserve package head
ucFlags
1
80
8th 0:DHCP
1:Static IP
7 th 0:Turn off factory default function
1:Turn on factory default function
usLocationURLPort
2
00 00
Not enabled, reserved protocol
usHTTPServerPort
2
50 00
HTTP service port
ucUserFlag
1
00
Not enabled, reserved protocol
ulStaticIP
4
07 00 A8 C0
Static IP
ulGatewayIP
4
C9 00 A8 C0
Gateway
ulSubnetMask
4
00 FF FF FF
Subnet mask
ucModName
14
55 53 52 2D 4B 32 00 00
00 00 00 00 00 00
Module name
Protocol reserved
2
00 00
Must be 0
username
6
61 64 6D 69 6E 00
User name
password
6
61 64 6D 69 6E 00
Password
ucNetSendTime
1
00
Not enabled, reserved protocol
uiId
2
01 00
Device ID
ucIdType
1
A4
bit0(1): send ID when connecting ;
bit1(2): send ID when sending data;
bit2(4): RS485;
bit4(16): Reset;
bit5(32):Link-state;
bit6(64): index function;
bit7(128):Similar RFC2217 function,
mac_addrs
6
00 00 00 00 00 00
Device Mac addressonly support query
DNSGatewayIP
4
01 00 A8 C0
DNS addressonly support query
ucReserved
4
00 00 00 00
Unused
Port configuration: The parameter which is used to configure Lan port and Serial port is 63 byte .
E.g.: send ( 63 byte ) FF 52 06 00 71 77 7C 42 2F 61 64 6D 69 6E 00 61 64 6D 69 6E 00 00 C2 01 00
08 01 01 01 00 00 00 00 8C 4E 2A 20 31 39 32 2E 31 36 38 2E 30 2E 32 30 31 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 c9 00 A8C0 00 01 00 00 00 00 00 00 00 05 00 00 00 00 F0,
Check byte method : F0=52 + 06 + ... + 00 ;
From 4th to 9th is TCP232-302 MAC address,10th to 22th is user name and password.the following
is port parameter +1 byte and check bit .
Chart 3.7-3 - Port setting command
Name
Byte
Example
Instruction
ulBaudRate
4
00 C2 01 00
Serial port baud rate
ucDataSize
1
08
Serial port data bite (0X05/0x06/0x07/0x08)
ucParity
1
01
Serial port check bite

Table of Contents

Related product manuals