32 • vacon modbus
Tel.+358 (0)201 2121 • Fax +358 (0)201 212 205
6
Example 2
Read the Process Data 42103…42104 with command
4
(Read Input Registers).
Command Master – Slave:
01 hex
Slave address 1 hex (= 1)
04 hex
Function 4 hex (= 4)
08 hex
Starting address 0836 hex (= 2102)
36 hex
00 hex Number of registers 0002 hex (= 2)
02 hex
93 hex
CRC field B321 hex (= 45857)
A5 hex
Message frame:
The reply to the Read Input Registers message contains the values of the read registers.
Answer Slave – Master:
01 hex
Slave address 1 hex (= 1)
04 hex Function 4 hex (= 4)
02 hex Byte count 4 hex (= 4)
13 hex Speed reference = 1388 hex (=5000 => 50.00%)
88 hex
09 hex Output Frequency = 09C4 hex (=2500 =>25.00Hz)
C4 hex
F0 hex CRC field B321 hex (= 45857)
E9 hex
Reply frame: