modbus
vacon
• 25
24-hour s358 (0)40 8371 150 • Email: [email protected]
6
6.2
Modbus interface
Features of the Modbus-Vacon NX interface:
•
Direct control of Vacon NX ( e.g. Run, Stop, Direction, Speed reference, Fault reset)
•
Full access to all Vacon NX parameters
•
Monitor Vacon NX status (e.g. Output frequency, Output current, Fault code)
6.2.1
Modbus registers
The Vacon variables and fault codes as well as the parameters can be read and written from Modbus.
The parameter addresses are determined in the application. Every parameter and actual value have
been given an ID number in the application. The ID numbering of the parameter as well as the pa-
rameter 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 are read with one message, the
adresses of the parameters/actual values must be consecutive.
All values can be read with function codes 3 and 4 (all registers are 3X and 4X reference). Modbus
registers are mapped to drive ID’s as follows:
ID
Modbus register
Group
R/W
1 … 98
40001…40098 (30001…30098)
Actual Values
30/1
99
40099 (30099)
Fault Code
30/1
101… 1999
40101…41999 (30101…31999)
Parameters
30/1
2001…2099
42001…42099 (32001…32099)
Process Data In
20/20
2101…2199
42101…42199 (32101…32199)
Process Data Out
20/20
Table 9. Index table
6.2.2
Process data
The process data fields are used to control the drive (e.g. Run, Stop , Reference, Fault Reset) and to
quickly read actual values (e.g. Output frequency, Output current, Fault code). The fields are struc-
tured as follows:
Process Data Slave -> Master (max 22 bytes)
ID
Modbus register
Name
Range/Type
2101
32101, 42101
FB Status Word
Binary coded
2102
32102, 42102
FB General Status Word
Binary coded
2103
32103, 42103
FB Actual Speed
0…10000 %
2104
32104, 42104
FB Process Data Out 1
See appendix 1
2105
32105, 42105
FB Process Data Out 2
See appendix 1
2106
32106, 42106
FB Process Data Out 3
See appendix 1
2107
32107, 42107
FB Process Data Out 4
See appendix 1
2108
32108, 42108
FB Process Data Out 5
See appendix 1
2109
32109, 42109
FB Process Data Out 6
See appendix 1
2110
32110, 42110
FB Process Data Out 7
See appendix 1
2111
32111, 42111
FB Process Data Out 8
See appendix 1
Table 10.