ZLG CANFDNET-400U Product User Manual page 25

Rs232/485/422-can fd-bus intelligent protocol converter
Hide thumbs Also See for CANFDNET-400U:
Table of Contents

Advertisement

CANFDNET-400U
High-performance Four-channel CANFD Bus-to-Ethernet Converter User Manual
Table 4.8 Example of converting CAN messages into serial frames (transparent conversion)
Serial frame
0x08
0x01
0x23
0x12
0x34
0x56
0x78
0xAB
0xCD
0xEF
0xFF
As listed in Table 4.8, the frame information (0x08) of the CAN message is converted
to the first byte (0x08) in the serial frame, and the ID 0x0123 in the CAN message is
converted to the second byte (0x01) and the third byte (0x23) in the serial frame. The data
field of the CAN message will be converted into the data part of the serial frame without
any modification.
4. Converting CANFD messages to serial frames
The CAN type configured in this example is CANFD, and the conversion of "frame
information" and "frame ID" of the message is enabled. Assuming that the frame ID1 in the
CANFD message is 0x01, the frame ID0 is 0x23, and the data is 0x01-0x40, a total of 64
data. Table 4.9 lists the CANFD message and the converted serial frame .
Table 4.9 Example of converting CANFD messages into serial frames (transparent conversion)
Serial frame
0x3F
0x01
0x23
0x01
0x02
0x03
0x04
...
0x3E
0x3F
0x40
As listed in Table 4.9, the frame information (0x38) of the CANFD message is
CAN message (standard
Frame
information
Frame ID
Data field
CANFD message (standard
Frame
information
Frame ID
Data field
©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
22
User Manual
frame)
0x08
0x01
0x23
0x12
0x34
0x56
0x78
0xAB
0xCD
0xEF
0xFF
frame)
0x3F
0x01
0x23
0x01
0x02
0x03
0x04
...
0x3E
0x3F
0x40

Advertisement

Table of Contents
loading

Table of Contents