{"id":107062,"date":"2024-02-07T15:45:48","date_gmt":"2024-02-07T07:45:48","guid":{"rendered":"https:\/\/www.tm-robot.com\/docs\/how-to-build-an-application-of-positioner-with-tmcraft\/"},"modified":"2024-02-27T15:37:07","modified_gmt":"2024-02-27T07:37:07","slug":"how-to-build-an-application-of-positioner-with-tmcraft","status":"publish","type":"docs","link":"https:\/\/www.tm-robot.com.cn\/en\/docs\/how-to-build-an-application-of-positioner-with-tmcraft\/","title":{"rendered":"How to Build an Application of Positioner with TMcraft"},"content":{"rendered":"
Examples are valid for:<\/p>\n
TMflow Software version:<\/p>\n
TM Robot Hardware version: Only Support HW3.2 or above<\/p>\n
Other specific requirements: None<\/p>\n
Note that older or newer software versions may have different results.<\/p>\n
Robots in a factory are often tasked with processing or handling jobs. In cases where the workpiece is too large or the location for handling is too extensive, resulting in positions or trajectories that the robot cannot reach, an external positioner can be introduced into the work environment for assistance. The following diagram illustrates this scenario:<\/p>\n
Figure details:<\/p>\n NO.1: Positioner<\/p>\n NO.2: Welding workpiece<\/p>\n NO.3: Robot<\/p>\n The above diagram depicts a common welding scenario. Due to the complex shape of the workpiece, there are welding paths that the robot cannot reach when the workpiece is in a fixed position. In such cases, with the assistance of an external positioner, the workpiece is placed on the external positioner. By rotating the external positioner, the workpiece can be moved to positions that were initially unreachable by the robot, enabling the successful completion of the task.<\/p>\n This technical document uses a cylindrical workpiece as an example. The goal is to weld two paths on the workpiece, as shown in the diagram below:<\/p>\n Path 1\uff1aThe bottom of the cylindrical<\/p>\n Path 2\uff1aA U-shaped groove<\/p>\n We plan the following steps to welding these paths:<\/p>\n The positions of P1~P6 refer to the following figure:<\/p>\n This document will development the TMcraft GUI plugin, cooperation with TMflow to finish the above steps, please refer to the following chapters for the details.<\/p>\n TMflow Software version:<\/p>\n TM Robot Hardware version: Only Support HW3.2 or above<\/p>\n It is essential to download TMcraft and the development kit first to get more information about TMcraft. Please visit the Techamn official website and download TMcraft_Development Kit_2.16 or later. in Download Center > Support Softwate > TMcraft<\/u><\/strong>.<\/p>\n This technical document builds on the previous technical document: “How to establish the foundation for data exchange between TMcraft Node and TMcraft Toolbar.” Please carefully read the content of that document along with the Visual Studio project it corresponds to, to understand the implementation of TMcraft Node and TMcraft Toolbar. Also, familiarize yourself with how to create a shared reference and use a text file between these two, facilitating the implementation of the example in this technical document.<\/p>\n Download link for basic Visual Studio Project : TMcraft_Solution.zip <\/span><\/span><\/a> Download link for the implementation project of this technical document \uff1a PositionerControl.zip<\/span> <\/span><\/a> The function of the TMcraft Toolbar and TMcraft Node are shown as below:<\/p>\n Next, create four Visual Studio projects referring to the previous technical document. For implementation details, please refer to the sections below and the corresponding code.<\/p>\n TMcraft Toolbar can be design as shown below :<\/p>\n Users can first test the functionality of the positioner through the Positioner Toolbar implemented by TMcraft Toolbar, such as connection, forward rotation, reverse rotation, speed testing, and adjusting rotation angles, etc. Record the required angles save them to a text file through the area labeled with number three, and refer to the sections below for the implementation details of the text file.<\/p>\n The format of the text file as shown below :<\/p>\n<\/a><\/p>\n
Implement Scenario<\/h2>\n
<\/a><\/p>\n
<\/a><\/p>\n
<\/a><\/p>\n
Environment<\/h1>\n
\n
Getting Start<\/h1>\n
Get TMcraft Development Kit<\/h2>\n
<\/a><\/p>\n
Get Necessary Information<\/h2>\n
<\/a><\/p>\n
<\/a><\/p>\n
Implement Steps<\/h1>\n
<\/a><\/p>\n
TMcraft Toolbar for Tuning Positioner<\/h2>\n
<\/a><\/p>\n
\n
Text Format Introduction<\/h2>\n