Conversion Modes - 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

4. Conversion Modes

CANFDCOM-100IE converter is an intelligent protocol converter that supports
conversion between serial port and CAN and conversion between serial port and CANFD.
Before use, you need to set the CAN type to be converted to the normal CAN or CANFD.
The converter provides four conversion modes, including transparent conversion,
transparent conversion with flags, format conversion, and Modbus conversion. The
parameters can be selected and set during converter configuration. Note: In the same
conversion mode, the CAN type is different, and the conversion method will change. For
example, in "transparent conversion", for ordinary CAN, the serial port receives a
maximum of eight bytes and must be converted into a CAN message. For CANFD, a
maximum of 64 bytes of data can be received and converted into CANFD messages.
"Transparent conversion" means that the converter just converts the bus data of one
format to the data bus of another format without appending or modifying the data. This
realizes the exchange of data format without changing the data content. The converter is
transparent to the bus at both ends. This method will not increase the user's
communication burden, but can convert the data as it is in real time, and can undertake
the transmission of data with a large flow.
"Transparent conversion with flags" is a special transparent conversion, with no
protocol attached. This conversion method is based on the common characteristics of
common serial frames and CAN (CANFD) messages, so that the two bus types can easily
form the same communication network. This method can convert the "address" in the
serial frame into the identification field of the CAN (CANFD) message. The starting
position and length of the serial frame "address" in the serial frame can be configured.
Therefore, in this way, the converter can adapt to the user's custom protocol to the
greatest extent.
"Format conversion" is one of the simplest usage patterns. The data is in a fixed
length. The fixed length of CAN is 13 bytes, and the fixed length of CANFD is 69 bytes.
That is, when the CAN type is set to ordinary CAN, the fixed serial frame data of 13 bytes
corresponds to a CAN message. When it is CANFD, the fixed 69-byte serial frame data
corresponds to one CANFD message. The fixed serial port frame content includes frame
information (1 byte) + ID (4 bytes) + data (8 bytes for CAN, 64 bytes for CANFD). By
correctly configuring the frame information (the data of the first byte), when the CAN type
is ordinary CAN, standard frames, extended frames and even remote frames of CAN can
be flexibly sent. When it is CANFD, it can send CANFD standard frame and extended
frame. Details of standard frames, extended frames and even remote frames can be
obtained by correctly parsing fixed-byte serial frames.
"Modbus conversion" refers to the conversion between the UART data of the
Modbus protocol and the CAN data. The Modbus protocol is a standard application layer
protocol, which is widely used in various industrial control scenarios. The protocol is open,
real-time, and has a good communication verification mechanism. It is ideal for scenarios
with high communication reliability requirements. The converter uses the standard
©2021 Guangzhou ZLG Microelectronics Technology Corp.,Ltd.
16
User Manual

Advertisement

Table of Contents
loading

Table of Contents