background image

                                    USR-CANET200-User-Manual                                 

Technical Support

h.usriot.com

   

 

Jinan USR IOT Technology Limited                                                                                                                                     

www.usriot.com

 

 

10

 

2.4.2.TCP Server mode 

CANET200 works in TCP Server mode will listen network connections and build network connections, commonly 
be  used  for  communication  with  TCP  clients  on  a  LAN.  According  to  the  TCP  protocol,  TCP  Server  has 
connection/disconnection status differences to ensure reliable data transmission. 
 
CANET200 works in TCP Server mode will listen local port which user set and build connection after receiving 
connection request. Data will be sent to all TCP Client devices which connect to CANET200 in TCP Server mode 
simultaneously. TCP Server mode also supports Keep-Alive function. 
 
Socket  of  CAN  interface  supports  at  most  4  Client  connections  in  TCP  Server  mode  and  socket  of  serial  port 
supports at most 1 Client connection in TCP Server mode.

 

 

Figure 8 TCP Server mode

 

2.4.3.UDP Client mode 

UDP  transport  protocol  provides  simple  and  unreliable  communication  services.  No  connection  connected 
/disconnected. User only needs to configure Remote IP/Port then can realize data transmission. 
 
In UDP Client mode, CANET200 will only communicate with Remote IP/Port. If data don

t from Remote IP/Port, it 

won

t be received by CANET200. 

 
In UDP Client mode, if user configure Remote IP to 255.255.255.255, CANET200 can achieve UDP broadcast to all 
network segment and receive broadcast data. User can also configure Remote IP to xxx.xxx.xxx.255 to realize UDP 
broadcast in same network segment.   
 
In UDP mode, data packet size is suggested to less than 650 bytes(50 CAN frame) and UDP packet be transmitted 
in every second is suggested to less than 4000 CAN frame.   

Summary of Contents for USR-CANET200

Page 1: ...USR CANET200 User Manual Technical Support h usriot com Jinan USR IOT Technology Limited www usriot com 1 USR CANET200 User Manual File Version V1 0 4 01...

Page 2: ...ID filtering 7 2 2 4 CAN data transparent transmission protocol 8 2 3 Serial port 9 2 3 1 Serial port basic parameters 9 2 3 2 Serial package method 9 2 4 Socket function 9 2 4 1 TCP Client mode 9 2 4...

Page 3: ...ake using module more secure One port supports two sockets CAN baud rate ranges from 10K 1Mbps support BASIC and LOOPBACK work modes Support static IP function or DHCP function support searching devic...

Page 4: ...h usriot com Jinan USR IOT Technology Limited www usriot com 4 1 Get Start If user has any question please submit it back to customer center http h usriot com 1 1 Application Diagram Figure 1 Applica...

Page 5: ...light when module works abnormally CAN1 Dual colour When module transmits data CAN1 LED will blink in red when module receives data CAN1 LED will blink in blue CAN2 Dual colour When module transmits...

Page 6: ...ckaging Transparent transmission mode Socket A Socket B TCPS TCPC UDPS UDPC HTTPC TCPC UDPC Identity packet Serial packaging 1 1 USR Cloud Keep Alive Serial heartbeat packet function Serial heartbeat...

Page 7: ...smitted to module This mode is used to test Figure 5 CAN basic parameters 2 2 2 CAN package method Data transmission is based on data frame in network side so CAN interface data need to be packaged in...

Page 8: ...our bytes high order bit is former and low order bit is latter 12h 34h 56h 78h Extended frame ID 0x12345678 00h 00h 01h 23h This ID can be standard frame ID or extended frame ID Standard frame ID or e...

Page 9: ...T200 serial package time Default is 10ms range from 1 to 255 CANET200 serial package length Default is 500 bytes range from 1 to 1460 2 4 Socket function CANET200 supports dual sockets mode Socket A a...

Page 10: ...at most 4 Client connections in TCP Server mode and socket of serial port supports at most 1 Client connection in TCP Server mode Figure 8 TCP Server mode 2 4 3 UDP Client mode UDP transport protocol...

Page 11: ...t transmission mode module can output heartbeat packet to serial CAN side or network side periodic User can configure the heartbeat packet data and sending interval Serial heartbeat packet Can be used...

Page 12: ...ront of every data package Identity packet can be 6 bytes MAC address identity packet user editable identity packet less than 40 bytes or USR Cloud identity packet MAC address identity packet and user...

Page 13: ...hange CAN network communication architecture extend CAN network range When user enables CAN relaying function CAN to Ethernet CAN to serial port and serial port to Ethernet will disable Received data...

Page 14: ...rial or network and when user uses setup software please close firewall and antivirus program 3 2 Web Server Web Server default parameters as follows Parameter Default settings Web Server IP address 1...

Page 15: ...word by UDP broadcast then set the parameters in a single broadcast way If user wants to use network AT command module and PC which send the network AT command must in same network segment Default key...

Page 16: ...products it hasn t been granted any intellectual property license by forbidding speak or other ways either explicitly or implicitly Except the duty declared in sales terms and conditions we don t tak...

Reviews: