9.6.12 Write parameter data
This secon describes the request and response for the acyclic wring of a parameter.
Details
•
When a mul-parameter write request is transmied, the parameter aribute, index and
subindex and then the parameter format and parameter value are repeated "n" mes, "n"
being the number of parameters addressed.
•
A write request must not exceed the maximum data length of 240 bytes.
Request header
Byte 1 Byte 2 Byte 3 Byte 4
Request reference Request idencaon Axis Number of indices
Field Data type Values
Request reference U8 This value is dened by the master.
Request idencaon U8 0x02: Write parameters.
Axis U8 0x00 or 0x01
Number of indices U8 0x"n" (n = number of parameters addressed)
Parameter aribute
Byte 5 Byte 6
Aribute Number of subindices
Field Data type Values
Aribute U8 0x10: Value
Number of subindices U8 0x00
Index and subindex
Byte 7 Byte 8 Byte 9 Byte 10
Index Subindex
HIGH byte LOW byte HIGH byte LOW byte
Field Data type Values
Index U16 0x0001 ... 0xFFFF (1 ... 65535)
Subindex U16 0x0000 ... 0x00FF (0 ... 255)
Parameter format
Byte 11 Byte 12
Format Number of values
Field Data type Values
Format U8 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
Number of values U8 0x01 or number of characters (n) for string parameters.
Conguring the network
PROFIBUS
Write parameter data
308