USR-TCP232-T2 user manual
Jinan USR IOT Technology Limited
16
Diagram 4-1 Module Functions
4.1. Network basic function
4.1.1. IP address/ subnet masks/gateway
1. IP address is the identity representation of the module in the LAN, which is unique in LAN. So it can not be repeated.
There are two ways to access the network: static IP and DHCP.
Static IP
Static IP need to be setting handy. Meanwhile write the IP, subnet masks and modbus gateway. Static IP can be used
in.
Advantage: can be searched when the device accesses the IP that can not distribute.
Disadvantage: can not communicate if the device in the different port of the different LAN
DHCP
Main function is get the IP address, gateway address, DNS server address from the gateway holder, and no need for
the complex steps. Adopted to the situation have little requirement for IP and do not ask the IP to corresponds to module.
Advantage: access the devices that support DHCP server like router can communication directly. Reduce the trouble of
setting IP address gateway and subnet masks.
Disadvantage: directly to the computer in the net do not support the DHCP server, T2 can not work
2. Subnet masks mainly used to determine the host number and the network number, indicates the number of subnet and
determine the flag within the subnet. The subnet masks needed to set,usually we use the subnet masks: 255.255.255.0,
the network number is the former 24, the holder name is the last 8, number of subnet is 255, the module IP is in the range
of 255, and then we are sure that the module IP is in this subnet.
3. Gateway means the net number of the current IP that module in. If connect the device like router when access the
external, the gateway IP is the router IP, if there is some thing wrong with setting, can not access the external net. If no
need to connect the router, keeping default is ok.
4. Reference AT command