EasyManua.ls Logo

Lenze 2131 - Example 1: Write Parameter

Lenze 2131
60 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Parameter setting
6-8
BA2131EN
6.3.3 Example 1: Write parameter
Task
The acceleration time C0012 of the controller is to be changed to 20 s.
Job (byte 1/service)
Bit 0-2 = 2 Writ e j ob (xxxx x010)
Bit 3 = 0 Re se rved (xxxx 0010)
Bit 4-5 = 3 Data length 4 byte (xx11 0010)
Bit 6 = X Handshake changes frequently (xX11 0010)
Bit 7 = 0 Only relevant with response (0x11 0010)
SUBINDEX (byte 2)
Subindex = 0, as there is not subindex under code C0012.
INDEX (byte 3 + 4)
Index calculation:
Index = 24575 - code number
Index = 24575 - 12 = 24563 = 5FF3hex
DATA(byte5-8)
Calculation of the value for the acceleration time
20 s x 10.000 = 200.000 = 00 03 0D 40hex
Response to drive
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 Data 3 Data 2 Data 1
0x11 0010 0 5F F3 00 03 0D 40
Response of the controller when no fault occurs
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 Data 3 Data 2 Data 1
0x11 0000 0 5F F3 00 00 00 00
Show/Hide Bookmarks

Related product manuals