27
Write a Text String
(Write the text string Drive to Parameter 534)
Some parameters are designed to hold text strings. The maximum length of a text string is
20 characters. 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: 10
HEX
(Preset Multiple Registers)
Overview:
•
Preset three Registers, starting as 5340
10
, to the value 44 72 69 76 65 20
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 14 DB 00 03 06
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
Register 2
Data, High
Register 2
Data, Low
44 72 69 76 65 20
Byte 13
Byte 14
CRC Error Check
33 BD
Modbus RTU message string:
[01] [10] [14] [DB] [00] [03] [06] [44] [72] [69] [76] [65] [20] [33] [BD]
Register Address = (Parameter Number x 10) 1 = 5339
10
= 14DB
HEX
[01] [10] [14] [DB] [00] [03] [06] [44] [72] [69] [76] [65] [20] [33] [BD]
D r i v e [space]
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 14 DB 00 03
Byte 6
Byte 7
CRC Error Check
F5 C3
{
Example 12
{
{
{
Summary of Contents for Mobrus RTU TR1 Series
Page 30: ......