The text of a manual · part 20 of 30
SERCOS and Analog Motion Configuration and Startup User Manual, pages 191 to 200
Pages 191 to 200 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 191
Motion axis attributes
Appendix B
Attribute
Axis Type
Data Type
Access
Description
Axis Control Bits
AXIS_SERVO AXIS_SERVO_DRIVE
DINT
GSV
Bits 0 = Abort Process Request 1 = Shutdown Request 2 = Zero DAC Request 3 = Abort Home Request 4 = Abort Event Request 5-14 = Reserved 15 = Change Cmd Reference Abort Process If this bit is set, any active tuning or test process on the axis is aborted. Shutdown Request If this bit is set, the axis is forced into the shutdown state. For an AXIS_SERVO data type, the OK contact opens and the DAC output goes to 0. Zero DAC Request, Only for AXIS_SERVO Data Type If this bit is set, the servo module forces the DAC output for the axis to zero volts. This bit only applies if the axis is in the Direct Drive State with the drive enabled but no servo action. Abort Home Request If this bit is set, any active homing procedures are canceled. Abort Event Request If this bit is set, any active registration or watch event procedures are canceled. Change Cmd Reference If this bit is set, the controller switches to a new position coordinate system for command position. The servo module or drive uses this bit when processing new command position data from the controller to account for the offset implied by the shift in the reference point. The bit is cleared when the axis acknowledges completion of the reference position change by clearing its Change Position Reference bit.
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
191
Page 192
Appendix B
Motion axis attributes
Attribute
Axis Type
Data Type
Access
Description
Axis Data Type
AXIS_CONSUMED AXIS_GENERIC AXIS_SERVO AXIS_SERVO_DRIVE AXIS_VIRTUAL
SINT
MSG
Associated motion axis tag data type: 0 = Feedback 1 = Consumed 2 = Virtual 3 = Generic 4 = Servo 5 = Servo Drive 6 = Generic Drive The Axis Data Type attribute and is used to determine which data template, memory format, and set of attributes are created and applicable for this axis instance. This attribute can only be set as part of an axis create service. Feedback A feedback-only axis associated with feedback-only modules like PLS II and CFE, supporting quadrature encoder, resolver, HiperFace, and so on. Consumed A consumed axis that consumes axis motion data produced by a motion axis on another controller. Virtual A virtual axis having full motion planner operation but not associated with any physical device. Generic An axis with full motion planner functionality but no integrated configuration support; associated with devices such as DriveLogix, 1756-DM. Servo An axis with full motion planner functionality and integrated configuration support; associated with modules closing a servo loop and sending an analog command to an external drive; that is, 1756-M02AE, 1756-HYD02, and 1756-M02AS modules. Servo Drive An axis with full motion planner functionality and integrated configuration support; associated with digital drive interface modules sending a digital command to the external drive; that is, 1756-M03SE, 1756-M08SE, and 17556-M16SE (SERCOS interface). Generic Drive An axis of a SERCOS interface drive that is Extended Pack Profile compliant and on the ring of a 1756-M08SEG module.
Axis Event
AXIS_CONSUMED AXIS_GENERIC AXIS_SERVO AXIS_SERVO_DRIVE AXIS_VIRTUAL
DINT
Tag
Allows access to all event status bits in one 32-bit word. This tag is the same as the Axis Event Bits attribute.
192
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
Page 193
Motion axis attributes
Appendix B
Attribute
Axis Type
Data Type
Access
Description
Axis Event Bits
AXIS_CONSUMED AXIS_GENERIC AXIS_SERVO AXIS_SERVO_DRIVE AXIS_VIRTUAL
DINT
GSV
Allows access to all event status bits in one 32-bit word. This attribute is the same as the Axis Event tag.
Axis Fault
AXIS_CONSUMED AXIS_GENERIC AXIS_SERVO AXIS_SERVO_DRIVE AXIS_VIRTUAL
DINT
Tag
The axis faults for the axis:
This attribute is the same as the Axis Fault Bits attribute. Axis Fault Bits
AXIS_CONSUMED AXIS_GENERIC AXIS_SERVO AXIS_SERVO_DRIVE AXIS_VIRTUAL
DINT
GSV*
The axis faults for the axis:
This attribute is the same as the Axis Fault tag.
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
193
Page 194
Appendix B
Motion axis attributes
Attribute
Axis Type
Data Type
Access
Description
Axis Info Select 1 Axis Info Select 2
AXIS_SERVO AXIS_SERVO_DRIVE
DINT
GSV SSV
There is a group of attributes that do not get updated by default. • To use one of them, choose it for Real Time Axis Information for the axis. Otherwise, its value won’t change and the right value is not seen as the axis runs. • Choose up to 2 of these attributes. To use a GSV instruction to choose an attribute for Real Time Axis Information, set the Axis Info Select 1 or Axis Info Select 2 attribute.
194
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
Page 195
Motion axis attributes
Appendix B
Attribute
Axis Type
Data Type
Access
Description
Axis Instance
AXIS_CONSUMED AXIS_GENERIC AXIS_SERVO AXIS_SERVO_DRIVE AXIS_VIRTUAL
INT
GSV
Instance Number assigned to Axis The Axis Instance attribute is used to return the instance number of an axis. Major fault records generated for an axis major fault contains only the instance of the offending axis. This attribute would then typically be used by a user to determine if this was the offending axis; that is, if the instance number matches.
Axis Response Bits
AXIS_SERVO AXIS_SERVO_DRIVE
DINT
GSV
Bits 0 = Abort Process Acknowledge 1 = Shutdown Acknowledge 2 = Zero DAC Acknowledge 3 = Abort Home Acknowledge 4 = Abort Event Acknowledge 5…14 = Reserved 15 = Change Pos Reference Abort Process Acknowledge If this bit is set, the tuning or test process was aborted. Shutdown Acknowledge If this bit is set, the axis was forced into the shutdown state. Zero DAC Acknowledge, Only for AXIS_SERVO Data Type If this bit is set, the DAC output for the axis was set to zero volts. Abort Home Acknowledge If this bit is set, the active home procedure was aborted. Abort Event Acknowledge If this bit is set, the active registration or watch position event procedure was aborted. Change Pos Reference If this bit is set, the Servo loop switched to a new position coordinate system. The controller uses this bit when processing new position data from the servo module or drive to account for the offset implied by the shift in the reference point. The bit is cleared when the controller acknowledges completion of the reference position change by clearing its Change Cmd Reference bit.
Axis State
AXIS_CONSUMED AXIS_GENERIC AXIS_SERVO AXIS_SERVO_DRIVE AXIS_VIRTUAL
SINT
GSV
Operating state of the axis. 0 = Axis Ready 1 = Direct Drive Control 2 = Servo Control 3 = Axis Faulted 4 = Axis Shutdown 5 = Axis Inhibited 6 = Axis Ungrouped 7 = No Module 8 = Configuring
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
195
Page 196
Appendix B
Motion axis attributes
Attribute
Axis Type
Data Type
Access
Description
Axis Status
AXIS_CONSUMED AXIS_GENERIC AXIS_SERVO AXIS_SERVO_DRIVE AXIS_VIRTUAL
DINT
Tag
Allows access to all axis status bits in one 32-bit word. This tag is the same as the Axis Status Bits attribute.
Axis Status Bits
AXIS_CONSUMED AXIS_GENERIC AXIS_SERVO AXIS_SERVO_DRIVE AXIS_VIRTUAL
DINT
GSV*
Allows access to all axis status bits in one 32-bit word. This attribute is the same as the Axis Status tag.
Axis Type
AXIS_GENERIC AXIS_SERVO AXIS_SERVO_DRIVE
INT
GSV SSV
The Axis Type attribute is used to establish the intended use of the axis.
Axis Type is not only used to qualify many operations associated with the axis servo loop, it also controls the behavior of the servo module’s Axis Status indicators. An Axis Type of ‘1’ (Feedback Only) results in the DRIVE LED being blanked, while a value of ‘0’ (Unused) blanks the FDBK and DRIVE status indicators. This controller attribute is also replicated in the motion module. Logix Designer application also uses the current configured value for Axis Type to control the look of many of the dialog boxes associated with configuring an axis.
196
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
Page 197
Motion axis attributes
Appendix B
Attribute
Axis Type
Data Type
Access
Description
Backlash Reversal Offset
AXIS_SERVO AXIS_SERVO_DRIVE
REAL
GSV SSV
Backlash Reversal Offset provides the user the capability to compensate for positional inaccuracy introduced by mechanical backlash. For example, power-train type applications require a high level of accuracy and repeatability during machining operations. Axis motion is often generated by a number of mechanical components such as a motor, a gearbox, and a ball-screw, which can introduce inaccuracies and which are subject to wear over their lifetime. Hence, when an axis is commanded to reverse direction, mechanical play in the machine (through the gearing, ball-screw, and so on.) may result in a small amount of motor motion without axis motion. As a result, the feedback device may indicate movement even though the axis did not move. Compensation for mechanical backlash can be achieved by adding a directional offset, specified by the Backlash Reversal Offset attribute, to the motion planner’s command position as it is applied to the associated servo loop. Whenever the commanded velocity changes sign (a reversal), the Logix controller adds, or subtracts, the Backlash Distance value from the current commanded position. This causes the servo to immediately move the motor to the other side of the backlash window and engage the load. It is important to note that the application of this directional offset is completely transparent to the user; the offset does not have any effect on the value of the Command Position attribute. If a value of zero is applied to the Backlash Reversal Offset, the feature is effectively disabled. Once enabled by a non-zero value, and the load is engaged by a reversal of the commanded motion, changing the Backlash Reversal Offset can cause the axis to shift as the offset correction is applied to the command position.
Backlash Stabilization Window
AXIS_SERVO AXIS_SERVO_DRIVE
REAL
GSV SSV
The Backlash Stabilization Window attribute is used to control the Backlash Stabilization feature in the servo control loop. A description of this feature and the general backlash instability phenomenon is included here. Mechanical backlash is a common problem in applications that utilize mechanical gearboxes. The problem stems from the fact that until the input gear is turned to the point where its proximal tooth contacts an adjacent tooth of the output gear, the reflected inertia of the output is not felt at the motor. In other words, when the gear teeth are not engaged, the system inertia is reduced to the motor inertia. If the servo loop is tuned for peak performance with the load applied, the axis is at best under-damped and at worst unstable in the condition where the gear teeth are not engaged. In the worst case scenario, the motor axis and the input gear oscillates wildly between the limits imposed by the output gear teeth. The net effect is a loud buzzing sound when the axis is at rest. If this situation persists, the gearbox wears out prematurely. To prevent this condition, the conventional approach is to de-tune the servo so that the axis is stable without the gearbox load applied. Unfortunately, system performance suffers.’ Due to its non-linear, discontinuous nature, adaptive tuning algorithms generally fall short of addressing the backlash problem. However, a very effective backlash compensation algorithm can be demonstrated using the Torque Scaling gain. The key to this algorithm is the tapered Torque Scaling profile as a function of the position error of the servo loop. The reason for the tapered profile, as opposed to a step profile, is that when the position error exceeds the backlash distance, a step profile would create a very large discontinuity in the torque output. This repulsing torque tends to slam the axis back against the opposite gear tooth and perpetuate the buzzing effect. The tapered Torque Scaling profile is only run when the acceleration command to the servo loop is zero, that is, when we are not commanding any acceleration or deceleration that would engage the teeth of the gearbox. Properly configured with a suitable value for the Backlash Stabilization Window, this algorithm entirely eliminates the gearbox buzz without sacrificing any servo performance. The Backlash Stabilization parameter determines the width of the window over which backlash stabilization is applied. In general, this value should be set to the measured backlash distance. A Backlash Stabilization Window value of zero effectively disables the feature. (Patent Pending)
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
197
Page 198
Appendix B
Motion axis attributes
Attribute
Axis Type
Data Type
Access
Description
Brake Engage Delay Time
AXIS_SERVO_DRIVE
REAL
GSV SSV
Seconds The Brake Engage Delay attribute controls the amount of time that the drive continues to apply torque to the motor after the motor brake output is changed to engage the brake. This gives time for the motor brake to engage. This is the sequence of events associated with engaging the motor brake. • Disable axis is initiated. (via MSF or drive disable fault action) • Drive stops tracking command reference. (Servo Action Status bit clears.) • Decel to zero speed using configured Stopping Torque. • Zero speed or Stopping Time Limit is reached. • Turn motor brake output off to engage the motor brake. • Wait Brake Engage Delay Time. • Disable the drive power structure. (Drive Enable Status bit clears.) If the axis is shutdown through a fault action or motion instruction, the drive power structure is disabled immediately and the motor brake is engaged immediately. • Drive stops tracking command reference. (Servo Action Status bit clears.) • Disable drive power structure, (Drive Enable Status bit clears.) • Turn off brake output to engage brake.
Brake Release Delay Time
AXIS_SERVO_DRIVE
REAL
GSV SSV
Seconds The Brake Release Delay attribute controls the amount of time that the drive holds off tracking command reference changes after the brake output is changed to release the brake. This gives time for the brake to release. This is the sequence of events associated with engaging the brake. • Enable axis is initiated. (via MSO or MAH) • Drive power structure enabled. (Drive Enable Status bit sets.) • Turn motor brake output on to release the brake.** • Wait Brake Release Delay Time. • Track command reference. (Servo_Action_Status bit sets) **The drive does not release the brake unless there is holding torque.
Bus Ready Status
AXIS_SERVO_DRIVE
BOOL
Tag
If the bit is: • ON, The voltage of the drive’s dc bus is high enough for operation. • OFF, The voltage of the drive’s dc bus is too low.
Bus Regulator Capacity AXIS_SERVO_DRIVE
REAL
GSV Tag
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. The present utilization of the axis bus regulator as a percent of rated capacity.
Bus Regulator ID
AXIS_SERVO_DRIVE
INT
GSV
The Bus Regulator ID attribute contains the enumeration of the A-B Bus Regulator or System Shunt catalog numbers associated with the axis. If the Bus Regulator ID does not match that of the actual bus regulator or shunt hardware, an error is generated during the drive configuration process.
C2C Connection Instance
AXIS_CONSUMED AXIS_GENERIC AXIS_SERVO AXIS_SERVO_DRIVE AXIS_VIRTUAL
SINT
GSV
Producer/Consumed axis’s associated C2C connection instance in reference to the C2C map instance When Axis Data Type is specified to be ‘Consumed’, then this axis is associated to the consumed data by specifying the C2C Map Instance and the C2C Connection Instance. This attribute is the connection instance under the C2C map instance, which provides the axis data being sent to it from another axis via a C2C connection. For all other Axis Data Types. if this axis is to be produced, then this attribute is set to the connection instance under the local controller’s map instance (1) that is used to send the remote axis data via the C2C connection.
198
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
Page 199
Motion axis attributes
Appendix B
Attribute
Axis Type
Data Type
Access
Description
C2C Map Instance
AXIS_CONSUMED AXIS_GENERIC AXIS_SERVO AXIS_SERVO_DRIVE AXIS_VIRTUAL
SINT
GSV
Producer/Consumed axis’s associated C2C map instance When the Axis Data Type attribute is specified to be ‘Consumed’, then this axis is associated to the consumed data by specifying the C2C Map Instance and the C2C Connection Instance. For all other Axis Data Types, if this axis is to be produced, then this attribute is set to 1 to indicate that the connection is off of the local controller’s map instance.
Command Acceleration AXIS_CONSUMED AXIS_GENERIC AXIS_SERVO AXIS_SERVO_DRIVE AXIS_VIRTUAL
REAL
GSV Tag
Important: To use this attribute, make sure Auto Tag Update is Enabled for the motion group (default setting). Otherwise, the right value does not appear as the axis runs. Command Acceleration in Position Units / Sec2 Command Acceleration is the commanded speed of an axis, in the configured axis Position Units per second per second, as generated by any previous motion instructions. It is calculated as the current increment to the command velocity per base update interval. Command Acceleration is a signed value - the sign (+ or -) depends on which direction the axis is being commanded to move. Command Acceleration is a signed floating-point value. Its resolution does not depend on the Averaged Velocity Timebase, but rather on the conversion constant of the axis and the fact that the internal resolution limit on command velocity is 0.00001 feedback counts per base update period per base update period.
Command Position
REAL
GSV Tag
Important: To use this attribute, make sure Auto Tag Update is Enabled for the motion group (default setting). Otherwise, the right value does not appear as the axis runs. Command Position in Position Units Command Position is the desired or commanded position of a physical axis, in the configured Position Units of that axis, as generated by the controller in response to any previous motion Position Control instruction. Command Position data is transferred by the controller to a physical axis as part of an ongoing synchronous data transfer process, which results in a delay of one base update period. Thus, the Command Position value that is obtained is the command position that is acted upon by the physical servo axis one base update period from now. The figure below shows the relationship between Actual Position, Command Position, and Position Error for an axis with an active servo loop. Actual Position is the current position of the axis as measured by the feedback device (for example, encoder). Position error is the difference between the Command and Actual Positions of the servo loop, and is used to drive the motor to make the actual position equal to the command position.
AXIS_CONSUMED AXIS_GENERIC AXIS_SERVO AXIS_SERVO_DRIVE AXIS_VIRTUAL
Command position is useful when performing motion calculations and incremental moves based on the current position of the axis while the axis is moving. Using command position rather than actual position avoids the introduction of cumulative errors due to the position error of the axis at the time the calculation is performed.
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
199
Page 200
Appendix B
Motion axis attributes
Attribute
Axis Type
Data Type
Access
Description
Command Velocity
AXIS_CONSUMED AXIS_GENERIC AXIS_SERVO AXIS_SERVO_DRIVE AXIS_VIRTUAL
REAL
GSV Tag
Important: To use this attribute, make sure Auto Tag Update is Enabled for the motion group (default setting). Otherwise, the right value does not appear as the axis runs. Command Velocity in Position Units / Seconds Command Velocity is the commanded speed of an axis, in the configured axis Position Units per second, as generated by any previous motion instructions. It is calculated as the current increment to the command position per base update interval. Command Velocity is a signed value - the sign (+ or -) depends on which direction the axis is being commanded to move. Command Velocity is a signed floating-point value. Its resolution does not depend on the Averaged Velocity Timebase, but rather on the conversion constant of the axis and the fact that the internal resolution limit on command velocity is 0.00001 feedback counts per base update.
Common Bus Fault
AXIS_SERVO_DRIVE
BOOL
Tag
The drive shuts down if given 3-phase power while it’s configured for Common Bus Follower mode. If that happens, this bit turns on.
Commutation Fault
AXIS_SERVO_DRIVE
DINT
BOOL
Set when there is a problem with the commutation feedback source associated with the drive axis that prevents the drive from receiving accurate or reliable motor shaft information to perform commutation.
Config Fault
AXIS_CONSUMED AXIS_GENERIC AXIS_SERVO AXIS_SERVO_DRIVE AXIS_VIRTUAL
BOOL
Tag
Set when an update operation targeting an axis configuration attribute of an associated motion module failed. For more information about the Configuration Fault, see the Attribute Error Code and Attribute Error ID attributes associated with the motion module. Should this fault give the controller a major fault? • YES, Set the General Fault Type of the motion group = Major Fault.
AXIS_CONSUMED AXIS_SERVO AXIS_SERVO_DRIVE AXIS_VIRTUAL
BOOL
Config Update In Process
• NO, Write code to handle these faults. Tag
When using an SSV instruction to change an attribute, the controller sends the change to the motion module. To wait until the change is done, monitor the ConfigUpdateInProcess bit of the axis. If the bit is: • ON, The controller is changing the attribute. • OFF, The change is done.
Continuous Torque Limit
AXIS_SERVO_DRIVE
REAL
GSV SSV
% Rated The Torque limit attribute provides a method for controlling the continuous torque limit imposed by the drive’s thermal model of the motor. Increasing the Continuous Torque Limit increases the amount of continuous motor torque allowed before the drive folds back the motor current or the drive declares a motor thermal fault. Motors equipped with special cooling options can be configured with a Continuous Torque Limit of greater than 100% rated to attain higher continuous torque output from the motor. Motors operating in high ambient temperature conditions can be configured with a Continuous Torque Limit of less than 100% rated torque to protect the motor from overheating. The Continuous Torque Limit specifies the maximum percentage of the motor’s rated current that the drive can command on a continuous or RMS basis. For example, a Continuous Torque Limit of 150% limits the continuous current delivered to the motor to 1.5 times the continuous current rating of the motor.
Control Sync Fault
AXIS_CONSUMED AXIS_SERVO AXIS_SERVO_DRIVE
BOOL
Tag
If this bit is set, the controller lost communication with the motion module and missed several position updates in a row. • The controller can miss up to 4 position updates. After that, the Control Sync Fault bit is set. The motion module may be faulted, or may fault later. • For a consumed axis, this bit means that communication is lost with the producing controller. This bit clears when communication is reestablished.
200
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018