Details about Function Parameters
144
Functional Code 06H is used for the settings of single functional parameters. Refer to the following
example for the message format:
Example: Set the frequency of Slave #1 as 20.00Hz. Refer to the following table for the message
format:
Master Request:
Slave Response:
Slave Address
01H
Slave Address
01H
Modbus Function
Number
06H
Modbus Function Number
10H
Parameter Address
(Higher byte)
32H
Parameter Address
(Higher byte)
06H
Parameter Address
(Lower byte)
01H
Parameter Address
(Lower byte)
32H
Data (Higher byte)
07H
Data (Higher byte)
01H
Data (Lower byte)
D0H
Data (Lower byte)
07H
CRC (Lower byte)
D5H
CRC (Lower byte)
D5H
CRC (Higher byte)
1EH
CRC (Higher byte)
1EH
Function 16: Write Many: The range of number of words written is 1—10. Refer to the following
example for the message format.
Example: If Slave #1 is operated in the clockwise direction at 50.00Hz, the first two words of Address
3200 can be changed to 003FH and 1388H:
Master Request:
Slave Response:
Slave Address
01H
Modbus Function Number
10H
Start Address (Higher byte)
32H
Start Address (Lower byte)
00H
Number of Words Written
(Higher byte)
00H
Number of Words Written
(Lower byte)
02H
Slave Address
01H
Number of Bytes Written
04H
Modbus Function
Number
10H
Higher Byte of the 1
st
Number
00H
Start Address (Higher
byte)
32H
Lower Byte of the 1
st
Number
3FH
Start Address (Lower
byte)
00H
Higher Byte of the 2
nd
Number
13H
Number of Words
Written (Higher byte)
00H
Lower Byte of the 2
nd
Number
88H
Number of Words
Written (Lower byte)
02H
CRC (Lower byte)
83H
CRC (Lower byte)
4FH
CRC (Higher byte)
94H
CRC (Higher byte)
70H
Example: Shut down Slave #1 and set it as clockwise, 50.00Hz. The first 2 words of Address 3200H
will be modified to 003EH and 1388H: