The text of a manual · part 22 of 30
SERCOS and Analog Motion Configuration and Startup User Manual, pages 211 to 220
Pages 211 to 220 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 211
Motion axis attributes
Appendix B
Attribute
Axis Type
Data Type
Access
Description
Drive Status Bits
AXIS_SERVO_DRIVE
DINT
GSV
Allows access to all drive status bits in one 32-bit word. This attribute is the same as the Drive Status tag.
Drive Status
AXIS_SERVO_DRIVE
DINT
Tag
Allows access to all drive status bits in one 32-bit word. This tag is the same as the Drive Status Bits attribute.
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
211
Page 212
Appendix B
Motion axis attributes
Attribute
Axis Type
Data Type
Access
Drive Status
AXIS_SERVO_DRIVE
BOOL
Tag
Drive Thermal Fault Action
AXIS_SERVO_DRIVE
SINT
GSV SSV
Drive Undervoltage Fault
AXIS_SERVO_DRIVE
BOOL
Tag
Set when drive DC bus voltage is below the predefined operating limits for the bus.
Drive Unit
AXIS_SERVO_DRIVE
INT
GSV
The Drive Unit attribute establishes the unit of measure that is applied to the Drive Resolution attribute value. Units appearing in the enumerated list may be linear or rotary, English or metric. Further discrimination is provided in the enumerated list to specify whether the Drive Unit is referenced directly to the motor or to the external, or auxiliary, feedback. 0 = motor revs 1 = aux revs 2 = motor inches 3 = aux inches 4 = motor mm 5 = aux mm
212
Description
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
Page 213
Motion axis attributes
Appendix B
Attribute
Axis Type
Data Type
Access
Drive Warning Bits
AXIS_SERVO_DRIVE
DINT
GSV*
Description
Drive Overload Warning When the load limit of the motor is exceeded, the Overload Warning bit is set. If the condition persists, an Overload Fault occurs. This warning bit gives the control program an opportunity to reduce motor loading to avoid a future shutdown situation. Drive Overtemperature Warning When the over-temperature limit of the drive is exceeded, the Drive Overtemperature Warning bit is set. If the condition persists, a Drive Overtemperature Fault occurs. This warning bit gives the control program an opportunity to reduce motor loading, or increase drive cooling, to avoid a future shutdown situation. Motor Overtemperature Warning When the over-temperature limit of the motor is exceeded, the Motor Overtemperature Warning bit is set. If the condition persists, a Motor Overtemperature Fault occurs. This warning bit gives the control program an opportunity to reduce motor loading, or increase motor cooling, to avoid a future shutdown situation. Cooling Error Warning When the ambient temperature limit inside the drive enclosure is exceeded, the Cooling Error Warning bit sets. If the condition persists, a Cooling Error Fault occurs. This warning bit gives the control program an opportunity to increase drive cooling to avoid a future shutdown situation. Dynamics Configuration Bits
AXIS_CONSUMED AXIS_GENERIC AXIS_SERVO AXIS_SERVO_DRIVE AXIS_VIRTUAL
DINT
GSV SSV
Revision 16 improved how the controller handles changes to an S-curve profile. Do you want to return to revision 15 or earlier behavior for S-curves? • NO, Leave these bits ON (default). • YES, Turn OFF one or more of these bits.
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
213
Page 214
Appendix B
Motion axis attributes
Attribute
Axis Type
Data Type
Access
Description
Enable Input Status
AXIS_SERVO_DRIVE
BOOL
Tag
If this bit is: • ON, The Enable input is active. • OFF, The Enable input is inactive.
External Drive Type
214
AXIS_SERVO_DRIVE
DINT
GSV SSV
0 = torque servo 1 = velocity servo 2 = hydraulic servo When the application requires the servo module axis to interface with an external velocity servo drive, the External Drive Type should be configured for velocity servo. This disables the servo module’s internal digital velocity loop. If the External Drive Type attribute is set to torque servo, the servo module’s internal digital velocity loop is active. This configuration is the required configuration for interfacing to a torque loop servo drive. If the External Drive Type attribute is set to hydraulic servo, the object enables certain hydraulic servo application features. In general, selecting the hydraulic External Drive Type configures the servo loop the same as selecting the velocity servo External Drive Type.
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
Page 215
Motion axis attributes
Attribute
Appendix B
Axis Type
Fault Configuration Bits AXIS_SERVO AXIS_SERVO_DRIVE
Data Type
Access
DINT
GSV SSV
Description
Change to rotary or Overtravel Checking requires Home range checks. Soft Overtravel Checking Soft overtravel checking is only available for a linear axis. Do you want a Positive Soft Overtravel Fault or Negative Soft Overtravel Fault to happen if the axis goes outside the configured travel limits? • YES, Set this bit. • NO, Clear this bit. The Maximum Positive Travel and Maximum Negative Travel attributes set the travel limits. This check supplements but does not replace hardware overtravel fault protection that uses hardware limit switches to directly stop axis motion at the drive and deactivate power to the system. Hard Overtravel Checking Hard overtravel checking is only available for a linear axis. Do you want a Positive Hard Overtravel Fault or Negative Hard Overtravel Fault to happen if the axis activates the positive or negative overtravel limit switch inputs? • YES, Set this bit. • NO, Clear this bit. Drive Fault Checking The motion module provides a dedicated drive fault input for each axis. These inputs may be connected to fault outputs on the external drive (if provided) to notify the servo module of a fault in the drive itself. Set the Drive Fault Checking bit if you are using the servo module’s drive fault input, and then specify the drive fault contact configuration of the amplifier’s drive fault output as described below.
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
215
Page 216
Appendix B
Motion axis attributes
Attribute
Axis Type
Fault Configuration Bits (continued)
Feedback Fault
AXIS_SERVO AXIS_SERVO_DRIVE
Data Type
Access
Description
DINT
GSV SSV
Drive Fault Normally Closed The Drive Fault Normally Closed bit attribute controls the sense of the Drive Fault input to the servo module. If this bit is set (true), then during normal (fault-free) operation of the drive, the Drive Fault input should be active, that is, 24 Volts. If a drive fault occurs, the drive opens its drive fault output contacts and remove 24 Volts from the servo module’s Drive Fault input generating an axis Drive Fault condition. This is the default ‘fail-safe’ configuration. In some cases, it may be necessary to clear the Drive Fault Normally Closed bit to interface with a drive system that closes its contacts when faulted. This is generally not recommended for ‘fail-safe’ operation. Drive Enable Input Fault Handling When the Drive Enable Input Fault Handling bit is set, it lets the drive post a fault based on the condition of the Drive Enable Input. If an attempt is made to enable the drive axis without an active Drive Enable Input, the drive sets a Drive Enable Input Fault. If the Drive Enable Input ever goes from active to inactive while the drive axis is enabled, the drive also sets a Drive Enable Input Fault. If the Drive Enable Input Fault Handling bit is clear (default), and then the drive does not generate a Drive Enable Input Fault. Drive Enable Input Checking When the Drive Enable Input Checking bit is set (the default), the drive regularly checks the current state of the Drive Enable Input. This dedicated input serves as a permissive to enable the drive’s power structure and servo loop. Once the drive is enabled, a transition of the Drive Enable Input from active to inactive results in a drive initiated axis stop where the axis is decelerated to a stop using the configured Stopping Torque and then disabled. If the drive enable Input Checking bit is clear, then no Drive Enable Input checking is done, hence, the state of the input is irrelevant to drive operation. The state of the switch is still reported as part of the Drive Status bits attribute.
BOOL
Tag
AXIS_SERVO Set for a feedback source when one of these conditions occurs: • The differential electrical signals for one or more of the feedback channels (for example, A+ and A-, B+ and B-, or Z+ and Z-) are at the same level (high or low). Under normal operation, the differential signals are at opposite levels. The most common cause of this situation is a broken wire between the feedback transducer and the servo module or drive; • Loss of feedback ‘power’ or feedback ‘common’ electrical connection between the servo module or drive and the feedback device. The controller latches this fault. Use a Motion Axis Fault Reset (MAFR) or Motion Axis Shutdown Reset (MASR) instruction to clear the fault. AXIS_SERVO_DRIVE Set when an issue with one of the feedback sources associated with the drive axis prevents the drive from receiving accurate or reliable position information from the feedback device. Set when one of the feedback sources for the axis cannot send accurate or reliable position information because there is a problem. For AXIS_SERVO axis, possible problems are: • The differential electrical signals for one or more of the feedback channels (for example, A+ and A-, B+ and B-, or Z+ and Z-) are at the same level (high or low). Under normal operation, the differential signals are at opposite levels. The most common cause of this situation is a broken wire between the feedback transducer and the servo module or drive; • Loss of feedback power or common electrical connection between the servo module or drive and the feedback device. The controller latches this fault. Use a Motion Axis Fault Reset (MAFR) or Motion Axis Shutdown Reset (MASR) instruction to clear the fault.
216
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
Page 217
Motion axis attributes
Appendix B
Attribute
Axis Type
Data Type
Access
Feedback Fault Action
AXIS_SERVO AXIS_SERVO_DRIVE
SINT
GSV SSV
Feedback Noise Fault
AXIS_SERVO
BOOL
Tag
Description
This controller attribute is also replicated in the motion module. Set when there is noise on the feedback device’s signal lines. • For example, simultaneous transitions of the feedback A and B channels of an A Quad B is referred to generally as feedback noise. • Feedback noise (shown below) is most often caused by loss of quadrature in the feedback device itself or radiated common-mode noise signals being picked up by the feedback device wiring. You can see these on an oscilloscope.
• To troubleshoot the loss of channel quadrature, look for: physical misalignment of the feedback transducer components excessive capacitance (or other delays) on the encoder signals • Proper grounding and shielding usually cures radiated noise problems. The controller latches this fault. Use a Motion Axis Fault Reset (MAFR) or Motion Axis Shutdown Reset (MASR) instruction to clear the fault. Feedback Noise Fault Action
AXIS_SERVO AXIS_SERVO_DRIVE
SINT
GSV SSV
This controller attribute is also replicated in the motion module.
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
217
Page 218
Appendix B
Motion axis attributes
Attribute
Axis Type
Data Type
Access
Description
Backlash Compensation AXIS_SERVO AXIS_SERVO_DRIVE
REAL
GSV SSV
0…100% It is not unusual for an axis to have enough static friction (sticktion) that even with a significant position error it won’t move. Integral gain can be used to generate enough output to the drive to correct the error, but this approach may not be responsive enough for the application. An alternative is to use Backlash Compensation to break sticktion in the presence of a non-zero position error. This is done by adding, or subtracting, a fixed output level, called Backlash Compensation, to the Servo Output value based on its current sign. The Backlash Compensation value should be just under the value that would break the sticktion. A larger value causes the axis to dither. Dither is when the axis moves rapidly back and forth centered on the commanded position. This controller attribute is replicated in the motion module.
Backlash Compensation AXIS_SERVO Window AXIS_SERVO_DRIVE
REAL
GSV SSV
Position Units To address the issue of dither when applying Backlash Compensation and hunting from the integral gain, a Backlash Compensation Window is applied around the current command position when the axis is not being commanded to move. If the actual position is within the Backlash Compensation Window, the Backlash Compensation value is applied to the Servo Output but scaled by the ratio of the position error to the Backlash Compensation Window. Within the window, the servo integrators are also disabled. Thus, once the position error reaches or exceeds the value of the Backlash Compensation Window attribute, the full Backlash Compensation value is applied. Of course, should the Backlash Compensation Window be set to zero, this feature is effectively disabled.
A non-zero Backlash Compensation Window softens the Backlash Compensation as its applied to the Servo Output and reduces the dithering effect that it can create. This generally allows higher values of Backlash Compensation to be applied. Hunting is also eliminated at the cost of a small steady-state error.
218
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
Page 219
Motion axis attributes
Appendix B
Attribute
Axis Type
Data Type
Access
Description
Guard Status
AXIS_SERVO_DRIVE
DINT
Tag GSV
Important: To use this attribute, choose it as one of the attributes for Real Time Axis Information for the axis. Otherwise, the right value is not seen as the axis runs. See Axis Info Select 1.
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
219
Page 220
Appendix B
Motion axis attributes
Attribute
Axis Type
Data Type
Access
Description
Guard Faults
AXIS_SERVO_DRIVE
DINT
Tag GSV
Important: To use this attribute, choose it as one of the attributes for Real Time Axis Information for the axis. Otherwise, the right value is not seen as the axis runs. See Axis Info Select 1.
Gearing Lock Status
AXIS_CONSUMED AXIS_GENERIC AXIS_SERVO AXIS_SERVO_DRIVE AXIS_VIRTUAL
BOOL
Tag
Set whenever the slave axis is locked to the master axis in a gearing relationship according to the specified gear ratio. The clutch function of the gearing planner is used to ramp an axis up, or down, to speed in a gearing process (MAG with Clutch selected). This bit is cleared during the intervals where the axis is clutching.
Gearing Status
AXIS_CONSUMED AXIS_GENERIC AXIS_SERVO AXIS_SERVO_DRIVE AXIS_VIRTUAL
BOOL
Tag
Set if the axis is a slave that is currently gearing to another axis. Cleared when the gearing operation is stopped or is superseded by some other motion operation.
Ground Short Fault
AXIS_SERVO_DRIVE
BOOL
Tag
When the drive detects an imbalance in the DC bus supply current, the Ground Short Fault bit is set, indicating that current is flowing through an improper ground connection.
Group Instance
AXIS_CONSUMED AXIS_GENERIC AXIS_SERVO AXIS_SERVO_DRIVE AXIS_VIRTUAL
DINT
GSV
Instance Number of Group assigned to Axis The Group Instance attribute is used to determine what motion group object instance this axis is assigned to.
220
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018