21
Write a Parameter Value from a List of Choices
(Set Parameter 301, DIGITAL INPUT 17, to RUN PERMISSIVE)
From the tables in the back of the drives instruction manual:
Data Type = 5
è
Unsigned 8 bit number
Conversion Index = 0
è
Conversion Factor = 1 (no conversion needed)
From the description of Parameter 301 in the drives instruction manual:
RUN PERMISSIVE is choice number [8]
Modbus RTU Function: 06
HEX
(Preset Single Register)
Overview:
•
Preset Register 3010
10
to 08
HEX
.
Because this is an 8 bit number, only a single register needs to be accessed.
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 0B C1 00 08
Byte 6
Byte 7
CRC Error Check
DB D4
Modbus RTU message string:
[01] [06] [0B] [C1] [00] [08] [DB] [D4]
Register Address = (Parameter Number x 10) 1 = 3009
10
= 0BC1
HEX
[01] [06] [0B] [C1] [00] [08] [DB] [D4]
Set the parameter value to 8
Message returned from the Drive to the 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 0B C1 00 08
Byte 6
Byte 7
CRC Error Check
DB D4
Example 7
{
{
Summary of Contents for Mobrus RTU TR1 Series
Page 30: ......