5 bytes 5 : parameter value / error information, Bytes 5 : parameter value / error information, Parameter value (data) – Lenze E84AYCPM User Manual
Page 57: 9parameter data transfer
![background image](/manuals/565738/57/background.png)
9
Parameter data transfer
9.2
DRIVECOM parameter data channel (DP-V0)
57
Lenze · E84AYCPM communication module (PROFIBUS®) · Communication Manual · DMS 5.0 EN · 11/2012 · TD17
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
9.2.5
Bytes 5 ... 8: Parameter value / error information
The state of status bit 7 in the service byte determines the meaning of this data field:
Parameter value (data)
Depending on the data format, the length of the parameter value is between 1 and 4 bytes.
Data are saved in the Motorola format, i.e. first the high byte (high word), then the low byte (low
word):
Principle for the assignment of bytes 5 ... 8 with parameter values of different lengths:
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
Byte 8
Service
Subindex
Index
High byte
Index
Low byte
Data 4 /
Error 4
Data 3 /
Error 3
Data 2 /
Error 2
Data 1 /
Error 1
Status bit
Meaning of bytes 5 ... 8
0 Bytes 5 ... 8 contain the parameter value (data 1 ... 4 ).
1 Bytes 5 ... 8 contain an error message (error 1 ... 4) due to an invalid access.
Note!
Strings or data blocks cannot be transmitted.
Byte 5
Byte 6
Byte 7
Byte 8
High byte
Low byte
High byte
Low byte
High word
Low word
Double word
Byte 5
Byte 6
Byte 7
Byte 8
Parameter value (length 1)
0x00
0x00
0x00
Parameter value (length 2)
0x00
0x00
Parameter value (length 4)