background image

Chengdu Ebyte Electronic Technology Co., Ltd.

E78-900M22S

User manual

Copyright ©2012–2021

Chengdu Ebyte Electronic Technology Co.,Ltd.

1

ECAN-401S

Summary of Contents for ECAN-401S

Page 1: ...Chengdu Ebyte Electronic Technology Co Ltd E78 900M22S User manual Copyright 2012 2021 Chengdu Ebyte Electronic Technology Co Ltd 1 ECAN 401S...

Page 2: ...message to serial frame 15 4 1 3 Protocol mode 16 4 1 4 Modbus mode 18 4 1 5 Custom protocol mode 20 5 AT Command 23 5 1 Enter AT command 23 5 2 Exit AT command 23 5 3 Query version 24 5 4 Restore de...

Page 3: ...d is given including but not limited with respect to the accuracy correctness reliability and fitness for a particular purpose of the information This document may be revised by EBYTE at any time For...

Page 4: ...with logo protocol conversion Modbus RTU conversion and user defined user At the same time ECAN 401S intelligent protocol converter has the characteristics of small size easy installation It has a ve...

Page 5: ...du Ebyte Electronic Technology Co Ltd 5 1 3 Application CAN BUS network such as industrial control Networking of automobiles and railway equipment Security and fire protection network Underground remo...

Page 6: ...24V power supply is recommended Working current 18mA 12V standby Operating temperature 40 85 industrial grade Interface Type RS485 RS422 CAN 5 08 terminal block crimping method RS232 DB9 terminal 2 2...

Page 7: ...light 4 CAN_DATA Data light 5 RX Serial port receiving indicator 6 TX Serial port sending indicator 7 V Power supply default 8 28V standard 5V version can be customized 12V 24V is recommended 8 V Powe...

Page 8: ...Chengdu Ebyte Electronic Technology Co Ltd ECAN 401S User Manual Copyright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd 8 16 CAN_H CAN communication interface 3 2 Dimensions...

Page 9: ...u Ebyte Electronic Technology Co Ltd ECAN 401S User Manual Copyright 2012 2022 Chengdu Ebyte Electronic Technology Co Ltd 9 3 3 Connection method 3 3 1 RS485 connection method 3 3 2 RS422 connection m...

Page 10: ...232 connection method 3 3 4 CAN 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 e...

Page 11: ...on Transparent band information conversion CAN and RS485 bidirectional conversion Protocol conversion CAN and RS485 bidirectional conversion MODBUS conversion CAN and RS485 bidirectional conversion 4...

Page 12: ...erted into a CAN message transparent mode Assuming that the configuration CAN frame information is standard frame frame ID 0x0213 serial frame data is 0x01 0x0C then the conversion format is as follow...

Page 13: ...ce you need to enable the corresponding function Only then can you receive the corresponding information CAN Message Serial frame Frame information User configuration Frame information User configurat...

Page 14: ...erial frame can be set by configuration The starting address ranges from 0 to 7 and the length ranges from 1 to 2 standard frame or 1 to 4 extended frame During the conversion the CAN message frame ID...

Page 15: ...essage 2 CAN Message 2 01 Frame informatio n 88 Frame informatio n 85 02 Frame ID 00 Frame ID 00 03 03 03 04 04 04 05 05 05 06 Data field 01 Data field 0C 07 02 0D 08 06 0E 09 07 0F 0A 08 10 0B 09 0C...

Page 16: ...sion is as follows CAN Message Serial frame Frame informatio n 88 99 Frame ID 00 88 00 00 01 01 23 23 Data field 99 77 88 66 77 55 66 44 55 33 44 22 33 Example of CAN message conversion to serial fram...

Page 17: ...serial frame to CAN message When the frame data is converted in CAN format the length is fixed to 8 bytes The effective length is determined by the value of DLC3 DLC0 When the effective data is less t...

Page 18: ...on the CAN bus does not require a CRC validation method Data validation on the CAN bus already has a more complete validation method In this mode the device supports Modbus verification and forwardin...

Page 19: ...e received frame without converting it 2 can message to serial frame For the Modbus protocol data of the CAN bus there is no need to do cyclic redundancy check CRC16 the module receives according to t...

Page 20: ...ept for the data field if the content of other bytes is wrong this frame will not be sent successfully The content of the serial frame frame header frame length frame information frame ID data field f...

Page 21: ...f each frame the frame information content is fixed It is fixed as standard frame 0x00 or extended frame 0x80 The frame ID needs to conform to the ID range otherwise the ID may be wrong Serial frame C...

Page 22: ...stom protocol CAN configuration parameters configured in this example Conversion mode custom protocol frame header AA frame end FF conversion direction bidirectional Frame ID No need to configure Fram...

Page 23: ...f 4 After setting the parameters you need to restart the device to make the set parameters take effect Error code table error code instruction 1 Invalid command format 2 Invalid command 3 Not yet defi...

Page 24: ...Remark x x version number Example Send AT VER r n Response CR LF VER x x CR LF 5 4 Restore default parameters Command RESTORE Function Restore the default parameters of the device factory parameters...

Page 25: ...F OK CR LF Inquire Send AT UART r n Response CR LF OK CR LF AT UART 115200 8 1 EVEN NFC CR LF Command UART Function Set the serial communication parameters of the module Setting AT UART baud date stop...

Page 26: ...FFFFF Extended frame mode Frame category NDTF Standard frame EDTF Extended frame Example set up Send AT CAN 100 70 NDTF r n Response CR LF OK CR LF Inquire Send AT CAN r n Response CR LF OK CR LF AT C...

Page 27: ...F OK CR LF Inquire Send AT MODE r n Response CR LF OK CR LF AT MODE MODBUS CR LF 5 10 Set query frame header and frame end data Command UDMHT Function Set query frame header and end data in custom mod...

Page 28: ...frame information enable Setting AT MSG flag_id flag_type CR LF Back CR LF OK CR LF Inquire AT MSG Parameter flag_id frame header data tail frame tail data Data range 0 0xFF Example Settings enable fr...

Page 29: ...n extended frame ID date ID data Example Settings Set frame filtering parameters standard frame ID 719 Send AT LFILTER NDTF 719 r n Response CR LF OK CR LF Query Will return all IDs that have been set...

Page 30: ...22 07 06 Initial version LM 1 1 2022 09 13 Content revision XXN About us Technical support support cdebyte com Documents and RF Setting download link https www cdebyte com Thank you for using Ebyte pr...

Reviews: