6
vacon • 35
Communications
Tel. +358 (0) 201 2121 • Fax +358 (0)201 212 205
6.4
Example messages
Example 1
Write the process data 42001…42003 with command 16 (Preset Multiple Registers).
Command Master - Slave:
Message frame:
The reply to Preset Multiple Registers message is the echo of 6 first bytes.
Answer Slave - Master:
Reply frame:
ADDRESS
01 hex Slave address 1 hex (= 1)
FUNCTION
10 hex Function 10 hex (= 16)
DATA
Starting address HI 07 hex Starting address 07D0 hex (= 2000)
Starting address LO D0 hex
No. of registers HI
00 hex
No. of registers LO
03 hex Number of registers 0003 hex (= 3)
Byte count
06 hex Byte count 06 hex (= 6)
Data HI
00 hex Data 1 = 0001 hex (= 1). Setting control word run bit to 1.
Data LO
01 hex
Data HI
00 hex Data 2 = 0000 hex (= 0).
Data LO
00 hex
Data HI
13 hex Data 3 = 1388 hex (= 5000), Speed Reference to 50.00%
Data LO
88 hex
ERROR
CRC HI
C8 hex CRC field C8CB hex (= 51403)
CHECK
CRC LO
CB hex
01 10
07 D0 00
03
06 00
01
00 00
13
88 C8 CB
ADDRESS
01 hex Slave address 1 hex (= 1)
FUNCTION
10 hex Function 10 hex (= 16)
DATA
Starting address HI 07 hex Starting address 07D0 hex (= 2000)
Starting address LO D0 hex
No. of registers HI
00 hex Number of registers 0003 hex (= 3)
No. of registers LO
03 hex
ERROR
CRC HI
80 hex CRC 8085 hex (= 32901)
CHECK
CRC LO
85 hex
01 10
07 D0 00
03
80 85
Содержание 100 INDUSTRIAL
Страница 1: ......
Страница 3: ...vacon 1 Tel 358 0 201 2121 Fax 358 0 201 212 205...
Страница 7: ...1 vacon 5 Safety Tel 358 0 201 2121 Fax 358 0 201 212 205...
Страница 11: ...3 vacon 9 Modbus technical data Tel 358 0 201 2121 Fax 358 0 201 212 205...
Страница 27: ...5 vacon 25 Programming Tel 358 0 201 2121 Fax 358 0 201 212 205...
Страница 43: ...7 vacon 41 Fault tracing Tel 358 0 201 2121 Fax 358 0 201 212 205...
Страница 45: ...8 vacon 43 Quick setup Tel 358 0 201 2121 Fax 358 0 201 212 205...
Страница 47: ......