A method for calibrating a touchscreen panel, where the touchscreen panel is arranged in a working range of an industrial robot so that the industrial robot is able to touch a touchscreen of the touchscreen panel, the method including the steps of: (a) defining at least one area of the touchscreen with predetermined accuracy for position measuring; (b) recording a plurality of kinematic parameters of the industrial robot corresponding to postures assumed in touching a plurality of first touch points on the at least one area of the touchscreen; (c) recording a plurality of first position values on the plurality of first touch points on the at least one area of the touchscreen; (d) determining first calibration data for the kinematic model of the industrial robot using the kinematic parameters and using the first position values; (e) computationally correcting errors of the kinematic model of the industrial robot using the first calibration data; (f) recording a plurality of second position values on a plurality of second touch points touched by the industrial robot on the at least one area enlarged by extending at least a portion of its border outwards, whereby at least a portion of the second touch points are distributed in the extended part of the area; (g) determining second calibration data for the touchscreen using the kinematic parameters and using the second position values; (h) computationally correcting errors of position measurement of the touchscreen using the second calibration data; and iteratively repeating the steps (b) through (h) for different postures of the industrial robot until the iteration step no longer results in significant improvement of the error correction of the kinematic model of the industrial robot. (a) defining at least one area of the touchscreen with predetermined accuracy for position measuring; (b) recording a plurality of kinematic parameters of the industrial robot corresponding to postures assumed in touching a plurality of first touch points on the at least one area of the touchscreen; (c) recording a plurality of first position values on the plurality of first touch points on the at least one area of the touchscreen; (d) determining first calibration data for the kinematic model of the industrial robot using the kinematic parameters and using the first position values; (e) computationally correcting errors of the kinematic model of the industrial robot using the first calibration data; (f) recording a plurality of second position values on a plurality of second touch points touched by the industrial robot on the at least one area enlarged by extending at least a portion of its border outwards, whereby at least a portion of the second touch points are distributed in the extended part of the area; (g) determining second calibration data for the touchscreen using the kinematic parameters and using the second position values; (h) computationally correcting errors of position measurement of the touchscreen using the second calibration data; and iteratively repeating the steps (b) through (h) for different postures of the industrial robot until the iteration step no longer results in significant improvement of the error correction of the kinematic model of the industrial robot.