EasyManua.ls Logo

Lenze Drive PLC - Page 23

Lenze Drive PLC
112 pages
Print Icon
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...
System bus (CAN) with Ser vo PLC & Drive PLC
General information
2-13
l PLC-Systembus EN 1.1
2.6.2 Writing a parameter (example)
Ta s k
Setting the acceleration time (C0012) of the controller with node address 1 via parameter channel
1to20s.
Telegram to the controller:
Formula Info
Identifier = Basic identifier + node address
= 1536 + 1
= 1537
Basic identifier fo r parameter channel 1 (output) = 1536
Node address of the controller = 1
Command code = 23
hex
Command “Write Request (send parameters to controller)
Index = 24575 - Lenze code number
= 24575 - 12
= 24563
= 5F F3
hex
Code = C0012 (acceleration time )
Subindex = 0 Subcode = 0 (no subcode)
Data 1 ... 4 = 20 x 10000
= 200000
= 00 03 0D 40
hex
Value = 20 s
Fixed32 data format (4 fixed decimal places);
Multiply value by 10000
11 Bit 8-byte user data
I
d
e
n
t
i
f
i
e
r
Command
Index
S
u
b
i
n
d
e
x
D
a
t
a
1
D
a
t
a
2
D
a
t
a
3
D
a
t
a
4
I
d
ent
i
f
i
er
C
o
m
m
a
n
d
code
Low-byte High-byte
S
u
b
i
n
d
e
x
D
ata
1
D
ata
2
D
ata
3
D
ata
4
1537 23
hex
F3
hex
5F
hex
0 40
hex
0D
hex
03
hex
00
hex
(LSB) (MSB)
Identifier = 1537
L
SDO 1 / Node-ID 1
Identifier = 1409
Write Request
(C0012 = 20 s)
Write Response
Telegram from the controller (acknowledgement if data were properly transmitted):
Formula Info
Identifier = Basic identifier + node address
= 1408 + 1
= 1409
Basic identifier for parameter channel 1 (input) = 1408
Node address of the controller = 1
Command code = 60
hex
Command “Write Response” (acknowledgement from the controller)
Index = Index of the read request
Subindex = Subindex of the read request
Data 1 ... 4 = 0 Acknowledgement only
11 Bit 8-byte user data
I
d
e
n
t
i
f
i
e
r
Command
Index
S
u
b
i
n
d
e
x
D
a
t
a
1
D
a
t
a
2
D
a
t
a
3
D
a
t
a
4
I
d
ent
i
f
i
er
C
o
m
m
a
n
d
code
Low-byte High-byte
S
u
b
i
n
d
e
x
D
ata
1
D
ata
2
D
ata
3
D
ata
4
1409 60
hex
F3
hex
5F
hex
0 0 0 0 0
Show/Hide Bookmarks

Table of Contents

Related product manuals