Specifications

7.8.11 Modbus Exception Codes
For a full explanation of the structure of an exception code
response, refer to 7.8.5 Function Field.
Code Name Meaning
1 Illegal
function
The function code received in the query is
not an allowable action for the server (or
follower). This may be because the
function code is only applicable to newer
devices, and was not implemented in the
unit selected. It could also indicate that
the server (or follower) is in the wrong
state to process a request of this type, for
example because it is not configured and
is being asked to return register values.
2 Illegal data
address
The data address received in the query is
not an allowable address for the server
(or follower). More specifically, the
combination of reference number and
transfer length is invalid. For a controller
with 100 registers, a request with offset
96 and length 4 would succeed, a request
with offset 96 and length 5 generates
exception 02.
3 Illegal data
value
A value contained in the query data field
is not an allowable value for server (or
follower). This indicates a fault in the
structure of the remainder of a complex
request, such as that the implied length is
incorrect. It specifically does NOT mean
that a data item submitted for storage in
a register has a value outside the
expectation of the application program,
since the Modbus protocol is unaware of
the significance of any particular value of
any particular register.
4 Follower
device failure
An unrecoverable error occurred while the
server (or follower) was attempting to
perform the requested action.
Table 7.20 Modbus Exception Codes
7.9
How to Access Parameters
7.9.1 Parameter Handling
The PNU (Parameter Number) is translated from the
register address contained in the Modbus read or write
message. The parameter number is translated to Modbus
as (10 x parameter number) DECIMAL. Example: Reading
3-12 Catch up/slow Down Value (16bit): The holding register
3120 holds the parameters value. A value of 1352
(Decimal), means that the parameter is set to 12.52%
Reading
3-14 Preset Relative Reference (32bit): The holding
registers 3410 & 3411 holds the parameters value. A value
of 11300 (Decimal), means that the parameter is set to
1113.00 S.
For information on the parameters, size and converting
index, consult the product relevant programming guide.
7.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).
7.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.
7.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.
7.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.
7.9.6
Parameter Values
Standard data types
Standard data types are int16, int32, uint8, uint16 and
uint32. 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).
RS-485 Installation and Set...
VLT
®
HVAC Basic Drive FC 101 Design Guide
MG18C502 - Rev. 2013-09-06 91
7 7