During restoration

Using the area distortion correction function, teaching points can be omitted, potentially reducing the time required for reteaching that accompanies restoration. To omit teaching points during restoration, the following conditions must be met:

  • Reference points are set.
  • Teaching is performed for the reference points prior to restoration.
  • Points to be restored are inside the correction area, and the correction is valid.

If only corrected point data is available, or if an actually taught point is used as an operating point, use the AreaCorrectionInv function to return to the point that existed before correction.

Teach the reference points again and create new point data. Apply the AreaCorrectionSet function to these teaching points to create a new correction area.

For the points prior to correction, make a correction using the newly defined correction area. The position will be closer to the original position than if using the uncorrected points directly.

An example is shown below.

' Assume it is defined by correction area 1 before restoration

P21 = AreaCorrectionInv(P121,1)  'P121 is a point created by teaching
P22 = AreaCorrectionInv(P122,1)  'P122 is the point after conversion

' Reteach the reference points to P101 to P104
' Newly set P1 to P4 and P101 to P104 as correction areas

AreaCorrectionSet 2, P(1:4), P(101:104), MODE_PLANE

' Apply new correction areas
' (P121, P122, and P123) are used as operating points

P121 = AreaCorrection(P21, 2)
P122 = AreaCorrection(P22, 2)
P123 = AreaCorrection(P23, 2)