Loading
Add-On Instruction | Kinetix | Studio 5000

Torque Calculator for Servo Motors

Revision: A (08/08/2023) - Deploy Time: 10 Minutes
Allen‑Bradley MP-Series™ Low Inertia (MPL) Servomotor
On this page:
  • Overview
Innovation Center Home Page

What is this for?

Simplify the calculation of the motor feedback torque in torque units for servo motors, as well as the conversion of the maximum torque from a given value in torque units to percent.

General Features

The use of the block or AOI (for Add-On Instruction) is extremely simple, just open the attached file labeled “AOI_TorqueCalculator_ForServoMotor - Application Code.ACD” and copy to your project file.

Add-On Instruction should look like this:

Generic screenshot
 
 

Limitations/Disadvantages

It can be used only with Servodrives with SERCOS network.


How can I make it work?

The AOI_TorqueCalculator_ForServoMotor automatically calculates the motor Torque Feedback in torque units. This AOI can also calculate the Peak Torque/Force Lim in percent from a desired maximum motor torque limit given in torque units.

This AOI is constituted by three sets of parameters: one set for configuration of the AOI, one set to convert Torque Feedback from % to torque units, and a set to convert the Peak Torque/Force Lim from torque units to %.

Generic screenshot

The user needs to enter only two motor parameters in the AOI: Continuous Stall Torque and Peak Stall Torque found in datasheets. All the other parameters needed in this AOI are automatically read from the drive when this AOI is enabled. This AOI continuously converts the Torque Feedback from percent to a given toque unit while enabled. The result is placed in the parameter Out_Torque_Nm. The torque unit is the same of the parameters Inp_ContStallTorque_Nm and Inp_PeakStallTorque_Nm. Meanwhile, this AOI can be used to calculate the parameter Peak Torque/Force Lim from the torque entered in the parameter Inp_DesiredTorqueLim_Nm, which corresponds to the maximum peak torque required for a particular application. The parameter Inp_DesiredTorqueLim_Nm is entered in torque units and the result for the Peak Torque/Force Lim stored in the parameter Out_ForceTorqueLim_Perc is given in percent.

This AOI must remain enabled to calculate Torque Feedback in a given torque unit.

AOI Control

Typically, the AOI_TorqueCalculator_ForServoMotor instruction can be executed when torque feedback needs to be read in torque units or when the Peak Torque/Force Lim needs to be calculated for specific torque limit as shown below.

Generic screenshot

Appendix: Parameter Definitions

Inp_Axis:
Axis (Servo_Axis_Drive data structure) that will have torque converted torque units.

Ref_MotorContStallCur:
This is a Message data type tag. This parameter is used to read the Motor Continuous Stall Current from the drive. The Motor Continuous Stall Current is parameter 111 (S:0:111) in a Kinetix drive. The Ref_MotorContStallCur tag is configured in the AOI as shown below. The Destination is the tag MTC.Inp_DriveContCur_mA.

Generic screenshot

Ref_MotorPeakStallCur:

This is a Message data type tag. This parameter is used to read the Motor Peak Stall Current from the drive. The Motor Continuous Peak Current is parameter 109 (S:0:109) in a Kinetix drive. The Ref_MotorPeakStallCur tag is configured in the AOI as shown below. The Destination is the tag MTC.Inp_MotorPeakStallCur_mA.

Generic screenshot

Ref_DriveContCur:

This is a Message data type tag. This parameter is used to read the Drive Continuous Current from the drive. The Drive Continuous Current is parameter 112 (S:0:112) in a Kinetix drive. The Ref_DriveContCur tag is configured in the AOI as shown below. The Destination is the tag MTC.Inp_DriveContCur_mA.

Generic screenshot

Ref_DrivePeakCur:

This is a Message data type tag. This parameter is used to read the Drive Peak Current from the drive. The Drive Peak Current is parameter 110 (S:0:110) in a Kinetix drive. The Ref_DrivePeakCur tag is set in the AOI as shown below. The Destination is the tag MTC.Inp_DrivePeakCur_mA.

Generic screenshot

Inp_ContStallTorque_Nm:

This is a REAL data type tag. The user uses this parameter to enter the Motor Continuous Stall Torque, which is found in the motor nameplate or in the Motion Selection Guide. This parameter is shown to be given in Nm. However, any other torque unit can be used if the Inp_PeakStallTorque_Nm be also set in the same toque unit. Thus, the torque feedback given in the Out_Torque_Nm will also be given in this same torque unit.

Inp_PeakStallTorque_Nm:

This is a REAL data type tag. The user uses this parameter to enter the Motor Peak Stall Torque, which is found in the Motion Selection Guide.

Out_Torque_Nm:

This is a REAL data type tag. This parameter shows the Torque Feedback converted from percent to the torque unit given by the parameters Inp_ContStallTorque_Nm and Inp_PeakStallTorque_Nm.

Inp_DesiredTorqueLim_Nm:

This is a REAL data type tag. This parameter is used to enter in torque units the torque limit for a particular application. The AOI converts this torque from torque units to percentage. This torque in percent is the Peak Torque/Force Lim to be manually entered in the Limits tab of the Axis Properties. The torque entered in this parameter must be in the same unit as the parameters Inp_ContStallTorque_Nm and Inp_PeakStallTorque_Nm.

Out_TorqueForceLim_Perc:

This is a REAL data type tag. This parameter returns the Peak Torque/Force Lim necessary to limit the motor torque to the value entered in the parameter Inp_DesiredTorqueLim_Nm. This parameter is given in percentage.

Sts_EN:

The Enable bit is set while the rung is on.

Sts_TLim:

This Torque Limit bit is set when the value entered in the Inp_DesiredTorqueLim_Nm parameter is higher than the torque that the motor-drive system can deliver.

Sts_ER:

The Error bit is set if same of the message instructions used to read parameters from the drive fail to communicate with the drive. This bit is reset when the AOI is enabled. When an error occurs, the error message can be read in the Message Configuration window which can be accessed by hitting the box beside the tag name as shown below.

Generic screenshot

Inp_MotorContStallCur_mA:

This is a DINT data type tag. This parameter is the Destination in the Ref_MotorContStallCur message. This parameter contains the Motor Continuous Stall Current in mA read from the drive by the Ref_MotorContStallCur message.

Inp_MotorPeakStallCur_mA:

This is a DINT data type tag. This parameter is the Destination in the Ref_MotorPeakStallCur message. This parameter contains the Motor Peak Stall Current in mA read from the drive by the Ref_MotorPeakStallCur message.

Inp_DriveContCur_mA:

This is a DINT data type tag. This parameter is the Destination in the Ref_DriveContCur message. This parameter contains the Drive Continuous Current in mA read from the drive by the Ref_DriveContCur message.

Inp_DrivePeakCur_mA:

This is a DINT data type tag. This parameter is the Destination in the Ref_DrivePeakCur message. This parameter contains the Drive Peak Current in mA read from the drive by the Ref_DrivePeakCur message.

Downloads

Please note: You will need to agree to the Terms & Conditions for each download.

Files for download ›
Legal Disclaimer Acceptance. ROCKWELL AUTOMATION WILL PROVIDE ACCESS TO ROCKWELL PRODUCTS (BEST PRACTICES, APPLICATIONS AND KNOWLEDGE) ON THE CONDITION THAT YOU ACCEPT AND COMPLY WITH THE FOLLOWING TERMS AND CONDITIONS. YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS AGREEMENT BY DOWNLOADING, INSTALLING, COPYING, OR OTHERWISE USING PRODUCTS. IF YOU ARE ACCEPTING THESE TERMS ON BEHALF OF ANOTHER PERSON, COMPANY, OR OTHER LEGAL ENTITY, YOU REPRESENT AND WARRANT THAT YOU HAVE FULL AUTHORITY TO BIND THAT PERSON, COMPANY, OR LEGAL ENTITY TO THESE TERMS. IF YOU DO NOT AGREE TO THESE TERMS, DO NOT DOWNLOAD, INSTALL, COPY, ACCESS, OR USE THE PRODUCTS, SOFTWARE AND/OR CLOUD SERVICES. 1. Rockwell Automation retains full ownership and title to all Products and related documentation. No rights or licenses are granted other than those set forth in this Agreement. Company grants to Rockwell Automation a non-exclusive, worldwide, royalty-free, perpetual, non-revocable license to use any feedback Company provides regarding the Products, even if Company has designated the feedback as confidential. Rockwell Automation will be entitled to use the feedback without restriction or compensation to Company. 2. Company may not lease sub-lease, assign, license, sub-license or otherwise transfer any of the Products without the prior written consent of Rockwell Automation. Company may not assign or otherwise transfer access rights to the Products without the prior written consent of Rockwell Automation. Any reverse assembly, reverse engineering, decompilation, and creation of derivative works based on the Products by Company is prohibited. 3. Company acknowledges that Products provided under this Agreement are Rockwell Automation’s Confidential Information and are covered by effective or pending copyrights, patents, trademarks and/or trade secrets of Rockwell Automation, and Company agrees to maintain confidentiality by not disclosing Products or documentation to any third party without the prior written consent of Rockwell Automation and to protect the confidentiality of the Products as it would Company’s own confidential information. Company agrees that its obligation of confidentiality under this paragraph shall survive expiration or termination of this Agreement. 4. Company agrees that Products provided under this Agreement are prototypes and examples and its application and results may vary depending on each customer and project conditions. Rockwell Automation do not warranty the same results. This Agreement shall in no way be construed as a commitment by Rockwell Automation at any time to manufacture and/or offer Products for sale. There is no explicit or implicit service level agreement associated with using the Products. Rockwell Automation does not warrant that the functions contained in the Products will meet Company’s requirements. Company agrees to use all Products only in accordance with the instructions and only for the intended usages identified in the documentation. 5. EXCLUSION OF WARRANTIES AND LIMITATION OF LIABILITY. THE PRODUCTS ARE PROVIDED "AS IS". ROCKWELL AUTOMATION DISCLAIMS ANY AND ALL WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, INCLUDING WITHOUT LIMITATION ANY WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. ROCKWELL AUTOMATION EXPLICITLY DISCLAIMS ALL WARRANTIES OF NON- INFRINGEMENT AND EXPRESSLY DOES NOT WARRANT THAT THE PRODUCTS, IN WHOLE OR IN PART, WILL BE ERROR FREE OR FREE FROM SECURITY VULNERABILITIES. IN NO EVENT SHALL ROCKWELL AUTOMATION BE LIABLE FOR (i) LOST PROFITS, LOST SAVINGS, DOWNTIME, SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND, OR (ii) ANY PERSONAL INJURY, PROPERTY DAMAGE OR ENVIRONMENTAL DAMAGE ARISING OUT OF OR IN CONNECTION WITH THIS AGREEMENT, WHETHER IN AN ACTION IN CONTRACT, STRICT LIABILITY OR IN TORT INCLUDING NEGLIGENCE. 6. COMPANY AGREES TO INDEMNIFY AND HOLD ROCKWELL AUTOMATION HARMLESS FROM ALL COSTS, AWARDS, DAMAGES, EXPENSES AND FEES (INCLUDING ATTORNEYS FEES) RESULTING FROM OR RELATED TO ANY THIRD-PARTY CLAIMS (INCLUDING EMPLOYEES AND AGENTS OF COMPANY) AGAINST ROCKWELL AUTOMATION, ITS DISTRIBUTORS, AGENTS, OFFICERS, DIRECTORS OR EMPLOYEES FOR PERSONAL INJURY (INCLUDING DEATH), PROPERTY DAMAGE OR ENVIRONMENTAL DAMAGE RELATED TO OR RESULTING FROM THE USE OF THE PRODUCTS. 7. In the event a Product is exported, Company agrees to comply with all applicable United States Export Control Law and Regulations, and the applicable export control laws of other countries. This Agreement shall be governed by the laws of the state of Wisconsin. This Agreement is the complete and exclusive Agreement between Rockwell Automation and the Company, and supersedes all prior agreements, whether written or oral, relating to the Products.


Need Help?

If you need help with an application or have feedback from the Innovation Center, please contact us.

Have a general inquiry?

Rockwell Automation and our partners offer exceptional industry knowledge to help design, implement, and support your automation investment.

Contact Rockwell Automation
  1. Chevron LeftChevron Left Rockwell Automation Home Chevron RightChevron Right
  2. Chevron LeftChevron Left Sup... Chevron RightChevron Right
  3. Chevron LeftChevron Left Pro... Chevron RightChevron Right
  4. Chevron LeftChevron Left Downloads Chevron RightChevron Right
  5. Chevron LeftChevron Left Innovation Center Chevron RightChevron Right
  6. Chevron LeftChevron Left Torque Calculator for Servo Motors Chevron RightChevron Right
Please update your cookie preferences to continue.
This feature requires cookies to enhance your experience. Please update your preferences to allow for these cookies:
  • Social Media Cookies
  • Functional Cookies
  • Performance Cookies
  • Marketing Cookies
  • All Cookies
You can update your preferences at any time. For more information please see our {0} Privacy Policy
CloseClose