Upload
viteliof4110
View
213
Download
0
Embed Size (px)
Citation preview
8/18/2019 Motion Coordinated Motion
1/5
4/24/2016 35710 - Motion Example - Coordinated Motion
https://rockwellautomation.custhelp.com/app/answers/detail/a_id/35710/related/1 1/5
Motion Example - Coordinated Motion
35710 | Date Created: 10/31/2006 | Last Updated: 03/30/2015
Access Level: TechConnect Email this page Subscribe to Updates
QuestionFor RSLogix5000, are there guidelines for a Motion or Coordinated Motion?
Can I get some examples of what MCLM and MCCM instructions look like?
It seems like there are a lot of steps to set-up motion steps. Is there an easier way?
Answer Attache d is a Coordinated Motion Example that:
Requires RSLogix5000 version 12.
Uses MCLM and MCCM instructions to produce a series of coordinated moves that are defined in a buffer.
Each element in the buffer contains the in formation needed for the MCLM and MCCM instructions.
Starting the MotionThree Boolean tags are used to start the motion:
The first Boolean tag can be found in the Cood_MainRoutine .
The second and third Boolean tags can be found in the Move_Buffer routine.
Routine Description
Run_Coord_Move_Buffer When Set, executes the move buffer routine
Home_And_Run Will home the axes then execute the motion as defined in the buffer
Support Center (/app/home) Menu (/app/answers/detail/a_id/35710/related/1#)
https://rockwellautomation.custhelp.com/app/homehttps://rockwellautomation.custhelp.com/app/answers/detail/a_id/35710/related/1#https://rockwellautomation.custhelp.com/app/answers/detail/a_id/35710/related/1#https://rockwellautomation.custhelp.com/app/answers/detail/a_id/35710/related/1#https://rockwellautomation.custhelp.com/app/home
8/18/2019 Motion Coordinated Motion
2/5
4/24/2016 35710 - Motion Example - Coordinated Motion
https://rockwellautomation.custhelp.com/app/answers/detail/a_id/35710/related/1 2/5
Run_Program Will execute the motion as defined in the buffer
Included in the project is a Trend that will plot the position of the axes (plot position trend). The plot of the motion defined in this example is shown below:
Move_Buffer DebugIn addition, the Move_Buffer routine has the following debug features:
Single Step - Can Single Step though the buffer. When RunSingleStep is true, one buffer step is executed each time SingleStep is set.
Run to Step - Will execute to a step within the buffer, then stop. When StopRun is set, the motion will be executed until the step specified in StopBLock is reached. At this point
RunSingleStep is set, stopping "Auto" mode.
Use Attached Time-Saving Spreadsheed to setup Motion Steps Also included is an Excel spreadshe et that is use d to set-up the motion steps. The move b uffer can be filled u sing the tag monitor within RSLogix500 0, but this ca n be time-consuming. Th e
tractor program has 240 steps, with almost 20 fields for each step. The Excel spreadsheet has all the information needed to define the steps, but for linear and circular moves. All the fields
match the data required by the MCLM and MCCM instruction except Dwell and NextBlock.
Dwell is not functioning, though it is something that I plan to add in the future.
8/18/2019 Motion Coordinated Motion
3/5
4/24/2016 35710 - Motion Example - Coordinated Motion
https://rockwellautomation.custhelp.com/app/answers/detail/a_id/35710/related/1 3/5
Attachments
NextBlock defines which step should be executed next. Normally it would point to the next step, but it can be used to skip steps or jump back to the start. Execution of the buffered
moves will stop with NextBlock is -1.
The spreadsheet has 3 buttons.
Transfer
Home Move
Start Move
Transfer Button
Use this button to poke the data from the spreadsheet to the move buffer within the controller. A pop-up will appear when the transfer is complete.
Due to the inefficient method of poking data, 240 steps could take a minute or two.
Home Move Button
Use this button to home the axis and start execution.
Start Move Button
Use this button to start execution. In the spreadsheet, you will have to set the TopicID in cell B1 of the RSLogix controller in RSLinx (RSLinx lite does not support this functionality).
$MotionProactiveChatPopup
R12_Coordnated_Motion.ACD (/ci/fattach/get/764715/0/filename/R12_Coordnated_Motion.ACD) (228.38 KB) Tractor1.xls (/ci/fattach/ get/76 4716 /0/filename/Tractor1.xls)
(98.5 KB)
DISCLAIMER
https://rockwellautomation.custhelp.com/ci/fattach/get/764716/0/filename/Tractor1.xlshttps://rockwellautomation.custhelp.com/ci/fattach/get/764715/0/filename/R12_Coordnated_Motion.ACD
8/18/2019 Motion Coordinated Motion
4/5
4/24/2016 35710 - Motion Example - Coordinated Motion
https://rockwellautomation.custhelp.com/app/answers/detail/a_id/35710/related/1 4/5
This page is best viewed in Internet Explorer 10, Firefox 31, Chrome 37, Safari 6 or newer.
This knowledge base web site is intended to provide general technical information on a particular subject or subjects and is not an exhaustive treatment of such subjects. Accordingly, the
information in this web site is not intended to constitute application, design, software or other professional engineering advice or services. Before making any decision or taking any action,
which might affect your equipment, you should consult a qualified professional advisor.
ROCKWELL AUTOMATION DOES NOT WARRANT THE COMPLETENESS, TIMELINESS OR ACCURACY OF ANY OF THE DATA CONTAINED IN THIS WEB SITE AND MAY MAKE CHANGES
THERETO AT ANY TIME IN ITS SOLE DISCRETION WITHOUT NOTICE. FURTHER, ALL INFORMATION CONVEYED HEREBY IS PROVIDED TO USERS "AS IS." IN NO EVENT SHALL
ROCKWELL BE LIABLE FOR ANY DAMAGES OF ANY KIND INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS PROFIT OR DAMAGE, EVEN IF ROCKWELL
AUTOMATION HAVE BEEN ADVISED ON THE POSSIBIL ITY O F SUCH DAMAGES.
ROCKWELL AUTOMATION DISCLAIMS ALL WARRANTIES WHETHER EXPRESSED OR IMPLIED IN RESPECT OF THE INFORMATION (INCLUDING SOFTWARE) PROVIDED HEREBY,
INCLUDING THE IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, AND NON-INFRINGEMENT. Note that certain jurisdictions do not countenancethe exclusion of implied warranties; thus, this disclaimer may not apply to you.
Related Articles
Motion Example - MAM, MAH, fault resets, MSO, MAJ, etc (/app/answers/detail/a_id/35711/related/1) 35711 | 03/30/2015
Motion Program Samples (/app/answers/detail/a_id/55303/related/1)
55303 | 03/29/2016
Troubleshooting Guide for ControlLogix Motion Module (/app/answers/detail/a_id/28596/related/1)
28596 | 05/01/2015
Motion Control Tuning Basics (/app/answers/detail/a_id/24152/related/1) 24152 | 09/24/2015
Advanced Motion Tuning Documents (/app/answers/detail/a_id/24665/related/1)
24665 | 09/30/2015
https://rockwellautomation.custhelp.com/app/answers/detail/a_id/24665/related/1https://rockwellautomation.custhelp.com/app/answers/detail/a_id/24152/related/1https://rockwellautomation.custhelp.com/app/answers/detail/a_id/28596/related/1https://rockwellautomation.custhelp.com/app/answers/detail/a_id/55303/related/1https://rockwellautomation.custhelp.com/app/answers/detail/a_id/35711/related/1
8/18/2019 Motion Coordinated Motion
5/5
4/24/2016 35710 - Motion Example - Coordinated Motion
https://rockwellautomation.custhelp.com/app/answers/detail/a_id/35710/related/1 5/5
(http://www.rockwellautomation.com/global/blog/overview.page)(https://www.facebook.com/ROKAutomation)(https://plus.google.com/+RockwellautomationInc)(https://www.linkedin.com/company/rockwell-
automation)
(http://www.slideshare.net/RockwellAutomation)(http://twitter.com/ROKAutomation)(http://www.youtube.com/rokautomation)
Previously Viewed Articles
New Site Feedback Give Feedback
http://www.youtube.com/rokautomationhttp://twitter.com/ROKAutomationhttp://www.slideshare.net/RockwellAutomationhttps://www.linkedin.com/company/rockwell-automationhttps://plus.google.com/+RockwellautomationInchttps://www.facebook.com/ROKAutomationhttp://www.rockwellautomation.com/global/blog/overview.page