Installation manual
Chapter 8 PA Library
8-32
pa_rpl_pnt
Function
Replaces the present axis value with teach point data of current point.
Syntax
long pa_rpl_pnt(ARM armno)
armno Arm number (No.).
Explanation
Replaces the present axis value with teach point data of current point.
This function is available when teach data is being loaded or when teaching is
performed.
There is no function to recover replaced data.
This replacement function is available when the current point is PTP data.
When intending to change only the position of certain completed teach data, if this
replacement and current point alteration functions are combined well, alteration can
be easily performed.
Return value
ERR_OK Normal termination
Others: Anomalous termination (Refer to error table)
Reference
pa_chg_pnt Current point alteration
Description example
:
pa_chg_pnt(ARM1, PM_JMP, 3); .. Moves the teach point pointer to the 3
rd
teach point.
pa_rpl_pnt(ARM1); .. Replace the 3
rd
teach point with the
current point.
Remark