![Stober PROFIBUS Operation Manual Download Page 53](http://html.mh-extra.com/html/stober/profibus/profibus_operation-manual_1381282053.webp)
Appendix B PKW0 telegram
Operation manual
ID 441687.04
WE KEEP THINGS MOVING
53
13
13.2
Further regulations for order/answer processing
•
To ensure that the inverter with PROFIBUS interface always stops responding
to the last job and is ready for the next job, the job ID "no job" must be briefly
sent.
•
Transmission on the bus takes place in Motorola format (Big-endian): High
parameter value is sent first both within a word and the words within a double
word.
•
When no information is needed from the PKW interface during cyclic
operation, the job ID should be set to "no job".
13.3
Time sequence of a PKW0 service
In the following example for a controller, the transfer commands for the 16 bit
format should be given and the parameter
D00 SW-Accel
from axle 1 should be
changed to the value 300 ms/3000 rpm.
Find the values from the parameter list:
•
PNU = 1000 + 20
3 + 0 + 0 = 1060
dec
= 424
hex
, subindex = 1
•
Parameter value 300
dec
= 12C
hex
.
Step
Set PLC output byte
(xx = old content)
Explanation
1
Byte: 0 1 2 3 4 5 6 7
Hex value: 00 00 00 00 xx xx xx xx
Delete parameter identification, subindex and reserved byte 3.
2
Byte: 0 1 2 3 4 5 6 7
Hex value: 00 00 00 00 xx xx xx xx
Wait until the input bit of the inverter has the response
identification 0. In addition, mask out bits 4 to 7 and check they
are set to 0. The PNU of the last task could still occupy the
other bits and byte 1. The waiting time depends on the bus
cycle time (number of subscribers).
3
Byte: 0 1 2 3 4 5 6 7
Hex value: 00 00 00 00 00 00 01 2C
Expand parameter value 12C to 4 byte and enter in bytes 4 to
7.
4
Byte: 0 1 2 3 4 5 6 7
Hex value: 00 00 00 00 00 00 01 2C
Enter subindex 1 in byte 2.
6
Byte: 0 1 2 3 4 5 6 7
Hex value: 34 24 00 00 00 00 01 2C
Enter parameter number 424
hex
in bits 0 … 10 of the PKE and
enter task identification 3 in bits 12 … 15, bit 11 remains 0.
7
Byte: 0 1 2 3 4 5 6 7
Hex value: 34 24 00 00 00 00 01 2C
Wait until a response arrives in the input byte, e.g.
Byte: 0 1 2 3 4 5 6 7
Hex value: 24 24 00 00 00 00 00 00
The 2 in byte 0 indicates the response identification
Transfer
parameter value
. In this sway, the new value has been
transferred from the inverter without errors.
8
Byte: 0 1 2 3 4 5 6 7
Hex value: 00 00 00 00 00 00 xx xx
Delete the parameter identification again to shorten the waiting
time for the next PKW service.