Ebyte ECAN-401 User Manual
Ebyte ECAN-401 User Manual

Ebyte ECAN-401 User Manual

Intelligent protocol converter

Advertisement

Quick Links

Chengdu Ebyte Electronic Technology Co., Ltd.
E78-900M22S User manual
ECAN-401 Intelligent Protocol Converter
User Manual
Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
1

Advertisement

Table of Contents
loading

Summary of Contents for Ebyte ECAN-401

  • Page 1 Chengdu Ebyte Electronic Technology Co., Ltd. E78-900M22S User manual ECAN-401 Intelligent Protocol Converter User Manual Copyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 2: Table Of Contents

    ........................28 5.13 S QUERY TRANSMISSION DIRECTION ........................ 29 5.14 S ETTING UERYING ILTER ARAMETERS ................... 29 5.15 D ELETE THE FILTER PARAMETERS THAT HAVE BEEN SET 6. REVISION HISTORY................................... 30 ABOUT US........................................ 30 Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 3 ECAN-401 User Manual Disclaimer EBYTE reserves all rights to this document and the information contained herein. Products, names, logos and designs described herein may in whole or in part be subject to intellectual property rights. Reproduction, use, modification or disclosure to third parties of this document or any part thereof without the express permission of EBYTE is strictly prohibited.
  • Page 4: Product Overview

    Product Overview 1.1 Brief Introduction ECAN-401 is a small intelligent protocol conversion product independently developed by Chengdu Ebyte Electronic Technology Co., Ltd. The product uses 8V ~ 28V wide voltage power supply, integrates 1 CAN-BUS interface, 1 RS485 interface, 1 RS232 interface and 1 RS422 interface, which can realize two-way conversion between CAN and RS485/RS232/RS422 different protocol data.
  • Page 5: Application

    CAN-BUS network such as industrial control  Networking of automobiles and railway equipment  Security and fire protection network  Underground remote communication  Public address system  Parking equipment control  Smart home, smart building  Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 6: Product Specifications And Characteristics

    Chengdu Ebyte Electronic Technology Co., Ltd. E78-900M22S User manual 2. Product specifications and characteristics 2.1 Basic parameters Main parameters Specification 8V~28V, 12V or 24V power supply is recommended voltage Working current 18mA@12V (standby) Operating temperature -40℃~85℃, industrial grade Interface Type RS485/RS422/CAN: 5.08 terminal block, crimping method...
  • Page 7: Hardware Parameter Design Introduction

    RS485/RS422 common terminal, connect to the GND of other equipment RS485/RS422 equipment T+(A) RS422 bus data T+/RS485 bus data A T-(B) RS422 bus data T-/RS485 bus data B RS422 bus data R+ RS422 bus data R- CAN_G CAN ground CAN_L CAN communication interface Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 8: Dimensions

    Chengdu Ebyte Electronic Technology Co.,Ltd. ECAN-401 User Manual CAN_H CAN communication interface 3.2 Dimensions Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 9: Connection Method

    Chengdu Ebyte Electronic Technology Co.,Ltd. ECAN-401 User Manual 3.3 Connection method 3.3.1 RS485 connection method 3.3.2 RS422 connection method Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 10: Rs232 Connection Method

    The linear topology is the most commonly used in the CAN bus wiring specification. That is, the two lines of the main trunk branch out branch lines to each node. Both ends of the backbone are equipped with suitable terminal resistors to achieve impedance matching (usually 120 ohms within 2km). Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 11: Mode Description

    "transparent", so it is a transparent conversion. The ECAN-401 device can convert the valid data received by the CAN bus to the serial bus output intact. Similarly, the device can also convert the valid data received by the serial bus to the CAN bus output intact. Realize the transparent conversion between RS485/RS232/RS422 and CAN.
  • Page 12 0x04 Frame information 0x02 0x02 0x02 Frame ID 0x03 0x13 0x13 0x04 0x01 0x09 0x05 0x02 0x0A 0x06 0x03 0x0B 0x07 0x04 0x0C 0x08 0x05 0x09 0x06 0x0A 0x07 0x0B 0x08 Data field 0x0C Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 13 0x78, 0xab, 0xcd, 0xef, 0xff. The data before and after conversion is as follows: CAN Message Serial frame Frame informati 0x08 0x08 0x01 0x01 Frame ID 0x23 0x23 0x12 0x12 0x34 0x34 Data field 0x56 0x56 0x78 0x78 Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 14: Transparent Transmission With Logo Mode

    Data 1(ID1) Frame ID Data 3 Data 2(ID0) Data 2(ID0) Data 4 Data 3 Data ... Data 5 Data 4 Data N-1 Data field Data 6 Data 5 Data N Data 7 Data 6 Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 15 CAN message in application should meet the pre-configured frame format requirements, otherwise it may cause the communication to be unsuccessful. CAN Message Serial frame Frame Frame informati information Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 16: Protocol Mode

    The frame type is determined by the frame information in the format serial frame. The format is as follows: CAN fixed format serial frame (13 bytes) Frame Frame Frame informati Data Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 17 Frame ID: No need to configure, the data before and after conversion is as follows. Serial frame CAN Message Frame information Frame ID Data field Serial frame to CAN message (protocol mode) Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 18: Modbus Mode

    In this way, it is possible to verify whether any segments are missing when receiving. 5Bit is used in total, and the range is 0~31. Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 19 0x00 0x00 Frame ID1 0x00 0x00 Data field Frame ID0 Frame ID Frame ID (user (user setting) setting) CRC field Data 1 [Use of [Use of Segmented Segmented Protocol] Protocol] Data 2 Address field Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 20: Custom Protocol Mode

    "frame head" and "frame end" in the AT command. , Users can configure by themselves. Frame length refers to the length from the beginning of the frame information to the end of the last data, Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 21 Transfer the reverse form of CAN message. CAN Message Serial frame Frame Serial Frame informat frame User configuration information header Frame Frame ID1 Frame length length Frame Frame Frame ID0 Frame information information Data Data 1 Frame ID Frame ID1 Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 22 CAN message to serial frame: the reverse form of serial frame to CAN message. Serial frame CAN Message Frame Serial frame informatio header Frame length Frame Frame ID information Frame ID Data field Data field Serial end of frame Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 23: At Command

    Enter AT command mode Send Back <CR><LF>+OK<CR><LF> 【Example】 Send: +++ // no line break Send: AT // no line break Response: <CR><LF>AT MODE<CR><LF> 5.2 Exit AT command Command EXAT Function Exit AT command mode Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 24: Query Version

    Need to restart the device for the parameters to take effect 【Example】 Send: AT+RESTORE \r\n Response: <CR><LF>+OK<CR><LF> 5.5 Echo settings Command Function User command echo setting/query Setting AT+E=ON<CR><LF><CR><LF> Back <CR><LF>+OK<CR><LF> Remark ON OFF 【Example】 set up: Send: AT+E=OFF\r\n Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 25: Serial Port Parameters

    115200, 128000, 230400, 256000, 460800, 921600 单位:bps Parameter date: 8 stop: 1,2 parity: NONE,EVEN,ODD. flowcontrol:NFC(No flow control ), FC(Flow Control ), 【Example】 set up: Send: AT+UART=115200,8,1,EVEN,NFC\r\n Response: <CR><LF>+OK<CR><LF> Inquire: Send: AT+UART?\r\n Response: <CR><LF>+OK<CR><LF> AT+UART=115200,8,1,EVEN,NFC <CR><LF> Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 26: Setting/Querying Can Information

    Chengdu Ebyte Electronic Technology Co., Ltd. E78-900M22S User manual 5.7 Setting/Querying CAN Information Command Function Set CAN interface communication parameters Setting AT+CAN =baud,id,mode<CR><LF> Back <CR><LF>+OK<CR><LF> Inquire AT+CAN? Baud(CANBaud rate ): 6K,10K,20K,50K,100K,120K,125K,150K,200K,250K, 400K, 500K, 600K, 750K, 1000K unit :bps Parameter id (Frame ID): 0~7FF(Standard frame ) , 0~1FFFFFFF(Extended frame ) mode:(Frame category ):NDTF(Standard frame ),EDTF(Extended...
  • Page 27: Set/Query The Filtering Mode Of The Can Bus

    Settings: Set the frame header data to FF and the frame end data to 55 Send: AT+UDMHT=FF,55 \r\n Response: <CR><LF>+OK<CR><LF> Inquire: Send: AT+UDMHT?\r\n Response: <CR><LF>+OK<CR><LF> AT+UDMHT=FF,55<CR><LF> 5.11 Setting/Querying Identification Parameters Command RANDOM Function Set/query query identification parameters Setting AT+RANDOM = idLength, idLocation <CR><LF> Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 28: Setting/Querying Identification Parameters

    <CR><LF>+OK<CR><LF> Inquire AT+ DIRECTION? parameter (direction parameter), UART-CAN (serial port to can). Parameter CAN-UART (CAN to serial port) BOTHWAY (two-way) 【Example】 Setting: Only convert serial port data to can bus Send: AT+DIRECTION=UART-CAN\r\n Response: <CR><LF>+OK<CR><LF> Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 29: Setting/Querying Filter Parameters

    NDTF: Represents this command as a standard ID, EDTF represents this Parameter command as an extended frame ID. date: ID data. 【Example】 Setting: delete filter parameter: standard frame 719 Send: AT+DELFILTER=NDTF,719 \r\n Response: <CR><LF>+OK<CR><LF> Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
  • Page 30: Revision History

    Content updates About us Technical support: support@cdebyte.com Documents and RF Setting download link: www.ebyte.com Thank you for using Ebyte products! Please contact us with any questions or suggestions: info@cdebyte.com ------------------------------------------------------------------------------------------------- Phone: +86 028-61399028 Web: www.ebyte.com Address: B5 Mould Park, 199# Xiqu Ave, High-tech District, Sichuan, China...

Table of Contents