Modbus PVC To PowerFlex4M

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 4

Configuring PanelView Component to Control a PowerFlex 4M Drive Using Modbus

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

Writing (06) Reference


Description
A decimal value entered as xxx.x where the decimal
point is fixed. For example, a decimal "100" equals
10.0 Hz, "543" equals 54.3 Hz, etc.

Reading (03) Logic Status Data


Bit(s)
Description
0
1 = Ready, 0 = Not Ready
1
1 = Active (running), 0 = Not Active
2
1 = Cmd Forward, 0 = Cmd Reverse
1 = Rotating Forward, 0 = Rotating
3
Reverse
4
1 = Accelerating, 0 = Not Accelerating
5
1 = Decelerating, 0 = Not Decelerating
6
1 = Alarm, 0 = No Alarm
7
1 = Faulted, 0 = Not Faulted
8
1 = At Reference, 0 = Not At Reference
9
1 = Reference Controlled by Comm
10
1 = Operation Cmd Controlled by Comm
11
1 = Parameters are locked
12
Not Used
13
Not Used
14
Not Used
15
Not Used

Reading (03) Drive Error Codes


Value
Address (decimal)
Description
(decimal)
8449
0
No Fault
2
Auxiliary Input
KEPServer
3
Power Loss
address 408450 4
Undervoltage
5
Overvoltage
6
Motor Stalled
7
Motor Overload
8
Heatsink Overtemperature
12
HW Overcurrent (300%)
13
Ground Fault
29
Analog Input Loss
33
Auto Restart Tries
38
Phase U to Ground Short
39
Phase V to Ground Short

40
41
42
43
63
64
70
80
81
100
122

Phase W to Ground Short


Phase UV Short
Phase UW Short
Phase VW Short
Software Overcurrent
Drive Overload
Power Unit Fail
AutoTune Fail
Communication Loss
Parameter Checksum Error
I/O Board Fail

Reading (03) Output Frequency (Feedback) (See Note)


Address (decimal) Description
8451
A xxx.x decimal value where the decimal point is
fixed.
KEPServer
For example, a decimal "123" equals 12.3 Hz, "300"
address 408452 equals 30.0 Hz, etc.
Note: Returns the same data as Reading (03) Parameter d001 [Output Freq]

You might also like