CANFDNET-200U
High-Performance Dual-Channel Ethernet to CAN (FD) Converter User Manual
©2021 Guangzhou ZLG Electronics Co., Ltd.
21
User Manual
7. Appendix
7.1 CANFDNET Network Data Format
CANFDNET defines the network packet format to realize message transmission. Table 7.1 and Table 7.2 list
the package format and package parameter definitions respectively.
Table 7.1 Network packet format
Packet Header
Data Area
Check Code
Start Logo
Package Type
Type Parameter
Reserved
Data Length
Table 7.2 Package parameter description
Package Parameters
Size (Byte)
Description
Start logo
1
Fixed at 0x55;
Package type
1
Indicate the package type. See Table 7.3;
Type parameter
1
Table 7.3 lists the corresponding parameters of the package type;
Reserved
1
The default value is 0;
Data length
2
Indicates the length of the data area;
Data area
Uncertain
Various package types have different data;
Check code
1
Using BCC (exclusive-or check method), the check range starts from the start mark
to the byte before the check code.
Note: If there is no special description in the packet format, all data will be transmitted in big-endian format.
Table 7.3 Package type description
Package Type
Type Value
Description
CAN data packet
0x00
Indicates that the packet is a CAN data packet, and the data area is a CAN format
message (see Table 7.4). When the device uploads a message, the maximum
number of messages is set, and the network sends a maximum of 50 CAN
messages each time;
The type parameter is 0, reserved;
The data length is n x the length of the CAN message (n indicates the number of
messages, and the length of the CAN message is 24 bytes).
CAN FD data packet
0x01
Indicates that the packet is a CAN FD data packet. The data area is a CAN FD
format message (see Table 7.4). When the device uploads a message, the
maximum number of messages is configured, and the network sends a maximum of
18 CANFD messages each time;
The type parameter is 0, reserved;
The data length is n x CAN FD message length (n indicates the number of
messages. The CAN FD message length is 80 bytes).
Send data packets
regularly
0x02
Indicates that the packet is a timed sending data packet, which is used to
update/start the timed sending message. The timed sending message will not be
saved in case of power failure.
The data is in the format of timed sending messages (see Table 7.8). A maximum of
10 timed sending messages can be sent each time;
The type parameter is 0, reserved;
The data length is n x the length of the timing message (n indicates the number of
messages sent regularly)
Bus utilization indicator
package
0x03
Indicates that the packet is a CAN bus utilization indicator packet; after the device is
configured with the cycle to report the bus utilization, the packet is reported
periodically.
This package is only uploaded by the device, and the package received by the
device is invalid.