28
Read a Text String
(Read the value of Parameter 622, Power Section)
A text field in the drive can contain up to 20 characters. If too few characters are read, the
string that is transferred will be truncated. Text is transferred in ASCII format. Each
register can hold two ASCII characters.
From the tables in the back of the drives instruction manual:
Data Type = 9
è
Text string
Conversion Index = 0
è
Conversion Factor = 1 (no conversion needed)
Modbus RTU Function: 03
HEX
(Read Holding Registers)
Overview:
•
Read ten registers, starting at 6220
10
.
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 18 4B 00 0A
Byte 6
Byte 7
CRC Error Check
B3 7B
Modbus RTU message string:
[01] [03] [18] [4B] [00] [0A] [B3] [7B]
Register Address = (Parameter Number x 10) 1 = 6219
10
= 184B
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 6220)
Data Low
(Register 6220)
Data High
(Register 6221)
Data Low
(Register 6221)
01 03 14 53 54 41 4E
Byte 7
Byte 8
Byte 9
Byte 10
Byte 11
Byte 12
Byte 13
Byte 13
Data High
(Register 6222)
Data Low
(Register 6222)
Data High
(Register 6223)
Data Low
(Register 6223)
Data High
(Register 6224)
Data Low
(Register 6224)
Data High
(Register 6225)
Data Low
(Register 6225)
44 41 52 44 20 20 20 20
Byte 7
Byte 8
Byte 9
Byte 10
Byte 11
Byte 12
Byte 13
Byte 13
Data High
(Register 6226)
Data Low
(Register 6226)
Data High
(Register 6227)
Data Low
(Register 6227)
Data High
(Register 6228)
Data Low
(Register 6228)
Data High
(Register 6229)
Data Low
(Register 6229)
20 20 20 20 20 20 20 20
Byte 7
Byte 8
CRC Error Check
0E C5
Modbus RTU message string:
[01] [03] [14] [53] [54] [41] [4E] [44] [41] [52] [44] [20] [20] [20] [20] [20] [20] [20] [20] [20] [20] [20] [20] [0E] [C5]
S T A N D A R D
[filled with spaces]
Example 13
{
{
{
{
Summary of Contents for Mobrus RTU TR1 Series
Page 30: ......