{"id":95860,"date":"2023-04-19T09:28:18","date_gmt":"2023-04-19T01:28:18","guid":{"rendered":"https:\/\/www.tm-robot.com\/docs\/%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8image-manager-%e4%bb%a5%e9%9b%bb%e6%8e%a7%e7%ae%b1%e6%aa%a2%e6%b8%ac%e7%82%ba%e4%be%8b\/"},"modified":"2023-08-14T09:31:51","modified_gmt":"2023-08-14T01:31:51","slug":"%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8image-manager-%e4%bb%a5%e9%9b%bb%e6%8e%a7%e7%ae%b1%e6%aa%a2%e6%b8%ac%e7%82%ba%e4%be%8b","status":"publish","type":"docs","link":"https:\/\/www.tm-robot.com.cn\/en\/docs\/%e5%a6%82%e4%bd%95%e4%bd%bf%e7%94%a8image-manager-%e4%bb%a5%e9%9b%bb%e6%8e%a7%e7%ae%b1%e6%aa%a2%e6%b8%ac%e7%82%ba%e4%be%8b\/","title":{"rendered":"How to apply Image Manager\u2013 Taking Control Box Inspection as an Example"},"content":{"rendered":"
Inspection procedures:<\/p>\n
Scenario 1 :<\/p>\n
Scenario 2:<\/p>\n
Within the Device and Station, select Device Management. There are two ways to add devices. First, utilize the automatic detection feature to add devices within the same network domain. The system will scan and identify the available devices for you to select and add. Second, Click on “Create” to manually add devices.<\/p>\n
Select “Create” and manually input the designated name and IP address of the device. Subsequently, you can view the assigned robot name on the TMflow Login page.<\/p>\n <\/p>\n Once the device is located, select “Licensed”<\/p>\n Select “Station Management” and click on “Create” to establish a workstation.<\/p>\n <\/p>\n Fill in the name of the workstation and select the name of the device. Finally, click on “Submit”<\/p>\n Select “Process Settings” within the \u201cProcess\u201d and click on “Create” to establish the process.<\/p>\n Fill in the relevant information within the Process, and in the workstation, select the device and the project edited in TMflow. Ensure that the Reference_Key corresponds to the configuration of the TMcraft Startprocess node.<\/p>\n Upon establishing a successful connection, click on “Refresh” to view the Vision Job within the project<\/p>\n Import<\/b>\u00a0TMcraft<\/b> Node\/Service to <\/b>TMFlow<\/b><\/p>\n Place the designated file into the specified folder within the Techman SSD or a USB storage device named “TMROBOT”<\/p>\n Import<\/b>\u00a0TMcraft<\/b> Node\/Service to <\/b>TMFlow<\/b><\/p>\n TMflow->System->Import\/Export: Select TMcraft<\/p>\n Enable <\/b>TMcraft<\/b> Node<\/b><\/p>\n TMflow->Configure->TMcraft Management : Select Node<\/p>\n Enable <\/b>TMcraft<\/b> Service<\/b><\/p>\n TMflow->Configure->TMcraft Management : Select Service<\/p>\n <\/p>\n Authorize node<\/b><\/p>\n Edit Image Manager Node and Authorize node\uff0c<\/p>\n Startprocess<\/b> node<\/b><\/p>\n Edit Vision Job<\/strong><\/p>\n Taking the detection of an electromagnetic ring as an example. Utilize AI Classification to determine its presence. If the electromagnetic ring is detected, label it as OK; otherwise, label it as NG. After editing the vision job, it is recommended to select JPG format for saving the original images during visual data storage to reduce transfer time and storage space.<\/p>\n Following the same approach, add each vision job to the TMflow and proceed to edit and save the vision jobs accordingly.<\/p>\n Endprocess<\/b> node<\/b><\/p>\n Execute Scenario 1 Project<\/strong><\/p>\n When executing this project, if there are not any conditional statements for the vision jobs in TMflow, the underlying system will wait for 5 seconds and then send a “fail” signal. In Image Manager, navigate to Station Overview and click on your workstation.<\/p>\n <\/p>\n You can view the images you have sent and the AI judgment results in your workstation. Wait for the project execution to complete, then go to Inspection Records and locate your executed Inspection Order No. Click on it to view all the results.<\/p>\n Authorize node<\/b><\/p>\n Edit the Image Manager Node and configure the Authorize node<\/p>\n <\/p>\n Startprocess<\/b> node<\/b><\/p>\n <\/p>\n Edit Vision Jobs<\/strong><\/p>\n Taking the inspection of an electromagnetic ring as an example, utilize the display panel for precise positioning. Then move the robot to designated area for inspection<\/p>\n <\/p>\n <\/p>\n Taking the inspection of an electromagnetic ring as an example. Utilize AI Classification to determine its presence. If the electromagnetic ring is detected, label it as OK; otherwise, label it as NG. After editing the vision job, it is recommended to select JPG format for saving the original images during visual data storage to reduce transfer time and storage space.<\/p>\n Due to the selection of “Snap-n-go,” you will receive two sets of parameters: “Pass” and “Done.” “Done” indicates whether the vision jobs have completed capturing images and processing results, while “Pass” indicates the success of the vision job execution.<\/p>\n Following the same approach, add each vision job to the TMflow and proceed to edit and save the vision jobs accordingly.<\/p>\n WaitforVisionDone node<\/p>\n Ensure the completion of the final vision job to proceed with the next tasks.<\/p>\n <\/p>\n <\/p>\n Batch<\/b> node<\/b><\/p>\n var_Batch_Clear==true<\/p>\n Yes path: connect to Endprocess<\/p>\n No path: connect to display panel locating<\/p>\n <\/p>\n Endprocess<\/b> node<\/b><\/p>\n <\/p>\n Thread – vision decision<\/b><\/p>\n Create a Decision variable to evaluate whether the vision job execution result is “NG”. If the vision job execution result is “NG”, send it to Image Manager as “FAILED”. If the execution result is “OK”, send it to Image Manager as “PASS”. You can perform a review in Image Manager.<\/p>\n You could customize a vision decision using the following steps. Let’s take the example of the task to inspect the presence of a magnetic ring (vision job name: “classification_check_line”). Repeat these steps for other tasks accordingly.<\/p>\n <\/p>\n <\/p>\n Gateway and Gateway condition<\/p>\n <\/p>\n If node Decision<\/p>\n SET_PASS, SET_NG<\/p>\n <\/p>\n SET_Variable<\/p>\n TMScript Name: Script_Send_and_Rest_Vision_Result<\/p>\n Set_Vision_Done<\/p>\n <\/p>\n Back to Wait100ms node<\/p>\n The remaining four vision jobs can be edited in the same manner.<\/p>\n In scenario 2, you have the flexibility to customize the layout of the Image Manager’s real-time monitoring. To create a layout, ensure that the prerequisite steps have been completed, including setting up devices, workstations, and processes. Then, follow these steps:<\/p>\n <\/p>\n In the Image Manager\/Layout Designer\/Layout Name, you can design the layout page. During job execution, you can navigate to the Station Overview and access your workstation to view the results of the layout design.<\/p>\n Execute this project and, in the Image Manager, select the Station Overview. Click on your workstation to access its details.<\/p>\n <\/p>\n In your station, you can view the images you have sent and the AI assessment results. Since you have enabled review, after completing all vision jobs, a notification will prompt you to “Check all results.” If you have set up a layout, you can also see the images you have configured in the station. The images displayed indicate the ongoing vision jobs.<\/p>\n <\/p>\n <\/p>\n Inspection Order No.<\/b><\/p>\n Each time you execute a Startprocess node, it will generate an Inspection Order No., which represents the start of a production line or the beginning of a inspection order.<\/p>\n If the UpdateSerialNumber node is not used, the default SerialNo will start from 0 and increment upwards<\/p>\n To perform variable assignment within the SETSerNo node and update the SerialNo. If the batch is not completed, you have to connect \u201cNo path\u201d to SETSerNo node in order to update SerialNo.<\/p>\n To configure the UpdateSerialNumber node and select the string variable you created<\/p>\n
<\/a><\/p>\n
\n
<\/a><\/p>\n
\n
<\/a><\/p>\n
\n
<\/a><\/p>\n
\n
<\/a><\/p>\n
\n
<\/a><\/p>\n
\n
<\/a><\/p>\n
\n
<\/a><\/p>\n
\nTMflow Edit and Configuration<\/b><\/h2>\n
\n
<\/a><\/p>\n
\n\n
<\/a><\/li>\n<\/ul>\n
\n\n
\n
<\/a><\/li>\n<\/ul>\n
\n\n
<\/a><\/p>\n
\nScenario 1: Inspect Control Box and Transmit Image & Result to IM<\/strong><\/h2>\n
\n
<\/a><\/p>\n
\n\n
<\/a><\/p>\n
\n\n
<\/a><\/p>\n
\n\n
<\/a><\/p>\n
\n
<\/a><\/p>\n
\n\n
<\/a><\/p>\n
\n
<\/a><\/p>\n
\n
<\/a><\/p>\n
\n\n
<\/a><\/p>\n
\nScenario 2: Inspect Control Box and Review the Result<\/strong><\/h2>\n
\n
<\/a><\/p>\n
\n\n
<\/a><\/p>\n
\n
<\/a><\/p>\n
\n\n
<\/a><\/p>\n
\n
<\/a><\/p>\n
\n
<\/a><\/p>\n
\n\n
<\/a><\/p>\n
\n\n
\n
<\/a><\/p>\n
\n\n
<\/a><\/p>\n
\n
<\/a><\/p>\n
\n\n
\n
<\/a><\/p>\n
\n\n
\n
<\/a><\/p>\n
\n\n
\n
\n
<\/a><\/p>\n
\n\n
\n
\n
<\/a><\/p>\n
\n\n
\n
\n
<\/a><\/p>\n
\n\n
<\/a><\/p>\n
\n\n
\n
<\/a><\/p>\n
\n\n
<\/a><\/p>\n
\n
<\/a><\/p>\n
\nScenario 2: Inspect Control Box and Review the Result<\/h2>\n
\n
<\/a><\/p>\n
\n
<\/a><\/p>\n
\n
<\/a><\/p>\n
\n
<\/a><\/p>\n
\n\n
<\/a><\/p>\n
\n\n
\n
<\/a><\/p>\n
\nConfiguration of Inspection Order NO. and SerialNo<\/h2>\n
<\/a><\/p>\n
\n
<\/a><\/p>\n
\n\n
\n
<\/a><\/p>\n
\n
<\/a><\/p>\n
\n