Communications vacon • 3024-hour support +358 (0)40 837 1150 • Email: vacon@vacon.com66. COMMUNICATIONSFeatures of the Modbus-Vacon interface:• Direct control of Vacon drive (e.g. Run, Stop, Direction, Speed reference, Fault reset)• Full access to all Vacon parameters• Monitor Vacon status (e.g. Output frequency, Output current, Fault code)6.1 Data addresses in Modbus messagesAll data addresses in Modbus messages are referenced to zero. The first occurrence of a dataitem is addressed as item number zero. For example:• The coil known as ‘Coil 1’ in a programmable controller is addressed as ‘Coil 0000’ inthe data address field of a Modbus message.• Coil 127 decimal is addressed as ‘Coil 007E hex’ (126 decimal).• Holding register 40001 is addressed as register 0000 in the data address field of themessage. The function code field already specifies a ‘holding register’operation. There-fore the ‘4XXXX’ reference is implicit.• Holding register 40108 is addressed as register 006B hex (107 decimal).6.2 Supported Modbus FunctionsThe Vacon variables and fault codes as well as the parameters can be read and written fromModbus. The parameter addresses are determined in the application. Every parameter and ac-tual value have been given an ID number in the application. The ID numbering of the parameteras well as the parameter ranges and steps can be found in the application manual in question.The parameter value shall be given without decimals. If several parameters/actual values areread with one message, the addresses of the parameters/actual values must be consecutive.Table 12. Supported functionsFunction(dec)Function(hex) Modbus Function Name TCP/RTU AccesstypeAddressrange(hex)1 1 Read coils TCP only Discrete(1-bit)00000-0FFFF2 2 Read Discrete Inputs TCP only Discrete(1-bit)10000-1FFFF3 3 Read Holding Registers TCP&RTU Register(16bit)40000-4FFFF4 4 Read Input Registers TCP&RTU Register(16bit)30000-3FFFF5 5 Write Single Coils TCP only Discrete(1-bit)00000-0FFFF6 6 Write Single Register TCP&RTU Register(16bit)40000-4FFFF15 F Write Multiple Coils TCP only Discrete(1-bit)00000-0FFFF