Ebyte E810-TTL-CAN01 User Manual page 21

Ttl to can intelligent protocol conversion module
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co., Ltd.
This allows to read register command for the next time
Write multiple registers (function code 16): When writing successfully, the written data will be sent to the
CAN bus.
Send command:
[Device Address] [Command No. 16 (0x10)] [The lower register address is required to be 8 bits high] [Low
8 bits] [The number of data is high 8 bits] [The number of data is lower 8 bits] [The lower data is 8 bits higher ]
[Low 8 bits] [...] [...] [High 8 bits of CRC check] [Low 8 bits of CRC check]
Such as:
Write 5 bytes of data by writing a command: 01 10 00 00 00 05 0A 00 11 00 22 00 33 00 44 00 55 , write
this instruction to the special tool (Modbus CRC 16 calculator), calculate the CRC check value And added to the
instruction: 01 10 00 00 00 05 0A 00 11 00 22 00 33 00 44 00 55 47 84, sent in HEX format, 5 bytes of data will
be written. When written successfully, the data is sent to the CAN bus, ie the CAN bus will send 5 bytes of data:
11, 22, 33, 44, 55. In the CAN message, the frame information and the frame ID are configured by the user in
advance.
Note: The register address of this command is only allowed to be 00 00 and is not allowed to be sent in
format as follows: 01 10 00
Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co., Ltd.
01
00 05 0A 00 11 00 22 00 33 00 44 00 55
E810-TTL-CAN01 User Manual
20

Advertisement

Table of Contents
loading

Table of Contents