Storage Of Data; Ind; Text Blocks; Conversion Factor - Danfoss FC 102 Design Manual

1.1-90 kw
Hide thumbs Also See for FC 102:
Table of Contents

Advertisement

Installation and Set-up

8.9.2 Storage of Data

The Coil 65 decimal determines whether data written to
the frequency converter are stored in EEPROM and RAM
(coil 65=1) or only in RAM (coil 65= 0).

8.9.3 IND

Some parameters in the frequency converter are array
parameters e.g. 3-10 Preset Reference. Since the Modbus
does not support arrays in the holding registers, the
frequency converter has reserved the holding register 9 as
pointer to the array. Before reading or writing an array
parameter, set the holding register 9. Setting holding
register to the value of 2, causes all following read/write to
array parameters to be to the index 2.

8.9.4 Text Blocks

Parameters stored as text strings are accessed in the same
way as the other parameters. The maximum text block size
is 20 characters. If a read request for a parameter is for
more characters than the parameter stores, the response is
truncated. If the read request for a parameter is for fewer
characters than the parameter stores, the response is space
filled.

8.9.5 Conversion Factor

The different attributes for each parameter can be seen in
the section on factory settings. Since a parameter value
can only be transferred as a whole number, a conversion
factor must be used to transfer decimals.

8.9.6 Parameter Values

Standard data types
Standard data types are int 16, int 32, uint 8, uint 16 and
uint 32. They are stored as 4x registers (40001–4FFFF). The
parameters are read using function 03HEX "Read Holding
Registers." Parameters are written using the function 6HEX
"Preset Single Register" for 1 register (16 bits), and the
function 10 HEX "Preset Multiple Registers" for 2 registers
(32 bits). Readable sizes range from 1 register (16 bits) up
to 10 registers (20 characters).
Non-standard data types
Non-standard data types are text strings and are stored as
4x registers (40001–4FFFF). The parameters are read using
function 03HEX "Read Holding Registers" and written using
function 10HEX "Preset Multiple Registers." Readable sizes
range from 1 register (2 characters) up to 10 registers (20
characters).
MG11BC02
Design Guide

8.10 Examples

The following examples illustrate various Modbus RTU
commands.

8.10.1 Read Coil Status (01 HEX)

Description
This function reads the ON/OFF status of discrete outputs
(coils) in the frequency converter. Broadcast is never
supported for reads.
Query
The query message specifies the starting coil and quantity
of coils to be read. Coil addresses start at zero, that is, coil
33 is addressed as 32.
Example of a request to read coils 33-48 (status word) from
follower device 01.
Field Name
Follower Address
Function
Starting Address HI
Starting Address LO
No. of Points HI
No. of Points LO
Error Check (CRC)
Table 8.21 Query
Response
The coil status in the response message is packed as one
coil per bit of the data field. Status is indicated as: 1=ON;
0=OFF. The LSB of the first data byte contains the coil
addressed in the query. The other coils follow toward the
high order end of this byte, and from 'low-order to high-
order' in subsequent bytes.
If the returned coil quantity is not a multiple of 8, the
remaining bits in the final data byte is padded with zeros
(toward the high order end of the byte). The byte count
field specifies the number of complete bytes of data.
Field Name
Follower Address
Function
Byte Count
Data (Coils 40-33)
Data (Coils 48-41)
Error Check (CRC)
Table 8.22 Response
Danfoss A/S © Rev. 06/2014 All rights reserved.
Example (HEX)
01 (frequency converter address)
01 (read coils)
00
20 (32 decimals) Coil 33
00
10 (16 decimals)
-
Example (HEX)
01 (frequency converter address)
01 (read coils)
02 (2 bytes of data)
07
06 (STW=0607hex)
-
8
8
141

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FC 102 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents

Save PDF