6-Axis Puma robot Setup/zh-hans
语言: | [[::6-Axis Puma robot Setup|English]] • [[::6-Axis Puma robot Setup/zh-hans|中文(简体)]] |
---|
这是一个使用配置器设置6轴PUMA机器人的教程。
Contents
创建并运行CONFIG.PRG文件
配置器不生成CONFIG.PRG文件,但这是必需的文件。
最简单的CONFIG.PRG的文件如下所示:
Sys.NumberAxes = 6
program
Sys.Name = "MC_NAME"
Print "system is running - " ; Sys.Name
end program
注意: 重要的是,由于puma机器为6轴,Sys.NumberAxes将至少为6。
在打开配置器之前,请将CONFIG.PRG文件上传到MC并在终端中的发送"reset all"。
打开配置器
首先,您需要打开配置器。 一个选项是通过Control Studio打开配置器。
转到: tool -> softMC Configurator.
如果Control Studio已经连接到MC,那么您将看到以下窗口。
选择New Project选项卡,然后选择MC上的softMC版本。
如果Control Studio没有连接到MC,则会显示下一个窗口。
1. 选择网络连接的类型
2. 点击"Scan for softMCs"
3. 选择您的MC
4. 点击 "start configuration"按钮
然后你会得到前面解释的窗口。 按照以前的说明.
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 robot is being configured, ignore the drives configuration part.
Drives
Press on the first drive and its configuration window will show:
The minimum requirement are:
1. Choose the "Initial Active OpMode". Please choose: "8 - cyclic_synchronous_position".
2. Link the drive's corresponding axis. Choose the correct axis in "Link Driver To Axis".
3. Lastly, press on the "Apply" button.
Repeat the last steps for each used drive.
Axes
Press on the first axis and its configuration window will show:
The minimum requirement are:
1. Choose the "Axis Type". Please choose: "Rotary Gear" for the PUMA robot.
2. Set the Gear Ratio value to the correct value.
Repeat the last steps for each used axis.
The configuration window of the axes has few tabs.
The "Properties" tab allows to set the axis properties. Please set the properties appropriately to each axis based on demands and manufacture instructions.
NOTE: If the configuration is for a simulated robot, change the "Simulated Axis" property to "True" for all axes.
Configuring The PUMA Robot
Right click on the "Groups" icon in the left pane, and choose "Add Group".
In the popup window, follow these steps:
1. Choose "Robot"
2. Set a "Group name" (in the example the name is PUMA)
3. Choose the "puma xyzypr" robot
4. Add the relevant axes to the "Assigned Axes" list by double-clicking on them. When a correct set of axes is chosen, the "Assigned Axes" box will become green
5. Press the OK button
Now, the robot/group configuration window will be shown. There are few tabs to look at:
General tab
This tab allows to switch the axes which are linked to the group and to change the axes properties
Coupling tab
This tab allows to set:
1. The coupling matrix for the robot (which usually shouldn't be changed for a puma robot).
2. The joints position limits.
Properties tab
This tab allows to set the robot properties, such as: position limits, speed limits, acceleration limits, etc.
Configuration tab
This tab has 3 sub-tabs:
1. DH Parameters tab
This tab allows to set the DH parameters of the PUMA robot. Please set these values corresponding to the drawings supplied in this tab.
2. Frames/Locations tab
This tab allows to set the PUMA robot location vectors, such as where the robot base is located, or the position of the tool relative to the 6th joint frame.
3. Theta Parameters tab
This tab allows to set the PUMA zero location. The default zero location of the PUMA robot is as in the left image.
You can choose one of the other options for the zero location - just press on the desired image to set this configuration as the zero location.
You can also define a customized displacement to each axis in order to set a customized zero location.
Motion tab
This tab allows to move the robot and test the configuration. The GUI is similar to a TP GUI.
Generate and Run The Setup Files
Finally, after the configuration is done, you can generate the setup files and run them on the MC by pressing on the "Build & Configure" icon (see image).
The generated files are:
When pressing the "Build & Configure" icon, these files are automatically sent to the MC and being executed. Now the MC is loaded with your configuration and the robot is ready to be used.
After shutdown or reset of the MC, all you need to do in order to load your configuration is send: "reset all" and then "load startprg.prg" through the Control Studio's terminal.
Robot Programs Example
Now you are ready to run robot programs.
To learn about Control Studio and MC-Basic, visit: Getting Started with MC-Basic and ControlStudio.
To learn about some basic robot programs, visit: Robot Pick & Place, Robot Circle, Robot Helix
For more motion program examples, visit Motion Examples