EasyManuals Logo
Home>Danfoss>DC Drives>VLT AutomationDrive FC 361 Series

Danfoss VLT AutomationDrive FC 361 Series User Manual

Danfoss VLT AutomationDrive FC 361 Series
102 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #89 background imageLoading...
Page #89 background image
11.9 RS485: Modbus RTU Message Function
Codes
11.9.1 Function Codes Supported by
Modbus RTU
Modbus RTU supports use of the function codes in
Table 11.17 in the function eld of a message.
Function Function code
Read coils 1 hex
Read holding registers 3 hex
Write single coil 5 hex
Write single register 6 hex
Write multiple coils F hex
Write multiple registers 10 hex
Get comm. event counter B hex
Report slave ID 11 hex
Table 11.17 Function Codes
Function Function
code
Sub-
function
code
Sub-function
Diagnostics 8 1 Restart communication.
2 Return diagnostic register.
10 Clear counters and
diagnostic register.
11 Return bus message count.
12 Return bus communication
error count.
13 Return bus exception error
count.
14 Return slave message
count.
Table 11.18 Function Codes
11.9.2 Modbus Exception Codes
For a full explanation of the structure of an exception code
response, refer to chapter 11.8 RS485: Modbus RTU Telegram
Structure.
Code Name Meaning
1 Illegal
function
The function code received in the query is
not an allowable action for the server (or
slave). This code can 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 slave) is in the wrong state
to process a request of this type, for
example because it is not congured 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 slave). More specically, the
combination of reference number and
transfer length is invalid. For a controller
with 100 registers, a request with oset
96 and length 4 would succeed, a request
with oset 96 and length 5 generates
exception 02.
3 Illegal data
value
A value contained in the query data eld
is not an allowable value for server (or
slave). This code indicates a fault in the
structure of the remainder of a complex
request, such as that the implied length is
incorrect. It specically 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 signicance of any particular value of
any particular register.
4 Slave device
failure
An unrecoverable error occurred while the
server (or slave) was attempting to
perform the requested action.
Table 11.19 Modbus Exception Codes
Appendix Design Guide
MG06K102 Danfoss A/S © 03/2019 All rights reserved. 87
11 11

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Danfoss VLT AutomationDrive FC 361 Series and is the answer not in the manual?

Danfoss VLT AutomationDrive FC 361 Series Specifications

General IconGeneral
BrandDanfoss
ModelVLT AutomationDrive FC 361 Series
CategoryDC Drives
LanguageEnglish

Related product manuals