3 read block parameters, Read block parameters, 10 "can on board" system bus – Lenze E94AxPExxxx User Manual
Page 364
10
"CAN on board" system bus
10.7
Parameter data transfer
364
Lenze · 9400 Servo PLC· Reference manual · DMS 4.0 EN · 11/2013 · TD05/06
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
10.7.3.3
Read block parameters
Task: The firmware version (code
) is to be read from the parameter set of the controller with
the node address "12". The firmware version has a length of 11 ASCII characters which are
transmitted as block parameters. Within the user data, the data width from the 2nd to the 8th byte
is assigned per block.
Telegram 1 to the drive: Read request
Response telegram 1 from the drive: Indication of the block length (11 characters)
Identifier
User data
1st byte
2nd byte 3rd byte
4th byte
5th byte
6. byte
7th byte
8th byte
Command
Index
Subindex
Data 1
Data 2
Data 3
Data 4
0x060C
0x40
0x9C
0x5F
0x00
0x00
0x00
0x00
0x00
Explanations on the telegram to the drive
Identifier
= 1536 + node address = 1536 + 12 = 1548 = 0x060C
(1536 = SDO1 basic identifier to the controller)
Command
= 0x40 = "Read request" (read request of a parameter from the controller)
Index
= 24575 - code number = 24575 - 99 = 24476 = 0x5F9C
Subindex
= 0 (code
does not have any subcodes)
Identifier
User data
1st byte
2nd byte 3rd byte
4th byte
5th byte
6. byte
7th byte
8th byte
Command
Index
Subindex
Data 1
Data 2
Data 3
Data 4
0x058C
0x41
0x9C
0x5F
0x00
0x0B
0x00
0x00
0x00
Explanations on the telegram from the drive
Identifier
= 1408 + node address = 1408 + 12 = 1420 = 0x058C
(1408 = SDO1 basic identifier from the controller)
Command
= 0x41 = "Read response" (response is block telegram)
Index
as in telegram to the drive
Subindex
Data 1 ... 4
= 0x0000000B = data length of 11 characters in the ASCII format