Configuring the network
PROFIBUS
Write parameter data
9.6.12
Write parameter data
This section describes the request and response for the acyclic writing of a parameter.
Details
When a multi-parameter write request is transmitted, the parameter attribute, index and
•
subindex and then the parameter format and parameter value are repeated "n" times, "n"
being the number of parameters addressed.
A write request must not exceed the maximum data length of 240 bytes.
•
Request header
Byte 1
Request reference
Field
Request reference
Request identification
Axis
Number of indices
Parameter attribute
Byte 5
Attribute
Field
Attribute
Number of subindices
Index and subindex
Byte 7
HIGH byte
Field
Index
Subindex
Parameter format
Byte 11
Format
Field
Format
Number of values
308
Byte 2
Request identification
Data type
U8
U8
U8
U8
Byte 6
Number of subindices
Data type
U8
U8
Byte 8
Index
LOW byte
Data type
U16
U16
Byte 12
Number of values
Data type
U8
U8
Byte 3
Axis
Values
This value is defined by the master.
0x02: Write parameters.
0x00 or 0x01
0x"n" (n = number of parameters addressed)
Values
0x10: Value
0x00
Byte 9
Subindex
HIGH byte
Values
0x0001 ... 0xFFFF (1 ... 65535)
0x0000 ... 0x00FF (0 ... 255)
Values
0x02: integer8 (1 byte with sign)
0x03: Integer16 (2 bytes with sign)
0x04: Integer32 (4 bytes with sign)
0x05: Unsigned8 (1 byte without sign)
0x06: Unsigned16 (2 bytes without sign)
0x07: Unsigned32 (4 bytes without sign)
0x09: Visible String (with n characters)
0x0A: Octet String (with n characters)
0x40: Zero
0x41: Byte
0x42: Word
0x43: Double word
0x01 or number of characters (n) for string parameters.
Byte 4
Number of indices
Byte 10
LOW byte