SlideShare une entreprise Scribd logo
1  sur  9
Ain Shams University 
Faculty of Engineering 
Mechatronics Department 
Motor Sizing of Single Axis Linear Motor 
using SOLIDWORKS and LabVIEW 
Walkthrough Guide 
Supplementary material for Motion 
Control Course
v1.0 – 6/11/2014 
TABLE OF CONTENTS 
SOLIDWORKS PREPARATION ........................................................................................................................................................ 1 
1.1 LOADING MOTION ADD-IN .................................................................................................................................................... 1 
1.2 CARRIAGE AND BALL SCREW MODEL ....................................................................................................................................... 1 
1.3 CONFIGURING MOTION PROPERTIES ....................................................................................................................................... 2 
1.4 CONFIGURING LINEAR MOTOR ............................................................................................................................................... 3 
LABVIEW UI AND COMMUNICATION.......................................................................................................................................... 4 
2.1 CREATING LABVIEW PROJECT WITH LOADED ASSEMBLY.......................................................................................................... 4 
2.2 LINKING SOLIDWORKS LINEAR MOTOR TO LABVIEW AXIS ................................................................................................... 5 
2.3 CORE VIS IN SOFTMOTION MODULE ...................................................................................................................................... 7 
LIST OF FIGURES 
FIGURE 1 LOADING MOTION ADD-IN ...................................................................................................................................................... 1 
FIGURE 2 SOLIDWORKS MODEL LOCATION .............................................................................................................................................. 1 
FIGURE 3 SINGLE AXIS ASSEMBLY............................................................................................................................................................ 2 
FIGURE 4 MOTION PARAMETERS............................................................................................................................................................ 2 
FIGURE 5 CONFIGURING LINEAR MOTOR................................................................................................................................................. 3 
FIGURE 6 DISTANCE MOTOR PARAMETERS .............................................................................................................................................. 3 
FIGURE 7 ADDING ASSEMBLY FILE ........................................................................................................................................................... 4 
FIGURE 8 ADDING AXIS.......................................................................................................................................................................... 5 
FIGURE 9 ENABLE AUTOMATIC ACTIVE TRANSITION.................................................................................................................................. 5 
FIGURE 10 DEPLOYING AXES................................................................................................................................................................... 6 
FIGURE 11 SUCCESSFUL DEPLOYMENT .................................................................................................................................................... 6 
FIGURE 12 STARTING SIMULATION ......................................................................................................................................................... 7 
FIGURE 13 MOTOR SIZING VIS............................................................................................................................................................... 7
1 
SOLIDWORKS Preparation 
This section will illustrate how to prepare your mechanical model to be ready for interfacing 
with NI LabVIEW®. 
NOTE: This tutorial is using SOLIDWORKS® 2014 SP2. Later versions may carry changes. 
1.1 Loading Motion Add-in 
To be able to configure motors, make sure you have motion add-in added from Tools -> 
Add-Ins menu 
Figure 1 Loading motion add-in 
1.2 Carriage and Ball screw model 
Select File -> Open or simply Ctrl+O and Browse for the assembly model accompanying this 
tutorial found in: 
Motion Control SessionSingle AxisVelocity ProfilingSolidworksAxis1Axis1- 
across.SLDASM 
Figure 2 Solidworks model location
2 
Figure 3 Single axis assembly 
1.3 Configuring motion properties 
Before placing the driving motor, Make sure you select Motion Analysis mode in motion 
study . You may set the motion properties with the following recommended parameters to 
reduce CPU loading during simuation: 
1 2 
Figure 4 Motion parameters
3 
1.4 Configuring Linear motor 
SOLIDWORKS supports different types of parameters (beyond the scope of this tutorial. 
LabVIEW can only interact with Distance motors. Select motor icon located in motion 
study bar. 
I. Select Linear Motor (Actuator) 
II. Select the upper face of the moving carriage (with Ain Shams University logo decal) 
as motor location 
III. Select the square coupling front for direction . Make sure that red 
arrow direction is “left to right”. 
IV. Select the coupling front in component move relative to . 
Figure 5 Configuring linear motor 
II 
V. Set other parameters as below: 
Figure 6 Distance motor parameters 
III 
VI. Optioal : you may rename the motor name to LMotor. 
VII. It is better to disable RealView and Shadow in View settings. 
IV
4 
LabVIEW UI and Communication 
In this section two main tasks to be carried out, to start with , configuring communication 
with the linear motor in SOLIDWORKS, and secondly, adding the necessary Vis for motion control. 
2.1 Creating LabVIEW project with loaded assembly. 
Launch LabVIEW and select new project. It is better to create a dedicated folder for both 
LabVIEW project and SOLIDORKS parts and assembly. Right click on my computer in the project 
tree to addassembly file (Figure 7). 
Figure 7 adding assembly file 
The assembly file appears as a project item. Right click on the assembly file in the project 
tree and select open assembly. Then, right click on the file again and click on synchronize 
assembly. Make sure you see LMotor under your assembly file (or the name of linear motor in 
the assembly).
5 
2.2 Linking SOLIDWORKS linear motor to LabVIEW axis 
This is a major step where you create an axis linked to the linear motor (LMotor). Simply 
right click on my computer under LabVIEW project tree and select new SoftMotion axis. From 
axis manager , select the LMotor or the name of your linear motor. 
Figure 8 Adding Axis 
To enable communication once you start simulation, right click on the axis you just 
created and check the below selection: 
Figure 9 enable automatic active transition
Finally, select my computer, assembly file and axis from project tree (using shift while 
6 
selecting) and choose deploy from right click menu. 
Figure 10 deploying axes 
If conflict resolution window appears, click apply on all of them. The deployment process 
starts and you shoud see successful message. This implies successful connection to SOLIDOWRKS 
assembly. 
Figure 11 Successful deployment 
Last but not least, right click on solidworks assembly, you should see start simulation . If you 
select it, SOLIDWORKS model simulation will start. It means it is now ready to receive trajectory 
data from LabVIEW. Click again on assembly and select stop simulation.
7 
Figure 12 Starting simulation 
Up to this point, You are ready to build LabVIEW UI to interact with SOLIDWORKS model. 
2.3 Core VIs in SoftMotion module 
SoftMotion module has many VIs for interacting with either software simulation or physical 
hardware motion controllers. This tutorial will focus on VIs related to motor sizing and selection 
(to be discussed in lecture) 
 Clear faults (Express VI) [ Clearing any previous axis faults]. 
 Straight Line Move (Express VI) [Motion profiling] 
 Read (Express VI) [Reading Controlled Variabls] 
Figure 13 Motor sizing VIs

Contenu connexe

En vedette

Model Predictive Control Implementation with LabVIEW
Model Predictive Control Implementation with LabVIEWModel Predictive Control Implementation with LabVIEW
Model Predictive Control Implementation with LabVIEWyurongwang1
 
"TRIBAL TALENT MANAGEMENT: A NEW PERSPECTIVE FOR TRIBAL PEOPLE"
"TRIBAL TALENT MANAGEMENT: A NEW PERSPECTIVE FOR TRIBAL PEOPLE""TRIBAL TALENT MANAGEMENT: A NEW PERSPECTIVE FOR TRIBAL PEOPLE"
"TRIBAL TALENT MANAGEMENT: A NEW PERSPECTIVE FOR TRIBAL PEOPLE"JIANGUANGLUNG DANGMEI
 
Desarrollo infantil
Desarrollo infantilDesarrollo infantil
Desarrollo infantilpaolitha1918
 
Umami webinaari slideshare
Umami webinaari slideshareUmami webinaari slideshare
Umami webinaari slideshareMikko Horila
 
Lighting earth (光之大地)
Lighting earth   (光之大地)Lighting earth   (光之大地)
Lighting earth (光之大地)彥沂 官
 
Social Media Storytelling
Social Media StorytellingSocial Media Storytelling
Social Media Storytellingkimbui
 
Las clases de energía
Las clases de energíaLas clases de energía
Las clases de energíamayi12
 
O 03272009
O 03272009O 03272009
O 03272009jay_park
 
Student Resources
Student ResourcesStudent Resources
Student Resourcestcohen1014
 
Η εσωτερική υποτίμηση ως στρατηγική για την ανταγωνιστηκότητα
Η εσωτερική υποτίμηση ως στρατηγική για την ανταγωνιστηκότηταΗ εσωτερική υποτίμηση ως στρατηγική για την ανταγωνιστηκότητα
Η εσωτερική υποτίμηση ως στρατηγική για την ανταγωνιστηκότηταonned-economy
 
Owyang & Spiceworks Webinar Apr19 2011
Owyang & Spiceworks Webinar Apr19 2011Owyang & Spiceworks Webinar Apr19 2011
Owyang & Spiceworks Webinar Apr19 2011Auskosh
 
Slideshare nasıl kullanılır
Slideshare nasıl kullanılırSlideshare nasıl kullanılır
Slideshare nasıl kullanılırOrkun Güren
 

En vedette (20)

Model Predictive Control Implementation with LabVIEW
Model Predictive Control Implementation with LabVIEWModel Predictive Control Implementation with LabVIEW
Model Predictive Control Implementation with LabVIEW
 
Big Eye At Nits
Big Eye At NitsBig Eye At Nits
Big Eye At Nits
 
"TRIBAL TALENT MANAGEMENT: A NEW PERSPECTIVE FOR TRIBAL PEOPLE"
"TRIBAL TALENT MANAGEMENT: A NEW PERSPECTIVE FOR TRIBAL PEOPLE""TRIBAL TALENT MANAGEMENT: A NEW PERSPECTIVE FOR TRIBAL PEOPLE"
"TRIBAL TALENT MANAGEMENT: A NEW PERSPECTIVE FOR TRIBAL PEOPLE"
 
Prueba
PruebaPrueba
Prueba
 
Desarrollo infantil
Desarrollo infantilDesarrollo infantil
Desarrollo infantil
 
Umami webinaari slideshare
Umami webinaari slideshareUmami webinaari slideshare
Umami webinaari slideshare
 
Prueva
PruevaPrueva
Prueva
 
Mongo
MongoMongo
Mongo
 
Lighting earth (光之大地)
Lighting earth   (光之大地)Lighting earth   (光之大地)
Lighting earth (光之大地)
 
Seman 3 ciclo parte b ii
Seman 3 ciclo parte b iiSeman 3 ciclo parte b ii
Seman 3 ciclo parte b ii
 
Doktor Eta
Doktor EtaDoktor Eta
Doktor Eta
 
Social Media Storytelling
Social Media StorytellingSocial Media Storytelling
Social Media Storytelling
 
Las clases de energía
Las clases de energíaLas clases de energía
Las clases de energía
 
10 habitos de la gente eficaz
10 habitos de la gente eficaz10 habitos de la gente eficaz
10 habitos de la gente eficaz
 
O 03272009
O 03272009O 03272009
O 03272009
 
Student Resources
Student ResourcesStudent Resources
Student Resources
 
Presentación1
Presentación1Presentación1
Presentación1
 
Η εσωτερική υποτίμηση ως στρατηγική για την ανταγωνιστηκότητα
Η εσωτερική υποτίμηση ως στρατηγική για την ανταγωνιστηκότηταΗ εσωτερική υποτίμηση ως στρατηγική για την ανταγωνιστηκότητα
Η εσωτερική υποτίμηση ως στρατηγική για την ανταγωνιστηκότητα
 
Owyang & Spiceworks Webinar Apr19 2011
Owyang & Spiceworks Webinar Apr19 2011Owyang & Spiceworks Webinar Apr19 2011
Owyang & Spiceworks Webinar Apr19 2011
 
Slideshare nasıl kullanılır
Slideshare nasıl kullanılırSlideshare nasıl kullanılır
Slideshare nasıl kullanılır
 

Similaire à Instructions on how to configure NI SoftMotion with SOLIDWORKS

Modeling and Simulation of Virtual Prototype of the forming Machine based on ...
Modeling and Simulation of Virtual Prototype of the forming Machine based on ...Modeling and Simulation of Virtual Prototype of the forming Machine based on ...
Modeling and Simulation of Virtual Prototype of the forming Machine based on ...IJRES Journal
 
Solid works motion_tutorial_2010
Solid works motion_tutorial_2010Solid works motion_tutorial_2010
Solid works motion_tutorial_2010Rahman Hakim
 
COMPUTATIONAL ENGINEERING OF FINITE ELEMENT MODELLING FOR AUTOMOTIVE APPLICAT...
COMPUTATIONAL ENGINEERING OF FINITE ELEMENT MODELLING FOR AUTOMOTIVE APPLICAT...COMPUTATIONAL ENGINEERING OF FINITE ELEMENT MODELLING FOR AUTOMOTIVE APPLICAT...
COMPUTATIONAL ENGINEERING OF FINITE ELEMENT MODELLING FOR AUTOMOTIVE APPLICAT...IAEME Publication
 
Cauve VMnS User Document
Cauve VMnS User DocumentCauve VMnS User Document
Cauve VMnS User Documentswambala
 
Web sphere application server performance tuning workshop
Web sphere application server performance tuning workshopWeb sphere application server performance tuning workshop
Web sphere application server performance tuning workshopRohit Kelapure
 
20100117US001c-3DVisualizationOfRailroadWheelFlaws
20100117US001c-3DVisualizationOfRailroadWheelFlaws20100117US001c-3DVisualizationOfRailroadWheelFlaws
20100117US001c-3DVisualizationOfRailroadWheelFlawsBen Rayner
 
Acrobat document3
Acrobat document3Acrobat document3
Acrobat document3esregroup
 
Solid works tutorial08_bearingpuller_english_08_lr
Solid works tutorial08_bearingpuller_english_08_lrSolid works tutorial08_bearingpuller_english_08_lr
Solid works tutorial08_bearingpuller_english_08_lrAkira Tamashiro
 
Getting started-with-lotus-vehicle-simulation
Getting started-with-lotus-vehicle-simulationGetting started-with-lotus-vehicle-simulation
Getting started-with-lotus-vehicle-simulationUpender Rawat
 
5) running applications
5) running applications5) running applications
5) running applicationstechbed
 
Ibm urban code_deploy_v6_lab-workbook
Ibm urban code_deploy_v6_lab-workbookIbm urban code_deploy_v6_lab-workbook
Ibm urban code_deploy_v6_lab-workbookBalipalliGayathri
 
InnerSoft CAD Manual
InnerSoft CAD ManualInnerSoft CAD Manual
InnerSoft CAD ManualInnerSoft
 
CIC_Manual.pdf
CIC_Manual.pdfCIC_Manual.pdf
CIC_Manual.pdfRMani7
 
UILayout plug-in for APEX
UILayout plug-in for APEXUILayout plug-in for APEX
UILayout plug-in for APEXTobias Arnhold
 
Ibm rtw rtvs_implementation_guide_v4_0_2_public_release
Ibm rtw rtvs_implementation_guide_v4_0_2_public_releaseIbm rtw rtvs_implementation_guide_v4_0_2_public_release
Ibm rtw rtvs_implementation_guide_v4_0_2_public_releaseSarang Tripathy
 

Similaire à Instructions on how to configure NI SoftMotion with SOLIDWORKS (20)

Modeling and Simulation of Virtual Prototype of the forming Machine based on ...
Modeling and Simulation of Virtual Prototype of the forming Machine based on ...Modeling and Simulation of Virtual Prototype of the forming Machine based on ...
Modeling and Simulation of Virtual Prototype of the forming Machine based on ...
 
CAE Assignment
CAE AssignmentCAE Assignment
CAE Assignment
 
Solid works motion_tutorial_2010
Solid works motion_tutorial_2010Solid works motion_tutorial_2010
Solid works motion_tutorial_2010
 
COMPUTATIONAL ENGINEERING OF FINITE ELEMENT MODELLING FOR AUTOMOTIVE APPLICAT...
COMPUTATIONAL ENGINEERING OF FINITE ELEMENT MODELLING FOR AUTOMOTIVE APPLICAT...COMPUTATIONAL ENGINEERING OF FINITE ELEMENT MODELLING FOR AUTOMOTIVE APPLICAT...
COMPUTATIONAL ENGINEERING OF FINITE ELEMENT MODELLING FOR AUTOMOTIVE APPLICAT...
 
Cauve VMnS User Document
Cauve VMnS User DocumentCauve VMnS User Document
Cauve VMnS User Document
 
CAE_Final
CAE_FinalCAE_Final
CAE_Final
 
Solidworks software
Solidworks softwareSolidworks software
Solidworks software
 
Homestead demo
Homestead demoHomestead demo
Homestead demo
 
Web sphere application server performance tuning workshop
Web sphere application server performance tuning workshopWeb sphere application server performance tuning workshop
Web sphere application server performance tuning workshop
 
20100117US001c-3DVisualizationOfRailroadWheelFlaws
20100117US001c-3DVisualizationOfRailroadWheelFlaws20100117US001c-3DVisualizationOfRailroadWheelFlaws
20100117US001c-3DVisualizationOfRailroadWheelFlaws
 
Acrobat document3
Acrobat document3Acrobat document3
Acrobat document3
 
Solid works tutorial08_bearingpuller_english_08_lr
Solid works tutorial08_bearingpuller_english_08_lrSolid works tutorial08_bearingpuller_english_08_lr
Solid works tutorial08_bearingpuller_english_08_lr
 
Getting started-with-lotus-vehicle-simulation
Getting started-with-lotus-vehicle-simulationGetting started-with-lotus-vehicle-simulation
Getting started-with-lotus-vehicle-simulation
 
5) running applications
5) running applications5) running applications
5) running applications
 
Ibm urban code_deploy_v6_lab-workbook
Ibm urban code_deploy_v6_lab-workbookIbm urban code_deploy_v6_lab-workbook
Ibm urban code_deploy_v6_lab-workbook
 
CAE_s1233587
CAE_s1233587CAE_s1233587
CAE_s1233587
 
InnerSoft CAD Manual
InnerSoft CAD ManualInnerSoft CAD Manual
InnerSoft CAD Manual
 
CIC_Manual.pdf
CIC_Manual.pdfCIC_Manual.pdf
CIC_Manual.pdf
 
UILayout plug-in for APEX
UILayout plug-in for APEXUILayout plug-in for APEX
UILayout plug-in for APEX
 
Ibm rtw rtvs_implementation_guide_v4_0_2_public_release
Ibm rtw rtvs_implementation_guide_v4_0_2_public_releaseIbm rtw rtvs_implementation_guide_v4_0_2_public_release
Ibm rtw rtvs_implementation_guide_v4_0_2_public_release
 

Dernier

Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spaintimesproduction05
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)simmis5
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Christo Ananth
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01KreezheaRecto
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesPrabhanshu Chaturvedi
 
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSUNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSrknatarajan
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfRagavanV2
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduitsrknatarajan
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringmulugeta48
 

Dernier (20)

Vivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design SpainVivazz, Mieres Social Housing Design Spain
Vivazz, Mieres Social Housing Design Spain
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and Properties
 
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSUNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 

Instructions on how to configure NI SoftMotion with SOLIDWORKS

  • 1. Ain Shams University Faculty of Engineering Mechatronics Department Motor Sizing of Single Axis Linear Motor using SOLIDWORKS and LabVIEW Walkthrough Guide Supplementary material for Motion Control Course
  • 2. v1.0 – 6/11/2014 TABLE OF CONTENTS SOLIDWORKS PREPARATION ........................................................................................................................................................ 1 1.1 LOADING MOTION ADD-IN .................................................................................................................................................... 1 1.2 CARRIAGE AND BALL SCREW MODEL ....................................................................................................................................... 1 1.3 CONFIGURING MOTION PROPERTIES ....................................................................................................................................... 2 1.4 CONFIGURING LINEAR MOTOR ............................................................................................................................................... 3 LABVIEW UI AND COMMUNICATION.......................................................................................................................................... 4 2.1 CREATING LABVIEW PROJECT WITH LOADED ASSEMBLY.......................................................................................................... 4 2.2 LINKING SOLIDWORKS LINEAR MOTOR TO LABVIEW AXIS ................................................................................................... 5 2.3 CORE VIS IN SOFTMOTION MODULE ...................................................................................................................................... 7 LIST OF FIGURES FIGURE 1 LOADING MOTION ADD-IN ...................................................................................................................................................... 1 FIGURE 2 SOLIDWORKS MODEL LOCATION .............................................................................................................................................. 1 FIGURE 3 SINGLE AXIS ASSEMBLY............................................................................................................................................................ 2 FIGURE 4 MOTION PARAMETERS............................................................................................................................................................ 2 FIGURE 5 CONFIGURING LINEAR MOTOR................................................................................................................................................. 3 FIGURE 6 DISTANCE MOTOR PARAMETERS .............................................................................................................................................. 3 FIGURE 7 ADDING ASSEMBLY FILE ........................................................................................................................................................... 4 FIGURE 8 ADDING AXIS.......................................................................................................................................................................... 5 FIGURE 9 ENABLE AUTOMATIC ACTIVE TRANSITION.................................................................................................................................. 5 FIGURE 10 DEPLOYING AXES................................................................................................................................................................... 6 FIGURE 11 SUCCESSFUL DEPLOYMENT .................................................................................................................................................... 6 FIGURE 12 STARTING SIMULATION ......................................................................................................................................................... 7 FIGURE 13 MOTOR SIZING VIS............................................................................................................................................................... 7
  • 3. 1 SOLIDWORKS Preparation This section will illustrate how to prepare your mechanical model to be ready for interfacing with NI LabVIEW®. NOTE: This tutorial is using SOLIDWORKS® 2014 SP2. Later versions may carry changes. 1.1 Loading Motion Add-in To be able to configure motors, make sure you have motion add-in added from Tools -> Add-Ins menu Figure 1 Loading motion add-in 1.2 Carriage and Ball screw model Select File -> Open or simply Ctrl+O and Browse for the assembly model accompanying this tutorial found in: Motion Control SessionSingle AxisVelocity ProfilingSolidworksAxis1Axis1- across.SLDASM Figure 2 Solidworks model location
  • 4. 2 Figure 3 Single axis assembly 1.3 Configuring motion properties Before placing the driving motor, Make sure you select Motion Analysis mode in motion study . You may set the motion properties with the following recommended parameters to reduce CPU loading during simuation: 1 2 Figure 4 Motion parameters
  • 5. 3 1.4 Configuring Linear motor SOLIDWORKS supports different types of parameters (beyond the scope of this tutorial. LabVIEW can only interact with Distance motors. Select motor icon located in motion study bar. I. Select Linear Motor (Actuator) II. Select the upper face of the moving carriage (with Ain Shams University logo decal) as motor location III. Select the square coupling front for direction . Make sure that red arrow direction is “left to right”. IV. Select the coupling front in component move relative to . Figure 5 Configuring linear motor II V. Set other parameters as below: Figure 6 Distance motor parameters III VI. Optioal : you may rename the motor name to LMotor. VII. It is better to disable RealView and Shadow in View settings. IV
  • 6. 4 LabVIEW UI and Communication In this section two main tasks to be carried out, to start with , configuring communication with the linear motor in SOLIDWORKS, and secondly, adding the necessary Vis for motion control. 2.1 Creating LabVIEW project with loaded assembly. Launch LabVIEW and select new project. It is better to create a dedicated folder for both LabVIEW project and SOLIDORKS parts and assembly. Right click on my computer in the project tree to addassembly file (Figure 7). Figure 7 adding assembly file The assembly file appears as a project item. Right click on the assembly file in the project tree and select open assembly. Then, right click on the file again and click on synchronize assembly. Make sure you see LMotor under your assembly file (or the name of linear motor in the assembly).
  • 7. 5 2.2 Linking SOLIDWORKS linear motor to LabVIEW axis This is a major step where you create an axis linked to the linear motor (LMotor). Simply right click on my computer under LabVIEW project tree and select new SoftMotion axis. From axis manager , select the LMotor or the name of your linear motor. Figure 8 Adding Axis To enable communication once you start simulation, right click on the axis you just created and check the below selection: Figure 9 enable automatic active transition
  • 8. Finally, select my computer, assembly file and axis from project tree (using shift while 6 selecting) and choose deploy from right click menu. Figure 10 deploying axes If conflict resolution window appears, click apply on all of them. The deployment process starts and you shoud see successful message. This implies successful connection to SOLIDOWRKS assembly. Figure 11 Successful deployment Last but not least, right click on solidworks assembly, you should see start simulation . If you select it, SOLIDWORKS model simulation will start. It means it is now ready to receive trajectory data from LabVIEW. Click again on assembly and select stop simulation.
  • 9. 7 Figure 12 Starting simulation Up to this point, You are ready to build LabVIEW UI to interact with SOLIDWORKS model. 2.3 Core VIs in SoftMotion module SoftMotion module has many VIs for interacting with either software simulation or physical hardware motion controllers. This tutorial will focus on VIs related to motor sizing and selection (to be discussed in lecture)  Clear faults (Express VI) [ Clearing any previous axis faults].  Straight Line Move (Express VI) [Motion profiling]  Read (Express VI) [Reading Controlled Variabls] Figure 13 Motor sizing VIs