24
Read a 32 Bit Parameter
(Read the value of Parameter 514, Motor Current)
From the tables in the back of the drive instruction manual:
Data Type = 7
è
Unsigned 32 bit number
Conversion Index = -2
è
Conversion Factor = 0.01 (multiply the value from
Modbus RTU by 0.01)
Modbus RTU Function: 03
HEX
(Read Holding Registers)
Overview:
•
Read Two Registers, Starting at 5140
HEX
.
Because this is a 32 bit number, two registers need to be read.
It will be necessary to multiply the value returned by 0.01.
Message from Modbus RTU Master to Drive
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Slave Address
Function
Register Addr.,
High
Register Addr.
Low
No. of
Registers
High
No. of
Registers
Low
01 03 14 13 00 02
Byte 6
Byte 7
CRC Error Check
30 3E
Modbus RTU message string:
[01] [03] [14] [13] [00] [02] [30] [3E]
Register Address = (Parameter Number x 10) 1 = 5139
10
= 1413
HEX
Message returned from Drive to Modbus RTU Master
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Slave
Address
Function
Byte Count
Data High
(Register
5140)
Data Low
(Register
5140)
Data High
(Register
5141)
Data Low
(Register
5141)
01 03 04 00 00 02 59
Byte 7
Byte 8
CRC Error Check
3B 69
Modbus RTU message string:
[01] [03] [04] [00] [00] [02] [59] [3B] [69]
00000259
HEX
= 601
10
601 x 0.01 = 6.01 A
Example 10
{
{
{
{
Содержание Mobrus RTU TR1 Series
Страница 30: ......