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
Frame ID0
Segment
Data 1
Data 2
Data 3
Data 4
Data...
Data 62
Data 63
Data 64
Fragmented packet flag: indicates whether the packet is a fragmented packet. A
0 for this bit indicates a separate message, while a 1 indicates a frame within the
segmented message.
Segment type: indicates the first, middle or last segment. Table 4.27 lists the
value definitions.
Bit value
0
1
2
Segment counter: The flag of each segment indicates the sequence number of
the segment in the entire message. The value of the counter is the segment
number. This will allow you to verify whether any segments are missing when
receiving. A total of 5 bits are used, and the range is 0-31.
4.4.2

Conversion Methods

During the conversion from the serial port side to the CAN (CNAFD) side, the
converter will only perform the conversion after receiving a complete and correct Modbus
RTU.
Table 4.28 shows the CAN mode conversion, and Table 4.29 shows the CANFD
mode conversion. The address field of the Modbus RTU protocol is converted into ID0 of
the frame ID in the CAN message. The flag does not change during the frame conversion.
Segment type
marker
Table 4.27 Segment type bit values
Meaning
First segment
Middle segment
Last segment
©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
34
ID.7 - ID.0
Segment counter
Character 1
Character 2
Character 3
Character...
Character 61
Character 62
Character 63
Description
If the segment counter contains the
value 0, this is
The first segment in a series of
segments.
This is an intermediate segment
Mark the last segment
User Manual

Advertisement

Table of Contents
loading

Table of Contents