2 actual speed value, Actual speed value, Parameter setting – Lenze EMF2141IB User Manual

Page 28

Advertising
background image

Parameter setting

6-6

L

BA2141 EN 1.0

Example 1: Read parameter

The heat sink temperature (Here:

J

= 43

°

C)

of the controller is to be read (C0061).

Byte 1: Length

– 4 (data length 4 bytes)

Byte 2 and byte 3: Code

– C0061: 61 = 3D

hex

Byte 4: Subcode

– Subindex = 0, as there is not subindex under code C0061.

Byte 5: Service

– Service = 1 (Read)

Byte 6 ... 9: Data (part of the response of

nvoParamRes

)

– Data 1 to data 4 = 43[

°

C] x 10000 = 430000 = 00 06 8F B0

hex

Result:

Byte1

Byte 2 + byte 3

Byte 4

Byte 5

Byte 6

Byte 7

Byte 8

Byte 9

Lengt

h

code

Lenze subcode

Service

Parameter value

Request telegram from master to drive
Hex:

04

003D

00

01

00

00

00

00

Wait for response identification with code = 003D and subcode 0
Response telegram from drive to master (for faulty execution)
Hex:

04

003D

00

01

00

06

8F

B0

Tab. 6-2

Telegram exchange in LON parameter data channel

Example 2: Write parameter

The acceleration time (C0012) of the controller is to be set to T

ir

= 20 s.

Byte 1: Length

– 4 (data length 4 bytes)

Byte 2 and byte 3: Code

– C0012: 12 = 0C

hex

Byte 4: Subcode

– Subindex = 0, as there is not subindex under code C0061.

Byte 5: Service

– Service = 2 (Write)

Byte 6 ... 9: Data (part of the response of

nvoParamRes

)

– Data 1 to data 4 = 20 [s] x 10000 = 200000 = 00 03 0D 40

hex

Result:

Byte1

Byte 2 + byte 3

Byte 4

Byte 5

Byte 6

Byte 7

Byte 8

Byte 9

Lengt

h

code

Lenze subcode

Service

Parameter value

Request telegram from master to drive
hex:

04

000C

00

02

00

03

0D

40

Wait for response identification with code = 00C and subcode 0
Response telegram from drive to master (for faulty execution)
hex:

04

000C

00

02

00

00

00

00

Tab. 6-3

Telegram exchange in LON parameter data channel

Show/Hide Bookmarks

Advertising