5 bytes 5 : parameter value / error information, Bytes 5 : parameter value / error information, Quired – Lenze E94AYCPM User Manual

Page 53: Parameter value (data), 9parameter data transfer

Advertising
background image

Lenze · E94AYCPM communication module (PROFIBUS®) · Communication Manual · DMS 12.0 EN · 11/2012 · TD17

53

9

Parameter data transfer

9.2

DRIVECOM parameter data channel (DP-V0)

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

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 a parameter value (Data 1 ... 4 ).
1 Bytes 5 ... 8 contain an error code (Error 1 ... 4).



Error codes ( 54)

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)

Advertising