The text of a manual · part 7 of 30
SERCOS and Analog Motion Configuration and Startup User Manual, pages 61 to 70
Pages 61 to 70 of 297
The original document is the PDF (13 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Allen-Bradley 1756-M16SE/A
Page 61
Configure analog motion
Chapter 2
5. Select OK to apply the changes. See also Home an axis on page 111
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
61
Page 62
Page 63
Chapter 3
Commission and tune
Introduction for Commission and Tune
This chapter discusses how to commission an axis for a motion application.
Download a program to the Before commissioning and tuning an axis, download the program to the controller. controller To download a program to the controller: 1. With the keyswitch, place the controller in Program or Remote Program mode. 2. From the Communications menu, select Download. 3. Confirm to complete the download procedure. 4. Select Download. 5. When the download is complete, place the controller in Run/Test mode. The status and compiler messages appear in the status bar. Tip:
When multiple workstations connect to the same controller using Logix Designer application and invoke the Axis Wizard or Axis Properties dialog box, the firmware only lets the first workstation make changes to axis attributes. The second workstation can view the changes, but not edit them. If an axis in a motion group is open for edit, then any other workstation only gets read-only for any axis in that workstation, even if it is not the axis that the first workstation is modifying.
See also Tune a SERCOS axis on page 64 Tune an analog axis on page 65
Test axis wiring and direction
Use these tests on the Hookup tab in the Axis Properties dialog box to test the axis wiring and direction. Test
Description
Test marker
Checks that the drive gets the marker pulse. Manually move the axis for this test.
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
63
Page 64
Chapter 3
Commission and tune
Test
Description
Test feedback
Checks the polarity of the feedback. Manually move the axis for this test.
Test command and feedback
Checks the polarity of the drive.
ATTENTION: These tests make the axis move even with the controller in remote program mode. • Before performing the tests, make sure no one is in the way of the axis. • Do not change the polarity after performing the tests. Unexpected motion may occur.
To test the axis wiring and direction: 1. Download a program to the controller. 2. Place the controller in REM. 3. In the Controller Organizer, double-click the axis. 4. On the Axis Properties dialog box, select the Hookup tab. Important:
Follow all the dialogs or the information derived from the test is not saved to the axis configuration.
5. Select Test Marker and follow the additional dialog box instructions. 6. Select Test Feedback and follow the additional dialog box instructions. 7. Select Test Command & Feedback and follow the additional dialog box instructions. See also Hookup tab - AXIS_SERVO on page 142 Hookup tab - AXIS_SERVO_DRIVE on page 143
Tune a SERCOS axis
Use the settings on the Tune tab in the Axis Properties dialog box to configure and initiate the axis tuning sequence for a SERCOS axis. • When tuning an axis, it moves even with the controller in remote program mode. In that mode, the code is not in control of the axis. • Before tuning an axis, make sure no one is in the way of the axis.
The default tuning procedure tunes the proportional gains. Typically, tune the proportional gains first and see how the equipment runs.
64
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
Page 65
Commission and tune
Chapter 3
Where tighter positioning is required, Integral gain and feedforward constants can be selected. However, when used incorrectly, these settings can cause axis instability. See Tune.
Tip:
To tune an SERCOS axis: 1. Download a program to the controller. 2. Place the controller in REM. 3. In the Controller Organizer, double-click the axis. 4. Select the Tune tab.
5. In Travel Limit, type the limit of movement for the axis during the tuning procedure. 6. In Speed, type the maximum speed for the equipment. 7. Select Start Tuning. 8. Accept the changes to save the data derived from the tune as part of the axis configuration. See also Tune tab - AXIS_SERVO, AXIS_SERVO_DRIVE on page 144
Tune an analog axis
Use the settings on the Tune tab in the Axis Properties dialog box to configure and initiate the axis tuning sequence for an analog axis.
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
65
Page 66
Chapter 3
Commission and tune
• When tuning an axis, it moves even with the controller in remote program mode. In that mode, the code is not in control of the axis. • Before tuning an axis, make sure no one is in the way of the axis.
The default tuning procedure tunes the proportional gains. Typically, tune the proportional gains first and see how the equipment runs. To tune an analog axis: 1. Download a program to the controller. 2. Place the controller in REM. 3. In the Controller Organizer, double-click the axis. 4. Select the Tune tab.
5. In Travel Limit, type the limit of movement for the axis during the tuning procedure. 6. In Speed, type the maximum speed for the equipment. 7. Select Start Tuning. See also Tune tab - AXIS_SERVO, AXIS_SERVO_DRIVE on page 144
Troubleshoot faults
66
This table explains the types of motion faults.
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
Page 67
Commission and tune
Chapter 3
Type
Description
Example
Instruction error
Caused by a motion instruction: • Instruction errors do not impact controller operation.
A Motion Axis Move (MAM) instruction with a parameter out of range
• Examine the error code in the motion control tag to see why an instruction has an error. • Fix instruction errors to optimize execution time and make sure that the code is accurate. Fault
Caused by a problem with the servo loop: • Choose whether motion faults give the controller major faults.
• Loss of feedback • Actual position exceeding an overtravel limit
• Can shut down the controller if the fault condition is not corrected.
Manage motion faults
By default, the controller keeps running when there is a motion fault. As an option, configure motion faults to cause a major fault and shut down the controller. Use these instructions to select a non-major fault as the fault mechanism for the motion group. To manage motion faults: 1. Choose a Non-Major Fault. Tip:
If selecting a Major Fault, develop a Fault handler. See Logix 5000 Controllers Major, Minor, and I/O Faults Programming Manual, publication 1756-PM014.
2. In the Controller Organizer, double-click the motion group. 3. Select the Attribute tab.
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
67
Page 68
Chapter 3
Commission and tune
4. In General Fault Type, choose Non Major Fault.
5. Select OK. 6. In the Controller Organizer, drag the programs into the Controller Fault Handler folder so the program runs when a fault occurs.
See also Set the fault action for an axis on page 69
Configure the fault actions for an axis
68
Use the fault actions to set how an axis responds to faults. The type of faults depends on the type of axis its configuration.
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
Page 69
Commission and tune
To
Chapter 3
Then choose
Shut down the axis and let it coast to a Shutdown stop
Description Shutdown is the most severe action. Use it for faults that could endanger the machine or the operator power is not removed quickly and completely. For this axis type
When the fault happens
AXIS_SERVO
• Axis servo action is disabled. • The servo amplifier output is zeroed. • The drive enable output is deactivated. • The OK contact of the servo module opens. Use this to open the E-Stop string to the drive power supply. • This impacts both axes associated with the analog motion, not just the axis with the fault.
AXIS_SERVO_DRIVE
• Axis servo action and drive power structure are immediately disabled. • The axis coasts to a stop unless there is some form of external braking.
Disable the axis and let the drive stop the axis using the best available stopping method
Disable Drive
For this axis type
When the fault happens
AXIS_SERVO
• Planner decelerates axis motion to zero speed based on Maximum configured declaration using Trap Acc/Dec. • Axis servo action is off. • The servo amplifier output is zeroed. • The drive enable output is deactivated.
AXIS_SERVO_DRIVE
• Planner decelerates axis motion to zero speed based on Maximum configured declaration using Trap Acc/Dec. • If the axis does not stop in the Stopping Time, the servo action and the power structure are disabled.
Leave the servo loop on and stop the Stop Motion axis at its Maximum Deceleration rate
Use this fault action for less severe faults. It is the gentlest way to stop. Once the axis stops, clear the fault before moving the axis. For this axis type
When the fault happens
AXIS_SERVO
The axis slows to a stop at the Maximum Deceleration Rate without disabling servo action or the servo module’s Drive Enable output.
AXIS_SERVO_DRIVE
• Control of the drive’s servo loop is maintained. • The axis slows to a stop at the Maximum Deceleration rate without disabling the drive.
Write application code to handle the fault
Status Only
Set the fault action for an axis
Use this fault action only when the standard fault actions are not appropriate. With this fault action, write code to handle the motion faults. For Stop Motion or Status Only, the drive must stay enabled for the controller to continue to control the axis. Selecting Status Only only lets motion continue if the drive itself is still enabled and tracking the command reference.
Use settings on the Fault Actions tab in the Axis Properties dialog box to configure the fault actions for the axis. To set the fault actions for an axis: 1. In the Controller Organizer, double-click an axis.
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
69
Page 70
Chapter 3
Commission and tune
2. Select the Fault Actions tab.
3. Set the desired attributes and select OK. (An analog axis has fewer fault action selections than a SERCOS axis.) See also Fault Actions tab - AXIS_SERVO on page 168 Fault Actions tab - AXIS_SERVO_DRIVE on page 170
Inhibit an axis
Inhibit an axis to block the controller from using an axis because the axis has faulted or is not installed. Also inhibit an axis to let the controller use other axes. Use this information to determine when to inhibit an axis. Important:
70
Inhibiting an axis takes down ALL axes on the motion module or ring. The non-inhibited axes then phase back up. Un-inhibiting an axis causes the same behavior.
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018