Conversion Methods - ZLG CANFDNET-400U Product User Manual

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
2. CAN (CANFD) bus frame
The format of the CAN (CANFD) message remains unchanged, and the
corresponding frame ID in the CAN (CANFD) message will also be converted into the
serial frame, but the frame information will not be converted.
4.2.2

Conversion Methods

1. Serial frame to CAN (CANFD) message
The starting address and length of the "frame ID" of the CAN (CANFD) message in
the serial frame can be set. The range of the start address is 0 to 7, and the range of the
length is 1 to 2 (standard frame) or 1 to 4 (extended frame).
During conversion, the CAN (CANFD) message "frame ID" in the serial frame is
correspondingly converted into the frame ID field of the CAN (CANFD) message
according to the prior configuration. (If the number of frame IDs carried is less than the
number of frame IDs in the CAN (CANFD) message, the high byte of the frame ID in the
CAN (CANFD) message is filled with 0.) Other data are converted sequentially.If a frame
of CAN (CANFD) message has not finished converting the serial frame data, the same ID
is still used as the frame ID of the CAN (CANFD) message to continue converting until the
serial frame conversion is completed.
Table 4.10 lists serial frames converted to CAN, and Table 4.11 lists serial frames
converted to CANFD.
which respectively indicate frame ID1 and frame ID0. The frame ID1 is the high byte. The
frame ID range of the extended frame is: 0x00000000-0x1fffffff, which respectively
indicate frame ID3, frame ID2, frame ID1, and frame ID0, of which frame ID3 is the high
byte.
Table 4.10 Serial frames converted to CAN standard frame messages (transparent with flags)
Serial frame
Data 1
Addre
(CAN frame
ss 0
ID1)
Data 2
Addre
(CAN frame
ss 1
ID0)
Addre
Data 3
ss 2
Addre
Data 4
ss 3
Note: The frame ID range of the standard frame is 0x000-0x7ff,
Frame
informati
on
Frame
ID 1
Frame
ID0
Data
field
©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
24
CAN
CAN
message...
message 1
User Profile
User Profile
Data 1
Data 1
(CAN frame
(CAN frame
ID1)
ID1)
Data 2
Data 2
(CAN frame
(CAN frame
ID0)
ID0)
Data...
Data 3
Data...
Data 4
User Manual
CAN
message x
User Profile
Data 1
(CAN frame
ID1)
Data 2
(CAN frame
ID0)
Data n-4
Data n-3

Advertisement

Table of Contents
loading

Table of Contents