23
Write a 32 Bit Parameter
(Write the value 10.2 A to Parameter 105)
From the tables in the back of the drives instruction manual:
Data Type = 7
è
Unsigned 32 bit number
Conversion Index = -2
è
Conversion Factor = 0.01
Modbus RTU Function: 10
HEX
(Preset Multiple Registers)
Overview:
•
Preset two Registers, starting at 1050
10
, 03FC
HEX
.
Because the Conversion Factor is 0.01, the number 1020 must be sent via
Modbus RTU to represent 10.20 A. 1020
10
= 0000 03FC
HEX
.
Message from Modbus RTU Master to Drive
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Slave
Address
Function Start
Register
Addr., High
Start Register
Addr. Low
No. of
Registers
High
No. of
Registers
Low
No. of Bytes
01 10 04 19 00 02 04
Byte 7
Byte 8
Byte 9
Byte 10
Byte 11
Byte 12
Register 1
Data, High
Register 1
Data, Low
Register 2
Data, High
Register 2
Data, Low
CRC Error Check
00 00 03 FC 00 B8
Modbus RTU message string:
[01] [10] [04] [19] [00] [02] [04] [00] [00] [03] [FC] [00] [B8]
Register Address = (Parameter Number x 10) 1 = 1049
10
= 0419
HEX
[01] [10] [04] [19] [00] [02] [04] [00] [00] [03] [FC] [00] [B8]
10.2 x 100 = 1020
10
= 0000 03FC
HEX
Message returned from Drive to Modbus RTU Master
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Slave Address
Function
Start Register
Addr., High
Start Register
Addr., Low
No. of
Registers
High
No. of
Registers
Low
01 10 04 19 00 02
Byte 6
Byte 7
CRC Error Check
91 3F
Example 9
{
{
{
{
Summary of Contents for Mobrus RTU TR1 Series
Page 30: ......