Read parameter data acyclically

This section describes the request and response for the acyclic reading of a parameter.
 
Details
–
When a read request is processed, no parameter value is written to the slave.
 
–
When a read request is transmitted by multi-parameters, the parameter attribute, index and subindex are repeated.
 
–
A read request must not exceed the maximum data length of 240 bytes.
 
 
Request header
Byte 1
Byte 2
Byte 3
Byte 4
Request reference
Request identification
Axis
Number of indices
Field
Data type
Values
Request reference
U8
This value is defined by the master.
Request identification
U8
0x01: Request parameters for reading.
Axis
U8
0x00 or 0x01
Number of indices
U8
0x"n" (n = number of parameters requested)
 
Parameter attribute
Byte 5
Byte 6
Attribute
Number of subindices
Field
Data type
Values
Attribute
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)
 
Response to a correctly executed read request
Responses to a read request do not contain parameter attributes, indices and subindices.
 
Response header
Byte 1
Byte 2
Byte 3
Byte 4
Request reference
(mirrored)
Response identification
Axis
(mirrored)
Number of indices
Field
Data type
Values
Request reference
U8
Mirrored value of the parameter request.
Response identification
U8
0x01: Parameter has been read.
Axis
U8
0x00 or 0x01
Number of indices
U8
0x"n" (n = number of parameters requested)
 
Parameter format
Byte 5
Byte 6
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.
 
Parameter value
Byte 7
Byte 8
Byte 9
Byte 10
Value
(Integer8 / Unsigned8 / byte)
Value
(Integer16 / Unsigned16 / word)
Value
(Integer32 / Unsigned32 / double word)
Byte 7
Byte 8
Byte 9
Byte ...
String
(Visible string / octet string with an optional length)
Field
Data type
Values
Value
U8/U16/U32
Value range/length depends on the parameter format (see table above).
String
U8
Visible string / octet string with an optional length (n characters = n bytes)
 
Response to a read error
In the case of a multi-parameter request, correct and possible faulty messages are summarised in one telegram. They have the following data contents:
Correct message
–
Format: data type of the value requested
 
–
Number of values: as described above.
 
–
Parameter value: value requested
 
Faulty message
–
Format: 0x44
 
–
Number of values: 0x01 or 0x02
 
–
Error code without additional information (for number of values = 0x01) or error code with additional information (for number of values = 0x02)
 
A faulty access to a parameter "n" is indicated at the nth position in the response telegram of a multi-parameter request.
 
Response header
Byte 1
Byte 2
Byte 3
Byte 4
Request reference
(mirrored)
Response identification
Axis
(mirrored)
Number of indices
Field
Data type
Values
Request reference
U8
Mirrored value of the parameter request.
Response identification
U8
0x81: Parameter has not been read.
The data in bytes 7 + 8 must be interpreted as an error code.
Axis
U8
0x00 or 0x01
Number of indices
U8
0x"n" (n = number of parameters requested)
 
Parameter format
Byte 5
Byte 6
Format
Number of values
Field
Data type
Values
Format
U8
0x44: Error
Number of values
U8
0x01: Error code without additional information.
0x02: Error code with additional information.
 
Error code
Byte 7
Byte 8
Byte 9
Byte 10
Error code
Additional information (if available)
HIGH byte
LOW byte
HIGH byte
LOW byte
Field
Data type
Values
Error code
U16
0x0000 ... 0xFFFF
Additional information (if available)
U16