Function Code 16, Write 32-Bit Parameter - BONFIGLIOLI Active cube Operation Manual

Hide thumbs Also See for Active cube:
Table of Contents

Advertisement

Exception condition code
The following exception condition codes are possible:
2
INVALID DATA ADDRESS
3
INVALID DATA VALUE
4
SLAVE DEVICE ERROR
For a description of the exception condition codes, refer to Chapter 7.2.9 "Exception condition codes".
For an example of a Modbus RTU telegram, refer to Chapter 9.1.3.
7.2.4

Function code 16, write 32-bit parameter

Function code 16 can be used for writing 32-bit values into the frequency inverter.
Request Write 32-bit parameter:
MBAP header
Address
Function code
Start address (dataset / para. no.)
Number of registers
Number of bytes
Register value (parameter value)
Response:
MBAP header
Address
Function code
Start address (dataset / para. no.)
Number of registers
Exception condition response:
MBAP header
Address
Error code
Exception condition code
Start address
This field is used for saving the parameter number and dataset number. The parameter number is in
the range between 0 and 1599 and is saved in the 12 least significant bits. The dataset number is in
the range between 0 and 9 and is saved in the 4 most significant bits.
Example:
Parameter 372 (hex. 0x174), dataset 2 (hex. 0x2) is saved as hex. 0x2174.
Data set
Bits
15
14
13
12
For the above example:
Hex.
0
0
1
0
Bin.
2
32
• Parameter unknown
• Number of bytes in data field too small or too high
• Error when writing parameters
1 byte
1 byte
2 bytes
2 bytes
1 byte
2 bytes
1 byte
1 byte
2 bytes
2 bytes
1 byte
1 byte
1 byte
Start address
Parameter number
11
10
9
8
7
0
0
0
1
0
1
ACU
Modbus/TCP
1 – 0xF7 (=247)
0x10
0x0000 – 0x963F
0x0002
0x04
0 – 0xFFFF FFFF
1 – 0xF7 (=247)
0x10
0x0000 – 0x963F
0x0002
1 – 0xF7 (=247)
0x90
2, 3 or 4
6
5
4
3
2
1
1
1
0
1
7
4
1
0
0
0
10/13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents