Watson-Marlow MM440 User Manual

Page 156

Advertising
background image

3 Functions

Issue 10/06

MICROMASTER 440 Operating Instructions

156

6SE6400-5AW00-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

4th 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

4th 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
mandatory to parameterize for a variable word length, if e.g. all values are to be

Advertising