+86-18309815706

中文 | English

Shenyang FuShiDe Technology Co.,Ltd.

Support

Focus on CAN Bus for 10 years,CAN bus industry leading unit.

Your Location: Home > Support > Solution >

Example of 232/485-CAN converter_GCAN

4 Examples

4.1 Transparent conversion

1. Serial portCAN

GCAN-201 will send the serial data to CAN-Bus immediately if GCAN-201 receive the serial data.



E.g. Serial data 11 22 33 44 55 66 77 88 converts to CAN-Bus. Frame ID is the configuration for“发送标识符” which users have set. Frame data is 11 22 33 44 55 66 77 88.

2. CANSerial port

GCAN-201 will send the CAN data to serial port immediately if GCAN-201 receive the CAN data




E.g.Check“允许 CAN 帧信息转发到串行帧中” and“允许 CAN 帧标识转发到串行帧中”which means the CAN frame information (帧信息) and the frame ID(帧标识) will display in the serial frame.

CAN frame is standard data frame. Frame ID is 00 01. Frame data is 11 22 33 44 55 66 77 88. GCAN-201 converts to Serial port. Serial data is 08 00 01 11 22 33 44 55 66 77 88.


4.2 Transparent conversion with identity

Transparent with identity transformation is the special usage of Transparent conversion.

1. Serial port
CAN

Users can set the start position address and the length of the CAN frame ID in the configuration.

E.g.
If the CAN frame ID starting position address is 1, the length is 2 in the Serial frame. Serial frame data is 01 23 33 44 55 66 77 88. GCAN-201 converts to CAN. CAN frame ID is 123, and
frame data is 33 44 55 66 77 88.

2. CAN
Serial port




E.g.If the CAN frame ID starting position address is 1, the length is 3 in the Serial frameExtension frames. Conversion is shown as Figure below.