background image

                                    USR-CANET200-User-Manual                                 

Technical Support

h.usriot.com

   

 

Jinan USR IOT Technology Limited                                                                                                                                     

www.usriot.com

 

 

8

 

2.2.4.CAN data transparent transmission protocol 

1.Byte conversion 
CAN data transfer to Ethernet data: Transfer CAN ID and data to 13 bytes network data. 

 

2.Frame information 

88h 

Frame information length is 1 byte and is used to identify some frame information such as: frame type, frame 
length. 

Bit7                                                                                                                                                          Bit0 
FF 

RTR 

Reserved 

Reserved 

B3   

B2 

B1 

B0 

 

FF: Identifying bit to identify standard frame and extended frame, 1 is extended frame and 0 is standard 
frame. 

 

RTR: Identifying bit to identify remote frame and data frame, 1 is remote frame and 0 is data frame. 

 

Reserved: Reserved bit needs to be 0. 

 

B3~B0: Data length bit to identify CAN frame length. 

3.Frame ID 

 

Four 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 extended frame ID is identified by 
frame information): 

 

Extended frame ID: 0x00000123 

 

Standard frame ID: 0x0123 

4.Frame data 

 

Eight bytes. Effective length is expressed by B3~B0 of frame information and insufficient bits will be supplied by 
00h. 
 
For example: 
 
CAN to Ethernet: CAN side transmit data(Frame format: extended frame; frame type: data frame; ID: 12345678; 
data: 12 34 56 78 00) and Ethernet side will receive: 85 12 34 56 78 12 34 56 78 00 00 00 00. 0x85 means frame 
format is extended frame, frame type is data frame and data length is 5; 

12 34 56 78

 are CAN ID; 

12 34 56 78 00 

00 00 00

 are data with effective length 5 and the rest bits are supplied with 0. 

 
Ethernet to CAN: Ethernet side transmit: 05 00 00 06 78 12 34 56 78 00 00 00 00. 0x05 means standard 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: