modbus vacon • 31
24-hour support +358 (0)40 8371 150 • Email: vacon@vacon.com
6.2.7
Example messages
Example 1
Write the process data 42001…42003 with command
16
(Preset Multiple Registers).
Command Master – Slave:
01 hex
Slave address 1 hex (= 1)
10 hex
Function 10 hex (= 16)
07 hex
Starting address 07d0 hex (= 2000)
D0 hex
00 hex Number of registers 0003 hex (= 3)
03 hex
06 hex Byte count 06 hex (= 6)
00 hex
Data 1 = 0001 hex (= 1). Setting con-
trol word run bit to 1.
01 hex
00 hex
Data 2 = 0000 hex (= 0). General con-
trol word 0.
00 hex
13 hex Data 3 = 1388 hex (= 5000), Speed Reference to
50.00%
88 hex
C8 hex CRC field C8CB hex (= 51403)
CB hex
Message frame:
The reply to
Preset Multiple Registers message is the echo of 6 first bytes.
Answer Slave – Master:
01 hex
Slave address 1 hex (= 1)
10 hex
Function 10 hex (= 16)
07 hex
Starting address 07d0 hex (= 2000)
D0 hex
00 hex Number of registers 0003 hex (= 3)
03 hex
F1 hex CRC F101 hex (= 61697)
01 hex
Reply frame: