When a slave responds to a parameter request (read
command), the present parameter value in the PWE block
is transferred and returned to the master. If a parameter
contains several data options, for example
parameter 0-01 Language
, select the data value by entering
the value in the PWE block. Serial communication is only
capable of reading parameters containing data type 9 (text
string).
Parameter 15-40 FC Type
to
parameter 15-53 Power Card
Serial Number
contain data type 9.
For example, read the unit size and mains voltage range in
parameter 15-40 FC Type
. When a text string is transferred
(read), the length of the telegram is variable, and the texts
are of different lengths. The telegram length is defined in
the 2
nd
byte of the telegram (LGE). When using text
transfer, the index character indicates whether it is a read
or a write command.
To read a text via the PWE block, set the parameter
command (AK) to F hex. The index character high-byte
must be 4.
7.4.11 Data Types Supported by the
Frequency Converter
Unsigned means that there is no operational sign in the
telegram.
Data types
Description
3
Integer 16
4
Integer 32
5
Unsigned 8
6
Unsigned 16
7
Unsigned 32
9
Text string
Table 7.8 Data Types
7.4.12 Conversion
The
programming guide
contains the descriptions of
attributes of each parameter. Parameter values are
transferred as whole numbers only. Conversion factors are
used to transfer decimals.
Parameter 4-12 Motor Speed Low Limit [Hz]
has a conversion
factor of 0.1. To preset the minimum frequency to 10 Hz,
transfer the value 100. A conversion factor of 0.1 means
that the value transferred is multiplied by 0.1. The value
100 is thus perceived as 10.0.
Conversion index
Conversion factor
74
3600
2
100
1
10
0
1
-1
0.1
-2
0.01
-3
0.001
-4
0.0001
-5
0.00001
Table 7.9 Conversion
7.4.13 Process Words (PCD)
The block of process words is divided into 2 blocks of 16
bits, which always occur in the defined sequence.
PCD 1
PCD 2
Control telegram (master
⇒
slave control word) Reference value
Control telegram (slave
⇒
master) status word Present output
frequency
Table 7.10 Process Words (PCD)
7.5 Examples
7.5.1 Writing a Parameter Value
Change
parameter 4-14 Motor Speed High Limit [Hz]
to 100
Hz.
Write the data in EEPROM.
PKE = E19E hex - Write single word in
parameter 4-14 Motor Speed High Limit [Hz]
:
•
IND = 0000 hex.
•
PWEHIGH = 0000 hex.
•
PWELOW = 03E8 hex.
Data value 1000, corresponding to 100 Hz, see
The telegram looks like
E19E H
PKE
IND
PWE
high
PWE
low
0000 H 0000 H 03E8 H
130BA092.10
Illustration 7.10 Telegram
RS485 Installation and Set-...
Design Guide
MG18N202
Danfoss A/S © 12/2015 All rights reserved.
55
7
7