Difference between revisions of "6-Axis Puma robot Setup"

From SoftMC-Wiki
Jump to: navigation, search
(Done with how to open the configurator)
(Done drive setup)
Line 1: Line 1:
 
This is a tutorial for a 6-axis PUMA robot setup with the Configurator. <br />
 
This is a tutorial for a 6-axis PUMA robot setup with the Configurator. <br />
<br />
+
----------------------------------------------------------------------------------------------------------------------------------------------
First, we need to open the configurator. One option is to open the configurator through the Control Studio.<br />
+
== Creating and Running a CONFIG.PRG file ==
 +
The Configurator does not generate a CONFIG.PRG necessary file. <br />
 +
The most simple CONFIG.PRG file will look like this:
 +
<syntaxhighlight lang="vb">
 +
Sys.NumberAxes = 6
 +
program
 +
    Sys.Name = "MC_NAME"
 +
    Print "system is running  -  " ; Sys.Name
 +
end program
 +
</syntaxhighlight>
 +
NOTE: It is important that Sys.NumberAxes will be at least 6 as the puma robot needs 6 axes. <br />
 +
Before opening the Configurator, please run the CONFIG.PRG file by uploading it to the MC and running "reset all" in the terminal.
 +
 
 +
== Opening The Configurator ==
 +
First, you need to open the configurator. One option is to open the configurator through the Control Studio.<br />
 
Go to: tool -> softMC Configurator.<br />
 
Go to: tool -> softMC Configurator.<br />
 
[[File:open_configurator.png]] <br />
 
[[File:open_configurator.png]] <br />
Line 15: Line 29:
 
3. Choose your MC<br />
 
3. Choose your MC<br />
 
4. Press on the "start configuration" button<br />
 
4. Press on the "start configuration" button<br />
[[File:offline_configurator.png]]
+
Then you will get to the previous explained window. Follow the previous instructions.<br />
 +
[[File:offline_configurator.png]]<br />
 +
 
 +
== Configuring The Drive and Axes ==
 +
First, you need to configure the drives and axes. <br />
 +
In the project window, the left pane shows the recognized drives and axes. <br />
 +
NOTE: Only EtherCAT drives are recognized automatically, the CANopen drives should be added manually. <br />
 +
NOTE: If a simulative rovot is being configured, ignore the drives configuration part. <br />
 +
<br />
 +
Press on the first drive, and its configuration window will show: <br />
 +
The minimum requirement is to choose the "Initial Active OpMode". Please choose: "8 - cyclic_synchronous_position". <br />
 +
Then you should link the drive's corresponding axis. Choose the correct axis in "Link Driver To Axis". <br />
 +
Lastly, press on the "Apply" button. <br />
 +
[[File:drive_configuration.png]]

Revision as of 09:51, 7 May 2017

This is a tutorial for a 6-axis PUMA robot setup with the Configurator.


Creating and Running a CONFIG.PRG file

The Configurator does not generate a CONFIG.PRG necessary file.
The most simple CONFIG.PRG file will look like this:

Sys.NumberAxes = 6
program
    Sys.Name = "MC_NAME"
    Print "system is running  -  " ; Sys.Name
end program

NOTE: It is important that Sys.NumberAxes will be at least 6 as the puma robot needs 6 axes.
Before opening the Configurator, please run the CONFIG.PRG file by uploading it to the MC and running "reset all" in the terminal.

Opening The Configurator

First, you need to open the configurator. One option is to open the configurator through the Control Studio.
Go to: tool -> softMC Configurator.
open configurator.png

If the Control Studio is already connected to an MC, then you will see the following window.
Choose the New Project tab, and then choose the softMC version that is on your MC.
new project.png

If the Control Studio was not connected to the MC, the next window will show.
1. Choose the type of network connection
2. Press on "Scan for softMCs"
3. Choose your MC
4. Press on the "start configuration" button
Then you will get to the previous explained window. Follow the previous instructions.
File:offline configurator.png

Configuring The Drive and Axes

First, you need to configure the drives and axes.
In the project window, the left pane shows the recognized drives and axes.
NOTE: Only EtherCAT drives are recognized automatically, the CANopen drives should be added manually.
NOTE: If a simulative rovot is being configured, ignore the drives configuration part.

Press on the first drive, and its configuration window will show:
The minimum requirement is to choose the "Initial Active OpMode". Please choose: "8 - cyclic_synchronous_position".
Then you should link the drive's corresponding axis. Choose the correct axis in "Link Driver To Axis".
Lastly, press on the "Apply" button.
drive configuration.png