22
Write a 16 Bit Parameter
(Write the value 60 Hz to Parameter 104.)
From the tables in the back of the drive instruction manual:
Data Type = 6
è
Unsigned 16 bit number
Conversion Index = 0
è
Conversion Factor = 1 (no conversion needed)
Modbus RTU Function: 06
HEX
(Preset Single Register)
Overview:
•
Preset Register 1040
10
to 3C
HEX
.
Because this is a 16 bit number, only a single register needs to be accessed.
There is no conversion needed to send the value, except to convert 60
10
to 3C
HEX
.
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
Preset Data
High
Preset Data
Low
01 06 04 0F 00 3C
Byte 6
Byte 7
CRC Error Check
B8 E8
Modbus RTU message string:
[01] [06] [04] [0F] [00] [3C] [B8] [E8]
Register Address = (Parameter Number x 10) 1 = 1039
10
= 040F
HEX
[01] [06] [04] [0F] [00] [3C] [B8] [E8]
60
10
= 003C
HEX
Message returned from Drive to Modbus RTU Master
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Slave Address
Function
Register Addr.,
High
Register Addr.
Low
Preset Data
High
Preset Data
Low
01 06 04 0F 00 3C
Byte 6
Byte 7
CRC Error Check
B8 E8
Example 8
{
{
Содержание Mobrus RTU TR1 Series
Страница 30: ......