EasyManua.ls Logo

Preen AFV+ Series - 5.1.3 Write Multiple Registers Command Format; 5.1.4 Write Multiple Registers Correct Answer Format

Default Icon
137 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
AFV
+
Series High Power Programmable AC Power Supply
5-90
5.1.3 Write Multiple Registers Command Format
Slave
Address
Functio
n Code
Start
Address
Number of
Addresses
Byte
Count
Data
CRC16
DevAddr
Func
StartAddr
Num
Byte
Count
{dat1..;datN}
CRC_H CRC_L
Byte1 (Device Address)0x02 (Range1-32)
Byte2 (Function Code)0x10 (Write multiple register addresses
Byte3,4 (Start Address)Start address of writing register (Refer to section 5.4)
Byte5,6 (Number of Addresses)The number of register addresses plan to write
Byte7 (Byte Count)Total byte count (or data length) of writing data
Byte8 to N (Data)Write Data Content
Byte N+1N+2 (CRC16)CRC16 checksum of Byte1 to ByteN (Refer to section 5.5)
5.1.4 Write Multiple Registers Correct Answer Format
Slave Address
Function
Code
Start
Address
Number of
Addresses
CRC16
DevAddr
Func
StartAddr
Num
CRC_H CRC_L
Byte1 (Device Address)0x02 (Editable)
Byte2 (Function Code)0x10 (Write multiple register addresses)
Byte3,4 (Start Address)Start writing register address (Refer to section 5.4)
Byte5,6 (Number of Addresses)The number of register addresses plan to write
Byte7,8 (CRC16)CRC16 checksum of Byte1 to Byte6 (Refer to section 5.5)

Table of Contents

Related product manuals