ABB RobotWare 6 Automatic Calibration
This topic introduces the process of automatic calibration via Standard Interface communication between the ABB RobotWare 6 robot and Mech-Mind Vision System.
Preparation before Calibration
Make preparation before calibration according to the camera mounting method. You may refer to the links below.
-
If the camera is mounted in the Eye to Hand method, refer to Preparation before Calibration in Automatic Calibration in the Eye-to-Hand Setup.
-
If the camera is mounted in the Eye in Hand method, refer to Preparation before Calibration in Automatic Calibration in the Eye-in-Hand Setup.
Pre-calibration Configuration
-
Open Mech-Vision, and click the Camera Calibration (Standard) button in the toolbar. The Configuration before Calibration window will be prompted.
-
In the Select how to calibrate window, select the New calibration radio button, and then click the Next button.
-
In the Select calibration task window, select Hand-eye calibration for listed robot from the drop-down list box, click the Select robot model button to select the robot model used by the project, and then click the Next button.
-
In the Select camera setup window, select the camera mounting method in this project, and then click the Next button.
-
In the Calibration method and robot control window, select Automatic and Standard Interface, and then click the Next button.
-
In the Communication mode window, keep the default value of Protocol. Click the Start interface service button in the Connect the robot area, and the message on this button will change to Waiting for the robot to connect....
-
The port number for the Host IP address parameter is 50000 by default. If the port number determined in the communication solution is not 50000, please change it as required.
-
After finishing the previous steps, do not close the Configuration before Calibration window.
-
Select and Modify Calibration Program
Before starting, ensure that you have set up Standard Interface communication with the ABB robot. |
In the manual mode, select select and modify the communication test program.
, and locate and open the program module MM_Auto_Calib in T_ROB1. Ensure that the IP address of the MM_Init_Socket line in the program module is the IP address of the IPC, and the port is the same as the setting in Mech-Vision. For detailed instructions on the operation, refer toTeach the Calibration Start Point
-
Move the robot to the start point for calibration.
-
Select the line in the image below and then select Modify Position. Select Modify in the dialogue box to save the robot’s current pose to P0.
-
If there is a 7th axis which is controlled by the robot on site, modify “IsAxis7 :=0;” to “IsAxis7 :=1;” and modify the value of Axis7 accordingly (Axis7 = XX, XX refers to the current value of the 7th axis). If there is not a 7th axis, or the 7th axis is controlled by a PLC, you may skip this step.
Run the Calibration Program
-
In the manual mode, select
in the interface of the program MM_Auto_Calib. -
After selecting MM_Calibration, select OK.
-
Switch the key in the controller to the automatic mode, and ensure that the motor indicator light is on.
-
Follow the steps in the image to modify the speed to 25%.
-
Press the start key when the interface displays the content below. When, in the Configuration before Calibration window in Mech-Vision, the current status changes to connected and the button “Waiting for the robot to connect” changes to “Disconnect”, click Calibrate. The Calibration (Eye to hand) window will be prompted.
If the robot is connected successfully, the Console tab of Mech-Vision Log panel will display a log.
Calibration Procedure
Conduct calibration according to the camera mounting method. You may refer to the links below.
-
If the camera is mounted in the Eye to Hand method, refer to Calibration Procedure in Automatic Calibration in the Eye-to-Hand Setup.
-
If the camera is mounted in the Eye in Hand method, refer to Calibration Procedure in Automatic Calibration in the Eye-in-Hand Setup.
Change the Extrinsic Parameter File
If the camera’s extrinsic parameter file has been used by a Mech-Vision project, you need to change the extrinsic parameter file used by the Mech-Vision project to a new one after you finish the hand-eye calibration.
-
Select the Capture Images from Camera Step.
-
In the Step Parameters panel, click of the Camera Calibration Parameters parameter, and select the newly calibrated extrinsic parameter file.
Calibration-Related Status Codes
During automatic calibration via Standard Interface communication, the vision system returns data together with the status code to the robot. Status codes, which are categorized into error codes and normal status codes, indicate the command execution status. Calibration related status codes are listed in the tables below.