KUKA Automatic Calibration

You are currently viewing the documentation for version 1.8.2. To access documentation for other versions, click the "Switch Version" button located in the upper-right corner of the page.

■ To use the latest version, visit the Mech-Mind Download Center to download it.

■ If you're unsure about the version of the product you are using, please contact Mech-Mind Technical Support for assistance.

This topic introduces the process of automatic calibration via Standard Interface communication between the KUKA 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.

Pre-calibration Configuration

  1. Open Mech-Vision, and click the Camera Calibration (Standard) button in the toolbar. The Configuration before Calibration window will be prompted.

  2. In the Select how to calibrate window, select the New calibration radio button, and then click the Next button.

  3. 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.

  4. In the Select camera setup window, select the camera mounting method in this project, and then click the Next button.

  5. In the Calibration method and robot control window, select Automatic and Standard Interface, and then click the Next button.

  6. 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.

    wait for robot connection

Select the Calibration Program

Before starting, ensure that you have set up Standard Interface communication.
  1. Switch to the Administrator mode following the instruction on switching to the Expert mode.

  2. On the teach pendant, open the KRC:\R1\mm folder, select mm_module.src, and then select Select.

    calilbration process1

Teach the Calibration Start Point

  1. Move the robot to the start point for calibration.

  2. Select the line containing PTP P0 Vel=100 % PDAT0 Tool[1]:Tool1 Base[0] and move the cursor to this line. Select Block selection. When the cursor appears in the front of the line, select Touch-Up.

    calilbration process2
  3. Select Yes in the pop-up window to finish teaching the start point for calibration.

    calilbration process3

Run the Calibration Program

Before starting, learn how to switch the running mode following the instruction below:

Turn the key switch to horizontal, select the running mode, for example, T1 or AUT, in the pop-up dialog box on the screen. Then, turn the switch back to vertical.

T1 stands for the Manual Reduced Velocity mode, and AUT stands for the Automatic mode.
change aut1
  1. Switch to the T1 mode following the instruction above.

  2. Select R on the teach pendant. Select Reset program in the pop-up menu.

    calilbration process4
  3. Select O. Then, select I in the pop-up window to switch the status of Drives to I. Skip this step if the status of Drives is I in the first place.

    calilbration process5
  4. Adjust the value of Program override to a proper speed. Watch the robot’s motion when the program is running.

    calilbration process6
  5. Switch to the AUT mode following the instruction above.

  6. Press and hold the green run button on the front of the teach pendant until the arrow moves to the line PTP P0 Vel=100 % PDAT0 Tool[1]:Tool1 Base[0], which stands for the calibration start point. The message Programmed path reached (BCO) will prompt on the top of the screen.

    calilbration process7
  7. Then, press the run button to continue to execute the program. (The R button turns green when the program is running.)

    calilbration process8
  8. 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.

    start calilbration1

    If the robot is connected successfully, the Console tab of Mech-Vision Log panel will display a log.

    start calilbration2

Calibration Procedure

Conduct calibration according to the camera mounting method. You may refer to the links below.

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.

  1. Select the Capture Images from Camera Step.

    change calibration parameter group
  2. In the Step Parameters panel, click change calibration parameter group icon 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.

Error codes

Error code Description

Calibration: Parameter error

Calibration: No calibration flange pose provided from Mech-Vision

Calibration: No calibration joint angles provided from Mech-Vision

Calibration: Robot failed to reach calibration point

Normal status codes

Normal status code Description

7100

Calibration: Robot moved to the calibration point successfully

7101

Calibration: Pose received from Mech-Vision successfully

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.