Watson-Marlow MM420 User Manual
Page 110

3 Functions
Issue 10/06
MICROMASTER 420 Operating Instructions
110
6SE6400-5AA00-0BP0
PKW area
With the help of the PKW mechanism, the following tasks can be performed via any
serial interface with the USS protocol:
Reading and writing parameters
Reading the description of a parameter
The PKW area can be varied. Depending on the requirements, the following
lengths can be parameterized using parameter P2013:
3 words
P2013 = 3
4 words
P2013 = 4
variable word length
P2013 = 127
The following is an example of a structure when access (write/read) is made to
single-word
(16 bit) parameter values. The PKW area must be permanently set to
3 words at the master and the slave. This setting is made during start-up and
should not be altered any more during bus operation.
1st word
2nd word
3rd word
PKE
IND
PWE1
Parameter ID
Index
Parameter value 1
The following is an example of a structure when access (write/read) is made to
double-word
(32 bit) parameter values. Parameterization to a fixed length of 4
words applies to telegrams from the master to the slave and from the slave to the
master.
1st word
2nd word
3rd word
4
th
word
PKE
IND
PWE1
PWE2
Parameter ID
Index
Parameter value (double word)
Telegram data transfer with variable telegram length (refer to the following
example) means that the slave responds to a telegram from the master with a
telegram whose length does not have to be the same length as the telegram from
the master to the slave.
1st word
2nd word
3rd word
4
th
word
(m+2).
word
PKE
IND
PWE1
PWE2
. . . . .
With:
1 word
≤
m
≤
118 words (maximum) when 8 PZD words (maximum) are
contained in the net data block.
1 word
≤ m ≤ 126 words (maximum) when there is no PZD.
The length of elements PEW1 to PWEm in the reply telegram and what is
contained in them depends on the task issued by the master. Variable length
means that only the number of words necessary to pass on the appropriate
information is transferred. The minimum length, however. is always 3 words. If a
slave, for example, transfers a parameter value which is a 16-bit quantity (e.g. the
status word in parameter r0052; data format: U16), then only 3 words of the PKW
area are sent in the telegram from the slave to the master. If, for example, for
MICROMASTER the actual frequency is to be read (parameter r0021), then the
PKW area in the telegram from the slave to the master is 4 words large; the reason
for this is that the speed is represented as 32-bit quantity (data format: Float). It is