Appendix; Canfdnet Network Data Format - ZLG CANFDNET-200U User Manual

High-performance dual-channel ethernet to can (fd) converter
Table of Contents

Advertisement

CANFDNET-200U
High-Performance Dual-Channel Ethernet to CAN (FD) Converter 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.
Start Logo
Package Type
Package Parameters
Start logo
Package type
Type parameter
Reserved
Data length
Data area
Check code
Note: If there is no special description in the packet format, all data will be transmitted in big-endian format.
Package Type
CAN data packet
CAN FD data packet
Send data packets
regularly
Bus utilization indicator
package
Table 7.1 Network packet format
Packet Header
Type Parameter
Table 7.2 Package parameter description
Size (Byte)
1
1
1
1
2
Uncertain
Using BCC (exclusive-or check method), the check range starts from the start mark
1
Table 7.3 Package type description
Type Value
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
0x00
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).
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
0x01
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).
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
0x02
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)
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
0x03
periodically.
This package is only uploaded by the device, and the package received by the
device is invalid.
Reserved
Indicate the package type. See Table 7.3;
Table 7.3 lists the corresponding parameters of the package type;
The default value is 0;
Indicates the length of the data area;
Various package types have different data;
to the byte before the check code.
21
Data Area
Data Length
Description
Fixed at 0x55;
Description
©2021 Guangzhou ZLG Electronics Co., Ltd.
User Manual
Check Code

Advertisement

Table of Contents
loading

Table of Contents