7.8.10. Function Codes Supported by Modbus RTUModbus RTU supports use of the following function codes in the functionfield of a message: Function Function CodeRead coils 1 hexRead holding registers 3 hexWrite single coil 5 hexWrite single register 6 hexWrite multiple coils F hexWrite multiple registers 10 hexGet comm. event counter B hexReport slave ID 11 hexFunction Function Code Sub-function code Sub-functionDiagnostics 8 1 Restart communication2 Return diagnostic register10 Clear counters and diagnostic register11 Return bus message count12 Return bus communication error count13 Return bus exception error count14 Return slave message count7.8.11. Database Error CodesIn the event of an error, the following error codes may appear in the data field of a response message. For a full explanation of the structure of anexception (i.e. error) response, please refer to the sectionModbus RTU Message Framing Structure, Function Field.Error Code in data field(decimal) Database Error Code description00 The parameter number does not exit01 There is no write access to the parameter02 The data value exceeds the parameter limits03 The sub-index in use does not exit04 The parameter is not of the array type05 The data type does not match the parameter called06 Only reset07 Not changeable11 No write access17 Data change in the parameter called is not possible in the present mode18 Other error64 Invalid data address65 Invalid message length66 Invalid data length or value67 Invalid function code130 There is no bus access to the parameter called131 Data change is not possible because factory set-up is selected7. RS-485 Installation and Set-up VLT® AQUA Drive Design Guide160 MG.20.N4.02 - VLT® is a registered Danfoss trademark7