Chapter 6 Application Description; Transparent Conversion; Frame Format; Conversion Mode - 3onedata CAN485 User Manual

Interface converter
Hide thumbs Also See for CAN485:
Table of Contents

Advertisement

6.1 Transparent conversion

Transparent conversion mode converter receives side bus data immediately sent to the other side of the bus
conversion. So based on data stream way, maximally improve the speed of the converter, but also improve the
buffer utilization, because in the reception at the same time converter also in converting and transmitting and
vacated the receive buffer.

6.1.1 Frame format

Serial bus frame: is the data stream, can also be a protocol data. Communication format: 1 start bit, 8 data bits, 1
stop bit.
CAN-Bus frame: CAN-Bus message frame format

6.1.2 Conversion mode

1. Serial frames conversion CAN-Bus message
All the serial data frames in order to fill Data Field of CAN-Bus message frame. If the converter detects the serial
bus data immediately received and converted.
CAN-Bus message frame information and frame ID is user pre configured, keep these parameters in the serial
CAN-Bus message frame conversion process unchanged, as shown below.
If you receive the serial frame length is less than or equal to 8 bytes, in order 1~n characters (n is serial frame
length) to fill the Data Field CAN-Bus packet 1~n byte location.
If the number of bytes of serial frames is greater than 8, then the processor from the serial frame first began to take
the first character, 8 characters were filled into CAN-Bus packet Data Field. The data is sent to the CAN-Bus, then
convert serial frame data to fill the rest of the Data Field of the CAN-Bus message, until the data is converted.
Serial frame
Data 1
Data 2
Data 3
Data 4
Data 5
Data 6
Data 7

Chapter 6 Application Description

15
Shenzhen 3onedata Technology Co., Ltd
CAN message (standard frame)
Frame information
User setting
User setting
Frame ID
User setting
Data Field
Data 1
Data 2
Data 3
Data 4
Data 5
Data 6
Data 7
www.3onedata.com

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents