Commissioning

In the following, the steps required for controlling the inverter via Modbus are described.
 
Parameterization required
1.
Activate network control: 0x2631:037 (P400.37) = "TRUE [1]"
 
2.
Set network as standard setpoint source: 0x2860:001 (P201.01) ="Network [5]"
 
3.
Set Modbus node address.
 
–
Each network node must be provided with a unique node address.
 
–
 
 
4.
Set Modbus baud rate.
 
–
Default setting: Automatic detection.
 
–
If the automatic baud rate detection function is activated, the first 5 to 10 messages are lost after switch-on.
 
–
 
 
5.
Set Modbus data format.
 
–
Default setting: Automatic detection.
 
–
If the automatic data format detection function is activated, the first 5 to. 10 messages are lost after switch-on.
 
–
 
 
6.
Save parameter settings: 0x2022:003 (P700.03) = "on / start [1]".
 
7.
Switch the inverter off and then on again in order that the changed communication settings can get effective.
 
 
In the default setting, the "Run" function is assigned to digital input DI1. If network control is activated, this function serves as the "start enable" for starting commands via the network. Hence, digital input DI1 must be set to the HIGH level so the motor can be started via the network.
 
 
Starting/stopping the drive via Modbus
For starting/stopping the drive, Modbus register 42101 can be used.
–
The Modbus register 42101 is permanently assigned to the parameter 0x400B:001 (P592.01) (AC Drive control word).
 
–
In the frame, the leading 4 is omitted in the addressing process. The numbering of the registers starts with 1; addressing, however, starts with 0. Therefore the address 2100 (0x0834) is used in the frame when register 42101 is written.
 
Bits set in the AC Drive control word:
–
Bit 0 = Run forward (CW)
 
–
Bit 5 = Activate network control
 
–
Bit 6 = Activate network setpoint
 
Example of an inverter with the node address 1:
Request frame by the master
Slave address
Function code
Data
Register address
AC Drive control word
0x01
0x06
0x08
0x34
0x00
0x61
If the digital input DI1 ("Start enable") is set to HIGH level, the drive should start and the inverter should respond with the same frame as confirmation:
Response message from the inverter
Slave address
Function code
Data
Register address
AC Drive control word
0x01
0x06
0x08
0x34
0x00
0x61
 
Write the speed of the drive via Modbus
The drive speed can be changed via the modbus register 42102, see:
Example of an inverter with the node address 1:
Request frame by the master
Slave address
Function code
Data
Register address
Network setpoint frequency (0.01)
0x01
0x06
0x08
0x35
0x04
0xD2
Response message from the inverter
Slave address
Function code
Data
Register address
Network setpoint frequency (0.01)
0x01
0x06
0x08
0x35
0x04
0xD2
The drive now rotates with a frequency of 12.34 Hz.
 
Read the drive speed via Modbus
The drive speed can be read via the Modbus register 42002, see:
The function code 3 is used to read a single register or several interrelated register blocks, see:
Example of an inverter with the node address 1:
Request frame by the master
Slave address
Function code
Data
Register address
Number of words
0x01
0x03
0x07
0xD1
0x00
0x01
Response message from the inverter
Slave address
Function code
Data
Read bytes
Frequency (0.01)
0x01
0x03
0x02
0x04
0xD1
The drive rotates with a frequency of 12.33 Hz.
 
Restart of the communication
A restart of communication is required after changes of the interface configuration (e. g. node address and baud rate) in order that the changed settings become effective.
For restarting communication, there are two options:
a.
Switch inverter off and on again.
 
b.
0x2320 (P508.00) Set = "Restart with current values [1]".
 
 
Parameter
Address
Name / setting range / [default setting]
Information
0x2320
(P508.00)
Modbus communication
(Modbus comm.)
1 = restart communication in order that changed settings of the interface configuration become effective.
0
No action/no error
1
Restart with current values