Difference between revisions of "Motion Project Examples"

From SoftMC-Wiki
Jump to: navigation, search
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
{{Languages|Motion_Project_Examples}}
 
=Project Examples Manual=
 
=Project Examples Manual=
The following examples created to demonstrated simple robots configuration and movement execute by them. <br>
+
[[Project Examples Manual| How to use the examples]] - Download zip files, open projects and run the example
Every example include '''"ZIP"''' file that contain all the files you need to run the project by your self. You will find the files list in the projects examples pages. <br>
 
  
'''Notice''' that there is examples that made for real systems, and examples that made for simulated system. <br>
 
 
 
'''You can duplicate and modify every project example - you will find instructions bellow.'''
 
 
 
{{Note| At the '''"ZIP"''' folder you will find an '''excel''' file that contain the basic parameters that provided by the robot/motors manufactures. Those parameter were used at the robot setup with softMC Configurator}} 
 
 
{{Note | In some simulated examples there is an option to run simulated robot through '''RoboDK software''', you will find the instructions bellow. }}
 
 
 
==How To Load Project Example To ControlStudio==
 
# Download project ZIP file to your computer, extract and save it in accessible folder. <br>
 
# Open [[Control Studio|ControlStudio]]. From the menu-bar, choose '''File → Open Project...''' and locate the project example file. '''Notice''' that the relevant file is the '''".apj"''' file. <br> [[image: open project.png|700px]] <br>
 
# To upload the project files to the controller do the following:
 
## At the '''"File View"''' window, at the project tree, right click on the project name.
 
## Choose '''"Add file(s)..."''', and upload all files from the project folder.<br> [[image: open project2.png|700px]] <br>
 
## At the project tree, right click project name, and choose '''"Copy all files to controller"''' <br> [[image: open project3.png|700px]] <br>
 
## From terminal → send '''Reset All''' command, and after execute send ''' Load AUTOEXEC.PRG''' task. <br> [[image: open project4.png|700px]] <br>
 
# The project now ready to run the specific movement example program, according to example files - instructions given in each example page. <br>
 
 
 
==How To Open Project Example Properties With softMC Configurator==
 
# After load and run the example to ControlStudio, open softMC Configurator from the menu-bar '''Tools → softMC Configurator'''. <br> [[image: open project5.png|700px]] <br>
 
# The project setups will open at softMC Configurator window, notice that you use the same system as describe in the example page. <br> [[image: open project10.png|700px]] <br>
 
# You can watch and change properties for axes and robot as you want. '''It's recommended to make project duplicate, as explain bellow, and make changes to the copy.'''
 
# You can find more information about softMC Configurator [[softMC Configurator | HERE]]
 
 
==How To simulated Robots Using RoboDK==
 
To simulate relevant examples on RoboDk, you will need the following:
 
* RoboDK software. You can download it from [https://robodk.com/download HERE]
 
* '''mcEnv.py''' file - Download and extract the file from [[:File: mcEnv.zip| HERE]]. Save this file at your '''roboDK''' folder.
 
* Robot template, that provide with the project.
 
* Working ControlStudio that connect to your softMC.
 
 
Follow those steps to connect your softMC with the simulated robot using ControlStudio:
 
# After loading project files as explain before, load '''SERVER.PRG''' program from ControlStudio terminal : <br> <pre>--> load SERVER.PRG </pre> <br>
 
# When the program finished, you will get the following message at the '''Message Log''' ("socket 2" it's an example) <br> <pre> socket  2  is set </pre> <br>
 
# With RoboDK open the robot file, '''RoboDK Station''' file or '''.rdk''' file.
 
# At the left side, right click on '''Prog1''', the python file, and choose '''Edit Python Script'''. A new window will opened. <br> [[image: open project9.png|700px]] <br>
 
# In the Python script you'll need to make sure that the host IP address, is the one that your softMC has. If it's not the same  - change and save it, and close the window:<br> [[image: open project11.png|700px]] <br>
 
# Execute double click on the Python script symbol, a small yellow arrow should appear on the symbol. You will get the following message at the '''Message Log''' <br> <pre> client is connected </pre> <br>
 
# From now until you disconnect from RoboDK file, from your network or other interruptions, you can watch every movement command you will execute in ControlStudio. 
 
 
 
 
 
==Project Example Duplication==
 
In case you want to use the projects examples setups, or want to create your own setups, you can copy the examples properties, including programs files, library and more, by following the next steps:
 
# From ControlStudio, at the menu-bar, choose '''File → Save Project as...'''
 
# Locate project copy at any folder you'll like.
 
# You have now a new robot, with all necessary files, ready for you to take control.
 
 
=Robot Examples=
 
=Robot Examples=
 
* [[Motion Project Example: Cartesian Robot|Cartesian robot with 3 CDHD]] - Cartesian robot, and circular movement.
 
* [[Motion Project Example: Cartesian Robot|Cartesian robot with 3 CDHD]] - Cartesian robot, and circular movement.
 +
* [[Motion Project Example: Simulated Cartesian Robot|Cartesian robot - Simulated]] - Simulated Cartesian robot, and circular movement.
 
* [[Motion Project Example: Puma Robot CDHD|Puma robot      with 6 CDHD]] - Puma robot, P&P and helical movement.
 
* [[Motion Project Example: Puma Robot CDHD|Puma robot      with 6 CDHD]] - Puma robot, P&P and helical movement.
 
* [[Motion Project Example: Puma Robot simulated|Puma robot      with 6 simulated axis]] - Puma robot, P&P helical movement and robot simulation.
 
* [[Motion Project Example: Puma Robot simulated|Puma robot      with 6 simulated axis]] - Puma robot, P&P helical movement and robot simulation.
 +
* [[Motion Project Example: Scara Robot DDHD|Scara robot      with 2 DDHD]] - Scara robot, P&P movement.
 +
* [[Motion Project Example: Scara Robot simulated|Scara robot      with 4 simulated axis]] - Scara robot, P&P and robot simulation.
 +
* [[Motion Project Example: Single Axis With CDHD|Single Axis With CDHD]] - Single axis with CDHD that make back and forth movement with Increases velocity.

Latest revision as of 12:24, 7 December 2017

Language: English  • 中文(简体)‎

Project Examples Manual

How to use the examples - Download zip files, open projects and run the example

Robot Examples