L07 - Integrated Motion On Ethernet/IP - Basic Lab: For Classroom Use Only!
L07 - Integrated Motion On Ethernet/IP - Basic Lab: For Classroom Use Only!
The variety of uses for the hardware, software and firmware (hereinafter “Products”) described in this Documentation, mandates
that those responsible for the application and use of those Products must satisfy themselves that all necessary steps have been
taken to ensure that each application and actual use meets all performance and safety requirements, including any applicable
laws, regulations, codes and standards in addition to any applicable technical documents.
In no event will Rockwell Automation, Inc., or any of its affiliate or subsidiary companies (hereinafter “Rockwell Automation”) be
responsible or liable for any indirect or consequential damages resulting from the use or application of the Products described in
this Documentation. Rockwell Automation does not assume responsibility or liability for damages of any kind based on the
alleged use of, or reliance on, this Documentation.
No patent liability is assumed by Rockwell Automation with respect to use of information, circuits, equipment, or software
described in the Documentation.
Except as specifically agreed in writing as part of a maintenance or support contract, equipment users are responsible for:
• 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 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.
Integrated Motion on Ethernet/IP – Basic Lab
Contents
Before you begin ........................................................................................................................................... 4
About this lab .................................................................................................................................................................................... 4
Tools & prerequisites ........................................................................................................................................................................ 5
3 of 58
Before you begin
Prerequisite is to be familiar with Logix Designer software and programming. When the computer is booted, a FactoryTalk View
ME Station program will start. You will use that Human Machine Interface (HMI) throughout the lab. If you close it at any time,
you will need to open it again from the Lab Files folder on the desktop in order to operate the lab correctly.
You will see how easy it is to create an Integrated Motion Solution as you do the following:
Create and configure motion axes using Logix Designer
Learn basic motion-direct commands to simplify commissioning
Configure the tuningless features for the Kinetix 5500 drives
Learn some basic troubleshooting techniques
4 of 58
Tools & prerequisites
For this hands-on lab, we have provided you with the following materials that will allow you to complete the labs in this workbook.
Software
Logix Designer v30.00
FactoryTalk View ME Station v9.00
RSLinx Classic v3.90.00
Hardware
Computer with Windows 10 operating system
CompactLogix 1769-L36ERM Demo (DEMO-CMXL361)
Kinetix 5500 3-axis Demo w/ PowerFlex 527 (09P096G)
Ethernet Patch Cables
3 x RJ45 to RJ45 (2m length)
2 x RJ45 to RJ45 (1m length)
Required Files
Demo_Integ_Motion.ACD
Integ_Motion_K5500_PF527_ViewME.MER
Lab_1_Integ_Motion_Configure.ACD
Lab_2_Integ_Motion_Commission.ACD
Lab_3_Integ_Motion_Program.ACD
Lab_4_Integ_Motion_Troubleshoot.ACD
Rung_3_Import.L5X
Optional Files
Sample_MCD_Import.L5X
Lab_4_SOLUTIONS.pdf
Tuningless Features for the Kinetix 5000 Servo Drive Family.pdf
5 of 58
Network Setup
This is the recommended configuration for the lab, however due to the variable nature of EtherNet/IP topologies, many other
configurations will also work.
5 Kinetix 5500 Drive 02, Port 1 To Kinetix 5500 Drive 01, Port 2
Ethernet IP Addresses:
Computer 192.168.1.1
6 of 58
About the CompactLogix Demo
Use the image provided to locate these items on the demo and verify the lab setup:
Verify the demo power switch labeled “120/220V” is “on”.
Verify the circuit breaker is “on”.
7 of 58
About the Kinetix 5500 and PF527 3-Axis Demo
Use the image provided above to locate these items on the demo and verify the lab setup.
Verify that the demo power switch is “on”.
Verify that the circuit breaker is “on”.
Verify that the switch labeled “K5500 DRIVE POWER” is “on”.
Verify that the switch labeled “PF525 DRIVE POWER” is “on”. (Replaced with a PF527)
Verify that the red mushroom button labeled “SAFE OFF” is pulled “out”.
8 of 58
Demonstration (Estimated Time 10 minutes)
Before starting the formal lab, let’s begin with a brief demonstration showing a completed file. During the demonstration, you will
be able to control a complete 3 axis solution with an HMI. Following the demonstration, you will move into the formal lab where
you will learn how to configure, commission, program, and troubleshoot a motion system with detailed step-by-step directions.
2. From the Open column, choose the Existing Project -> Project File icon.
3. Browse to the folder Lab Files on the desktop and open Demo_Integ_Motion.ACD.
Logix Designer opens.
9 of 58
5. Navigate to the AB_ETHIP-1 driver and select the device at 192.168.1.12, the CompactLogix processor.
If the path is not already set in the controller, click Set Project Path.
6. Open the door on the front of the processor to reveal the Secure Digital card and the operation mode switch.
Verify that the switch is in the REM (remote) position. Ensure that the Kinetix 5500 and PowerFlex 527 drives
are each “powered up”.
9. When downloading completes, place the controller back into Run Mode by clicking Yes in the dialog box.
NOTE: If the dialog box does not appear, go to and select Run Mode.
Click Yes in the dialog box that appears.
10 of 58
10. Verify that the controller is “communicating”.
1. Minimize Logix Designer so that the HMI screen on the desktop can be seen.
2. Click Start The Lab on the screen of the HMI to load the Startup screen.
After a few moments the machine should transition to the STOPPED state.
11 of 58
2. Press Program/Operator button until Program is displayed. Program (AUTO) is now the active control mode.
3. Press Start.
The axes enable and begin operating according to the Logix Designer program.
You should see all three axes begin to rotate. If you look closely, you might be able to tell that Axis02 appears to be
following Axis01 but at approximately half the speed. The program in Logix Designer is gearing Axis02 to Axis01 at a 2:1
(Master : Slave) gear ratio, while Axis03 jogs at a constant speed using a Motion Drive Start instruction.
4. Press Stop.
The motion system stops.
1. Press the button from the Startup screen to launch the faceplate.
The CIP Motion Axis faceplate provides axis status information, fault information, and trending data. The faceplate also
includes the ability to manually control the axis.
From the Axis CTRL display, you have the ability to enable, disable, home, move, jog, and clear an axis fault.
12 of 58
3. Press the Program/Operator button so that Operator is displayed. Operator (MANUAL) mode is now the active
control mode.
5. Press the Jog/Move button to select between the 2 types of manual control.
6. To set to jog speed, click on the corresponding Jog Spd display box to launch the keypad.
The units for both Jog and Move manual control are in revolutions or ‘revs’ and ‘revs/sec’.
NOTE: Some of the numbers shown are both indicators and keypad input buttons. For example, the Jog
Spd indicator displays the actual speed feedback of the drive, not the desired jog speed. However, by
clicking the indicator you launch the keypad input object where you can enter the desired jog speed.
7. Take a few minutes to manually control the axis by executing a Jog command. To move the axis, press and
hold the Jog Fwd or Jog Rev buttons.
13 of 58
Lab 1: Configure a Motion System (Estimated Time 10 Minutes)
In this lab, we will introduce you to the CompactLogix programmable automation controller, the Kinetix 5500 servo drive, and the
Logix Designer interface by stepping you through the configuration of a motion system.
2. Browse to the folder Lab Files on the desktop, and open the Lab_1_Integ_Motion_Configure.ACD file. When
you open the file, the Controller Organizer appears on the left side of the Logix Designer window.
14 of 58
3. Select Controller Properties from the Edit menu.
The Controller Properties window opens.
NOTE: The controller type has already been selected for you. With the 1769-L36ERM CompactLogix
controller, the slot and chassis type cannot be changed by the user.
15 of 58
4. Select the Date/Time tab and check the Enable Time Synchronization box to enable Integrated Motion on
EtherNet/IP in your project.
16 of 58
Add Drive Hardware
Next you will add a Kinetix 5500 drive (Drive02) to the I/O configuration. Drive01 and Drive03 (Kinetix 5500 & PowerFlex 527)
have already been pre-configured for you.
2. In the search box, type ‘5500’ and watch as the list repopulates. Select the catalog number 2198-H003-ERS
and click Create.
17 of 58
3. On the General tab in the New Module window.
TIP: The Kinetix 5500 IP address can be configured from the HIM of the drive OR you can use DHCP to
assign an IP address. On the HIM navigate to Settings -> Network -> Static IP to change the static IP
address or Settings -> Network -> DHCP to set up DHCP.
18 of 58
5. To complete the drive configuration, right-click on Drive02 and select Properties.
19 of 58
7. On the Digital Input tab, set Digital Input 1 & 2 to Unassigned, since we will not be using them.
20 of 58
Configure Axis Properties
In this section you will configure a new axis (Axis02) for the Kinetix 5500 and associated VPL motor. Axis01 and Axis03 have
already been configured for you.
1. Right click on the MotionGroup, and select New Axis -> AXIS_CIP_DRIVE
2. Name the axis Axis02, check the Open AXIS_CIP_DRIVE configuration check box and click Create.
21 of 58
3. From the General tab of Axis02 Properties, associate the Kinetix 5500 named Drive02 to Axis02.
4. Click Apply.
22 of 58
5. We’re going to leave this axis in Position Loop, so navigate to the Motor tab.
23 of 58
6. Click Apply to save changes.
7. From the Scaling tab, change the units to ‘revs’ and click Apply to save changes.
24 of 58
8. Click the Verify Controller button on the Logix Designer toolbar.
The system verifies your Logix controller program and displays error/warnings, if any, in the status window.
9. Select Save As… from the File menu and save your program using a name of your choosing.
25 of 58
Lab 2: Commission a Motion System (Estimated Time 15 Minutes)
In this lab we will guide you through the process of commissioning an Integrated Motion System. You will download your
controller project, execute a hookup test on an axis, configure an axis for tuningless operation, and control an axis with Motion
Direct Commands.
NOTE: This lab builds from Lab 1: Configure a Motion System. If you have not completed Lab 1, begin this
lab by opening the Lab_2_Integ_Motion_Commission.acd file in the Lab Files folder on the desktop.
Verify the controller path is set to AB_ETHIP-1\192.168.1.12, otherwise, highlight the controller and click Set Project Path.
3. Verify that the operation mode switch on the controller is in the REM (remote) position. Ensure that the Kinetix
5500/PF527 demo is fully “powered-up”.
26 of 58
6. When downloading completes, place the controller back into Run Mode by clicking Yes in the dialog box.
NOTE: If the dialog box does not appear, go to and select Run Mode.
Click Yes in the dialog box that appears.
27 of 58
9. Open the Controller Properties in the Edit menu, and navigate to the Date/Time tab.
10. Click the ‘Set Date, Time and Zone from Workstation’ to set the current date and time in the controller. Click
OK.
28 of 58
Execute Axis Hookup Tests
In this section of the lab, you will run the Motor and Feedback Hookup Test. The Motor and Feedback test applies motion to the
motor allowing the user to verify the power and feedback connections between the drive and motor. This test also establishes
the forward or positive direction of axis motion.
Verify the Test Distance is ‘1.0’ rev. This will provide enough axis travel to detect a marker. Test State should display
Ready.
The Motor and Feedback Hookup Test makes the axis move even when the controller is in program mode.
29 of 58
4. The Motor and Feedback Test window opens.
You should observe Axis02 move approximately one revolution in the CW direction.
5. When the motor has completed one revolution and the drive has received the encoder signals correctly, the Test
State will change from Executing to Passed.
Click OK.
6. Click Yes if the axis moved in the forward or positive (CW) direction.
30 of 58
7. Click Accept Test Results to update/save the Motor and Feedback Polarity settings.
31 of 58
Configure Kinetix 5500 Drives for Tuningless Operation
Closed-loop servo systems require settings for the control loop gain and filter values to ensure that the load accurately follows
the desired input-command signal. The process of adjusting and refining the gain and filter configuration is called tuning.
With the tuning features of the Kinetix® 5000 servo drive family (Kinetix 5500 and Kinetix 5700 drives), tuningless operation can
now be achieved without compromising performance.
Load Observer
Let’s begin by configuring the Load Observer feature for Axis02.
1. If the Axis Properties window is not already open, right-click on Axis02 and select Properties.
The Axis Properties window opens.
2. Navigate to the Autotune page. Set the Application Type to ‘Custom’, and clear the ‘Torque Low Pass Filter’
checkbox.
32 of 58
3. Navigate to the Load tab and verify that the Load Ratio is zero; otherwise, set it to 0.
33 of 58
4. Under the Load category, select Observer. From the drop down select Load Observer with Velocity Estimate
and click Apply.
Once applied the Load Observer Bandwidth and other gains are set automatically.
The Load Observer feature operates in real time while the machine is running. During machine operation, the Load
Observer estimates the mechanical load inertia on the motor and compensates for it. The result is that the drive controls the
motor as if it is unloaded, which provides a relatively high level of drive performance. In addition, the drive automatically
compensates for mechanical variations in the system such as changing loads, compliance, and machine wear over time.
34 of 58
Tracking Notch
Now let’s configure the Tracking Notch feature for Axis02.
2. From the Adaptive Tuning Configuration pull-down menu, choose Tracking Notch and click Apply to save
the changes.
That’s it!! The Tracking Notch filter operates in real time while the machine runs. During machine operation, the drive
measures the mechanical resonances in the system and dynamically sets the notch filter frequency to mitigate the
resonances.
By using both the Load Observer and the Tracking Notch filter in Kinetix 5000 drives, most applications no longer require
tuning procedures and tests during the commissioning process to achieve an effective level of machine performance.
35 of 58
Use Motion Direct Commands
Motion Direct Commands let you issue motion commands without having to write or execute an application program. You must
be online with the controller to execute a Motion Direct Command. Let’s see how these work using Axis02 of the project.
1. Before running the Motion Direct Commands, verify the drives are “ready”.
Check the drive status:
Module light should be solid green.
Network light should be solid green.
The Kinetix 5500 and PF527 drives should both display “STOPPED” at the top of their displays.
36 of 58
3. Take a moment to look through all the commands available to you by moving the mouse cursor over the
instructions.
The MSO instruction enables the specified axis by activating both the drive amplifier and drive control loop.
5. Click Execute.
6. You should see an indication that the command was executed in the Errors window.
37 of 58
7. Select the Motion Axis Jog (MAJ) instruction.
8. Click Execute.
Once the Execute button has been pressed, the axis will immediately begin to move.
9. The axis should be rotating at ‘3 revs/s’. Though this speed can be monitored in the controller, you can verify
this visually.
38 of 58
Varying the Speed of the Axis Using a Motion Direct Command
2. Click Execute.
You should see a clear increase in the rotational speed of the axis.
Remember, we initially had configured the axis to jog at 3 revs/s. Now it’s rotating at four times that speed and without
having to write an application program – everything was done “on the fly” using Motion Direct Commands!
39 of 58
Stop the Axis Using a Motion Direct Command
The MAS instruction will initiate a controlled stop of any motion process on the designated axis.
2. Click Execute.
3. When the axis has slowed to a stop, select and execute the Motion Servo Off (MSF) instruction.
The MSF instruction disables the specified axis by deactivating both the drive amplifier and the drive control loop.
4. Click Execute and the Kinetix 5500 should now show a STOPPED status on the HIM.
5. If you have additional time, use what you’ve learned about Motion Direct Commands with Axis03.
40 of 58
Lab 3: Program a Motion System (Estimated Time 20 Minutes)
In this lab you will learn motion programming concepts by building a motion program, using basic motion instructions, and
navigating the Logix Designer interface.
NOTE: This lab builds from Lab 2: Commission a Motion System. If you have not completed Lab 2, begin
this lab by opening the Lab_3_Integ_Motion_Program file in the Lab Files folder on the desktop and
downloading it to the controller.
To download:
- Select Download in the Communications menu.
- Click Download in the dialog box that appears.
When downloading completes, place the controller back into REM RUN mode.
1. Under the MainTask in the Controller Organizer, expand the P01_Application folder, and double click on the
R10_ApplicationCode routine to open the Ladder Editor.
41 of 58
2. Take a moment to examine the application logic.
You’ll notice there are two sections of code: the RUN SEQUENCE and the STOP SEQUENCE.
The run sequence follows a programming structure called a sequencer and currently consists of a single step. When the
controller receives a start command, from the HMI for example, the RunSEQ[0] tag will be set to a 1, and the run sequence
will execute.
Similarly, when the controller receives a stop command, the StopSEQ[0] tag will be set to a 1, and the stop sequence will
execute.
Let’s observe how these sequences work.
3. Minimize Logix Designer so that the HMI screen on the desktop can be seen.
After a few moments the machine should transition to the STOPPED state.
42 of 58
5. Press Start, and then return to the Logix Designer window.
The axes enable and begin operating according to the RUN SEQUENCE logic. The RUN SEQUENCE currently consists of
a single step in which Axis01 moves 10 revolutions at a speed of 2 revs/sec. When the move completes, the Motion Axis
Move instruction transitions to the Process Complete (PC) status and the MOV instruction sets the RunSEQ[0] tag to 999 to
indicate that the sequencer has completed.
Now let’s examine the STOP SEQUENCE.
6. Minimize Logix Designer so that the HMI screen on the desktop can be seen.
43 of 58
7. Press Stop, and then return to the Logix Designer window.
44 of 58
Use a Motion Axis Jog Instruction
Now let’s practice using what you’ve learned by adding a step to the RUN SEQUENCE.
1. Go offline with the current file by selecting Go Offline from the Communications menu.
2. Highlight Rung 1, right click on the rung and select Copy Rung.
45 of 58
4. Let’s modify the instructions to add the second step in the sequencer. Rather than setting the RunSEQ[0] tag to
a value of 999 when the MAM instruction completes, we want to move to the new step, so…
In rung 1: Change the Source in the MOV instruction from 999 to 10.
In rung 2: Change the Source B in the EQU instruction from 1 to 10.
NOTE: The MOV instruction in rung 2 now sets the StopSEQ[0] tag to 999 to indicate that the STOP
SEQUENCE is complete.
6. In the Language Element toolbar, navigate to the right by clicking the right arrow, and select the Motion Move
Element Group.
46 of 58
7. Click and drag the MAJ instruction to where the MAM instruction was that you deleted from rung 2.
A green circle will appear at the location where the instruction will be added.
8. Enter the following information into the Motion Axis Jog instruction that you just added to the rung to program
Axis02 to execute a jog:
NOTE: When you hover over various Instruction entry fields, a description of the options and operand types
for that entry will appear in the bottom left corner of the Logix Designer window. For example, here is
information for the Direction entry in the MAJ instruction:
If you’d like more information on the MAJ instruction, highlight it, and press F1 to open the Help file.
47 of 58
9. We want to indicate the RUN SEQUENCE is complete once the MAJ instruction is in process. While holding
down the Ctrl key, drag and drop the Motion Control tag for the MAJ instruction to the XIC instruction in the
branch. You will see a green circle appear next to the XIC instruction.
10. Now double click the tag you just copied into the XIC instruction, and add .IP to the end of the tag name. The
XIC instruction in rung 2 should look like this when you are finished:
48 of 58
11. Now double click on the comments for rung 2, and modify the text to say that we are jogging Axis02. Your
completed rung 2 should look similar to this:
14. When downloading completes, put the controller back into Run Mode by clicking Yes in the dialog box.
NOTE: If the dialog box does not appear, go to and select Run Mode.
Click Yes in the dialog box that appears.
49 of 58
15. Minimize Logix Designer so that the HMI screen on the desktop can be seen.
After a few moments the machine should transition to the STOPPED state.
17. Press Start, and watch the motors spin in the demo box according to your sequencer logic.
Axis01 should execute a move to 10 revolutions and then Axis02 should begin jogging at a speed of 3 revs/sec. Please
consult your instructor if you have any questions.
50 of 58
Add a Motion Change Dynamics Instruction
In this section, you will utilize a Motion Change Dynamics instruction to change the jog speed of Axis02 after three seconds.
Let’s begin by importing a rung of code that was pre-programmed for you.
1. Go offline with the current file by selecting Go Offline from the Communications menu.
51 of 58
3. Open the Rung_3_Import.L5X file in the Lab Files folder on the desktop.
The Import Configuration window allows you to configure how the rung is imported and how the imported tags are managed.
4. You do not need to modify the Import Configuration, so click OK in the Import Configuration window.
52 of 58
5. Rather than setting the RunSEQ[0] tag to a value of 999 once the jog is In Process, we want to move to the new
step, so…
In rung 2: Change the Source in the MOV instruction from 999 to 20.
53 of 58
6. Now try using what you’ve learned to add an additional rung in your sequence to execute a Motion Change
Dynamics (MCD) instruction. Configure the MCD instruction to change the speed of Axis02 after your dwell.
Use the following values for the MCD instruction:
Be sure to set the StopSEQ[0] tag to 999 after the MCD instruction transitions to the Done (DN) state to indicate that the
STOP SEQUENCE is complete.
NOTE: If you are not able to complete any of the above programming steps and would like to see the
completed RUN SEQUENCE, it has been exported as Sample_MCD_Import.L5X in Desktop > Lab Files >
Sample Code. Delete any rungs within your RUN SEQUENCE, right click on Rung 0 and select Import
Rungs. Click OK in the dialog box that appears.
9. When downloading completes, put the controller back into Run Mode by clicking Yes in the dialog box.
NOTE: If the dialog box does not appear, go to and select Run Mode.
Click Yes in the dialog box that appears.
54 of 58
10. Minimize Logix Designer so that the HMI screen on the desktop can be seen.
After a few moments the machine should transition to the STOPPED state.
12. Press Start, and watch the motors spin in the demo box according to your sequence logic.
Axis01 should execute a move to 10 revolutions and then Axis02 should begin jogging at a speed of 3 revs/sec. After three
seconds, Axis02 should change to a jog speed of 12 revs/sec. Please consult your instructor if you have any questions.
14. Return to Logix Designer and go offline with the current file by selecting Go Offline from the Communications
menu.
15. Select Save As… from the File menu and save your program using a name of your choosing.
NOTE: If you have additional time consider trying to add a Motion Axis Gear instruction between rungs 1 and
2 of your sequencer to gear Axis01 to Axis02. You can use the Demo_Integ_Motion.acd project in the Lab
Files folder as a reference for using a gear instruction.
55 of 58
Lab 4: Troubleshoot a Motion System (Estimated Time 15 Minutes)
This lab is designed to allow you to experience the troubleshooting process by exploring a file with four errors. The goal is to
eliminate all of the errors so that you can spin the motors in the demo box.
NOTE: The errors in this lab are resolved exclusively in the Logix Designer software. You will not be
required to make any physical modifications to the hardware in the demo boxes. In addition, you should not
make any changes to the settings through the drive HIM’s.
2. Browse to the folder Lab Files on the desktop and open the Lab_4_Integ_Motion_Troubleshoot.ACD file.
5. When downloading completes, put the controller back into Run Mode by clicking Yes in the dialog box.
NOTE: If the dialog box does not appear, go to and select Run Mode.
Click Yes in the dialog box that appears.
NOTE: This lab is meant to allow you to identify the appropriate clues to locate the various errors with the
project. We encourage you to try to troubleshoot the project without step-by-step instructions, however we
have included the solutions in the Troubleshooting Solutions folder in the Lab Files folder on the desktop
if you would like to see the solutions.
56 of 58
Notes
57 of 58
Publication CE-DM001-EN-P — April 2017 Copyright© 2016 Rockwell Automation, Inc. All rights reserved.
Supersedes Publication CE-DM001-EN-P — Sept 2016
58 of 58