Modbus PVC To PowerFlex4M
Modbus PVC To PowerFlex4M
Modbus PVC To PowerFlex4M
The purpose of this document is to demonstrate how to configure PanelView Component to control a
PowerFlex 4M drive over Modbus communications.
The hardware configuration uses the built in RS232 port on the PanelView Plus connected to an AIC+
using a PM02 (or equivalent) cable. A special cable then connects the AIC+ to the PowerFlex 4 drive.
Below is a detail view of the hardware setup including details on the cable from the AIC+ to the drive.
The drive is then configured with the corresponding values for the following parameters. This will
allow the drive to be controlled through the DSI port. Please note the comm. parameters C302, C303
and C306 must match the Controller / PanelView Component settings configured in PanelView
Explorer.
Drive Parameter
P106 (Start Source)
P108 (Speed Reference)
C302 (Comm Data Rate)
C303 (Comm Node Address)
C304 (Comm Loss Action)
C305 (Comm Loss Time)
C306 (Comm Format)
Setting
5 Comm Port (DSI)
5 Comm Port (DSI)
4 19.2K
100 or unique address
0 Fault (default)
0 5 seconds (default)
0 - RTU 8-N-1 (default)
There are 5 registers that are used for basic control and status of the drive. Detailed tables displaying the
values for these registers are shown at the end of this document. The control registers include the logic
command (address 8192) and the speed reference (address 8193). The status registers include the logic
status (address 8448), the drive error codes (address 8449) and the speed feedback (address 8451).
When configuring the tags in PanelView Explorer, the address should use the complete address form for
a Modbus holding register (4XXXXX). By default, the tags should also reference the address + 1 to
read from / write to the correct address. For example, the logic status in the drive resides at address
8448. In PanelView Explorer, the tag should reference address 408449.
To write values to the control registers (logic command and speed reference), the tags in PanelView
Component must be configured as write only. By default all tags are set to Read\Write. To change
the tag access, select the Advanced button on the Tags tab and select Write from the Access drop
down for the specific tag.
Following are the Modbus registers in the PowerFlex 4 drive that are used to control and read status
from the drive. * Use momentary pushbuttons for writing the logic command word for each command
(forward, reverse, stop, etc) where the off state will be a value of 0.
Writing (06) Logic Command Data
Address (decimal) Bit(s)
Description
0
1 = Stop, 0 = Not Stop
1
1 = Start, 0 = Not Start
2
1 = Jog, 0 = No Jog
3
1 = Clear Faults, 0 = Not Clear Faults
00 = No Command
01 = Forward Command
5,4
10 = Reverse Command
11 = Change Direction (toggle)
6
Not used
7
Not used
00 = No Command
01 = Accel Rate 1 Enable
8192
9,8
10 = Accel Rate 2 Enable
11 = Hold Accel Rate Selected
KEPServer
00 = No Command
address 408193
01 = Decel Rate 1 Enable
11,10
10 = Decel Rate 2 Enable
11 = Hold Decel Rate Selected
000 = No Command
001 = Freq. Source
010 = Freq. Source
011 = Freq. Source
14,13,12
100 = Preset Freq. 1
101 = Preset Freq. 2
110 = Preset Freq. 3
111 = Preset Freq. 4
15
Not used
Address (decimal)
8193
KEPServer
address W408194
Address (decimal)
8448
KEPServer
address 408449
40
41
42
43
63
64
70
80
81
100
122