Communications
vacon • 43
Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/
6
Reply frame:
6.5.2
Example 2 - Read process data
Read the Process Data 42103…42104 with command 4 (Read Input Registers).
Command Master - Slave:
Message frame:
The reply to the Read Input Registers message contains the values of the read registers.
Answer Slave - Master:
Table 39.
01 10 07 D0 00 03
80 85
Table 40.
ADDRESS
01 hex
Slave address 1 hex (= 1)
FUNCTION
04 hex
Function 4 hex (= 4)
DATA
Starting address HI 08 hex
Starting address 0836 hex (= 2102)
Starting address LO 36 hex
No. of registers HI
00 hex
Number of registers 0002 hex (= 2)
No. of registers LO
02 hex
ERROR
CHECK
CRC HI
93 hex
CRC field 93A5 hex (= 37797)
CRC LO
A5 hex
Table 41.
01 04 08
36 00 02
93 A5
Table 42.
ADDRESS
01 hex
Slave address 1 hex (= 1)
FUNCTION
04 hex
Function 4 hex (= 4)
DATA
Byte count
04 hex
Byte count 4 hex (= 4)
Data HI
13 hex
Speed reference = 1388 hex (=5000 => 50.00%)
Data LO
88 hex
Data HI
09 hex
Output Frequency = 09C4 hex (=2500 =>25.00Hz)
Data LO
C4 hex
ERROR
CHECK
CRC HI
78 hex
CRC field 78E9 hex (=30953)
CRC LO
E9 hex
Содержание 100 INDUSTRIAL
Страница 2: ......