Ebyte E810-DTU User Manual page 20

Intelligent protocol converter can-rs485
Hide thumbs Also See for E810-DTU:
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,LTD
(The address without data is 0x00)
With the command: 01 03 00 00 00 08 (in the slave device with address 01, read 8 data starting from address 0000)
Write this command to the special tool (Modbus CRC 16 calculator) to calculate the CRC check. The value is added after
the instruction. This command is issued via the UART: 01 03 00 00 00 08 44 0C. When the slave receives the instruction,
it returns the buffer value inside the slave conversion module. (When no new CAN frame data is received, the cache
value read by the host is all 0)
Return instruction:
[Device Address] [Command No. 03] [Number of Bytes Returned] [Data 1] [Data 2]...[Data n] [High 8 bits of CRC
check] [Low 8 bits of CRC check]
Such as:
Once the slave receives instruction 01 03 00 00 00 08 44 0C,it returns:
01 03 10 00 01 00 02 00 03 00 04 00 00 00 00 00 00 00 00 1F 9F
After the reading is completed, the 8 bytes of data are emptied, and the data after the address is moved forward by 8
data. As shown below:
Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd.
E810-DTU(CAN-RS485) User Manual
20

Advertisement

Table of Contents
loading

Table of Contents