The text of a manual · part 9 of 30
SERCOS and Analog Motion Configuration and Startup User Manual, pages 81 to 90
Pages 81 to 90 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-M08SE
Page 81
Commission and tune
Chapter 3 the error text field. The message ‘MOTION GROUP SHUTDOWN executed!’ appears to indicate that shutdown is complete. If the command fails, then an error is indicated as per normal operation.
Motion Direct Command error process
When executing a Motion Direct Command, there are two levels of error detections. •
The first level is verification of the command’s operands. If a verification error is detected, a message ‘Failed to Verify’ is posted on the dialog box and a message is posted to the error result window.
•
The second level is the initial motion direct command’s error response return code. If an error code is detected, an ‘Execution Error’ message appears on the dialog box.
Regardless of whether an error is detected, a message appears in the Error result window describing the results of the executed command.
Motion Direct Command verification
When selecting Execute from a Motion Direct Command dialog box, the operands are verified. If any operand fails verification, a ’Failed to Verify’ message appears on the dialog box. A detailed error message appears in the Errors result window describing the fault.
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
81
Page 82
Chapter 3
Commission and tune
This allows multiple verification errors to appear and provides navigation to the error source. Double-click the error in the Errors window to open the Motion Direct Command dialog box.
If no errors are detected, the status indicates the executed instruction and states no errors.
Motion Direct Command execution error
82
When selecting Execute from a Motion Direct Command dialog box and the operands are verified as valid, the command is executed. If the command fails immediately, an ‘Execution Error’ message appears on the dialog box. Regardless
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
Page 83
Commission and tune
Chapter 3 of whether an error is detected, a detailed message appears in the Error result window describing the immediate results of the executed command.
The message ‘Execution Error’ clears on subsequent command execution or if selecting a new command. The information provided in the error result window after an execution is not cleared and provides a history of what was executed.
What if the software goes offline or the controller changes modes? Can two workstations give Motion Direct Commands?
When the Logix Designer application transitions to Off-line and Direction Command instructions continue, if the controller Mode is changed, then the configured ‘Programmed Stop Mode’ controls what happens to motion. When Execute is enabled and commands can be executed from a workstation, the group is locked. This means that another workstation cannot execute commands while this lock is in place. The lock is relinquished when all Motion Direct Command dialog boxes for the Motion Group are closed.
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
83
Page 84
Page 85
Chapter 4
Program
Introduction
This chapter describes how to program a velocity profile and jerk rate. Use these motion profiles for various instructions:
Definition of Jerk
•
Trapezoidal profile for linear acceleration and deceleration
•
S-curve profiles for controlled jerk
Jerk is the rate of change of acceleration or deceleration. The jerk parameters only apply to S-curve profile moves using these instructions. • MAJ
• MCS
• MAM
• MCCD
• MAS
• MCCM
• MCD
• MCLM
Example: If acceleration changes from 0 to 40 mm/s2 in 0.2 seconds, the jerk is: (40 mm/s2 - 0 mm/s2) / 0.2 s = 200 mm/s3
Choose a profile
Consider cycle time and smoothness when choosing a profile.
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
85
Page 86
Chapter 4
Program
To accomplish
Choose this profile
• Fastest acceleration and deceleration times Trapezoidal • More flexibility in programming subsequent motion
Consideration Jerk does not limit the acceleration and deceleration time: • The Acceleration and Deceleration rates control the maximum change in Velocity. • The equipment and load get more stress than with an S-curve profile. • Jerk is considered infinite and is shown as a vertical line.
Smoother acceleration and deceleration that reduces the stress on the equipment and load
Jerk limits the acceleration and deceleration time. • More time is needed to accelerate and decelerate than a trapezoidal profile.
S-curve
• If the instruction uses an S-curve profile, the controller calculates acceleration, deceleration, and jerk when starting the instruction. • The controller calculates triangular acceleration and deceleration profiles.
Jerk Rate Calculation
If the instruction uses or changes an S-curve profile, the controller calculates acceleration, deceleration, and jerk when starting the instruction. The system has a Jerk priority planner. In other words, Jerk has a higher priority than acceleration and velocity. Therefore, the programmed Jerk is always present. If a move is velocity-limited, the move does not reach the programmed acceleration or velocity.
86
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
Page 87
Program
Chapter 4
Jerk Parameters for MAJ programmed in units of % time are converted to engineering units. If Start Speed < MAJ Programmed Speed
If Start Velocity > MAJ Programmed Speed
Jerks for programmed moves, such as MAM or MCLM instructions, in units of % time are converted to engineering units as follows: If Start Speed < Programmed Speed
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
87
Page 88
Chapter 4
Program
If Start Speed > Programmed Speed
Depending on the instruction’s Speed parameter, the same ‘% of time jerk’ can result in slopes for the acceleration profile that differ from the deceleration profile.
88
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
Page 89
Program
Chapter 4
The motion planner algorithm adjusts the actual jerk rate so that the acceleration profile and the deceleration profile contains at least the '% of time' ramp time. If the Start Speed is close to the programmed Speed parameter, the actual percentage of ramp time may be higher than the programmed value. In most cases the condition is: if: (start Speed is == 0.0) OR (start Speed is > 2 * max Speed) then: get programmed percentage of ramp time else: get higher than programmed percentage of ramp time
Conversion from Engineering Units to To convert Engineering Units to % of Time, use these equations: % of Time For Accel Jerk:
For Decel Jerk:
Use % of Time for the easiest programming of jerk
Use % of Time to specify how much of the acceleration or deceleration time has jerk. Calculating actual jerk values is not necessary.
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
89
Page 90
Chapter 4
Program
Example
Profile
100% of Time
At 100% of Time, the acceleration or deceleration changes the entire time that the axis speeds up or slows down.
60% of Time
At 60% of Time, the acceleration or deceleration changes 60% of the time that the axis speeds up or slows down. The acceleration or deceleration is constant for the other 40%.
Velocity Profile Effects
This table summarizes the differences between profiles.
90
Profile
ACC/DEC
Motor
Priority of Control
Type
Time
Stress
Highest to Lowest
Trapezoidal
Fastest
Worst
Acc/Dec
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
Velocity
Position