Installation manual

Chapter 8 PA Library
8-31
pa_del_pnt
Function
Deletes the teach point.
Syntax
long pa_del_pnt(ARM armno, PNTDEL pdel)
armno Arm number (No.).
pdel Designates teach point to be deleted, with “enum PNTDEL”.
Explanation
Deletes teach point designated by “pdel”.
PD_CUR Deletes teach point of current point.
If current point is deleted, teach point pointer moves back to the prior teach
point after deletion.
On account current point is changeable, when intending to restart playback,
the arm has to be moved to the current point position to get coordination.
PD_ALL Deletes all teach points of current teach Key.
PD_ALLDATA Deletes all teach data points.
Command cannot be accepted while in playback.
Return value
ERR_OK Normal termination
Others: Anomalous termination (Refer to error table)
Reference
pa_chg_pnt Current point alteration
pa_add_pnt Teach point addition