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.
Implement the IP settings of the inverter (server).
See: IP settings 
 
4.
Set Modbus baud rate.
 
–
Default setting: Automatic detection.
 
–
 
 
5.
Save parameter settings: 0x2022:003 (P700.03) = "on / start [1]".
 
6.
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.
 
 
An internal web server is supported. It can be addressed via the IP address defined in the 0x23A1:001 (P510.01) parameter. Protect access to the web server, e.g. with a firewall, and follow your internal IT security guidelines.
 
 
A firmware download from the PLC to the inverter via the network (also via FTP) only takes place under the following conditions:
• Required firmware version 05.01.x.x or higher
• Bootloader version 00.00.00.18 or higher
 
 
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
 
–
Function code 6, i. e. writing into a single register.
 
Example of an inverter with the node address 1:
Request frame by the client
Unit identifier
Function code
Register address
AC Drive control word
Data: 0b1100001 ≡ 0x0061
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 server (inverter)
Unit identifier
Function code
Register address
AC Drive control word
Data: 0b1100001 ≡ 0x0061
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 client
Unit identifier
Function code
Data
Register address
Network setpoint frequency (0.01)
0x01
0x06
0x08
0x35
0x04
0xD2
Response message from the server (inverter)
Unit identifier
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 client
Unit identifier
Function code
Data
Register address
Number of words
0x01
0x03
0x07
0xD1
0x00
0x01
Response message from the server (inverter)
Unit identifier
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.
0x23B0 (P508.00) Set = "Restart with current values [1]".
 
 
Parameter
Address
Name / setting range / [default setting]
Information
0x23B0
(P508.00)
Modbus TCP communication
(MBTCP comm.)
–
From version 04.00
 
Restart / stop communication
0
No action/no error
Only status feedback.
1
Restart with current values
Restart communication in order that changed settings of the interface configuration become effective.
2
Restart with default values
Restart communication with the standard values.
5
Stop network communication
Stop communication.
10
In progress
Only status feedback
11
Action cancelled
12
Fault