L11 - Drive Programming With The New PowerFlex® 525 AC Drives - Lab Manual
L11 - Drive Programming With The New PowerFlex® 525 AC Drives - Lab Manual
Drives
properly using, calibrating, operating, monitoring and maintaining all Products consistent with all Rockwell Automation
or third-party provided instructions, warnings, recommendations and documentation;
ensuring that only properly trained personnel use, operate and maintain the Products at all times;
staying informed of all Product updates and alerts and implementing all updates and fixes; and
All other factors affecting the Products that are outside of the direct control of Rockwell Automation.
Reproduction of the contents of the Documentation, in whole or in part, without written permission of Rockwell Automation is
prohibited.
Throughout this manual we use the following notes to make you aware of safety considerations:
Identifies information about practices or circumstances
that can cause an explosion in a hazardous environment,
which may lead to personal injury or death, property damage, or economic loss.
Identifies information that is critical for successful application and understanding of the product.
Identifies information about practices or circumstances that can lead to personal injury or death, property
damage, or economic loss. Attentions help you:
identify a hazard
avoid a hazard
recognize the consequence
Labels may be located on or inside the drive to alert people that dangerous voltage may be present.
Labels may be located on or inside the drive to alert people that surfaces may be dangerous temperatures.
Contents
Before you begin ........................................................................................................................................... 5
About this lab .................................................................................................................................................................................... 5
Tools & Prerequisites ........................................................................................................................................................................ 5
Network Setup ............................................................................................................................................... 6
About the Demo Box ..................................................................................................................................... 7
Exercise 1: Using the HIM Keypad and Display ........................................................................................... 8
Information ........................................................................................................................................................................................ 8
Reset Drive to Defaults ................................................................................................................................................................... 12
Configuring Drive Parameters......................................................................................................................................................... 14
Exercise 2: Utilizing Ethernet/IP and Connected Component Workbench ............................................. 16
Connecting to the Drive .................................................................................................................................................................. 16
Exploring Drive Parameters via Parameter Groupings, AppView, and CustomView .............................................................. 19
PowerFlex 525 Start-Up Wizard ..................................................................................................................................................... 25
Exercise 3: PowerFlex 525 Drive Add-On Profile with Drives and Motion Accelerator Toolkit. ................. 34
About Integrated Drive Profiles and Premier Integration ................................................................................................................ 34
Using RSLogix 5000 with the PowerFlex 525 Drive Add-On Profile ............................................................................................... 35
About Drives and Motion Accelerator Toolkit (DMAT) .................................................................................................................... 46
Switch to the HMI Application ......................................................................................................................................................... 46
Faceplate Operation ....................................................................................................................................................................... 47
Appendix A: Overview of the DMAT ........................................................................................................... 55
Machine/Application/Device Module Relationship .......................................................................................................................... 56
Module Routine Overview ............................................................................................................................................................... 57
Machine Module.............................................................................................................................................................................. 58
Machine States ............................................................................................................................................................................... 58
Machine State Diagram .................................................................................................................................................................. 59
3 of 70
4 of 70
1769-L18ERM-BB1B v20.012
Files required
PF525_Lab.ACD
PF525_Lab.mer
Files are located in the C:\Lab Files\Drive Programming with the PowerFlex 525 AC
5 of 70
Network Setup
Ethernet Connections
1
2
3
6 of 70
PC
PF525
7 of 70
Review key information about the HIM keypad and display of the PowerFlex 525
Information
The PowerFlex 525 is easy to configure with flexibility in programming options to meet your application. One of which is the
Liquid Crystal Display (LCD) Human Interface Module (HIM). Some of its key features are as follows:
Improved visibility
Increased resolution
English
French
Spanish
Italian
German
Portuguese
Polish
Turkish
Czech
8 of 70
AppView: Dedicated sets of parameters grouped together for the following applications
o
Conveyor
Mixer
Compressor
Centrifugal Pump
Blower
Extruder
Positioning
Textile / Fiber
9 of 70
10 of 70
The following is an example of basic integral keypad and display functions. This example
provides basic navigation instructions and illustrates how to program a parameter.
11 of 70
2.
Make sure the L18ERM controller is NOT in Run Mode. If the RUN LED on the controller is lit, move the switch to
PROG (bottom/down) position then REM position (middle).
3.
4.
or
5.
6.
or Down
arrows until you see P053. If you wait one (1) second, you will
Use the Up
notice that the HIM display scrolls with P053 Reset to Defaults.
Note:
to enter the Basic Program group. The right digit of the last viewed
and Down
7.
Once
or Down
8.
button to confirm. The drive will fault with a scrolling message of F048 Parameters
Press the Enter
Defaulted See picture below.
9.
13 of 70
Take what you have learned about the keypad operation from the Reset Drive to Defaults section to make the
following Basic Program group parameter changes:
Note:
2.
3.
With the drives default out-of-the-box settings and including the above parameter changes, you are able to quickly
configure and control the drive with its HIM keypad. Press the Start
4.
5.
This parameter enables BootP or DHCP to set the IP address, subnet mask and gateway address with a BootP or
DHCP server. Identifies the connections that would be attempted on a reset or power cycle. Set C128 to
Disabled when using the drive parameters to set its Ethernet/IP communication configuration.
14 of 70
6.
In order for communication settings to take effect, cycle power to the drive by using the Drive Power
selector switch located in the bottom left corner of the demo box.
15 of 70
Connect to the PowerFlex 525 through the embedded Ethernet/IP via Connected Components Workbench
Create a CustomView
1.
Go to the computers desktop and double click the Connected Components Workbench
You will see the following splash screen while the software loads.
16 of 70
shortcut.
2.
Note:
You may want to maximize the Connected Components Workbench software to make viewing easier.
3.
There are many features to Connected Components Workbench. Mainly, we will be using the software to go online
with the PowerFlex 525. Click the [+] next to the Discover within the Device Toolbox.
4.
Click the Browse Connections button to launch the RSWho connection browser.
17 of 70
5.
The labs preconfigured RSLinx driver. Click on the [+] to expand AB_ETH-1, Ethernet, Click/Highlight the
192.168.1.20, PowerFlex 525 1P 110V .50HP device.
6.
Press the OK button to initiate the connection process. For a quick moment, you might see a connection status
window.
Otherwise, once the connection process is complete, you will see the following main screen with a green highlighted
Connected for the PowerFlex 525 within the Connected Components Workbench software.
18 of 70
There are many features supported by Connected Components Workbench for the PowerFlex 525 as shown below.
Take some time to explore them. Please keep in mind that some features are not implemented yet due to this drive
and software still in its beta stage such as DeviceLogix.
2.
The PowerFlex 525 Drive Add-On Profile has a nice new feature from Connected Components Workbench software
that will show the non-default parameters. This makes it easy for users to find out in a simple view what parameters
were changed from their default setting. This button only updates the set of parameters shown based on the upload. If
parameter x changes from defaults after clicking the button, it won't be added to the display until the view is
refreshed.
3.
Make sure All Parameters is selected within the Group dropdown selection box and then click the Show NonDefaults button as shown below.
4.
19 of 70
5.
Once the upload has completed you will see the parameters window update to just show only the non-default
parameters. Take a look, you will notice that the parameters you changed in Lab 1 appear in this list. Example shown
below.
6.
7.
To make viewing and editing parameters even simpler, you can enter a word or abbreviation into the filter value entry
box. For example, type Motor into the Filter Value entry box. Notice that it filters and only shows the parameters that
have the word motor in their parameter names.
Try some other examples such as Dig , Speed, 10 and see the results. Remember to clear/delete the entry when
finished.
20 of 70
8.
Under the Group: dropdown selection box, you can scroll through the different drive parameter groups, AppView and
the CustomView.
9.
These are the most simplistic parameters that are needed to start up/commission a PowerFlex 525 drive. Take some
time to explore some of the other parameter groupings such as Terminals, Communications and Advanced
Program for more startup/commission parameters.
21 of 70
10. The PowerFlex 525 drive has several AppView groupings that are tailored for a specific application to make the
respective drive startup/commission simpler. No more guessing what parameters you need to change, drive
parameters for that application are all in one convenient location.
For example, within the Group dropdown selection box, click on the Conveyor AppView. Scroll through these
application specific parameters, some are shown below.
11. The PowerFlex 525 drive has a CustomView which is an application set that can be customized specifically for your
application. You can add up to a max of 100 additional parameters and save the new CustomView.
Select CustomView from the Parameter Group dropdown selection box and click on the Edit Group button.
22 of 70
12. The Edit Custom Group window will appear. Here you will be able to select and add parameters into a nameable
custom group. In this example, type in ABCs Group in the Group Name box highlighted by #4.
Note:
You can also double click on the parameter to add it to the custom list rather than clicking the Add - > button.
Makes adding parameters go a lot faster.
13. Add the following parameters:
Parameter 30 - Language
Parameter 31 - Motor NP Volts
Parameter 32 - Motor NP Hertz
Parameter 33 - Motor OL Current
Parameter 34 - Motor NP FLA
Parameter 35 - Motor NP Poles
Parameter 36 - Motor NP RPM
Parameter 37 - Motor NP Power
Parameter 39 - Torque Perf Mode
Parameter 40 - Autotune
Parameter 41 - Accel Time 1
Parameter 42 - Decel Time 1
Once the parameters have been added Click OK.
23 of 70
14. Notice how the parameters entries from above are all now in the ABCs Group CustomView for easy parameter
viewing and editing.
Click [X] in the upper right hand corner to Close the Parameters PowerFlex 525_1* window.
24 of 70
2.
Below is the Welcome screen for the PowerFlex 525 Startup Wizard. Click the Next >
with exploring the startup wizard.
3.
Below is the Reset Parameters page. Here you have a couple different options.
Reset all settings to factory defaults but retain the custom parameter group.
Reset all settings to factory defaults (including the custom parameter group).
25 of 70
button to proceed
Click the Reset button for the first option, Reset all settings to factory defaults but retain the custom parameter
group
5.
Go through, verify and if needed, modify the parameters according to the following screenshots.
Remember to Click the Next >
27 of 70
28 of 70
29 of 70
30 of 70
6.
Once changes have been made, Go to the Pending Changes page for a summary of the planned programming
changes you have made to the PowerFlex 525 drive.
The main PowerFlex 525 window will be present. Click the Reset
settings to take affect.
Click OK. You will hear the PowerFlex 525 cycle power and the HIM Keypad display turn off and on and start scrolling
the drive power ratings
31 of 70
8.
This is a pretty quick process. You will see the following screen.
Click OK.
9.
You will screen the main PowerFlex 525 screen go from this
to this oncethe Connected Components Workbench software has re-established its connection with the drive.
32 of 70
33 of 70
Exercise 3: PowerFlex 525 Drive Add-On Profile with Drives and Motion Accelerator Toolkit.
This section will provide an early preview of the PowerFlex 525 Drive Add-On Profile RSLogix 5000 as well as the PowerFlex
525 Drives and Motion Accelerator Toolkit Add-On Instructions and Faceplates for the PowerFlex 525.
Providing one software tool to configure the entire Logix / drive system.
Configuring both controller and drive network connections from a single location - eliminating I/O mismatch errors.
Allowing the dynamic selection of drive parameters transmitted as network I/O communicating only what is
needed for the application.
Auto-generating descriptive tag names - eliminating the need to enter individual tag descriptions.
Auto-generating respective tag data types - eliminating the need to convert from one data type to another.
Saving all drive configurations in the RSLogix project file and in the Logix controller providing a single source of
drive configuration data.
Providing Copy & Paste capability when creating additional duplicate drives also duplicates the drive
configuration settings so all the new drive needs is a different node address.
Allowing use of the same easy-to-use drive configuration Wizards used in Connected Components Workbench,
DriveTools SP, and DriveExplorer.
Systems using the Integrated Drive Profiles in RSLogix 5000 are also easier to maintain:
Drive diagnostic, fault, alarm and event information is integral to RSLogix 5000.
Drive Tech Support Wizard can be run from RSLogix 5000 to collect all pertinent information about a drive, its
peripherals, various software components, and PC operating system.
Having a single repository of drive configuration data (in RSLogix project file) speeds drive replacement.
Integrated Drive Profiles are "Add-On" Profiles, meaning new profiles can be introduced at any time (not tied to a specific
RSLogix 5000 release) and are utilized by RSLogix 5000.
34 of 70
Using RSLogix 5000 with the PowerFlex 525 Drive Add-On Profile
1.
2.
A pre-configured RSLogix 5000 program has already been created for your convenience.
Click the Open folder
35 of 70
3.
Open the PowerFlex 525-EENET module properties by Double-click on the PowerFlex 525-EENET node in the I/O
Configuration folder to display the Module Properties screen.
4.
36 of 70
5.
button. This opens the properties window and the Setup tab, which shows some
= Creates device database from online drive to add new revisions and configurations
= Reset device data to factory defaults
= Print
6.
Click on the Communications tab to view the settings you can manually configure the PowerFlex 525 drive ethernet
network settings or obtain via BOOTP or DHCP.
7.
There is also import / Export for the PF525 USB connection file format, .pf5. It can be used for saving/restoring
configurations. IT DOES NOT import *.dno / *.csf files from Drive/Executive/Explorer.
8.
Click on the [X] in the upper right hand corner to close the Properties window.
37 of 70
9.
The Parameters
icon launches the Parameters window. This is the same as what you performed in the
previous section with using the Connected Components Workbench software to go online with the drive, view and
modify parameters with the Parameter, AppView and CustomView groups
10. Click on the [X] in the upper right hand corner to close the Parameters window
11. Going back to the PowerFlex 525-EENET Module Properties screen, Click on the General tab.
The General tab is used to set the following drives name, ethernet address and module definition.
38 of 70
Create Database from the online drive or download from the web.
The PowerFlex 525 Add-On Profile provides the ability to configure Up to 4 words of Input Data and 4 words
of Output Data can be defined for the embedded Ethernet connection. By default, drive status and control
information will be communicated. The PowerFlex 525 allows datalinks to be configured to drive parameters.
Status Information
The DriveStatus word contains the Logic Status bit information, such as Ready, Fault, and At Reference.
The Feedback word contains the speed feedback information, which shows the actual operating frequency
(Hz) of the drive.
Control Information
The DriveLogicRslt word contains command bit information, such as Stop, Start, Forward, Reverse, and
Clear Faults. The Reference word contains the commanded reference value for the drive to run.
Datalinks
Datalinks are pointers to drive and/or other port parameters. Instead of offering fixed I/O assemblies where
what-you-see-is-what-you-get, our drive I/O assembly is dynamic and gives the programmer the ability to
pick & choose the desired parameters to communicate as network I/O.
39 of 70
Click on the [X] in the upper right hand corner to close the Module Definition window
14. If your application required multiple duplicate drives, you could right-click on the PowerFlex 525-EENET to copy it and
then right-click on the Ethernet network and paste it as many times as needed. All node information is copied,
including the drive parameter settings. All the user has to do is change the IP address, and give the drive a new
name. Integrated Drive Profiles are not only easy-to-use; they also allow larger systems to be designed faster.
40 of 70
It may be necessary to drag the Name column right margin in the header to view the full input tag names.
Descriptive tag names have been created for the configured I/O. The Drive Status bits (BOOLs) are clearly defined as
well as the Feedback. Note that the proper data types are used for every tag.
41 of 70
Descriptive tag names have been created for the configured I/O. The Logic Command bits (BOOLs) are clearly
defined as well as the Frequency Command. Note that the proper data types are used for every tag.
Close the Controller Tags window by clicking the lower [X] button in the upper-right corner of the screen.
17. Click on File and Close the RSLogix 5000 program
42 of 70
19. Open the PowerFlex 525-EENET module properties by Double-click on the PowerFlex 525-EENET node in the I/O
Configuration folder to display the Module Properties screen.
button and Expand the AB_ETH-1, Ethernet drive and Select the 192.168.1.20,
Click OK.
43 of 70
22. For a brief moment, you will see a downloading progress bar while the parameter settings are being sent to the drive.
24. Download the PF525_Lab project to the controller by clicking on Communications then Who Active.
Make sure the path to the CompactLogix controller at 192.168.1.10 via the AB_ETH-1 ethernet driver is selected and
click Download.
25. Click Download again
44 of 70
45 of 70
Minimize RSLogix 5000 so that the HMI screen on the desktop can be seen.
2.
3.
The Startup screen provides Machine Status and Control, plus it allows navigation to all other screens. Take a
moment to familiarize yourself with the Startup screen before moving on to the next section. It may look a little
different, depending on the status of the machine.
46 of 70
4.
button.
While in Program mode, the Machine operates based on the following state diagram
The states with a dashed outline indicate a transitional state; while the solid line indicates an end state.
Depending on your current machine state, use the following commands to transition between states:
ABORTED Press Clear Faults
Note: The machine is placed into the ABORTED state whenever a drive fault condition and/or a state transition error
has been detected. The machine is also placed into the ABORTED state on Power Up or during first scan (i.e.
Program to Run Mode) of the controller. Refer to the Alarm History faceplate to determine the cause for the
ABORTED condition.
When you are done with the Equipment Status faceplate, close it by pressing the [X] in the top-right corner.
Faceplate Operation
The Startup screen display provides machine control as well as the main navigation screen to launch all other faceplates or
screens that provide additional equipment control, status, and alarm history. This display can be configured to suit your machine
or system needs.
Machine Control
Program (AUTOMATIC) mode refers to the automatic function or automatic sequencing for the machine. Operator (MANUAL)
mode allows for some manual operations, like start, stop, forward, reverse, jog, etc. The machine status indicators provide a
summation view of all the devices for the entire machine. The Program/Operator selector button lets you toggle between the two
modes.
The Clear Faults button attempts to clear faults on all devices. The condition that caused the fault must be corrected before the
clear is successful.
47 of 70
After a few moments the machine should transition to the STOPPED state.
2.
Press Program/Operator button until Program is displayed. Program (AUTO) is now the active control mode.
3.
.
Press Start
The system begins operating according to the RSLogix 5000 program.
Press Stop
The system stops.
5.
Press Program/Operator.
The machine must be stopped before you can switch control modes. When in Operator (MANUAL) mode, you can
individually control each axis from its corresponding faceplate.
6.
Press the
The PowerFlex 525 faceplate provides status information, fault information, and trending data. The faceplate also
includes the ability to manually control the drive.
7.
Click on the outlined numeric entry to display keypad to change the speed reference of the drive.
9.
49 of 70
button.
If a fault condition exists, the icon flashes RED. The Fault display determines the fault information from the drive and
displays the fault type, code and description. If there is no active fault, the display shows the last fault condition
recorded.
To easily generate a fault. On the PowerFlex 525 demo box, Put DI1 in the left position.
50 of 70
button...
The Help screen displays the fault descriptions and actions. Press the arrows to switch between screens.
You can clear faults from the Startup screen or, if in Operator mode, from the Fault display. The Alarm History
screen logs fault information from all of the devices.
When you are finished, put DI1 back into the right position and Clear the fault.
Press the
12. Press the
button
From the Configuration screen you can enter display names and units as required for your application.
Some of the labels are used on the Equipment Status faceplate.
51 of 70
button
The Trend screen lets you view Speed Feedback and any other pens are setup up.
The Trend Configuration button is only visible on the Trend screen.
button...
The Trend Configuration screen lets you adjust the trend scales.
52 of 70
The Alarm History faceplate can be an effective diagnostic tool for troubleshooting, helping machine operators pinpoint root
causes quickly.
When you are done with the Alarm History faceplate, close it by pressing the Close button on the bottom of the screen.
53 of 70
You can configure up to nine device faceplates to run with the Equipment Status screen and each device faceplate can be
launched directly from it.
When you are done with the Equipment Status faceplate, close it by pressing the [X] in the top-right corner.
You have completed the Drive Programming with the PowerFlex 525 AC Drives Lab.
If time permits, review Appendix A: Overview of the DMAT.
54 of 70
Machine
o
The machine module contains the high level control for the entire machine. The machine module was built
around a simple state machine that you can customize to fit most applications. The machine module
broadcasts out commands and receives feedback information from each of the application and device
modules. Based on the feedback information, the machine will react accordingly.
In addition, the machine module provides a high level interface with the HMI, accepting commands like Start,
Stop, and Clear Faults. It provides status info to the HMI terminal like current state of the machine (for
example, RUNNING versus STOPPED).
Application
o
The application modules contain all of the application specific code. This is where a majority of the
customizing is expected to occur and is essentially a programming space where you spend a significant
portion of your efforts to develop proprietary logic specific to your application.
Device
o
Device modules contain all of the logic to control the essential functions required by the device. This logic
reduces the programming effort required by most applications providing more time for the proprietary logic
needed for the application.
Typically, the device module consists of a physical drive, but could also consist of a virtual or feedback-only
axis. Device modules can also consist of multiple devices (for example, a drive) and perhaps a feedback
device (for example, a sensor).
55 of 70
Each of the modules are defined as individual programs in the Logix Project.
Each program contains all of the necessary logic to interact with the other configured modules. This interface between each of
the modules is accomplished via the Monitor and Control routines located in each of the programs. The machine commands and
corresponding module status is routed through the Monitor and Control routines. This lets the modules operate independently in
a modular structure.
56 of 70
57 of 70
Machine Module
The machine module contains the high level control for the entire machine. The machine module was built around a simple state
machine that you can customize to fit most applications. The machine module broadcasts out commands and receives feedback
information from each of the application and device modules. Based on the feedback information, the machine will react
accordingly.
In addition, the machine module provides a high level interface with the HMI, accepting commands like Start, Stop, and Clear
Faults. It provides status info to the HMI terminal like current state of the machine (for example, RUNNING versus STOPPED).
Machine States
By default, the machine program module operate based on the below overall state diagram.
58 of 70
The machine module uses the Transitional States to move between Permanent States. Typically, the machine only remains on a
Transitional State for brief period of time. If the machine module detects an error during a Transitional State or if the application
or device modules fail to transition within an allotted time (10 seconds by default), the machine module issues an ABORT
command. The fail safe transition timer makes sure the overall machine does not become stuck in a Transitional State. It also
helps to provide diagnostic information to determine which module is not transitioning properly.
You can fully customize the state machine, letting you change the relationship between states and the state names, and add or
remove states if needed. Refer to the Drives and Motion Accelerator Toolkit (DMAT) Quick Start publication (iasimp-qs019_-enp.pdf) Appendix B, for information on how to customize the state machine.
59 of 70
60 of 70
Machine Tags
61 of 70
The status bits are set in the Monitor routine of the corresponding modules. These status bits are vital to the machine module, as
they are used to determine the overall status of the machine. They help the machine transition between states or detect a fault
and respond accordingly. All of the module status information is summarized in the Monitor routine of the machine module.
For this Drives and Motion Accelerator Toolkit (DMAT) application example, the rungs are found in the R02_Monitor routine of
the P01_Machine program.
62 of 70
63 of 70
64 of 70
Application Modules
The application modules contain all of the application specific code. This is where a majority of the customizing is expected to
occur and is essentially a programming space where you spend a significant portion of your efforts to develop proprietary logic
specific to your application. In this example, application code is shown within the R10_ApplicationCode routine of the
P02_Application program.
In this example below, is only a part of the application code is shown for the DMAT assembly application.
65 of 70
66 of 70
Device Modules
Device modules contain all of the logic to control the essential functions required by the device. For this DMAT example, we are
using the PowerFlex 753 / 755 HMI faceplate and AOI instruction which has preprogrammed start, stop, speed reference, Accel
and Decel times. This logic reduces the programming effort required by most applications providing more time for the
proprietary logic needed for the application.
Typically, the device module consists of a physical drive, but could also consist of a virtual or feedback-only axis. Device
modules can also consist of multiple devices, for example, a drive and perhaps a feedback device, for example, a sensor.
Device Module Tags
The application and individual device modules interact with each other via device specific control tags that include both
command and status information. The control tags consist of these data types.
All of the data types listed above can be modified to fit specific needs of your application. However, modifications to the data
types could have an impact on the device module and/or other preprogrammed logic, especially during import of additional
device modules.
For example, the UDT_ServoCtrl data type that is used by the integrated motion drives (CIP Motion and Sercos interface based
drives) consists of these tags.
67 of 70
UDT_ServoCtrl Tag
The user-defined type for the Kinetix 300 drives and the add-on defined data type for the PowerFlex drives serve similar function
as the UDT_ServoCtrl data type, however their layouts differ. Refer to the specific data types for more information.
68 of 70
69 of 70
Notes:
70 of 70