Strumenti Utente

Strumenti Sito


robodk

Differenze

Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.

Link a questa pagina di confronto

Entrambe le parti precedenti la revisioneRevisione precedente
Prossima revisione
Revisione precedente
robodk [2023/05/25 18:47] – [Going further] adminrobodk [2024/03/13 10:40] (versione attuale) – [Introduction to RoboDK] admin
Linea 12: Linea 12:
   * extensive support ([[https://robodk.com/doc/en/Getting-Started.html|documentation]], [[https://www.youtube.com/playlist?list=PLjiA6TvRACQd8pL0EnE9Djc_SCH7wxxXl|video tutorials]], [[https://robodk.com/forum/|forum]])   * extensive support ([[https://robodk.com/doc/en/Getting-Started.html|documentation]], [[https://www.youtube.com/playlist?list=PLjiA6TvRACQd8pL0EnE9Djc_SCH7wxxXl|video tutorials]], [[https://robodk.com/forum/|forum]])
  
-At the moment this software constitutes the best fit for our school as we can get started with robotics before having an actual robot in our labs. Nonetheless, offline programming will still be useful when we buy one since it allows its student to develop its own program individually.+At the moment this software constitutes the best fit for our school as we can get started with robotics before having an actual robot in our labs. Nonetheless, offline programming will still be useful when we buy one since it allows students to develop their own program individually.
  
 ===== Lesson 1: Adding a robot and its tool ===== ===== Lesson 1: Adding a robot and its tool =====
Linea 68: Linea 68:
   * joint movements to reach these targets   * joint movements to reach these targets
   * actions to be performed   * actions to be performed
-Targets are defined by manually moving the robot to the desired position then by clicking the //add new target for the selected robot// button in the toolbar. It is good practice to define these targets with respect to some reference frame different from the robot base frame. Such additional frame can be created clicking the //add reference frame// button in the toolbar and setting its position according to the robot working environment. It could be a corner of a table where objects are picked, an edge of an object to be painted, and so on. +Targets are defined by manually moving the robot to the desired position then by clicking the //add new target for the selected robot// button in the toolbar. It is good practice to define these targets with respect to some reference frame different from the robot base frame. Such additional frame can be created by clicking the //add reference frame// button in the toolbar and setting its position according to the robot working environment. It could be a corner of a table where objects are picked, an edge of an object to be painted, and so on. 
  
 ==== Moving the robot ==== ==== Moving the robot ====
Linea 80: Linea 80:
   *  selecting one translation/rotation axis and using the spinning wheel just above((see also the workspace radio-button options on the right))   *  selecting one translation/rotation axis and using the spinning wheel just above((see also the workspace radio-button options on the right))
   * typing-in the coordinates in the //cartesian jog// section (you will want to use the //tool frame with respect to reference frame// fields)   * typing-in the coordinates in the //cartesian jog// section (you will want to use the //tool frame with respect to reference frame// fields)
-  * holding down the //Alt// button on the keyboard((or clicking the middle white-arrow button in the toolbar)) and than, for any reference frame, dragging the arrows, to move along a particular axis or dragging any of the three colored squares, to move in a particular plane+  * holding down the //Alt// button on the keyboard((or by clicking the middle white-arrow button in the toolbar)) and than, for any reference frame, dragging the arrows, to move along a particular axis or dragging any of the three colored squares, to move in a particular plane
 The last method is by far the most convenient, especially when using the TCP reference frame. The last method is by far the most convenient, especially when using the TCP reference frame.
  
Linea 111: Linea 111:
 Joint movements are the most used but for certain applications, such as moving along the edges of a box, linear movements are required. That said, select the first target on the box and click the //Move Joint// button. You will see three items added to the //approach// program: one sets a reference frame, one sets the robot tool and one is the move instruction to the selected target (starting from home). The program we have just created moves the TCP from the home target to the box; we will write two extra ones, one for the box movements and one to get back home, and call all of them from a main program.  Joint movements are the most used but for certain applications, such as moving along the edges of a box, linear movements are required. That said, select the first target on the box and click the //Move Joint// button. You will see three items added to the //approach// program: one sets a reference frame, one sets the robot tool and one is the move instruction to the selected target (starting from home). The program we have just created moves the TCP from the home target to the box; we will write two extra ones, one for the box movements and one to get back home, and call all of them from a main program. 
  
-Let's add a new program and call it //box//. One at a time, select the three remaining targets on the box and then the first one again. Add //Move Linear// instruction to go through each one of them. Once done, execute the program by double-clicking //box// in the station tree: you should see the TCP moving straight along the defined path, which is shown as a yellow line. Let's add one last program and call it //retract//. Select the //home// target and add a //Move Joint// instruction to return to it.+Let's add a new program and call it //box//. One at a time, select the three remaining targets on the box and then the first one again. Add //Move Linear// instructions to go through each one of them. Once done, execute the program by double-clicking //box// in the station tree: you should see the TCP moving straight along the defined path, which is shown as a yellow line. Let's add one last program and call it //retract//. Select the //home// target and add a //Move Joint// instruction to return to it.
  
 There's one thing left: creating a main program that calls the three sub-programs. The easiest way to accomplish this is to select the three sub-programs - clicking their names while holding down the //CTRL// key - then by right-clicking and and selecting //Make Main program//. A new item is added to the station tree called //MainProgram// with nested calls to the sub-programs. It is possible to re-arrange the program calls or add more instructions between the calls (for example you could change the robot speed by using the //Set Speed// instruction). Our simulation is now complete: let's test the program by double-clicking //MainProgram//. You will see the robot move while executing its program. When the simulation is running, a task bar with a slider and some control buttons is shown in the lower part of the screen. You can use it to pause or restart the simulation and keep track of the time taken to complete it. There's one thing left: creating a main program that calls the three sub-programs. The easiest way to accomplish this is to select the three sub-programs - clicking their names while holding down the //CTRL// key - then by right-clicking and and selecting //Make Main program//. A new item is added to the station tree called //MainProgram// with nested calls to the sub-programs. It is possible to re-arrange the program calls or add more instructions between the calls (for example you could change the robot speed by using the //Set Speed// instruction). Our simulation is now complete: let's test the program by double-clicking //MainProgram//. You will see the robot move while executing its program. When the simulation is running, a task bar with a slider and some control buttons is shown in the lower part of the screen. You can use it to pause or restart the simulation and keep track of the time taken to complete it.
Linea 117: Linea 117:
 ===== Going further ===== ===== Going further =====
  
-That's it for now. This was a brief introduction to RoboDK usage. You can learn more on robot simulation from the Resources section of [[https://robodk.com/|its webpage]].+That's it for now. This was a brief introduction to RoboDK usage(({{ ::clil.zip |here}} you can download the project we just created)). You can learn more on robot simulation from the Resources section of [[https://robodk.com/|its webpage]].  
  
  
robodk.1685040475.txt.gz · Ultima modifica: 2023/05/25 18:47 da admin